@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.
- package/lib/esm/domain/FormioAccess.js +0 -1
- package/lib/esm/domain/FormioAction.js +0 -1
- package/lib/esm/domain/FormioActionInfo.js +0 -1
- package/lib/esm/domain/FormioActionItem.js +0 -1
- package/lib/esm/domain/FormioComponent.js +0 -1
- package/lib/esm/domain/FormioForm.js +0 -1
- package/lib/esm/domain/FormioPermission.js +0 -1
- package/lib/esm/domain/FormioRole.js +0 -1
- package/lib/esm/domain/FormioSchema.js +0 -1
- package/lib/esm/domain/FormioSubmission.js +0 -1
- package/lib/esm/domain/FormioToken.js +0 -1
- package/lib/esm/index.js +0 -1
- package/package.json +7 -4
- package/lib/esm/domain/FormioAccess.js.map +0 -1
- package/lib/esm/domain/FormioAction.js.map +0 -1
- package/lib/esm/domain/FormioActionInfo.js.map +0 -1
- package/lib/esm/domain/FormioActionItem.js.map +0 -1
- package/lib/esm/domain/FormioComponent.js.map +0 -1
- package/lib/esm/domain/FormioForm.js.map +0 -1
- package/lib/esm/domain/FormioPermission.js.map +0 -1
- package/lib/esm/domain/FormioRole.js.map +0 -1
- package/lib/esm/domain/FormioSchema.js.map +0 -1
- package/lib/esm/domain/FormioSubmission.js.map +0 -1
- package/lib/esm/domain/FormioToken.js.map +0 -1
- package/lib/esm/index.js.map +0 -1
- package/src/domain/FormioAccess.ts +0 -5
- package/src/domain/FormioAction.ts +0 -12
- package/src/domain/FormioActionInfo.ts +0 -14
- package/src/domain/FormioActionItem.ts +0 -12
- package/src/domain/FormioComponent.ts +0 -22
- package/src/domain/FormioForm.ts +0 -58
- package/src/domain/FormioPermission.ts +0 -4
- package/src/domain/FormioRole.ts +0 -8
- package/src/domain/FormioSchema.ts +0 -6
- package/src/domain/FormioSubmission.ts +0 -16
- package/src/domain/FormioToken.ts +0 -5
- package/src/index.ts +0 -14
package/lib/esm/index.js
CHANGED
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":""}
|
package/lib/esm/index.js.map
DELETED
|
@@ -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,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
|
-
}
|
package/src/domain/FormioForm.ts
DELETED
|
@@ -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
|
-
}
|
package/src/domain/FormioRole.ts
DELETED
|
@@ -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
|
-
}
|
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";
|