@formio/js 5.0.0-rc.35 → 5.0.0-rc.36

Sign up to get free protection for your applications and to get access to all the features.
package/embed.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './types/Embed';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-rc.35",
3
+ "version": "5.0.0-rc.36",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {
@@ -34,7 +34,10 @@
34
34
  "dist",
35
35
  "lib",
36
36
  "types",
37
- "index.d.ts"
37
+ "index.d.ts",
38
+ "embed.d.ts",
39
+ "sdk.d.ts",
40
+ "utils.d.ts"
38
41
  ],
39
42
  "pre-commit": [
40
43
  "lint"
package/sdk.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './types/formio';
@@ -1,5 +1,5 @@
1
1
  import { Element } from '../../../element';
2
- import { ValidateOptions } from '../../../Formio';
2
+ import { ValidateOptions } from '../../../formio';
3
3
  import { ComponentSchema, ElementInfo, ExtendedComponentSchema } from './../../schema.d';
4
4
 
5
5
  export class Component extends Element {
@@ -1,4 +1,4 @@
1
- import { ConditionalOptions, ValidateOptions } from '../Formio';
1
+ import { ConditionalOptions, ValidateOptions } from '../formio';
2
2
 
3
3
  export interface ComponentSchema<T = any> {
4
4
  /**
package/types/formio.d.ts CHANGED
@@ -19,6 +19,7 @@ export interface FormioOptions {
19
19
  */
20
20
  project?: string;
21
21
  useSessionToken?: boolean;
22
+ formOnly?: boolean;
22
23
  }
23
24
  /**
24
25
  * The different path types for a project.
package/types/index.d.ts CHANGED
@@ -2,7 +2,7 @@ export * from './components/components';
2
2
  export * from './components/schema';
3
3
  export * from './form';
4
4
  export * from './formbuilder';
5
- export * from './Formio';
5
+ export * from './formio';
6
6
  export * from './templates';
7
7
  export * from './displays';
8
8
  export * from './widgets';
package/types/sdk.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './formio';
package/utils.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './types/utils';