@tsed/formio-types 8.0.0-alpha.4 → 8.0.0-alpha.6
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/package.json +5 -6
- package/lib/cjs/domain/FormioAccess.js +0 -3
- package/lib/cjs/domain/FormioAccess.js.map +0 -1
- package/lib/cjs/domain/FormioAction.js +0 -3
- package/lib/cjs/domain/FormioAction.js.map +0 -1
- package/lib/cjs/domain/FormioActionInfo.js +0 -3
- package/lib/cjs/domain/FormioActionInfo.js.map +0 -1
- package/lib/cjs/domain/FormioActionItem.js +0 -3
- package/lib/cjs/domain/FormioActionItem.js.map +0 -1
- package/lib/cjs/domain/FormioComponent.js +0 -3
- package/lib/cjs/domain/FormioComponent.js.map +0 -1
- package/lib/cjs/domain/FormioForm.js +0 -3
- package/lib/cjs/domain/FormioForm.js.map +0 -1
- package/lib/cjs/domain/FormioPermission.js +0 -3
- package/lib/cjs/domain/FormioPermission.js.map +0 -1
- package/lib/cjs/domain/FormioRole.js +0 -3
- package/lib/cjs/domain/FormioRole.js.map +0 -1
- package/lib/cjs/domain/FormioSchema.js +0 -3
- package/lib/cjs/domain/FormioSchema.js.map +0 -1
- package/lib/cjs/domain/FormioSubmission.js +0 -3
- package/lib/cjs/domain/FormioSubmission.js.map +0 -1
- package/lib/cjs/domain/FormioToken.js +0 -3
- package/lib/cjs/domain/FormioToken.js.map +0 -1
- package/lib/cjs/index.js +0 -18
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/esm/package.json +0 -3
- package/lib/types-esm/domain/FormioAccess.d.ts +0 -5
- package/lib/types-esm/domain/FormioAction.d.ts +0 -12
- package/lib/types-esm/domain/FormioActionInfo.d.ts +0 -14
- package/lib/types-esm/domain/FormioActionItem.d.ts +0 -12
- package/lib/types-esm/domain/FormioComponent.d.ts +0 -17
- package/lib/types-esm/domain/FormioForm.d.ts +0 -55
- package/lib/types-esm/domain/FormioPermission.d.ts +0 -4
- package/lib/types-esm/domain/FormioRole.d.ts +0 -8
- package/lib/types-esm/domain/FormioSchema.d.ts +0 -6
- package/lib/types-esm/domain/FormioSubmission.d.ts +0 -19
- package/lib/types-esm/domain/FormioToken.d.ts +0 -5
- package/lib/types-esm/index.d.ts +0 -14
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/formio-types",
|
|
3
|
-
"version": "8.0.0-alpha.4",
|
|
4
3
|
"description": "Formio types definition package for Ts.ED framework",
|
|
5
|
-
"type": "
|
|
4
|
+
"type": "module",
|
|
5
|
+
"version": "8.0.0-alpha.6",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"Formio",
|
|
8
8
|
"Ts.ED",
|
|
@@ -12,14 +12,13 @@
|
|
|
12
12
|
"express"
|
|
13
13
|
],
|
|
14
14
|
"source": "./src/index.ts",
|
|
15
|
-
"main": "./lib/
|
|
15
|
+
"main": "./lib/esm/index.js",
|
|
16
16
|
"module": "./lib/esm/index.js",
|
|
17
17
|
"typings": "./lib/types/index.d.ts",
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
20
|
"types": "./lib/types/index.d.ts",
|
|
21
21
|
"import": "./lib/esm/index.js",
|
|
22
|
-
"require": "./lib/cjs/index.js",
|
|
23
22
|
"default": "./lib/cjs/index.js"
|
|
24
23
|
}
|
|
25
24
|
},
|
|
@@ -36,8 +35,8 @@
|
|
|
36
35
|
"formiojs": ">=4.0.0"
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {
|
|
39
|
-
"@tsed/barrels": "8.0.0-alpha.
|
|
40
|
-
"@tsed/typescript": "8.0.0-alpha.
|
|
38
|
+
"@tsed/barrels": "8.0.0-alpha.6",
|
|
39
|
+
"@tsed/typescript": "8.0.0-alpha.6",
|
|
41
40
|
"eslint": "^8.57.0",
|
|
42
41
|
"typescript": "4.9.5"
|
|
43
42
|
},
|
|
@@ -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/cjs/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
/**
|
|
5
|
-
* @file Automatically generated by @tsed/barrels.
|
|
6
|
-
*/
|
|
7
|
-
tslib_1.__exportStar(require("./domain/FormioAccess.js"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./domain/FormioAction.js"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./domain/FormioActionInfo.js"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./domain/FormioActionItem.js"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./domain/FormioComponent.js"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./domain/FormioForm.js"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./domain/FormioPermission.js"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./domain/FormioRole.js"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./domain/FormioSchema.js"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./domain/FormioSubmission.js"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./domain/FormioToken.js"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,mEAAyC;AACzC,mEAAyC;AACzC,uEAA6C;AAC7C,uEAA6C;AAC7C,sEAA4C;AAC5C,iEAAuC;AACvC,uEAA6C;AAC7C,iEAAuC;AACvC,mEAAyC;AACzC,uEAA6C;AAC7C,kEAAwC"}
|
package/lib/cjs/package.json
DELETED
package/lib/esm/package.json
DELETED
|
@@ -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,17 +0,0 @@
|
|
|
1
|
-
import { FormioForm } from "./FormioForm.js";
|
|
2
|
-
import type { ExtendedComponentSchema } from "formiojs";
|
|
3
|
-
export interface FormioComponent extends ExtendedComponentSchema {
|
|
4
|
-
type: string;
|
|
5
|
-
key: string;
|
|
6
|
-
template?: string;
|
|
7
|
-
dataSrc?: "json" | "url";
|
|
8
|
-
data?: {
|
|
9
|
-
json?: any;
|
|
10
|
-
url?: string;
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
};
|
|
13
|
-
valueProperty?: string;
|
|
14
|
-
customConditional?: string;
|
|
15
|
-
components?: FormioComponent[];
|
|
16
|
-
form?: string | FormioForm;
|
|
17
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { FormioComponent } from "./FormioComponent.js";
|
|
2
|
-
import { FormioPermission } from "./FormioPermission.js";
|
|
3
|
-
export interface FormioForm extends Record<string, any> {
|
|
4
|
-
_id: string | undefined;
|
|
5
|
-
/**
|
|
6
|
-
* The title for the form
|
|
7
|
-
*/
|
|
8
|
-
title: string;
|
|
9
|
-
/**
|
|
10
|
-
* The machine name for this form
|
|
11
|
-
*/
|
|
12
|
-
name: string;
|
|
13
|
-
/**
|
|
14
|
-
* The path for this resource
|
|
15
|
-
*/
|
|
16
|
-
path: string;
|
|
17
|
-
/**
|
|
18
|
-
* The form type.
|
|
19
|
-
*/
|
|
20
|
-
type: string;
|
|
21
|
-
/**
|
|
22
|
-
* The display method for this form
|
|
23
|
-
*/
|
|
24
|
-
display?: "form" | "wizard" | string;
|
|
25
|
-
/**
|
|
26
|
-
* A custom action URL to submit the data to.
|
|
27
|
-
*/
|
|
28
|
-
action?: string;
|
|
29
|
-
tags?: string[];
|
|
30
|
-
deleted: number | null;
|
|
31
|
-
/**
|
|
32
|
-
* Access rules
|
|
33
|
-
*/
|
|
34
|
-
access: FormioPermission[];
|
|
35
|
-
/**
|
|
36
|
-
* Submission access rules
|
|
37
|
-
*/
|
|
38
|
-
submissionAccess: FormioPermission[];
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
owner: string;
|
|
43
|
-
/**
|
|
44
|
-
* Components.
|
|
45
|
-
*/
|
|
46
|
-
components: FormioComponent[];
|
|
47
|
-
/**
|
|
48
|
-
* Custom form settings object.
|
|
49
|
-
*/
|
|
50
|
-
settings?: any;
|
|
51
|
-
/**
|
|
52
|
-
* Custom form properties.
|
|
53
|
-
*/
|
|
54
|
-
properties?: any;
|
|
55
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FormioAccess } from "./FormioAccess.js";
|
|
2
|
-
export interface FormioSubmission<Data = any> extends Record<string, any> {
|
|
3
|
-
_id: string | undefined;
|
|
4
|
-
form: string;
|
|
5
|
-
data: Data;
|
|
6
|
-
owner?: string;
|
|
7
|
-
roles?: string[];
|
|
8
|
-
access?: FormioAccess[];
|
|
9
|
-
externalIds?: {
|
|
10
|
-
type?: string;
|
|
11
|
-
resource?: string;
|
|
12
|
-
id?: string;
|
|
13
|
-
}[];
|
|
14
|
-
metadata?: Record<string, any>;
|
|
15
|
-
created?: string;
|
|
16
|
-
updated?: string;
|
|
17
|
-
deleted?: string | null;
|
|
18
|
-
modified?: string;
|
|
19
|
-
}
|
package/lib/types-esm/index.d.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";
|