@tsed/formio-types 8.11.1 → 8.11.2-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/lib/esm/domain/FormioAccess.js +0 -1
  2. package/lib/esm/domain/FormioAction.js +0 -1
  3. package/lib/esm/domain/FormioActionInfo.js +0 -1
  4. package/lib/esm/domain/FormioActionItem.js +0 -1
  5. package/lib/esm/domain/FormioComponent.js +0 -1
  6. package/lib/esm/domain/FormioForm.js +0 -1
  7. package/lib/esm/domain/FormioPermission.js +0 -1
  8. package/lib/esm/domain/FormioRole.js +0 -1
  9. package/lib/esm/domain/FormioSchema.js +0 -1
  10. package/lib/esm/domain/FormioSubmission.js +0 -1
  11. package/lib/esm/domain/FormioToken.js +0 -1
  12. package/lib/esm/index.js +0 -1
  13. package/package.json +7 -4
  14. package/lib/esm/domain/FormioAccess.js.map +0 -1
  15. package/lib/esm/domain/FormioAction.js.map +0 -1
  16. package/lib/esm/domain/FormioActionInfo.js.map +0 -1
  17. package/lib/esm/domain/FormioActionItem.js.map +0 -1
  18. package/lib/esm/domain/FormioComponent.js.map +0 -1
  19. package/lib/esm/domain/FormioForm.js.map +0 -1
  20. package/lib/esm/domain/FormioPermission.js.map +0 -1
  21. package/lib/esm/domain/FormioRole.js.map +0 -1
  22. package/lib/esm/domain/FormioSchema.js.map +0 -1
  23. package/lib/esm/domain/FormioSubmission.js.map +0 -1
  24. package/lib/esm/domain/FormioToken.js.map +0 -1
  25. package/lib/esm/index.js.map +0 -1
  26. package/src/domain/FormioAccess.ts +0 -5
  27. package/src/domain/FormioAction.ts +0 -12
  28. package/src/domain/FormioActionInfo.ts +0 -14
  29. package/src/domain/FormioActionItem.ts +0 -12
  30. package/src/domain/FormioComponent.ts +0 -22
  31. package/src/domain/FormioForm.ts +0 -58
  32. package/src/domain/FormioPermission.ts +0 -4
  33. package/src/domain/FormioRole.ts +0 -8
  34. package/src/domain/FormioSchema.ts +0 -6
  35. package/src/domain/FormioSubmission.ts +0 -16
  36. package/src/domain/FormioToken.ts +0 -5
  37. package/src/index.ts +0 -14
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=FormioAccess.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=FormioAction.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=FormioActionInfo.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=FormioActionItem.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=FormioComponent.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=FormioForm.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=FormioPermission.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=FormioRole.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=FormioSchema.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=FormioSubmission.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=FormioToken.js.map
package/lib/esm/index.js CHANGED
@@ -12,4 +12,3 @@ export * from "./domain/FormioRole.js";
12
12
  export * from "./domain/FormioSchema.js";
13
13
  export * from "./domain/FormioSubmission.js";
14
14
  export * from "./domain/FormioToken.js";
15
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/formio-types",
3
3
  "description": "Formio types definition package for Ts.ED framework",
4
4
  "type": "module",
5
- "version": "8.11.1",
5
+ "version": "8.11.2-rc.1",
6
6
  "keywords": [
7
7
  "Formio",
8
8
  "Ts.ED",
@@ -36,8 +36,8 @@
36
36
  "formiojs": ">=4.0.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@tsed/barrels": "8.11.1",
40
- "@tsed/typescript": "8.11.1",
39
+ "@tsed/barrels": "8.11.2-rc.1",
40
+ "@tsed/typescript": "8.11.2-rc.1",
41
41
  "eslint": "9.12.0",
42
42
  "typescript": "5.4.5"
43
43
  },
@@ -47,5 +47,8 @@
47
47
  },
48
48
  "homepage": "https://github.com/tsedio/tsed/tree/production/packages/third-parties/formio-types",
49
49
  "author": "Romain Lenzotti",
50
- "license": "MIT"
50
+ "license": "MIT",
51
+ "publishConfig": {
52
+ "tag": "rc"
53
+ }
51
54
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormioAccess.js","sourceRoot":"","sources":["../../../src/domain/FormioAccess.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormioAction.js","sourceRoot":"","sources":["../../../src/domain/FormioAction.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormioActionInfo.js","sourceRoot":"","sources":["../../../src/domain/FormioActionInfo.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormioActionItem.js","sourceRoot":"","sources":["../../../src/domain/FormioActionItem.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormioComponent.js","sourceRoot":"","sources":["../../../src/domain/FormioComponent.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormioForm.js","sourceRoot":"","sources":["../../../src/domain/FormioForm.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormioPermission.js","sourceRoot":"","sources":["../../../src/domain/FormioPermission.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormioRole.js","sourceRoot":"","sources":["../../../src/domain/FormioRole.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormioSchema.js","sourceRoot":"","sources":["../../../src/domain/FormioSchema.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormioSubmission.js","sourceRoot":"","sources":["../../../src/domain/FormioSubmission.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormioToken.js","sourceRoot":"","sources":["../../../src/domain/FormioToken.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC"}
@@ -1,5 +0,0 @@
1
- export interface FormioAccess {
2
- _id: string | undefined;
3
- type: string;
4
- resources: any[];
5
- }
@@ -1,12 +0,0 @@
1
- export interface FormioAction<Settings = any> {
2
- name: string;
3
- title: string;
4
- action: string;
5
- handler: string[];
6
- method: string[];
7
- priority: number;
8
- form: any;
9
- settings: Settings;
10
- condition?: any;
11
- deleted?: number | null;
12
- }
@@ -1,14 +0,0 @@
1
- export interface FormioActionInfo {
2
- name: string;
3
- title: string;
4
- description: string;
5
- priority: number;
6
- defaults: {
7
- handler: string[];
8
- method: string[];
9
- };
10
- access?: {
11
- handler: boolean;
12
- method: boolean;
13
- };
14
- }
@@ -1,12 +0,0 @@
1
- export interface FormioActionItem<Data = any> {
2
- _id: string | undefined;
3
- title: string;
4
- form: string;
5
- submission?: string;
6
- action: string;
7
- handler: string;
8
- method: string;
9
- state: "new" | "inprogress" | "complete" | "error";
10
- messages: any[];
11
- data: Data;
12
- }
@@ -1,22 +0,0 @@
1
- import type {ExtendedComponentSchema} from "formiojs";
2
-
3
- import {FormioForm} from "./FormioForm.js";
4
-
5
- export interface FormioComponent extends ExtendedComponentSchema {
6
- type: string;
7
- key: string;
8
-
9
- // additional props
10
- template?: string;
11
- dataSrc?: "json" | "url";
12
- data?: {
13
- json?: any;
14
- url?: string;
15
-
16
- [key: string]: any;
17
- };
18
- valueProperty?: string;
19
- customConditional?: string;
20
- components?: FormioComponent[];
21
- form?: string | FormioForm;
22
- }
@@ -1,58 +0,0 @@
1
- import {FormioComponent} from "./FormioComponent.js";
2
- import {FormioPermission} from "./FormioPermission.js";
3
-
4
- export interface FormioForm extends Record<string, any> {
5
- _id: string | undefined;
6
- /**
7
- * The title for the form
8
- */
9
- title: string;
10
- /**
11
- * The machine name for this form
12
- */
13
- name: string;
14
- /**
15
- * The path for this resource
16
- */
17
- path: string;
18
- /**
19
- * The form type.
20
- */
21
- type: string;
22
- /**
23
- * The display method for this form
24
- */
25
- display?: "form" | "wizard" | string;
26
- /**
27
- * A custom action URL to submit the data to.
28
- */
29
- action?: string;
30
-
31
- tags?: string[];
32
-
33
- deleted: number | null;
34
- /**
35
- * Access rules
36
- */
37
- access: FormioPermission[];
38
- /**
39
- * Submission access rules
40
- */
41
- submissionAccess: FormioPermission[];
42
- /**
43
- *
44
- */
45
- owner: string;
46
- /**
47
- * Components.
48
- */
49
- components: FormioComponent[];
50
- /**
51
- * Custom form settings object.
52
- */
53
- settings?: any;
54
- /**
55
- * Custom form properties.
56
- */
57
- properties?: any;
58
- }
@@ -1,4 +0,0 @@
1
- export interface FormioPermission {
2
- type: "create_all" | "read_all" | "update_all" | "delete_all" | "create_own" | "read_own" | "update_own" | "delete_own" | "self";
3
- roles: string[];
4
- }
@@ -1,8 +0,0 @@
1
- export interface FormioRole extends Record<string, any> {
2
- _id: string | undefined;
3
- title: string;
4
- description: string;
5
- deleted: number | null;
6
- default: boolean;
7
- admin: boolean;
8
- }
@@ -1,6 +0,0 @@
1
- export interface FormioSchema {
2
- key: string;
3
- isLocked: boolean;
4
- version: string;
5
- value: string;
6
- }
@@ -1,16 +0,0 @@
1
- import {FormioAccess} from "./FormioAccess.js";
2
-
3
- export interface FormioSubmission<Data = any> extends Record<string, any> {
4
- _id: string | undefined;
5
- form: string;
6
- data: Data;
7
- owner?: string;
8
- roles?: string[];
9
- access?: FormioAccess[];
10
- externalIds?: {type?: string; resource?: string; id?: string}[];
11
- metadata?: Record<string, any>;
12
- created?: string;
13
- updated?: string;
14
- deleted?: string | null;
15
- modified?: string;
16
- }
@@ -1,5 +0,0 @@
1
- export interface FormioToken {
2
- key: string;
3
- value: string;
4
- expireAt: Date;
5
- }
package/src/index.ts DELETED
@@ -1,14 +0,0 @@
1
- /**
2
- * @file Automatically generated by @tsed/barrels.
3
- */
4
- export * from "./domain/FormioAccess.js";
5
- export * from "./domain/FormioAction.js";
6
- export * from "./domain/FormioActionInfo.js";
7
- export * from "./domain/FormioActionItem.js";
8
- export * from "./domain/FormioComponent.js";
9
- export * from "./domain/FormioForm.js";
10
- export * from "./domain/FormioPermission.js";
11
- export * from "./domain/FormioRole.js";
12
- export * from "./domain/FormioSchema.js";
13
- export * from "./domain/FormioSubmission.js";
14
- export * from "./domain/FormioToken.js";