drapcode-constant 1.4.1 → 1.4.3

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.filterFieldsForDataTable = 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.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 = 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 createdBy = exports.FieldTypes.createdBy, uuid = exports.FieldTypes.uuid, createdAt = exports.FieldTypes.createdAt, isDeleted = exports.FieldTypes.isDeleted, reference = exports.FieldTypes.reference, multi_reference = exports.FieldTypes.multi_reference, belongsTo = exports.FieldTypes.belongsTo, dynamic_option = exports.FieldTypes.dynamic_option, updatedAt = exports.FieldTypes.updatedAt, color = exports.FieldTypes.color, file = exports.FieldTypes.file, image = exports.FieldTypes.image, multi_image = exports.FieldTypes.multi_image, static_option = exports.FieldTypes.static_option, password = exports.FieldTypes.password, large_text = exports.FieldTypes.large_text, number = exports.FieldTypes.number, url = exports.FieldTypes.url, text = exports.FieldTypes.text, email = exports.FieldTypes.email, custom_uuid = exports.FieldTypes.custom_uuid, date = exports.FieldTypes.date, tel = exports.FieldTypes.tel, boolean = exports.FieldTypes.boolean, unix_timestamp = exports.FieldTypes.unix_timestamp, object = exports.FieldTypes.object, video_link = exports.FieldTypes.video_link, slug = exports.FieldTypes.slug, json = exports.FieldTypes.json, markdown = exports.FieldTypes.markdown;
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,
@@ -54,6 +54,7 @@ export declare const pluginCode: {
54
54
  DATA_VIEW_ACTIVITY_TRACKER: string;
55
55
  FACEBOOK_LOGIN: string;
56
56
  TWITTER_LOGIN: string;
57
+ STRIPE_PAYMENT_METHODS: string;
57
58
  };
58
59
  export declare const loginPluginCode: string[];
59
60
  export declare const chatGptModels: {
@@ -57,6 +57,7 @@ exports.pluginCode = {
57
57
  DATA_VIEW_ACTIVITY_TRACKER: "DATA_VIEW_ACTIVITY_TRACKER",
58
58
  FACEBOOK_LOGIN: "FACEBOOK_LOGIN",
59
59
  TWITTER_LOGIN: "TWITTER_LOGIN",
60
+ STRIPE_PAYMENT_METHODS: "STRIPE_PAYMENT_METHODS",
60
61
  };
61
62
  exports.loginPluginCode = [
62
63
  exports.pluginCode.LOGIN,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drapcode-constant",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "Drapcode Constants",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",