drapcode-constant 1.6.4 → 1.6.5

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.
@@ -237,12 +237,66 @@ exports.PERMISSION_TYPES = [
237
237
  },
238
238
  { key: exports.VALIDATION, label: "Validations", category: "Collection" },
239
239
  { key: exports.WEBHOOK, label: "Webhooks", category: "Webhook" },
240
+ {
241
+ key: externalApi_1.AGREEMENT_TEMPLATE,
242
+ label: "Agreement Templates",
243
+ category: "Templates",
244
+ },
245
+ {
246
+ key: externalApi_1.TYPESENSE_SEARCH_TEMPLATE,
247
+ label: "Typesense Search Template",
248
+ category: "Templates",
249
+ },
240
250
  ];
241
251
  exports.truthyValues = [
242
- 1, '1', true, 'true', 'True', 'TRUE', 'yes', 'Yes', 'YES', 'y', 'Y', 't', 'T',
243
- 'on', 'On', 'ON', 'enable', 'Enable', 'ENABLE', 'enabled', 'Enabled', 'ENABLED'
252
+ 1,
253
+ "1",
254
+ true,
255
+ "true",
256
+ "True",
257
+ "TRUE",
258
+ "yes",
259
+ "Yes",
260
+ "YES",
261
+ "y",
262
+ "Y",
263
+ "t",
264
+ "T",
265
+ "on",
266
+ "On",
267
+ "ON",
268
+ "enable",
269
+ "Enable",
270
+ "ENABLE",
271
+ "enabled",
272
+ "Enabled",
273
+ "ENABLED",
244
274
  ];
245
275
  exports.falsyValues = [
246
- 0, '0', false, 'false', 'False', 'FALSE', 'no', 'No', 'NO', 'n', 'N', 'f', 'F',
247
- 'off', 'Off', 'OFF', 'disable', 'Disable', 'DISABLE', 'disabled', 'Disabled', 'DISABLED', '', null, undefined, NaN
276
+ 0,
277
+ "0",
278
+ false,
279
+ "false",
280
+ "False",
281
+ "FALSE",
282
+ "no",
283
+ "No",
284
+ "NO",
285
+ "n",
286
+ "N",
287
+ "f",
288
+ "F",
289
+ "off",
290
+ "Off",
291
+ "OFF",
292
+ "disable",
293
+ "Disable",
294
+ "DISABLE",
295
+ "disabled",
296
+ "Disabled",
297
+ "DISABLED",
298
+ "",
299
+ null,
300
+ undefined,
301
+ NaN,
248
302
  ];
@@ -52,6 +52,8 @@ export declare const XATA = "XATA";
52
52
  export declare const DIRECTUS = "DIRECTUS";
53
53
  export declare const SALESFORCE = "SALESFORCE";
54
54
  export declare const COLLECTION_SNAPSHOT = "COLLECTION_SNAPSHOT";
55
+ export declare const AGREEMENT_TEMPLATE = "AGREEMENT_TEMPLATE";
56
+ export declare const TYPESENSE_SEARCH_TEMPLATE = "TYPESENSE_SEARCH_TEMPLATE";
55
57
  export declare const API_TYPES: string[];
56
58
  export declare const API_TYPES2: string[];
57
59
  export declare const dataSourcePrimaryKeys: string[];
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CURRENT_USER_REFERENCE_FIELDS_PREFIX = exports.CURRENT_USER_PREFIX = exports.ENVIRONMENT_VARIABLE_PREFIX = exports.CURRENT_USER_DERIVED_FIELDS_PREFIX = exports.PROJECT_CONSTANTS_PREFIX = exports.COLLECTION_CONSTANTS_PREFIX = exports.DERIVED_FIELDS_PREFIX = exports.REFERENCE_FIELDS_PREFIX = exports.COOKIES = exports.LOCAL_STORAGE = exports.SESSION_STORAGE = exports.FORM_DATA_SESSION = exports.ENVIRONMENT_VARIABLE = exports.PROJECT_CONSTANTS = exports.COLLECTION_CONSTANTS = exports.DERIVED_FIELDS = exports.REFERENCE_FIELDS = exports.CURRENT_SETTINGS_LOWER = exports.CURRENT_TENANT_LOWER = exports.CURRENT_USER_LOWER = exports.CURRENT_SESSION = exports.OAUTH2 = exports.AURORA = exports.MARIADB = exports.ORACLEDB = exports.MS_SQL_SERVER = exports.SQLITE = exports.MYSQL = exports.POSTGRESQL = exports.TOOLTIP_TEMPLATE = exports.SMS_TEMPLATE = exports.EMAIL_TEMPLATE = exports.DRAPCODE = exports.APP_WRITE = exports.NOTION = exports.APPWRITE = exports.SUPABASE = exports.XANO = exports.MAKE = exports.INTEGROMAT = exports.CHAT_GPT = exports.ZAPIER = exports.FIREBASE_FUNCTION = exports.FIREBASE_CLOUD_FIRESTORE = exports.FIREBASE_REALTIME_DATABASE = exports.AIRTABLE = exports.GOOGLE_SHEET = exports.DATABASE = exports.REST_API = exports.REST_API_PRIMAREY_KEY = void 0;
4
- exports.fieldsKeyPrefixMap = exports.fieldsPrefixForDF = exports.dataSourcePrimaryKeys = exports.API_TYPES2 = exports.API_TYPES = exports.COLLECTION_SNAPSHOT = exports.SALESFORCE = exports.DIRECTUS = exports.XATA = void 0;
4
+ exports.fieldsKeyPrefixMap = exports.fieldsPrefixForDF = exports.dataSourcePrimaryKeys = exports.API_TYPES2 = exports.API_TYPES = exports.TYPESENSE_SEARCH_TEMPLATE = exports.AGREEMENT_TEMPLATE = exports.COLLECTION_SNAPSHOT = exports.SALESFORCE = exports.DIRECTUS = exports.XATA = void 0;
5
5
  exports.REST_API_PRIMAREY_KEY = "_data_source_rest_api_primary_id";
6
6
  exports.REST_API = "REST_API";
7
7
  exports.DATABASE = "DATABASE";
@@ -56,6 +56,8 @@ exports.XATA = "XATA";
56
56
  exports.DIRECTUS = "DIRECTUS";
57
57
  exports.SALESFORCE = "SALESFORCE";
58
58
  exports.COLLECTION_SNAPSHOT = "COLLECTION_SNAPSHOT";
59
+ exports.AGREEMENT_TEMPLATE = "AGREEMENT_TEMPLATE";
60
+ exports.TYPESENSE_SEARCH_TEMPLATE = "TYPESENSE_SEARCH_TEMPLATE";
59
61
  exports.API_TYPES = [
60
62
  exports.REST_API,
61
63
  exports.DATABASE,
@@ -62,4 +62,5 @@ export declare const permissionTypes: {
62
62
  AWS_SIGNATURE: string;
63
63
  AUDIT_TRAIL: string;
64
64
  AUDIT_LOG: string;
65
+ TYPESENSE_SEARCH: string;
65
66
  };
@@ -64,6 +64,7 @@ var AWS_SIGNATURE = "AWS_SIGNATURE";
64
64
  var AUDIT_TRAIL = "AUDIT_TRAIL";
65
65
  var AUDIT_LOG = "AUDIT_LOG";
66
66
  var EMAIL_OTP_AUTHENTICATOR = "EMAIL_OTP_AUTHENTICATOR";
67
+ var TYPESENSE_SEARCH = "TYPESENSE_SEARCH";
67
68
  exports.permissionTypes = {
68
69
  CUSTOM_COMPONENT: CUSTOM_COMPONENT,
69
70
  DATA_SOURCE: DATA_SOURCE,
@@ -128,4 +129,5 @@ exports.permissionTypes = {
128
129
  AWS_SIGNATURE: AWS_SIGNATURE,
129
130
  AUDIT_TRAIL: AUDIT_TRAIL,
130
131
  AUDIT_LOG: AUDIT_LOG,
132
+ TYPESENSE_SEARCH: TYPESENSE_SEARCH,
131
133
  };
@@ -64,6 +64,7 @@ export declare const pluginCode: {
64
64
  TEXT_ANONYMIZATION_ACTIVITY_TRACKER: string;
65
65
  AUDIT_LOG: string;
66
66
  AUDIT_TRAIL: string;
67
+ TYPESENSE_SEARCH: string;
67
68
  };
68
69
  export declare const loginPluginCode: string[];
69
70
  export declare const chatGptModels: {
@@ -67,6 +67,7 @@ exports.pluginCode = {
67
67
  TEXT_ANONYMIZATION_ACTIVITY_TRACKER: "TEXT_ANONYMIZATION_ACTIVITY_TRACKER",
68
68
  AUDIT_LOG: "AUDIT_LOG",
69
69
  AUDIT_TRAIL: "AUDIT_TRAIL",
70
+ TYPESENSE_SEARCH: "TYPESENSE_SEARCH",
70
71
  };
71
72
  exports.loginPluginCode = [
72
73
  exports.pluginCode.LOGIN,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drapcode-constant",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "Drapcode Constants",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",