drapcode-constant 1.4.0 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -256,6 +256,7 @@ export declare const numberTextField: string[];
|
|
256
256
|
export declare const linkField: string[];
|
257
257
|
/** THREE */
|
258
258
|
export declare const systemHideField: string[];
|
259
|
+
export declare const TextTypeFields: string[];
|
259
260
|
export declare const mixedField: string[];
|
260
261
|
export declare const pureTextField: string[];
|
261
262
|
export declare const simpleTextFeild: string[];
|
@@ -9,8 +9,8 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
9
9
|
return to.concat(ar || Array.prototype.slice.call(from));
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.
|
13
|
-
exports.filterIndexFields = exports.filterFieldsForPlaceholderModal = exports.filterFieldsForItemTemplate = exports.filterFieldForItemTemplate = exports.filterSystemCreatedFieldsForItemList = exports.filterFieldsForItemList = void 0;
|
12
|
+
exports.fieldToShow = exports.filterFieldForCommandObj = exports.collectionDefaultFieldSortOrder = exports.AllSelectOptionFields = exports.nonReferenceField = exports.NonBelongsSelectOptionFields = exports.MultiSelectOptionFields = exports.SelectOptionFields = exports.level3ReferenceField = exports.level3ReferenceField2 = exports.BelongsCreatedByRefField = exports.notFieldForImport = exports.notFieldForExport = exports.hiddenFormField = exports.DefaultPrivateField = exports.systemAndRefField = exports.placeholderField = exports.ReferenceCreatedByFields = exports.referenceAndDynamicField = exports.BelongsToReferenceField = exports.ImageUrlFields = exports.StringFields = exports.referenceTextField = exports.pageCollectionFields = exports.textField1 = exports.NoRefFields = exports.textEmailPasswordField = exports.simpleTextFeild = exports.pureTextField = exports.mixedField = exports.TextTypeFields = exports.systemHideField = exports.linkField = exports.numberTextField = exports.exportHideField = exports.uuidField = exports.passwordField = exports.emailField = exports.systemDateField = exports.FileUrlFields = exports.URLFields = exports.ImageFields = exports.childDataField = exports.onlyReferenceField = exports.OptionTypeFields = exports.filterFieldsForForm = exports.fieldType = exports.crudKeys = exports.defaultFields = exports.FieldTypes = void 0;
|
13
|
+
exports.filterIndexFields = exports.filterFieldsForPlaceholderModal = exports.filterFieldsForItemTemplate = exports.filterFieldForItemTemplate = exports.filterSystemCreatedFieldsForItemList = exports.filterFieldsForItemList = exports.filterFieldsForDataTable = void 0;
|
14
14
|
exports.FieldTypes = {
|
15
15
|
text: {
|
16
16
|
id: "text",
|
@@ -237,7 +237,7 @@ exports.FieldTypes = {
|
|
237
237
|
advSortOrder: 6,
|
238
238
|
},
|
239
239
|
};
|
240
|
-
var
|
240
|
+
var belongsTo = exports.FieldTypes.belongsTo, boolean = exports.FieldTypes.boolean, color = exports.FieldTypes.color, createdAt = exports.FieldTypes.createdAt, createdBy = exports.FieldTypes.createdBy, custom_uuid = exports.FieldTypes.custom_uuid, date = exports.FieldTypes.date, dynamic_option = exports.FieldTypes.dynamic_option, email = exports.FieldTypes.email, file = exports.FieldTypes.file, image = exports.FieldTypes.image, isDeleted = exports.FieldTypes.isDeleted, large_text = exports.FieldTypes.large_text, multi_reference = exports.FieldTypes.multi_reference, multi_image = exports.FieldTypes.multi_image, number = exports.FieldTypes.number, object = exports.FieldTypes.object, password = exports.FieldTypes.password, reference = exports.FieldTypes.reference, static_option = exports.FieldTypes.static_option, tel = exports.FieldTypes.tel, text = exports.FieldTypes.text, uuid = exports.FieldTypes.uuid, updatedAt = exports.FieldTypes.updatedAt, url = exports.FieldTypes.url, unix_timestamp = exports.FieldTypes.unix_timestamp, video_link = exports.FieldTypes.video_link;
|
241
241
|
exports.defaultFields = [
|
242
242
|
"id",
|
243
243
|
"uuid",
|
@@ -325,6 +325,7 @@ exports.numberTextField = [number.id, tel.id];
|
|
325
325
|
exports.linkField = [tel.id, url.id];
|
326
326
|
/** THREE */
|
327
327
|
exports.systemHideField = [createdBy.id, uuid.id, isDeleted.id];
|
328
|
+
exports.TextTypeFields = __spreadArray(__spreadArray([], exports.emailField, true), exports.numberTextField, true);
|
328
329
|
exports.mixedField = [
|
329
330
|
color.id,
|
330
331
|
uuid.id,
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare const CREATED = "CREATED";
|
2
|
+
export declare const EXPORTED = "EXPORTED";
|
3
|
+
export declare const DOWNLOADED = "DOWNLOADED";
|
4
|
+
export declare const FAIL_PROJECT_SETTING = "FAILED_PROJECT_SETTING";
|
5
|
+
export declare const FAIL_CREATE_HTML = "FAILED_CREATE_HTML";
|
6
|
+
export declare const FAIL_ENGINE_CODE = "FAIL_ENGINE_CODE";
|
7
|
+
export declare const FAIL_ENGINE_ENV = "FAIL_ENGINE_ENV";
|
8
|
+
export declare const FAIL_ENGINE_DEPLOYMENT = "FAIL_ENGINE_DEPLOYMENT";
|
9
|
+
export declare const FAIL_SURFACE_CODE = "FAIL_SURFACE_CODE";
|
10
|
+
export declare const FAIL_SURFACE_ENV = "FAIL_SURFACE_ENV";
|
11
|
+
export declare const FAIL_SURFACE_DEPLOYMENT = "FAIL_SURFACE_DEPLOYMENT";
|
12
|
+
export declare const FAIL_TAKE_CONFIG_DUMP = "FAIL_TAKE_CONFIG_DUMP";
|
13
|
+
export declare const FAIL_TAKE_DETAIL_DUMP = "FAIL_TAKE_DETAIL_DUMP";
|
14
|
+
export declare const FAIL_ZIP = "FAIL_ZIP";
|
15
|
+
export declare const exportStatus: string[];
|
@@ -0,0 +1,33 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.exportStatus = exports.FAIL_ZIP = exports.FAIL_TAKE_DETAIL_DUMP = exports.FAIL_TAKE_CONFIG_DUMP = exports.FAIL_SURFACE_DEPLOYMENT = exports.FAIL_SURFACE_ENV = exports.FAIL_SURFACE_CODE = exports.FAIL_ENGINE_DEPLOYMENT = exports.FAIL_ENGINE_ENV = exports.FAIL_ENGINE_CODE = exports.FAIL_CREATE_HTML = exports.FAIL_PROJECT_SETTING = exports.DOWNLOADED = exports.EXPORTED = exports.CREATED = void 0;
|
4
|
+
exports.CREATED = "CREATED";
|
5
|
+
exports.EXPORTED = "EXPORTED";
|
6
|
+
exports.DOWNLOADED = "DOWNLOADED";
|
7
|
+
exports.FAIL_PROJECT_SETTING = "FAILED_PROJECT_SETTING";
|
8
|
+
exports.FAIL_CREATE_HTML = "FAILED_CREATE_HTML";
|
9
|
+
exports.FAIL_ENGINE_CODE = "FAIL_ENGINE_CODE";
|
10
|
+
exports.FAIL_ENGINE_ENV = "FAIL_ENGINE_ENV";
|
11
|
+
exports.FAIL_ENGINE_DEPLOYMENT = "FAIL_ENGINE_DEPLOYMENT";
|
12
|
+
exports.FAIL_SURFACE_CODE = "FAIL_SURFACE_CODE";
|
13
|
+
exports.FAIL_SURFACE_ENV = "FAIL_SURFACE_ENV";
|
14
|
+
exports.FAIL_SURFACE_DEPLOYMENT = "FAIL_SURFACE_DEPLOYMENT";
|
15
|
+
exports.FAIL_TAKE_CONFIG_DUMP = "FAIL_TAKE_CONFIG_DUMP";
|
16
|
+
exports.FAIL_TAKE_DETAIL_DUMP = "FAIL_TAKE_DETAIL_DUMP";
|
17
|
+
exports.FAIL_ZIP = "FAIL_ZIP";
|
18
|
+
exports.exportStatus = [
|
19
|
+
exports.CREATED,
|
20
|
+
exports.EXPORTED,
|
21
|
+
exports.DOWNLOADED,
|
22
|
+
exports.FAIL_PROJECT_SETTING,
|
23
|
+
exports.FAIL_CREATE_HTML,
|
24
|
+
exports.FAIL_ENGINE_CODE,
|
25
|
+
exports.FAIL_ENGINE_ENV,
|
26
|
+
exports.FAIL_ENGINE_DEPLOYMENT,
|
27
|
+
exports.FAIL_SURFACE_CODE,
|
28
|
+
exports.FAIL_SURFACE_ENV,
|
29
|
+
exports.FAIL_SURFACE_DEPLOYMENT,
|
30
|
+
exports.FAIL_TAKE_CONFIG_DUMP,
|
31
|
+
exports.FAIL_TAKE_DETAIL_DUMP,
|
32
|
+
exports.FAIL_ZIP,
|
33
|
+
];
|
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
@@ -23,3 +23,4 @@ __exportStar(require("./constants/FieldTypes"), exports);
|
|
23
23
|
__exportStar(require("./constants/collection"), exports);
|
24
24
|
__exportStar(require("./constants/messages"), exports);
|
25
25
|
__exportStar(require("./constants/loan"), exports);
|
26
|
+
__exportStar(require("./constants/exportCode"), exports);
|