Skip to content

Commit

Permalink
Updated build.
Browse files Browse the repository at this point in the history
  • Loading branch information
travist committed Nov 14, 2023
1 parent 2cc26ca commit 892e416
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@formio/js",
"version": "5.0.0-rc.31",
"version": "5.0.0-rc.32",
"description": "JavaScript powered Forms with JSON Form Builder",
"main": "lib/cjs/index.js",
"exports": {
Expand Down
12 changes: 11 additions & 1 deletion types/formio.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import EventEmitter from 'eventemitter3';
import Plugins from './Plugins';

export interface FormioLibrarySource {
type: string;
src: string;
}

/**
* The Formio class options interface.
*/
Expand Down Expand Up @@ -160,6 +166,10 @@ export declare class Formio {
* A direct interface to the Form.io fetch Headers polyfill.
*/
static Headers: any;
/**
* The rules definitions.
*/
static rulesEntities: any;
/**
* All of the auth tokens for this session.
*/
Expand Down Expand Up @@ -1173,7 +1183,7 @@ export declare class Formio {
* @param {boolean} polling - Determines if polling should be used to determine if they library is ready to use. If set to false, then it will rely on a global callback called ${name}Callback where "name" is the first property passed to this method. When this is called, that will indicate when the library is ready. In most cases, you will want to pass true to this parameter to initiate a polling method to check for the library availability in the global context.
* @return {Promise<object>} - A promise that will resolve when the plugin is ready to be used.
*/
static requireLibrary(name: string, property: string, src: string | Array<string>, polling?: boolean, onload?: (ready: Promise<any>) => void): any;
static requireLibrary(name: string, property: string, src: string | Array<string> | FormioLibrarySource | Array<FormioLibrarySource>, polling?: boolean, onload?: (ready: Promise<any>) => void): any;
/**
* Determines if a lazy loaded library is ready to be used.
*
Expand Down

0 comments on commit 892e416

Please sign in to comment.