@defra/forms-model 3.0.439 → 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,10 +3,10 @@ export let FormStatus = /*#__PURE__*/function (FormStatus) {
|
|
3
3
|
FormStatus["Live"] = "live";
|
4
4
|
return FormStatus;
|
5
5
|
}({});
|
6
|
-
export let
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
return
|
6
|
+
export let ApiErrorCode = /*#__PURE__*/function (ApiErrorCode) {
|
7
|
+
ApiErrorCode["General"] = "General";
|
8
|
+
ApiErrorCode["DuplicatePagePathPage"] = "DuplicatePagePathPage";
|
9
|
+
ApiErrorCode["DuplicatePagePathComponent"] = "DuplicatePagePathComponent";
|
10
|
+
return ApiErrorCode;
|
11
11
|
}({});
|
12
12
|
//# sourceMappingURL=enums.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enums.js","names":["FormStatus","
|
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,9 +2,9 @@ export declare enum FormStatus {
|
|
2
2
|
Draft = "draft",
|
3
3
|
Live = "live"
|
4
4
|
}
|
5
|
-
export declare enum
|
5
|
+
export declare enum ApiErrorCode {
|
6
6
|
General = "General",
|
7
7
|
DuplicatePagePathPage = "DuplicatePagePathPage",
|
8
|
-
|
8
|
+
DuplicatePagePathComponent = "DuplicatePagePathComponent"
|
9
9
|
}
|
10
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;AAED,oBAAY,
|
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
@@ -3,8 +3,8 @@ export enum FormStatus {
|
|
3
3
|
Live = 'live'
|
4
4
|
}
|
5
5
|
|
6
|
-
export enum
|
6
|
+
export enum ApiErrorCode {
|
7
7
|
General = 'General',
|
8
8
|
DuplicatePagePathPage = 'DuplicatePagePathPage',
|
9
|
-
|
9
|
+
DuplicatePagePathComponent = 'DuplicatePagePathComponent'
|
10
10
|
}
|