drapcode-constant 1.0.3 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@ export declare const FIREBASE_REALTIME_DATABASE = "FIREBASE_REALTIME_DATABASE";
7
7
  export declare const FIREBASE_CLOUD_FIRESTORE = "FIREBASE_CLOUD_FIRESTORE";
8
8
  export declare const FIREBASE_FUNCTION = "FIREBASE_FUNCTION";
9
9
  export declare const ZAPIER = "ZAPIER";
10
+ export declare const CHAT_GPT = "CHAT_GPT";
10
11
  export declare const INTEGROMAT = "INTEGROMAT";
11
12
  export declare const MAKE = "MAKE";
12
13
  export declare const XANO = "XANO";
@@ -33,6 +34,7 @@ export declare const CURRENT_USER_DERIVED_FIELDS_PREFIX = "current_user.DF::";
33
34
  export declare const ENVIRONMENT_VARIABLE_PREFIX = "environment_variable.";
34
35
  export declare const CURRENT_USER_PREFIX = "current_user.";
35
36
  export declare const CURRENT_USER_REFERENCE_FIELDS_PREFIX = "current_user_reference_field.";
37
+ export declare const XATA = "XATA";
36
38
  export declare const API_TYPES: string[];
37
39
  export declare const API_TYPES2: string[];
38
40
  export declare const dataSourcePrimaryKeys: string[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.fieldsKeyPrefixMap = exports.fieldsPrefixForDF = exports.dataSourcePrimaryKeys = exports.API_TYPES2 = exports.API_TYPES = 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.FORM_DATA_SESSION = exports.ENVIRONMENT_VARIABLE = exports.PROJECT_CONSTANTS = exports.COLLECTION_CONSTANTS = exports.DERIVED_FIELDS = exports.REFERENCE_FIELDS = exports.CURRENT_USER_LOWER = exports.CURRENT_SESSION = exports.SMS_TEMPLATE = exports.EMAIL_TEMPLATE = exports.DRAPCODE = exports.APP_WRITE = exports.NOTION = exports.APPWRITE = exports.SUPABASE = exports.XANO = exports.MAKE = exports.INTEGROMAT = 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;
3
+ exports.fieldsKeyPrefixMap = exports.fieldsPrefixForDF = exports.dataSourcePrimaryKeys = exports.API_TYPES2 = exports.API_TYPES = exports.XATA = 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.FORM_DATA_SESSION = exports.ENVIRONMENT_VARIABLE = exports.PROJECT_CONSTANTS = exports.COLLECTION_CONSTANTS = exports.DERIVED_FIELDS = exports.REFERENCE_FIELDS = exports.CURRENT_USER_LOWER = exports.CURRENT_SESSION = 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
4
  exports.REST_API_PRIMAREY_KEY = "_data_source_rest_api_primary_id";
5
5
  exports.REST_API = "REST_API";
6
6
  exports.DATABASE = "DATABASE";
@@ -10,6 +10,7 @@ exports.FIREBASE_REALTIME_DATABASE = "FIREBASE_REALTIME_DATABASE";
10
10
  exports.FIREBASE_CLOUD_FIRESTORE = "FIREBASE_CLOUD_FIRESTORE";
11
11
  exports.FIREBASE_FUNCTION = "FIREBASE_FUNCTION";
12
12
  exports.ZAPIER = "ZAPIER";
13
+ exports.CHAT_GPT = "CHAT_GPT";
13
14
  exports.INTEGROMAT = "INTEGROMAT";
14
15
  exports.MAKE = "MAKE";
15
16
  exports.XANO = "XANO";
@@ -36,6 +37,7 @@ exports.CURRENT_USER_DERIVED_FIELDS_PREFIX = "current_user.DF::";
36
37
  exports.ENVIRONMENT_VARIABLE_PREFIX = "environment_variable.";
37
38
  exports.CURRENT_USER_PREFIX = "current_user.";
38
39
  exports.CURRENT_USER_REFERENCE_FIELDS_PREFIX = "current_user_reference_field.";
40
+ exports.XATA = "XATA";
39
41
  exports.API_TYPES = [
40
42
  exports.REST_API,
41
43
  exports.DATABASE,
@@ -48,8 +50,10 @@ exports.API_TYPES = [
48
50
  exports.MAKE,
49
51
  exports.XANO,
50
52
  exports.SUPABASE,
51
- exports.APPWRITE,
53
+ exports.APP_WRITE,
52
54
  exports.NOTION,
55
+ exports.CHAT_GPT,
56
+ exports.XATA
53
57
  ];
54
58
  exports.API_TYPES2 = [
55
59
  exports.REST_API,
@@ -59,6 +63,7 @@ exports.API_TYPES2 = [
59
63
  exports.FIREBASE_REALTIME_DATABASE,
60
64
  exports.FIREBASE_CLOUD_FIRESTORE,
61
65
  exports.FIREBASE_FUNCTION,
66
+ exports.CHAT_GPT,
62
67
  ];
63
68
  exports.dataSourcePrimaryKeys = [exports.REST_API_PRIMAREY_KEY];
64
69
  exports.fieldsPrefixForDF = [
@@ -41,5 +41,10 @@ export declare const pluginCode: {
41
41
  FIRESTORE: string;
42
42
  APPWRITE: string;
43
43
  BACKGROUND_TASK: string;
44
+ CHAT_GPT: string;
44
45
  };
45
46
  export declare const loginPluginCode: string[];
47
+ export declare const chatGptModels: {
48
+ label: string;
49
+ value: string;
50
+ }[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.loginPluginCode = exports.pluginCode = void 0;
3
+ exports.chatGptModels = exports.loginPluginCode = exports.pluginCode = void 0;
4
4
  exports.pluginCode = {
5
5
  AWS_SES: "AWS_SES",
6
6
  FACEBOOK_WIDGET: "FACEBOOK_WIDGET",
@@ -44,6 +44,7 @@ exports.pluginCode = {
44
44
  FIRESTORE: "FIRESTORE",
45
45
  APPWRITE: "APPWRITE",
46
46
  BACKGROUND_TASK: "BACKGROUND_TASK",
47
+ CHAT_GPT: "CHAT_GPT",
47
48
  };
48
49
  exports.loginPluginCode = [
49
50
  exports.pluginCode.LOGIN,
@@ -51,3 +52,7 @@ exports.loginPluginCode = [
51
52
  exports.pluginCode.LOGIN_WITH_FIREBASE,
52
53
  exports.pluginCode.LOGIN_WITH_XANO,
53
54
  ];
55
+ exports.chatGptModels = [
56
+ { label: "GPT 3.5", value: "gpt-3.5-turbo" },
57
+ { label: "GPT 4.0", value: "gpt-4" },
58
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drapcode-constant",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Drapcode Constants",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",