@rudderhq/cli 0.1.0 → 0.2.0-canary.1
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.
- package/dist/index.js +33 -33
- package/dist/index.js.map +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5325,7 +5325,7 @@ var init_chat_context_links = __esm({
|
|
|
5325
5325
|
});
|
|
5326
5326
|
|
|
5327
5327
|
// ../packages/db/src/schema/chat_attachments.ts
|
|
5328
|
-
import { index as index36, pgTable as pgTable41, timestamp as timestamp41,
|
|
5328
|
+
import { index as index36, pgTable as pgTable41, timestamp as timestamp41, uuid as uuid39 } from "drizzle-orm/pg-core";
|
|
5329
5329
|
var chatAttachments;
|
|
5330
5330
|
var init_chat_attachments = __esm({
|
|
5331
5331
|
"../packages/db/src/schema/chat_attachments.ts"() {
|
|
@@ -5354,7 +5354,7 @@ var init_chat_attachments = __esm({
|
|
|
5354
5354
|
table.orgId,
|
|
5355
5355
|
table.conversationId
|
|
5356
5356
|
),
|
|
5357
|
-
|
|
5357
|
+
assetIdx: index36("chat_attachments_asset_idx").on(table.assetId)
|
|
5358
5358
|
})
|
|
5359
5359
|
);
|
|
5360
5360
|
}
|
|
@@ -5507,7 +5507,7 @@ var init_calendar_events = __esm({
|
|
|
5507
5507
|
});
|
|
5508
5508
|
|
|
5509
5509
|
// ../packages/db/src/schema/organization_secrets.ts
|
|
5510
|
-
import { pgTable as pgTable45, uuid as uuid43, text as text47, timestamp as timestamp45, integer as integer14, index as index40, uniqueIndex as
|
|
5510
|
+
import { pgTable as pgTable45, uuid as uuid43, text as text47, timestamp as timestamp45, integer as integer14, index as index40, uniqueIndex as uniqueIndex23 } from "drizzle-orm/pg-core";
|
|
5511
5511
|
var organizationSecrets;
|
|
5512
5512
|
var init_organization_secrets = __esm({
|
|
5513
5513
|
"../packages/db/src/schema/organization_secrets.ts"() {
|
|
@@ -5532,7 +5532,7 @@ var init_organization_secrets = __esm({
|
|
|
5532
5532
|
(table) => ({
|
|
5533
5533
|
organizationIdx: index40("organization_secrets_org_idx").on(table.orgId),
|
|
5534
5534
|
organizationProviderIdx: index40("organization_secrets_org_provider_idx").on(table.orgId, table.provider),
|
|
5535
|
-
organizationNameUq:
|
|
5535
|
+
organizationNameUq: uniqueIndex23("organization_secrets_org_name_uq").on(table.orgId, table.name)
|
|
5536
5536
|
})
|
|
5537
5537
|
);
|
|
5538
5538
|
}
|
|
@@ -5547,7 +5547,7 @@ import {
|
|
|
5547
5547
|
pgTable as pgTable46,
|
|
5548
5548
|
text as text48,
|
|
5549
5549
|
timestamp as timestamp46,
|
|
5550
|
-
uniqueIndex as
|
|
5550
|
+
uniqueIndex as uniqueIndex24,
|
|
5551
5551
|
uuid as uuid44
|
|
5552
5552
|
} from "drizzle-orm/pg-core";
|
|
5553
5553
|
var automations, automationTriggers, automationRuns;
|
|
@@ -5621,7 +5621,7 @@ var init_automations = __esm({
|
|
|
5621
5621
|
companyKindIdx: index41("automation_triggers_company_kind_idx").on(table.orgId, table.kind),
|
|
5622
5622
|
nextRunIdx: index41("automation_triggers_next_run_idx").on(table.nextRunAt),
|
|
5623
5623
|
publicIdIdx: index41("automation_triggers_public_id_idx").on(table.publicId),
|
|
5624
|
-
publicIdUq:
|
|
5624
|
+
publicIdUq: uniqueIndex24("automation_triggers_public_id_uq").on(table.publicId)
|
|
5625
5625
|
})
|
|
5626
5626
|
);
|
|
5627
5627
|
automationRuns = pgTable46(
|
|
@@ -5723,7 +5723,7 @@ var init_issue_work_products = __esm({
|
|
|
5723
5723
|
});
|
|
5724
5724
|
|
|
5725
5725
|
// ../packages/db/src/schema/labels.ts
|
|
5726
|
-
import { pgTable as pgTable48, uuid as uuid46, text as text50, timestamp as timestamp48, index as index43, uniqueIndex as
|
|
5726
|
+
import { pgTable as pgTable48, uuid as uuid46, text as text50, timestamp as timestamp48, index as index43, uniqueIndex as uniqueIndex25 } from "drizzle-orm/pg-core";
|
|
5727
5727
|
var labels;
|
|
5728
5728
|
var init_labels = __esm({
|
|
5729
5729
|
"../packages/db/src/schema/labels.ts"() {
|
|
@@ -5741,7 +5741,7 @@ var init_labels = __esm({
|
|
|
5741
5741
|
},
|
|
5742
5742
|
(table) => ({
|
|
5743
5743
|
orgIdx: index43("labels_company_idx").on(table.orgId),
|
|
5744
|
-
orgNameIdx:
|
|
5744
|
+
orgNameIdx: uniqueIndex25("labels_company_name_idx").on(table.orgId, table.name)
|
|
5745
5745
|
})
|
|
5746
5746
|
);
|
|
5747
5747
|
}
|
|
@@ -5845,7 +5845,7 @@ var init_issue_comments = __esm({
|
|
|
5845
5845
|
});
|
|
5846
5846
|
|
|
5847
5847
|
// ../packages/db/src/schema/issue_read_states.ts
|
|
5848
|
-
import { pgTable as pgTable52, uuid as uuid50, text as text53, timestamp as timestamp52, index as index47, uniqueIndex as
|
|
5848
|
+
import { pgTable as pgTable52, uuid as uuid50, text as text53, timestamp as timestamp52, index as index47, uniqueIndex as uniqueIndex26 } from "drizzle-orm/pg-core";
|
|
5849
5849
|
var issueReadStates;
|
|
5850
5850
|
var init_issue_read_states = __esm({
|
|
5851
5851
|
"../packages/db/src/schema/issue_read_states.ts"() {
|
|
@@ -5866,7 +5866,7 @@ var init_issue_read_states = __esm({
|
|
|
5866
5866
|
(table) => ({
|
|
5867
5867
|
companyIssueIdx: index47("issue_read_states_company_issue_idx").on(table.orgId, table.issueId),
|
|
5868
5868
|
companyUserIdx: index47("issue_read_states_company_user_idx").on(table.orgId, table.userId),
|
|
5869
|
-
companyIssueUserUnique:
|
|
5869
|
+
companyIssueUserUnique: uniqueIndex26("issue_read_states_company_issue_user_idx").on(
|
|
5870
5870
|
table.orgId,
|
|
5871
5871
|
table.issueId,
|
|
5872
5872
|
table.userId
|
|
@@ -5877,7 +5877,7 @@ var init_issue_read_states = __esm({
|
|
|
5877
5877
|
});
|
|
5878
5878
|
|
|
5879
5879
|
// ../packages/db/src/schema/messenger_thread_user_states.ts
|
|
5880
|
-
import { index as index48, pgTable as pgTable53, text as text54, timestamp as timestamp53, uniqueIndex as
|
|
5880
|
+
import { index as index48, pgTable as pgTable53, text as text54, timestamp as timestamp53, uniqueIndex as uniqueIndex27, uuid as uuid51 } from "drizzle-orm/pg-core";
|
|
5881
5881
|
var messengerThreadUserStates;
|
|
5882
5882
|
var init_messenger_thread_user_states = __esm({
|
|
5883
5883
|
"../packages/db/src/schema/messenger_thread_user_states.ts"() {
|
|
@@ -5897,7 +5897,7 @@ var init_messenger_thread_user_states = __esm({
|
|
|
5897
5897
|
(table) => ({
|
|
5898
5898
|
orgUserIdx: index48("messenger_thread_user_states_org_user_idx").on(table.orgId, table.userId),
|
|
5899
5899
|
orgThreadIdx: index48("messenger_thread_user_states_org_thread_idx").on(table.orgId, table.threadKey),
|
|
5900
|
-
orgThreadUserUnique:
|
|
5900
|
+
orgThreadUserUnique: uniqueIndex27("messenger_thread_user_states_org_thread_user_idx").on(
|
|
5901
5901
|
table.orgId,
|
|
5902
5902
|
table.threadKey,
|
|
5903
5903
|
table.userId
|
|
@@ -5908,7 +5908,7 @@ var init_messenger_thread_user_states = __esm({
|
|
|
5908
5908
|
});
|
|
5909
5909
|
|
|
5910
5910
|
// ../packages/db/src/schema/issue_attachments.ts
|
|
5911
|
-
import { pgTable as pgTable54, uuid as uuid52, timestamp as timestamp54, index as index49, uniqueIndex as
|
|
5911
|
+
import { pgTable as pgTable54, uuid as uuid52, timestamp as timestamp54, index as index49, uniqueIndex as uniqueIndex28, text as text55 } from "drizzle-orm/pg-core";
|
|
5912
5912
|
var issueAttachments;
|
|
5913
5913
|
var init_issue_attachments = __esm({
|
|
5914
5914
|
"../packages/db/src/schema/issue_attachments.ts"() {
|
|
@@ -5933,7 +5933,7 @@ var init_issue_attachments = __esm({
|
|
|
5933
5933
|
companyIssueIdx: index49("issue_attachments_company_issue_idx").on(table.orgId, table.issueId),
|
|
5934
5934
|
issueCommentIdx: index49("issue_attachments_issue_comment_idx").on(table.issueCommentId),
|
|
5935
5935
|
usageIdx: index49("issue_attachments_usage_idx").on(table.usage),
|
|
5936
|
-
assetUq:
|
|
5936
|
+
assetUq: uniqueIndex28("issue_attachments_asset_uq").on(table.assetId)
|
|
5937
5937
|
})
|
|
5938
5938
|
);
|
|
5939
5939
|
}
|
|
@@ -5973,7 +5973,7 @@ var init_documents = __esm({
|
|
|
5973
5973
|
});
|
|
5974
5974
|
|
|
5975
5975
|
// ../packages/db/src/schema/document_revisions.ts
|
|
5976
|
-
import { pgTable as pgTable56, uuid as uuid54, text as text57, integer as integer17, timestamp as timestamp56, index as index51, uniqueIndex as
|
|
5976
|
+
import { pgTable as pgTable56, uuid as uuid54, text as text57, integer as integer17, timestamp as timestamp56, index as index51, uniqueIndex as uniqueIndex29 } from "drizzle-orm/pg-core";
|
|
5977
5977
|
var documentRevisions;
|
|
5978
5978
|
var init_document_revisions = __esm({
|
|
5979
5979
|
"../packages/db/src/schema/document_revisions.ts"() {
|
|
@@ -5995,7 +5995,7 @@ var init_document_revisions = __esm({
|
|
|
5995
5995
|
createdAt: timestamp56("created_at", { withTimezone: true }).notNull().defaultNow()
|
|
5996
5996
|
},
|
|
5997
5997
|
(table) => ({
|
|
5998
|
-
documentRevisionUq:
|
|
5998
|
+
documentRevisionUq: uniqueIndex29("document_revisions_document_revision_uq").on(
|
|
5999
5999
|
table.documentId,
|
|
6000
6000
|
table.revisionNumber
|
|
6001
6001
|
),
|
|
@@ -6010,7 +6010,7 @@ var init_document_revisions = __esm({
|
|
|
6010
6010
|
});
|
|
6011
6011
|
|
|
6012
6012
|
// ../packages/db/src/schema/issue_documents.ts
|
|
6013
|
-
import { pgTable as pgTable57, uuid as uuid55, text as text58, timestamp as timestamp57, index as index52, uniqueIndex as
|
|
6013
|
+
import { pgTable as pgTable57, uuid as uuid55, text as text58, timestamp as timestamp57, index as index52, uniqueIndex as uniqueIndex30 } from "drizzle-orm/pg-core";
|
|
6014
6014
|
var issueDocuments;
|
|
6015
6015
|
var init_issue_documents = __esm({
|
|
6016
6016
|
"../packages/db/src/schema/issue_documents.ts"() {
|
|
@@ -6030,12 +6030,12 @@ var init_issue_documents = __esm({
|
|
|
6030
6030
|
updatedAt: timestamp57("updated_at", { withTimezone: true }).notNull().defaultNow()
|
|
6031
6031
|
},
|
|
6032
6032
|
(table) => ({
|
|
6033
|
-
companyIssueKeyUq:
|
|
6033
|
+
companyIssueKeyUq: uniqueIndex30("issue_documents_company_issue_key_uq").on(
|
|
6034
6034
|
table.orgId,
|
|
6035
6035
|
table.issueId,
|
|
6036
6036
|
table.key
|
|
6037
6037
|
),
|
|
6038
|
-
documentUq:
|
|
6038
|
+
documentUq: uniqueIndex30("issue_documents_document_uq").on(table.documentId),
|
|
6039
6039
|
companyIssueUpdatedIdx: index52("issue_documents_company_issue_updated_idx").on(
|
|
6040
6040
|
table.orgId,
|
|
6041
6041
|
table.issueId,
|
|
@@ -6248,7 +6248,7 @@ var init_approval_comments = __esm({
|
|
|
6248
6248
|
});
|
|
6249
6249
|
|
|
6250
6250
|
// ../packages/db/src/schema/organization_secret_versions.ts
|
|
6251
|
-
import { pgTable as pgTable62, uuid as uuid60, text as text63, timestamp as timestamp62, integer as integer21, jsonb as jsonb29, index as index57, uniqueIndex as
|
|
6251
|
+
import { pgTable as pgTable62, uuid as uuid60, text as text63, timestamp as timestamp62, integer as integer21, jsonb as jsonb29, index as index57, uniqueIndex as uniqueIndex31 } from "drizzle-orm/pg-core";
|
|
6252
6252
|
var organizationSecretVersions;
|
|
6253
6253
|
var init_organization_secret_versions = __esm({
|
|
6254
6254
|
"../packages/db/src/schema/organization_secret_versions.ts"() {
|
|
@@ -6271,7 +6271,7 @@ var init_organization_secret_versions = __esm({
|
|
|
6271
6271
|
(table) => ({
|
|
6272
6272
|
secretIdx: index57("organization_secret_versions_secret_idx").on(table.secretId, table.createdAt),
|
|
6273
6273
|
valueHashIdx: index57("organization_secret_versions_value_sha256_idx").on(table.valueSha256),
|
|
6274
|
-
secretVersionUq:
|
|
6274
|
+
secretVersionUq: uniqueIndex31("organization_secret_versions_secret_version_uq").on(table.secretId, table.version)
|
|
6275
6275
|
})
|
|
6276
6276
|
);
|
|
6277
6277
|
}
|
|
@@ -6285,7 +6285,7 @@ import {
|
|
|
6285
6285
|
timestamp as timestamp63,
|
|
6286
6286
|
jsonb as jsonb30,
|
|
6287
6287
|
index as index58,
|
|
6288
|
-
uniqueIndex as
|
|
6288
|
+
uniqueIndex as uniqueIndex32
|
|
6289
6289
|
} from "drizzle-orm/pg-core";
|
|
6290
6290
|
var organizationSkills;
|
|
6291
6291
|
var init_organization_skills = __esm({
|
|
@@ -6313,7 +6313,7 @@ var init_organization_skills = __esm({
|
|
|
6313
6313
|
updatedAt: timestamp63("updated_at", { withTimezone: true }).notNull().defaultNow()
|
|
6314
6314
|
},
|
|
6315
6315
|
(table) => ({
|
|
6316
|
-
organizationKeyUniqueIdx:
|
|
6316
|
+
organizationKeyUniqueIdx: uniqueIndex32("organization_skills_org_key_idx").on(table.orgId, table.key),
|
|
6317
6317
|
organizationNameIdx: index58("organization_skills_org_name_idx").on(table.orgId, table.name)
|
|
6318
6318
|
})
|
|
6319
6319
|
);
|
|
@@ -6329,7 +6329,7 @@ import {
|
|
|
6329
6329
|
timestamp as timestamp64,
|
|
6330
6330
|
jsonb as jsonb31,
|
|
6331
6331
|
index as index59,
|
|
6332
|
-
uniqueIndex as
|
|
6332
|
+
uniqueIndex as uniqueIndex33
|
|
6333
6333
|
} from "drizzle-orm/pg-core";
|
|
6334
6334
|
var plugins;
|
|
6335
6335
|
var init_plugins = __esm({
|
|
@@ -6354,7 +6354,7 @@ var init_plugins = __esm({
|
|
|
6354
6354
|
updatedAt: timestamp64("updated_at", { withTimezone: true }).notNull().defaultNow()
|
|
6355
6355
|
},
|
|
6356
6356
|
(table) => ({
|
|
6357
|
-
pluginKeyIdx:
|
|
6357
|
+
pluginKeyIdx: uniqueIndex33("plugins_plugin_key_idx").on(table.pluginKey),
|
|
6358
6358
|
statusIdx: index59("plugins_status_idx").on(table.status)
|
|
6359
6359
|
})
|
|
6360
6360
|
);
|
|
@@ -6362,7 +6362,7 @@ var init_plugins = __esm({
|
|
|
6362
6362
|
});
|
|
6363
6363
|
|
|
6364
6364
|
// ../packages/db/src/schema/plugin_config.ts
|
|
6365
|
-
import { pgTable as pgTable65, uuid as uuid63, text as text66, timestamp as timestamp65, jsonb as jsonb32, uniqueIndex as
|
|
6365
|
+
import { pgTable as pgTable65, uuid as uuid63, text as text66, timestamp as timestamp65, jsonb as jsonb32, uniqueIndex as uniqueIndex34 } from "drizzle-orm/pg-core";
|
|
6366
6366
|
var pluginConfig;
|
|
6367
6367
|
var init_plugin_config = __esm({
|
|
6368
6368
|
"../packages/db/src/schema/plugin_config.ts"() {
|
|
@@ -6379,14 +6379,14 @@ var init_plugin_config = __esm({
|
|
|
6379
6379
|
updatedAt: timestamp65("updated_at", { withTimezone: true }).notNull().defaultNow()
|
|
6380
6380
|
},
|
|
6381
6381
|
(table) => ({
|
|
6382
|
-
pluginIdIdx:
|
|
6382
|
+
pluginIdIdx: uniqueIndex34("plugin_config_plugin_id_idx").on(table.pluginId)
|
|
6383
6383
|
})
|
|
6384
6384
|
);
|
|
6385
6385
|
}
|
|
6386
6386
|
});
|
|
6387
6387
|
|
|
6388
6388
|
// ../packages/db/src/schema/plugin_organization_settings.ts
|
|
6389
|
-
import { pgTable as pgTable66, uuid as uuid64, text as text67, timestamp as timestamp66, jsonb as jsonb33, index as index60, uniqueIndex as
|
|
6389
|
+
import { pgTable as pgTable66, uuid as uuid64, text as text67, timestamp as timestamp66, jsonb as jsonb33, index as index60, uniqueIndex as uniqueIndex35, boolean as boolean12 } from "drizzle-orm/pg-core";
|
|
6390
6390
|
var pluginOrganizationSettings;
|
|
6391
6391
|
var init_plugin_organization_settings = __esm({
|
|
6392
6392
|
"../packages/db/src/schema/plugin_organization_settings.ts"() {
|
|
@@ -6408,7 +6408,7 @@ var init_plugin_organization_settings = __esm({
|
|
|
6408
6408
|
(table) => ({
|
|
6409
6409
|
organizationIdx: index60("plugin_organization_settings_org_idx").on(table.orgId),
|
|
6410
6410
|
pluginIdx: index60("plugin_organization_settings_plugin_idx").on(table.pluginId),
|
|
6411
|
-
organizationPluginUq:
|
|
6411
|
+
organizationPluginUq: uniqueIndex35("plugin_organization_settings_org_plugin_uq").on(
|
|
6412
6412
|
table.orgId,
|
|
6413
6413
|
table.pluginId
|
|
6414
6414
|
)
|
|
@@ -6494,7 +6494,7 @@ import {
|
|
|
6494
6494
|
timestamp as timestamp68,
|
|
6495
6495
|
jsonb as jsonb35,
|
|
6496
6496
|
index as index62,
|
|
6497
|
-
uniqueIndex as
|
|
6497
|
+
uniqueIndex as uniqueIndex36
|
|
6498
6498
|
} from "drizzle-orm/pg-core";
|
|
6499
6499
|
var pluginEntities;
|
|
6500
6500
|
var init_plugin_entities = __esm({
|
|
@@ -6522,7 +6522,7 @@ var init_plugin_entities = __esm({
|
|
|
6522
6522
|
pluginIdx: index62("plugin_entities_plugin_idx").on(table.pluginId),
|
|
6523
6523
|
typeIdx: index62("plugin_entities_type_idx").on(table.entityType),
|
|
6524
6524
|
scopeIdx: index62("plugin_entities_scope_idx").on(table.scopeKind, table.scopeId),
|
|
6525
|
-
externalIdx:
|
|
6525
|
+
externalIdx: uniqueIndex36("plugin_entities_external_idx").on(
|
|
6526
6526
|
table.pluginId,
|
|
6527
6527
|
table.entityType,
|
|
6528
6528
|
table.externalId
|
|
@@ -6541,7 +6541,7 @@ import {
|
|
|
6541
6541
|
timestamp as timestamp69,
|
|
6542
6542
|
jsonb as jsonb36,
|
|
6543
6543
|
index as index63,
|
|
6544
|
-
uniqueIndex as
|
|
6544
|
+
uniqueIndex as uniqueIndex37
|
|
6545
6545
|
} from "drizzle-orm/pg-core";
|
|
6546
6546
|
var pluginJobs, pluginJobRuns;
|
|
6547
6547
|
var init_plugin_jobs = __esm({
|
|
@@ -6570,7 +6570,7 @@ var init_plugin_jobs = __esm({
|
|
|
6570
6570
|
(table) => ({
|
|
6571
6571
|
pluginIdx: index63("plugin_jobs_plugin_idx").on(table.pluginId),
|
|
6572
6572
|
nextRunIdx: index63("plugin_jobs_next_run_idx").on(table.nextRunAt),
|
|
6573
|
-
uniqueJobIdx:
|
|
6573
|
+
uniqueJobIdx: uniqueIndex37("plugin_jobs_unique_idx").on(table.pluginId, table.jobKey)
|
|
6574
6574
|
})
|
|
6575
6575
|
);
|
|
6576
6576
|
pluginJobRuns = pgTable69(
|