@defra/forms-model 3.0.438 → 3.0.440
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.
@@ -3,4 +3,10 @@ export let FormStatus = /*#__PURE__*/function (FormStatus) {
|
|
3
3
|
FormStatus["Live"] = "live";
|
4
4
|
return FormStatus;
|
5
5
|
}({});
|
6
|
+
export let ApiErrorCode = /*#__PURE__*/function (ApiErrorCode) {
|
7
|
+
ApiErrorCode["General"] = "General";
|
8
|
+
ApiErrorCode["DuplicatePagePathPage"] = "DuplicatePagePathPage";
|
9
|
+
ApiErrorCode["DuplicatePagePathComponent"] = "DuplicatePagePathComponent";
|
10
|
+
return ApiErrorCode;
|
11
|
+
}({});
|
6
12
|
//# sourceMappingURL=enums.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enums.js","names":["FormStatus"],"sources":["../../../src/common/enums.ts"],"sourcesContent":["export enum FormStatus {\n Draft = 'draft',\n Live = 'live'\n}\n"],"mappings":"AAAA,WAAYA,UAAU,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA","ignoreList":[]}
|
1
|
+
{"version":3,"file":"enums.js","names":["FormStatus","ApiErrorCode"],"sources":["../../../src/common/enums.ts"],"sourcesContent":["export enum FormStatus {\n Draft = 'draft',\n Live = 'live'\n}\n\nexport enum ApiErrorCode {\n General = 'General',\n DuplicatePagePathPage = 'DuplicatePagePathPage',\n DuplicatePagePathComponent = 'DuplicatePagePathComponent'\n}\n"],"mappings":"AAAA,WAAYA,UAAU,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAKtB,WAAYC,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA","ignoreList":[]}
|
@@ -2,4 +2,9 @@ export declare enum FormStatus {
|
|
2
2
|
Draft = "draft",
|
3
3
|
Live = "live"
|
4
4
|
}
|
5
|
+
export declare enum ApiErrorCode {
|
6
|
+
General = "General",
|
7
|
+
DuplicatePagePathPage = "DuplicatePagePathPage",
|
8
|
+
DuplicatePagePathComponent = "DuplicatePagePathComponent"
|
9
|
+
}
|
5
10
|
//# sourceMappingURL=enums.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/common/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,IAAI,SAAS;CACd"}
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/common/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,qBAAqB,0BAA0B;IAC/C,0BAA0B,+BAA+B;CAC1D"}
|
package/package.json
CHANGED
package/src/common/enums.ts
CHANGED