@squidcloud/local-backend 1.0.169 → 1.0.170

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.
Files changed (22) hide show
  1. package/dist/internal-common/src/public-types/application.public-types.d.ts +1 -76
  2. package/dist/internal-common/src/public-types/application.public-types.js.map +1 -1
  3. package/dist/internal-common/src/public-types/integration.public-types.d.ts +1 -1
  4. package/dist/internal-common/src/public-types/integration.public-types.js +1 -1
  5. package/dist/internal-common/src/public-types/integration.public-types.js.map +1 -1
  6. package/dist/internal-common/src/public-types/integrations/database.types.d.ts +23 -1
  7. package/dist/internal-common/src/public-types/integrations/schemas.d.ts +4 -2
  8. package/dist/internal-common/src/public-types/integrations/schemas.js +1 -0
  9. package/dist/internal-common/src/public-types/integrations/schemas.js.map +1 -1
  10. package/dist/internal-common/src/public-types/query.public-types.d.ts +0 -11
  11. package/dist/internal-common/src/public-types/query.public-types.js.map +1 -1
  12. package/dist/internal-common/src/public-types/typescript.public-types.d.ts +0 -6
  13. package/dist/internal-common/src/types/application.types.d.ts +60 -0
  14. package/dist/internal-common/src/types/application.types.js +3 -0
  15. package/dist/internal-common/src/types/application.types.js.map +1 -0
  16. package/dist/internal-common/src/types/bundle-data.types.d.ts +2 -1
  17. package/dist/internal-common/src/utils/global.utils.d.ts +1 -0
  18. package/dist/internal-common/src/utils/global.utils.js +6 -1
  19. package/dist/internal-common/src/utils/global.utils.js.map +1 -1
  20. package/dist/local-backend/package.json +1 -1
  21. package/dist/tsconfig.build.tsbuildinfo +1 -1
  22. package/package.json +1 -1
@@ -1,9 +1,6 @@
1
- import { RunPermissions } from '../types/backend-run.types';
2
- import { ApplicationBundleData, ServiceFunctionName } from '../types/bundle-data.types';
3
1
  import { AuthIntegrationType, DatabaseIntegrationType, IntegrationConfig, IntegrationConfigTypes, IntegrationSchema, IntegrationSchemaKeys, IntegrationSchemaTypes, IntegrationTypeWithConfig } from './integrations/schemas';
4
2
  import { IntegrationType } from './integration.public-types';
5
- import { AppId, EnvironmentId, IntegrationId } from './communication.public-types';
6
- import { CollectionName } from './document.public-types';
3
+ import { IntegrationId } from './communication.public-types';
7
4
  export type WebhookId = string;
8
5
  export type TriggerId = string;
9
6
  export type SchedulerId = string;
@@ -93,74 +90,6 @@ export declare enum CronExpression {
93
90
  MONDAY_TO_FRIDAY_AT_10PM = "0 0 22 * * 1-5",
94
91
  MONDAY_TO_FRIDAY_AT_11PM = "0 0 23 * * 1-5"
95
92
  }
96
- export type OpenIdProviderType = 'auth0';
97
- export type CodeUrl = string;
98
- export interface TriggerConfig {
99
- integrationId: IntegrationId;
100
- collectionName: CollectionName;
101
- functionName: ServiceFunctionName;
102
- }
103
- export interface SchedulerConfig {
104
- functionName: ServiceFunctionName;
105
- cronExpression: string;
106
- exclusive: boolean;
107
- }
108
- export interface WebhookConfig {
109
- functionName: ServiceFunctionName;
110
- }
111
- export interface OpenIdProvider {
112
- providerType: OpenIdProviderType;
113
- clientId: string;
114
- domain: string;
115
- }
116
- export interface Application {
117
- appId: AppId;
118
- organizationId: string;
119
- creationDate: Date;
120
- updateDate: Date;
121
- allowedHosts: string[];
122
- openIdProvider?: OpenIdProvider;
123
- integrations: Record<IntegrationId, IntegrationConfig>;
124
- codeUrl?: string;
125
- bundleMetadata?: ApplicationBundleData;
126
- archiveDate?: Date;
127
- }
128
- export interface Schema<T extends IntegrationSchema = any> {
129
- appId: AppId;
130
- integrationId: IntegrationId;
131
- schema: T;
132
- createdAt: Date;
133
- updatedAt: Date;
134
- }
135
- export interface ApplicationInitDetails {
136
- codeUrl: string;
137
- codeUrlId: string;
138
- permissions: RunPermissions;
139
- }
140
- export interface UpdateOpenIdProviderRequest {
141
- openIdProvider: OpenIdProvider;
142
- }
143
- export interface CreateApplicationRequest {
144
- organizationId: string;
145
- }
146
- export interface CreateApplicationResponse {
147
- appId: AppId;
148
- }
149
- export interface DeleteIntegrationRequest {
150
- integrationId: IntegrationId;
151
- }
152
- export interface UpdateAllowedHostsRequest {
153
- allowedHosts: string[];
154
- }
155
- export interface CreateEnvironmentRequest {
156
- sourceAppId: AppId;
157
- environmentId: EnvironmentId;
158
- }
159
- export interface UpdateApplicationCodeRequest {
160
- appId: AppId;
161
- openApiSpecStr?: string;
162
- openApiControllersStr?: string;
163
- }
164
93
  interface BaseUpsertIntegrationRequest<T extends IntegrationTypeWithConfig, C extends IntegrationConfig> {
165
94
  id: IntegrationId;
166
95
  type: T;
@@ -172,7 +101,6 @@ type ConfigurationTypes = {
172
101
  type UpsertIntegrationRequests = {
173
102
  [K in IntegrationTypeWithConfig]: BaseUpsertIntegrationRequest<K, ConfigurationTypes[K]>;
174
103
  };
175
- export type UpsertIntegrationRequest = UpsertDataIntegrationRequest | UpsertGraphQLIntegrationRequest | UpsertApiIntegrationRequest | UpsertAiChatbotIntegrationRequest | UpsertConfluentIntegrationRequest | UpsertKafkaIntegrationRequest | UpsertAuthIntegrationRequest;
176
104
  export type UpsertDataIntegrationRequest = UpsertIntegrationRequests[DatabaseIntegrationType];
177
105
  export type UpsertGraphQLIntegrationRequest = UpsertIntegrationRequests[IntegrationType.graphql];
178
106
  export type UpsertApiIntegrationRequest = UpsertIntegrationRequests[IntegrationType.api];
@@ -195,7 +123,4 @@ export type UpsertIntegrationSchemaRequest = UpsertDataIntegrationSchemaRequest
195
123
  export type UpsertDataIntegrationSchemaRequest = UpsertIntegrationSchemaRequests[DatabaseIntegrationType];
196
124
  export type UpsertGraphQLIntegrationSchemaRequest = UpsertIntegrationSchemaRequests[IntegrationType.graphql];
197
125
  export type UpsertApiIntegrationSchemaRequest = UpsertIntegrationSchemaRequests[IntegrationType.api];
198
- export interface GetSchemaRequest {
199
- integrationId: IntegrationId;
200
- }
201
126
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"application.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/application.public-types.ts"],"names":[],"mappings":";;;AAgCA,IAAY,cAoFX;AApFD,WAAY,cAAc;IACxB,8CAA4B,CAAA;IAC5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C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,iEAA+C,CAAA;IAC/C,6DAA2C,CAAA;IAC3C,6DAA2C,CAAA;IAC3C,iEAA+C,CAAA;IAC/C,6DAA2C,CAAA;IAC3C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,4DAA0C,CAAA;IAC1C,6DAA2C,CAAA;IAC3C,6DAA2C,CAAA;AAC7C,CAAC,EApFW,cAAc,8BAAd,cAAc,QAoFzB"}
1
+ {"version":3,"file":"application.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/application.public-types.ts"],"names":[],"mappings":";;;AA6BA,IAAY,cAoFX;AApFD,WAAY,cAAc;IACxB,8CAA4B,CAAA;IAC5B,mDAAiC,CAAA;IACjC,qDAAmC,CAAA;IACnC,qDAAmC,CAAA;IACnC,8CAA4B,CAAA;IAC5B,mDAAiC,CAAA;IACjC,qDAAmC,CAAA;IACnC,qDAAmC,CAAA;IACnC,+CAA6B,CAAA;IAC7B,kDAAgC,CAAA;IAChC,kDAAgC,CAAA;IAChC,kDAAgC,CAAA;IAChC,kDAAgC,CAAA;IAChC,kDAAgC,CAAA;IAChC,kDAAgC,CAAA;IAChC,kDAAgC,CAAA;IAChC,kDAAgC,CAAA;IAChC,oDAAkC,CAAA;IAClC,oDAAkC,CAAA;IAClC,oDAAkC,CAAA;IAClC,iDAA+B,CAAA;IAC/B,iDAA+B,CAAA;IAC/B,iDAA+B,CAAA;IAC/B,iDAA+B,CAAA;IAC/B,iDAA+B,CAAA;IAC/B,iDAA+B,CAAA;IAC/B,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W,cAAc,8BAAd,cAAc,QAoFzB"}
@@ -11,6 +11,7 @@ export declare enum IntegrationType {
11
11
  'built_in_db' = "built_in_db",
12
12
  'mongo' = "mongo",
13
13
  'mysql' = "mysql",
14
+ 'clickhouse' = "clickhouse",
14
15
  'mssql' = "mssql",
15
16
  'postgres' = "postgres",
16
17
  'cockroach' = "cockroach",
@@ -39,7 +40,6 @@ export declare enum IntegrationType {
39
40
  'documentdb' = "documentdb",
40
41
  'dynamodb' = "dynamodb",
41
42
  'cassandra' = "cassandra",
42
- 'clickhouse' = "clickhouse",
43
43
  'alloydb' = "alloydb",
44
44
  'spanner' = "spanner",
45
45
  'db2' = "db2",
@@ -16,6 +16,7 @@ var IntegrationType;
16
16
  IntegrationType["built_in_db"] = "built_in_db";
17
17
  IntegrationType["mongo"] = "mongo";
18
18
  IntegrationType["mysql"] = "mysql";
19
+ IntegrationType["clickhouse"] = "clickhouse";
19
20
  IntegrationType["mssql"] = "mssql";
20
21
  IntegrationType["postgres"] = "postgres";
21
22
  IntegrationType["cockroach"] = "cockroach";
@@ -44,7 +45,6 @@ var IntegrationType;
44
45
  IntegrationType["documentdb"] = "documentdb";
45
46
  IntegrationType["dynamodb"] = "dynamodb";
46
47
  IntegrationType["cassandra"] = "cassandra";
47
- IntegrationType["clickhouse"] = "clickhouse";
48
48
  IntegrationType["alloydb"] = "alloydb";
49
49
  IntegrationType["spanner"] = "spanner";
50
50
  IntegrationType["db2"] = "db2";
@@ -1 +1 @@
1
- {"version":3,"file":"integration.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/integration.public-types.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC7B,4CAAuB,CAAA;IACvB,sCAAiB,CAAA;IACjB,kCAAa,CAAA;IACb,sDAAiC,CAAA;IACjC,kCAAa,CAAA;IACb,oCAAe,CAAA;IACf,gCAAW,CAAA;AACb,CAAC,EARW,mBAAmB,mCAAnB,mBAAmB,QAQ9B;AAED,IAAY,eA+CX;AA/CD,WAAY,eAAe;IACzB,8CAA6B,CAAA;IAC7B,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,0CAAyB,CAAA;IACzB,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;IACrB,wCAAuB,CAAA;IACvB,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;IACrB,wCAAuB,CAAA;IACvB,4CAA2B,CAAA;IAC3B,sCAAqB,CAAA;IACrB,gCAAe,CAAA;IACf,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,0CAAyB,CAAA;IACzB,oDAAmC,CAAA;IAEnC,sCAAqB,CAAA;IACrB,kEAAiD,CAAA;IACjD,oDAAmC,CAAA;IACnC,0EAAyD,CAAA;IACzD,oCAAmB,CAAA;IACnB,wCAAuB,CAAA;IACvB,oDAAmC,CAAA;IACnC,4CAA2B,CAAA;IAC3B,wCAAuB,CAAA;IACvB,0CAAyB,CAAA;IACzB,4CAA2B,CAAA;IAC3B,sCAAqB,CAAA;IACrB,sCAAqB,CAAA;IACrB,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,wCAAuB,CAAA;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,0CAAyB,CAAA;IACzB,wDAAuC,CAAA;IACvC,oDAAmC,CAAA;IACnC,0CAAyB,CAAA;IACzB,wCAAuB,CAAA;IACvB,wCAAuB,CAAA;AACzB,CAAC,EA/CW,eAAe,+BAAf,eAAe,QA+C1B;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,4CAAqB,CAAA;AACvB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC"}
1
+ {"version":3,"file":"integration.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/integration.public-types.ts"],"names":[],"mapp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AED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,4CAAqB,CAAA;AACvB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC"}
@@ -24,6 +24,9 @@ export interface MongoConnectionOptions {
24
24
  export interface MySqlConnectionSecretOptions {
25
25
  password: string;
26
26
  }
27
+ export interface ClickHouseConnectionSecretOptions {
28
+ password: string;
29
+ }
27
30
  export interface BigQueryConnectionSecretOptions {
28
31
  privateKey: string;
29
32
  }
@@ -45,6 +48,14 @@ export interface MySqlConnectionOptions {
45
48
  connectionLimit?: number;
46
49
  sslEnabled?: boolean;
47
50
  }
51
+ export interface ClickHouseConnectionOptions {
52
+ secrets: ClickHouseConnectionSecretOptions;
53
+ host: string;
54
+ user: string;
55
+ database: string;
56
+ connectionLimit?: number;
57
+ sslEnabled?: boolean;
58
+ }
48
59
  export interface BigQueryConnectionOptions {
49
60
  secrets: BigQueryConnectionSecretOptions;
50
61
  projectId: string;
@@ -98,6 +109,9 @@ export interface BaseDatabaseIntegrationConfig extends BaseIntegrationConfig {
98
109
  export interface MySqlIntegrationConfiguration {
99
110
  connectionOptions: MySqlConnectionOptions;
100
111
  }
112
+ export interface ClickHouseIntegrationConfiguration {
113
+ connectionOptions: ClickHouseConnectionOptions;
114
+ }
101
115
  export interface BigQueryIntegrationConfiguration {
102
116
  connectionOptions: BigQueryConnectionOptions;
103
117
  }
@@ -120,6 +134,10 @@ export interface MySqlIntegrationConfig extends BaseDatabaseIntegrationConfig {
120
134
  type: IntegrationType.mysql;
121
135
  configuration: MySqlIntegrationConfiguration;
122
136
  }
137
+ export interface ClickHouseIntegrationConfig extends BaseDatabaseIntegrationConfig {
138
+ type: IntegrationType.clickhouse;
139
+ configuration: ClickHouseIntegrationConfiguration;
140
+ }
123
141
  export interface BigQueryIntegrationConfig extends BaseDatabaseIntegrationConfig {
124
142
  type: IntegrationType.bigquery;
125
143
  configuration: BigQueryIntegrationConfiguration;
@@ -174,6 +192,10 @@ interface DiscoverMysqlDataConnectionSchemaRequest {
174
192
  integrationType: IntegrationType.mysql;
175
193
  connectionOptions: MySqlConnectionOptions;
176
194
  }
195
+ interface DiscoverClickHouseDataConnectionSchemaRequest {
196
+ integrationType: IntegrationType.clickhouse;
197
+ connectionOptions: ClickHouseConnectionOptions;
198
+ }
177
199
  interface DiscoverBigQueryDataConnectionSchemaRequest {
178
200
  integrationType: IntegrationType.bigquery;
179
201
  connectionOptions: BigQueryConnectionOptions;
@@ -202,5 +224,5 @@ export interface TestDataConnectionResponse {
202
224
  success: boolean;
203
225
  errorMessage?: string;
204
226
  }
205
- export type DiscoverDataConnectionSchemaRequest = DiscoverMongoDataConnectionSchemaRequest | DiscoverInternalDataConnectionSchemaRequest | DiscoverMysqlDataConnectionSchemaRequest | DiscoverBigQueryDataConnectionSchemaRequest | DiscoverOracleDataConnectionSchemaRequest | DiscoverMssqlDataConnectionSchemaRequest | DiscoverCockroachDataConnectionSchemaRequest | DiscoverPostgresDataConnectionSchemaRequest | DiscoverSnowflakeDataConnectionSchemaRequest;
227
+ export type DiscoverDataConnectionSchemaRequest = DiscoverMongoDataConnectionSchemaRequest | DiscoverInternalDataConnectionSchemaRequest | DiscoverMysqlDataConnectionSchemaRequest | DiscoverClickHouseDataConnectionSchemaRequest | DiscoverBigQueryDataConnectionSchemaRequest | DiscoverOracleDataConnectionSchemaRequest | DiscoverMssqlDataConnectionSchemaRequest | DiscoverCockroachDataConnectionSchemaRequest | DiscoverPostgresDataConnectionSchemaRequest | DiscoverSnowflakeDataConnectionSchemaRequest;
206
228
  export {};
@@ -1,7 +1,7 @@
1
1
  import { AiChatbotIntegrationConfig } from './ai_chatbot.types';
2
2
  import { GraphQLIntegrationConfig, HttpApiIntegrationConfig, IntegrationApiSchema, IntegrationGraphQLSchema } from './api.types';
3
3
  import { Auth0IntegrationConfig, CognitoIntegrationConfig, DescopeIntegrationConfig, JwtHmacIntegrationConfig, JwtRsaIntegrationConfig, OktaIntegrationConfig } from './auth.types';
4
- import { BaseDatabaseIntegrationConfig, BigQueryIntegrationConfig, CockroachIntegrationConfig, IntegrationDataSchema, InternalIntegrationConfig, MongoIntegrationConfig, MssqlIntegrationConfig, MySqlIntegrationConfig, OracleIntegrationConfig, PostgresIntegrationConfig, SnowflakeIntegrationConfig } from './database.types';
4
+ import { BaseDatabaseIntegrationConfig, BigQueryIntegrationConfig, ClickHouseIntegrationConfig, CockroachIntegrationConfig, IntegrationDataSchema, InternalIntegrationConfig, MongoIntegrationConfig, MssqlIntegrationConfig, MySqlIntegrationConfig, OracleIntegrationConfig, PostgresIntegrationConfig, SnowflakeIntegrationConfig } from './database.types';
5
5
  import { DatadogIntegrationConfig, NewRelicIntegrationConfig } from './observability.types';
6
6
  import { IntegrationSchemaType, IntegrationType } from '../integration.public-types';
7
7
  import { BuiltInQueueIntegrationConfig, ConfluentIntegrationConfig, KafkaIntegrationConfig } from './queue-types';
@@ -10,6 +10,7 @@ export interface IntegrationConfigTypes {
10
10
  [IntegrationType.built_in_db]: InternalIntegrationConfig;
11
11
  [IntegrationType.mongo]: MongoIntegrationConfig;
12
12
  [IntegrationType.mysql]: MySqlIntegrationConfig;
13
+ [IntegrationType.clickhouse]: ClickHouseIntegrationConfig;
13
14
  [IntegrationType.bigquery]: BigQueryIntegrationConfig;
14
15
  [IntegrationType.oracledb]: OracleIntegrationConfig;
15
16
  [IntegrationType.mssql]: MssqlIntegrationConfig;
@@ -35,6 +36,7 @@ export interface IntegrationSchemaTypes {
35
36
  [IntegrationType.built_in_db]: IntegrationDataSchema;
36
37
  [IntegrationType.mongo]: IntegrationDataSchema;
37
38
  [IntegrationType.mysql]: IntegrationDataSchema;
39
+ [IntegrationType.clickhouse]: IntegrationDataSchema;
38
40
  [IntegrationType.oracledb]: IntegrationDataSchema;
39
41
  [IntegrationType.bigquery]: IntegrationDataSchema;
40
42
  [IntegrationType.mssql]: IntegrationDataSchema;
@@ -48,7 +50,7 @@ export type IntegrationTypeWithConfig = keyof IntegrationConfigTypes;
48
50
  export type IntegrationSchemaKeys = keyof IntegrationSchemaTypes;
49
51
  export type IntegrationConfig = IntegrationConfigTypes[IntegrationTypeWithConfig];
50
52
  export type IntegrationSchema = IntegrationSchemaTypes[IntegrationSchemaKeys];
51
- export declare const DatabaseIntegrationTypes: readonly [IntegrationType.built_in_db, IntegrationType.mongo, IntegrationType.mysql, IntegrationType.bigquery, IntegrationType.mssql, IntegrationType.postgres, IntegrationType.cockroach, IntegrationType.snowflake, IntegrationType.oracledb];
53
+ export declare const DatabaseIntegrationTypes: readonly [IntegrationType.built_in_db, IntegrationType.mongo, IntegrationType.mysql, IntegrationType.clickhouse, IntegrationType.bigquery, IntegrationType.mssql, IntegrationType.postgres, IntegrationType.cockroach, IntegrationType.snowflake, IntegrationType.oracledb];
52
54
  export type DatabaseIntegrationType = (typeof DatabaseIntegrationTypes)[number];
53
55
  export type DatabaseIntegrationConfig = IntegrationConfigTypes[DatabaseIntegrationType];
54
56
  export declare const AuthIntegrationTypes: readonly [IntegrationType.auth0, IntegrationType.jwt_rsa, IntegrationType.jwt_hmac, IntegrationType.cognito, IntegrationType.okta, IntegrationType.descope];
@@ -6,6 +6,7 @@ exports.DatabaseIntegrationTypes = [
6
6
  integration_public_types_1.IntegrationType.built_in_db,
7
7
  integration_public_types_1.IntegrationType.mongo,
8
8
  integration_public_types_1.IntegrationType.mysql,
9
+ integration_public_types_1.IntegrationType.clickhouse,
9
10
  integration_public_types_1.IntegrationType.bigquery,
10
11
  integration_public_types_1.IntegrationType.mssql,
11
12
  integration_public_types_1.IntegrationType.postgres,
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/schemas.ts"],"names":[],"mappings":";;;AA6BA,0EAAqF;AAkDxE,QAAA,wBAAwB,GAAG;IACtC,0CAAe,CAAC,WAAW;IAC3B,0CAAe,CAAC,KAAK;IACrB,0CAAe,CAAC,KAAK;IACrB,0CAAe,CAAC,QAAQ;IACxB,0CAAe,CAAC,KAAK;IACrB,0CAAe,CAAC,QAAQ;IACxB,0CAAe,CAAC,SAAS;IACzB,0CAAe,CAAC,SAAS;IACzB,0CAAe,CAAC,QAAQ;CAChB,CAAC;AAKE,QAAA,oBAAoB,GAAG;IAClC,0CAAe,CAAC,KAAK;IACrB,0CAAe,CAAC,OAAO;IACvB,0CAAe,CAAC,QAAQ;IACxB,0CAAe,CAAC,OAAO;IACvB,0CAAe,CAAC,IAAI;IACpB,0CAAe,CAAC,OAAO;CACf,CAAC;AAEE,QAAA,qBAAqB,GAAG;IACnC,0CAAe,CAAC,cAAc;IAC9B,0CAAe,CAAC,KAAK;IACrB,0CAAe,CAAC,SAAS;CACjB,CAAC;AAKX,SAAgB,qBAAqB,CAAC,IAAa;IACjD,OAAO,gCAAwB,CAAC,QAAQ,CAAC,IAA+B,CAAC,CAAC;AAC5E,CAAC;AAFD,sDAEC;AAED,SAAgB,iBAAiB,CAAC,WAAoB;IACpD,OAAO,qBAAqB,CAAE,WAA6C,aAA7C,WAAW,uBAAX,WAAW,CAAoC,IAAI,CAAC,CAAC;AACrF,CAAC;AAFD,8CAEC;AAED,SAAgB,qBAAqB,CAAC,IAAa;IACjD,OAAQ,4BAAmD,CAAC,QAAQ,CAAC,IAAuB,CAAC,CAAC;AAChG,CAAC;AAFD,sDAEC;AAED,SAAgB,iBAAiB,CAAC,WAAoB;IACpD,OAAO,qBAAqB,CAAE,WAAqC,aAArC,WAAW,uBAAX,WAAW,CAA4B,IAAI,CAAC,CAAC;AAC7E,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/schemas.ts"],"names":[],"mappings":";;;AA8BA,0EAAqF;AAoDxE,QAAA,wBAAwB,GAAG;IACtC,0CAAe,CAAC,WAAW;IAC3B,0CAAe,CAAC,KAAK;IACrB,0CAAe,CAAC,KAAK;IACrB,0CAAe,CAAC,UAAU;IAC1B,0CAAe,CAAC,QAAQ;IACxB,0CAAe,CAAC,KAAK;IACrB,0CAAe,CAAC,QAAQ;IACxB,0CAAe,CAAC,SAAS;IACzB,0CAAe,CAAC,SAAS;IACzB,0CAAe,CAAC,QAAQ;CAChB,CAAC;AAKE,QAAA,oBAAoB,GAAG;IAClC,0CAAe,CAAC,KAAK;IACrB,0CAAe,CAAC,OAAO;IACvB,0CAAe,CAAC,QAAQ;IACxB,0CAAe,CAAC,OAAO;IACvB,0CAAe,CAAC,IAAI;IACpB,0CAAe,CAAC,OAAO;CACf,CAAC;AAEE,QAAA,qBAAqB,GAAG;IACnC,0CAAe,CAAC,cAAc;IAC9B,0CAAe,CAAC,KAAK;IACrB,0CAAe,CAAC,SAAS;CACjB,CAAC;AAKX,SAAgB,qBAAqB,CAAC,IAAa;IACjD,OAAO,gCAAwB,CAAC,QAAQ,CAAC,IAA+B,CAAC,CAAC;AAC5E,CAAC;AAFD,sDAEC;AAED,SAAgB,iBAAiB,CAAC,WAAoB;IACpD,OAAO,qBAAqB,CAAE,WAA6C,aAA7C,WAAW,uBAAX,WAAW,CAAoC,IAAI,CAAC,CAAC;AACrF,CAAC;AAFD,8CAEC;AAED,SAAgB,qBAAqB,CAAC,IAAa;IACjD,OAAQ,4BAAmD,CAAC,QAAQ,CAAC,IAAuB,CAAC,CAAC;AAChG,CAAC;AAFD,sDAEC;AAED,SAAgB,iBAAiB,CAAC,WAAoB;IACpD,OAAO,qBAAqB,CAAE,WAAqC,aAArC,WAAW,uBAAX,WAAW,CAA4B,IAAI,CAAC,CAAC;AAC7E,CAAC;AAFD,8CAEC"}
@@ -1,6 +1,5 @@
1
1
  import { CollectionName, DocumentData, FieldName } from './document.public-types';
2
2
  import { Paths } from './typescript.public-types';
3
- import { TriggerId } from './application.public-types';
4
3
  import { ClientRequestId } from './communication.public-types';
5
4
  export type Alias = string;
6
5
  export interface JoinCondition {
@@ -26,16 +25,6 @@ export interface FieldSort<Doc> {
26
25
  fieldName: FieldName<Doc>;
27
26
  asc: boolean;
28
27
  }
29
- interface RegularQueryKey {
30
- queryType: 'query';
31
- clientId: string;
32
- clientRequestId: string;
33
- }
34
- interface TriggerKey {
35
- queryType: 'trigger';
36
- triggerId: TriggerId;
37
- }
38
- export type QueryKey = RegularQueryKey | TriggerKey;
39
28
  export interface Query<Doc extends DocumentData = any> {
40
29
  collectionName: CollectionName;
41
30
  integrationId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"query.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/query.public-types.ts"],"names":[],"mappings":";;;AA+CA,SAAgB,iBAAiB,CAAC,SAAoB;IACpD,OAAO,WAAW,IAAI,SAAS,CAAC;AAClC,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"query.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/query.public-types.ts"],"names":[],"mappings":";;;AA8CA,SAAgB,iBAAiB,CAAC,SAAoB;IACpD,OAAO,WAAW,IAAI,SAAS,CAAC;AAClC,CAAC;AAFD,8CAEC"}
@@ -1,13 +1,7 @@
1
1
  export interface Type<T> extends Function {
2
2
  new (...args: any[]): T;
3
3
  }
4
- export type Replace<TypeToBeChecked, KeyToBeReplaced extends keyof TypeToBeChecked, NewValueToUse> = Omit<TypeToBeChecked, KeyToBeReplaced> & {
5
- [P in KeyToBeReplaced]: NewValueToUse;
6
- };
7
4
  export type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
8
- export type WithRequired<T, K extends keyof T> = T & {
9
- [P in K]-?: T[P];
10
- };
11
5
  type PropertiesWithPrefix<Prefix extends string> = {
12
6
  [key in `${Prefix}${string}`]: any;
13
7
  };
@@ -0,0 +1,60 @@
1
+ import { UpsertAiChatbotIntegrationRequest, UpsertApiIntegrationRequest, UpsertAuthIntegrationRequest, UpsertConfluentIntegrationRequest, UpsertDataIntegrationRequest, UpsertGraphQLIntegrationRequest, UpsertKafkaIntegrationRequest } from '../public-types/application.public-types';
2
+ import { AppId, IntegrationId } from '../public-types/communication.public-types';
3
+ import { CollectionName } from '../public-types/document.public-types';
4
+ import { IntegrationConfig, IntegrationSchema } from '../public-types/integrations/schemas';
5
+ import { RunPermissions } from './backend-run.types';
6
+ import { ApplicationBundleData, ServiceFunctionName } from './bundle-data.types';
7
+ export type OpenIdProviderType = 'auth0';
8
+ export type CodeUrl = string;
9
+ export interface TriggerConfig {
10
+ integrationId: IntegrationId;
11
+ collectionName: CollectionName;
12
+ functionName: ServiceFunctionName;
13
+ }
14
+ export interface SchedulerConfig {
15
+ functionName: ServiceFunctionName;
16
+ cronExpression: string;
17
+ exclusive: boolean;
18
+ }
19
+ export interface WebhookConfig {
20
+ functionName: ServiceFunctionName;
21
+ }
22
+ export interface OpenIdProvider {
23
+ providerType: OpenIdProviderType;
24
+ clientId: string;
25
+ domain: string;
26
+ }
27
+ export interface Application {
28
+ appId: AppId;
29
+ organizationId: string;
30
+ creationDate: Date;
31
+ updateDate: Date;
32
+ allowedHosts: string[];
33
+ openIdProvider?: OpenIdProvider;
34
+ integrations: Record<IntegrationId, IntegrationConfig>;
35
+ codeUrl?: string;
36
+ bundleMetadata?: ApplicationBundleData;
37
+ archiveDate?: Date;
38
+ }
39
+ export interface Schema<T extends IntegrationSchema = any> {
40
+ appId: AppId;
41
+ integrationId: IntegrationId;
42
+ schema: T;
43
+ createdAt: Date;
44
+ updatedAt: Date;
45
+ }
46
+ export interface ApplicationInitDetails {
47
+ codeUrl: string;
48
+ codeUrlId: string;
49
+ permissions: RunPermissions;
50
+ }
51
+ export interface UpdateOpenIdProviderRequest {
52
+ openIdProvider: OpenIdProvider;
53
+ }
54
+ export interface CreateApplicationRequest {
55
+ organizationId: string;
56
+ }
57
+ export interface CreateApplicationResponse {
58
+ appId: AppId;
59
+ }
60
+ export type UpsertIntegrationRequest = UpsertDataIntegrationRequest | UpsertGraphQLIntegrationRequest | UpsertApiIntegrationRequest | UpsertAiChatbotIntegrationRequest | UpsertConfluentIntegrationRequest | UpsertKafkaIntegrationRequest | UpsertAuthIntegrationRequest;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=application.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application.types.js","sourceRoot":"","sources":["../../../../../internal-common/src/types/application.types.ts"],"names":[],"mappings":""}
@@ -1,9 +1,10 @@
1
- import { SchedulerConfig, SchedulerId, TriggerConfig, TriggerId, WebhookConfig, WebhookId } from '../public-types/application.public-types';
1
+ import { SchedulerId, TriggerId, WebhookId } from '../public-types/application.public-types';
2
2
  import { ApiEndpointId } from '../public-types/integrations/api.types';
3
3
  import { OpenApiController } from './openapi.types';
4
4
  import { AiChatbotActionType, AiFunctionParamType, DatabaseActionType, FunctionName, TopicActionType } from '../public-types/bundle-data.public-types';
5
5
  import { IntegrationId } from '../public-types/communication.public-types';
6
6
  import { CollectionName } from '../public-types/document.public-types';
7
+ import { SchedulerConfig, TriggerConfig, WebhookConfig } from './application.types';
7
8
  export type TopicName = string;
8
9
  export type ServiceName = string;
9
10
  export type ServiceFunctionName = `${ServiceName}:${FunctionName}`;
@@ -1,6 +1,7 @@
1
1
  export declare function getGlobal(): any;
2
2
  export declare function isDebugEnabled(): boolean;
3
3
  export declare function enableDebugLogs(): void;
4
+ export declare function disableDebugLogs(): void;
4
5
  export declare class DebugLogger {
5
6
  static log(...args: any[]): void;
6
7
  static info(...args: any[]): void;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DebugLogger = exports.enableDebugLogs = exports.isDebugEnabled = exports.getGlobal = void 0;
3
+ exports.DebugLogger = exports.disableDebugLogs = exports.enableDebugLogs = exports.isDebugEnabled = exports.getGlobal = void 0;
4
4
  function getGlobal() {
5
5
  if (typeof window !== 'undefined') {
6
6
  return window;
@@ -24,6 +24,11 @@ function enableDebugLogs() {
24
24
  globalObj['SQUID_DEBUG_ENABLED'] = true;
25
25
  }
26
26
  exports.enableDebugLogs = enableDebugLogs;
27
+ function disableDebugLogs() {
28
+ const globalObj = getGlobal();
29
+ globalObj['SQUID_DEBUG_ENABLED'] = false;
30
+ }
31
+ exports.disableDebugLogs = disableDebugLogs;
27
32
  class DebugLogger {
28
33
  static log(...args) {
29
34
  DebugLogger.info(...args);
@@ -1 +1 @@
1
- {"version":3,"file":"global.utils.js","sourceRoot":"","sources":["../../../../../internal-common/src/utils/global.utils.ts"],"names":[],"mappings":";;;AAKA,SAAgB,SAAS;IACvB,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QACjC,OAAO,MAAM,CAAC;KACf;IACD,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QACjC,OAAO,MAAM,CAAC;KACf;IACD,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;QAC/B,OAAO,IAAI,CAAC;KACb;IACD,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;AACpD,CAAC;AAXD,8BAWC;AAGD,SAAgB,cAAc;IAC5B,MAAM,SAAS,GAAG,SAAS,EAAE,CAAC;IAC9B,OAAO,SAAS,IAAI,SAAS,CAAC,qBAAqB,CAAC,CAAC;AACvD,CAAC;AAHD,wCAGC;AAGD,SAAgB,eAAe;IAC7B,MAAM,SAAS,GAAG,SAAS,EAAE,CAAC;IAC9B,SAAS,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC;AAC1C,CAAC;AAHD,0CAGC;AAGD,MAAa,WAAW;IACtB,MAAM,CAAC,GAAG,CAAC,GAAG,IAAW;QACvB,WAAW,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED,MAAM,CAAC,IAAI,CAAC,GAAG,IAAW;QACxB,OAAO,CAAC,GAAG,CAAC,MAAM,WAAW,CAAC,kBAAkB,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC,CAAC;IACtF,CAAC;IAED,MAAM,CAAC,IAAI,CAAC,GAAG,IAAW;QACxB,OAAO,CAAC,IAAI,CAAC,MAAM,WAAW,CAAC,kBAAkB,EAAE,QAAQ,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC,CAAC;IACxF,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,GAAG,IAAW;QACzB,OAAO,CAAC,KAAK,CAAC,MAAM,WAAW,CAAC,kBAAkB,EAAE,SAAS,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,CAAC;IACvF,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,GAAG,IAAW;QACzB,IAAI,CAAC,cAAc,EAAE;YAAE,OAAO;QAC9B,OAAO,CAAC,GAAG,CAAC,MAAM,WAAW,CAAC,kBAAkB,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC,CAAC;IACtF,CAAC;IAEO,MAAM,CAAC,kBAAkB;QAC/B,MAAM,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QACxB,OAAO,GAAG,IAAI,CAAC,kBAAkB,EAAE,IAAI,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC;IAClE,CAAC;CACF;AA1BD,kCA0BC"}
1
+ {"version":3,"file":"global.utils.js","sourceRoot":"","sources":["../../../../../internal-common/src/utils/global.utils.ts"],"names":[],"mappings":";;;AAKA,SAAgB,SAAS;IACvB,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QACjC,OAAO,MAAM,CAAC;KACf;IACD,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QACjC,OAAO,MAAM,CAAC;KACf;IACD,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;QAC/B,OAAO,IAAI,CAAC;KACb;IACD,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;AACpD,CAAC;AAXD,8BAWC;AAGD,SAAgB,cAAc;IAC5B,MAAM,SAAS,GAAG,SAAS,EAAE,CAAC;IAC9B,OAAO,SAAS,IAAI,SAAS,CAAC,qBAAqB,CAAC,CAAC;AACvD,CAAC;AAHD,wCAGC;AAGD,SAAgB,e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AC,eAAe,EAAE,EAAE,CAAC;IAClE,CAAC;CACF;AA1BD,kCA0BC"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/local-backend",
3
- "version": "1.0.169",
3
+ "version": "1.0.170",
4
4
  "description": "",
5
5
  "main": "dist/local-backend/src/index.js",
6
6
  "types": "dist/local-backend/src/index.d.ts",