@channel.io/app-sdk-core 0.21.0 → 0.22.0
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/extensions/config.d.ts +56 -1
- package/dist/extensions/config.d.ts.map +1 -1
- package/dist/extensions/config.js +5 -0
- package/dist/extensions/config.js.map +1 -1
- package/dist/extensions/datasource.d.ts +159 -10
- package/dist/extensions/datasource.d.ts.map +1 -1
- package/dist/extensions/datasource.js +8 -1
- package/dist/extensions/datasource.js.map +1 -1
- package/dist/extensions/index.d.ts +2 -2
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/index.js +2 -2
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/interfaces/oauth.d.ts +1 -1
- package/dist/extensions/oauth.d.ts +12 -4
- package/dist/extensions/oauth.d.ts.map +1 -1
- package/dist/extensions/oauth.js +9 -1
- package/dist/extensions/oauth.js.map +1 -1
- package/dist/extensions/proto-contracts.d.ts +2 -1
- package/dist/extensions/proto-contracts.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.d.ts +10 -0
- package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +204 -0
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.js +10 -0
- package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -1
- package/package.json +1 -1
|
@@ -981,16 +981,34 @@ export declare const ConfigOAuthProtoSchema: z.ZodObject<{
|
|
|
981
981
|
name?: string | undefined;
|
|
982
982
|
fieldKey?: string | undefined;
|
|
983
983
|
}>>, "many">>;
|
|
984
|
+
clientCredentials: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
985
|
+
clientIdFieldKey: z.ZodOptional<z.ZodString>;
|
|
986
|
+
clientSecretFieldKey: z.ZodOptional<z.ZodString>;
|
|
987
|
+
}, "strip", z.ZodTypeAny, {
|
|
988
|
+
clientIdFieldKey?: string | undefined;
|
|
989
|
+
clientSecretFieldKey?: string | undefined;
|
|
990
|
+
}, {
|
|
991
|
+
clientIdFieldKey?: string | undefined;
|
|
992
|
+
clientSecretFieldKey?: string | undefined;
|
|
993
|
+
}>>>;
|
|
984
994
|
}, "strip", z.ZodTypeAny, {
|
|
985
995
|
additionalParams?: {
|
|
986
996
|
name?: string | undefined;
|
|
987
997
|
fieldKey?: string | undefined;
|
|
988
998
|
}[] | undefined;
|
|
999
|
+
clientCredentials?: {
|
|
1000
|
+
clientIdFieldKey?: string | undefined;
|
|
1001
|
+
clientSecretFieldKey?: string | undefined;
|
|
1002
|
+
} | undefined;
|
|
989
1003
|
}, {
|
|
990
1004
|
additionalParams?: {
|
|
991
1005
|
name?: string | undefined;
|
|
992
1006
|
fieldKey?: string | undefined;
|
|
993
1007
|
}[] | undefined;
|
|
1008
|
+
clientCredentials?: {
|
|
1009
|
+
clientIdFieldKey?: string | undefined;
|
|
1010
|
+
clientSecretFieldKey?: string | undefined;
|
|
1011
|
+
} | undefined;
|
|
994
1012
|
}>;
|
|
995
1013
|
export type ConfigOAuthProto = z.infer<typeof ConfigOAuthProtoSchema>;
|
|
996
1014
|
export declare const ConfigChoicesSourceProtoSchema: z.ZodObject<{
|
|
@@ -5414,16 +5432,34 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
5414
5432
|
name?: string | undefined;
|
|
5415
5433
|
fieldKey?: string | undefined;
|
|
5416
5434
|
}>>, "many">>;
|
|
5435
|
+
clientCredentials: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
5436
|
+
clientIdFieldKey: z.ZodOptional<z.ZodString>;
|
|
5437
|
+
clientSecretFieldKey: z.ZodOptional<z.ZodString>;
|
|
5438
|
+
}, "strip", z.ZodTypeAny, {
|
|
5439
|
+
clientIdFieldKey?: string | undefined;
|
|
5440
|
+
clientSecretFieldKey?: string | undefined;
|
|
5441
|
+
}, {
|
|
5442
|
+
clientIdFieldKey?: string | undefined;
|
|
5443
|
+
clientSecretFieldKey?: string | undefined;
|
|
5444
|
+
}>>>;
|
|
5417
5445
|
}, "strip", z.ZodTypeAny, {
|
|
5418
5446
|
additionalParams?: {
|
|
5419
5447
|
name?: string | undefined;
|
|
5420
5448
|
fieldKey?: string | undefined;
|
|
5421
5449
|
}[] | undefined;
|
|
5450
|
+
clientCredentials?: {
|
|
5451
|
+
clientIdFieldKey?: string | undefined;
|
|
5452
|
+
clientSecretFieldKey?: string | undefined;
|
|
5453
|
+
} | undefined;
|
|
5422
5454
|
}, {
|
|
5423
5455
|
additionalParams?: {
|
|
5424
5456
|
name?: string | undefined;
|
|
5425
5457
|
fieldKey?: string | undefined;
|
|
5426
5458
|
}[] | undefined;
|
|
5459
|
+
clientCredentials?: {
|
|
5460
|
+
clientIdFieldKey?: string | undefined;
|
|
5461
|
+
clientSecretFieldKey?: string | undefined;
|
|
5462
|
+
} | undefined;
|
|
5427
5463
|
}>>>;
|
|
5428
5464
|
hooks: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
5429
5465
|
draftResolverFunctionName: z.ZodOptional<z.ZodString>;
|
|
@@ -8612,6 +8648,10 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
8612
8648
|
name?: string | undefined;
|
|
8613
8649
|
fieldKey?: string | undefined;
|
|
8614
8650
|
}[] | undefined;
|
|
8651
|
+
clientCredentials?: {
|
|
8652
|
+
clientIdFieldKey?: string | undefined;
|
|
8653
|
+
clientSecretFieldKey?: string | undefined;
|
|
8654
|
+
} | undefined;
|
|
8615
8655
|
} | undefined;
|
|
8616
8656
|
title?: string | undefined;
|
|
8617
8657
|
providerName?: string | undefined;
|
|
@@ -9177,6 +9217,10 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
9177
9217
|
name?: string | undefined;
|
|
9178
9218
|
fieldKey?: string | undefined;
|
|
9179
9219
|
}[] | undefined;
|
|
9220
|
+
clientCredentials?: {
|
|
9221
|
+
clientIdFieldKey?: string | undefined;
|
|
9222
|
+
clientSecretFieldKey?: string | undefined;
|
|
9223
|
+
} | undefined;
|
|
9180
9224
|
} | undefined;
|
|
9181
9225
|
title?: string | undefined;
|
|
9182
9226
|
providerName?: string | undefined;
|
|
@@ -14126,6 +14170,16 @@ export declare const DataSourceTableProtoSchema: z.ZodObject<{
|
|
|
14126
14170
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
14127
14171
|
tableType: z.ZodOptional<z.ZodString>;
|
|
14128
14172
|
managerAccess: z.ZodOptional<z.ZodString>;
|
|
14173
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
14174
|
+
action: z.ZodOptional<z.ZodString>;
|
|
14175
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
14176
|
+
}, "strip", z.ZodTypeAny, {
|
|
14177
|
+
action?: string | undefined;
|
|
14178
|
+
scope?: string | undefined;
|
|
14179
|
+
}, {
|
|
14180
|
+
action?: string | undefined;
|
|
14181
|
+
scope?: string | undefined;
|
|
14182
|
+
}>>, "many">>;
|
|
14129
14183
|
}, "strip", z.ZodTypeAny, {
|
|
14130
14184
|
name?: string | undefined;
|
|
14131
14185
|
description?: string | undefined;
|
|
@@ -14134,6 +14188,10 @@ export declare const DataSourceTableProtoSchema: z.ZodObject<{
|
|
|
14134
14188
|
estimatedRowCount?: number | undefined;
|
|
14135
14189
|
tableType?: string | undefined;
|
|
14136
14190
|
managerAccess?: string | undefined;
|
|
14191
|
+
permissions?: {
|
|
14192
|
+
action?: string | undefined;
|
|
14193
|
+
scope?: string | undefined;
|
|
14194
|
+
}[] | undefined;
|
|
14137
14195
|
}, {
|
|
14138
14196
|
name?: string | undefined;
|
|
14139
14197
|
description?: string | undefined;
|
|
@@ -14142,6 +14200,10 @@ export declare const DataSourceTableProtoSchema: z.ZodObject<{
|
|
|
14142
14200
|
estimatedRowCount?: number | undefined;
|
|
14143
14201
|
tableType?: string | undefined;
|
|
14144
14202
|
managerAccess?: string | undefined;
|
|
14203
|
+
permissions?: {
|
|
14204
|
+
action?: string | undefined;
|
|
14205
|
+
scope?: string | undefined;
|
|
14206
|
+
}[] | undefined;
|
|
14145
14207
|
}>;
|
|
14146
14208
|
export type DataSourceTableProto = z.infer<typeof DataSourceTableProtoSchema>;
|
|
14147
14209
|
export declare const DataSourceColumnProtoSchema: z.ZodObject<{
|
|
@@ -14179,6 +14241,16 @@ export declare const DataSourceTableDefinitionProtoSchema: z.ZodObject<{
|
|
|
14179
14241
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
14180
14242
|
tableType: z.ZodOptional<z.ZodString>;
|
|
14181
14243
|
managerAccess: z.ZodOptional<z.ZodString>;
|
|
14244
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
14245
|
+
action: z.ZodOptional<z.ZodString>;
|
|
14246
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
14247
|
+
}, "strip", z.ZodTypeAny, {
|
|
14248
|
+
action?: string | undefined;
|
|
14249
|
+
scope?: string | undefined;
|
|
14250
|
+
}, {
|
|
14251
|
+
action?: string | undefined;
|
|
14252
|
+
scope?: string | undefined;
|
|
14253
|
+
}>>, "many">>;
|
|
14182
14254
|
}, "strip", z.ZodTypeAny, {
|
|
14183
14255
|
name?: string | undefined;
|
|
14184
14256
|
description?: string | undefined;
|
|
@@ -14187,6 +14259,10 @@ export declare const DataSourceTableDefinitionProtoSchema: z.ZodObject<{
|
|
|
14187
14259
|
estimatedRowCount?: number | undefined;
|
|
14188
14260
|
tableType?: string | undefined;
|
|
14189
14261
|
managerAccess?: string | undefined;
|
|
14262
|
+
permissions?: {
|
|
14263
|
+
action?: string | undefined;
|
|
14264
|
+
scope?: string | undefined;
|
|
14265
|
+
}[] | undefined;
|
|
14190
14266
|
}, {
|
|
14191
14267
|
name?: string | undefined;
|
|
14192
14268
|
description?: string | undefined;
|
|
@@ -14195,6 +14271,10 @@ export declare const DataSourceTableDefinitionProtoSchema: z.ZodObject<{
|
|
|
14195
14271
|
estimatedRowCount?: number | undefined;
|
|
14196
14272
|
tableType?: string | undefined;
|
|
14197
14273
|
managerAccess?: string | undefined;
|
|
14274
|
+
permissions?: {
|
|
14275
|
+
action?: string | undefined;
|
|
14276
|
+
scope?: string | undefined;
|
|
14277
|
+
}[] | undefined;
|
|
14198
14278
|
}>>>;
|
|
14199
14279
|
columns: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
14200
14280
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -14240,6 +14320,10 @@ export declare const DataSourceTableDefinitionProtoSchema: z.ZodObject<{
|
|
|
14240
14320
|
estimatedRowCount?: number | undefined;
|
|
14241
14321
|
tableType?: string | undefined;
|
|
14242
14322
|
managerAccess?: string | undefined;
|
|
14323
|
+
permissions?: {
|
|
14324
|
+
action?: string | undefined;
|
|
14325
|
+
scope?: string | undefined;
|
|
14326
|
+
}[] | undefined;
|
|
14243
14327
|
} | undefined;
|
|
14244
14328
|
primaryKey?: string[] | undefined;
|
|
14245
14329
|
}, {
|
|
@@ -14260,6 +14344,10 @@ export declare const DataSourceTableDefinitionProtoSchema: z.ZodObject<{
|
|
|
14260
14344
|
estimatedRowCount?: number | undefined;
|
|
14261
14345
|
tableType?: string | undefined;
|
|
14262
14346
|
managerAccess?: string | undefined;
|
|
14347
|
+
permissions?: {
|
|
14348
|
+
action?: string | undefined;
|
|
14349
|
+
scope?: string | undefined;
|
|
14350
|
+
}[] | undefined;
|
|
14263
14351
|
} | undefined;
|
|
14264
14352
|
primaryKey?: string[] | undefined;
|
|
14265
14353
|
}>;
|
|
@@ -14273,6 +14361,16 @@ export declare const DataSourceTableListingProtoSchema: z.ZodObject<{
|
|
|
14273
14361
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
14274
14362
|
tableType: z.ZodOptional<z.ZodString>;
|
|
14275
14363
|
managerAccess: z.ZodOptional<z.ZodString>;
|
|
14364
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
14365
|
+
action: z.ZodOptional<z.ZodString>;
|
|
14366
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
14367
|
+
}, "strip", z.ZodTypeAny, {
|
|
14368
|
+
action?: string | undefined;
|
|
14369
|
+
scope?: string | undefined;
|
|
14370
|
+
}, {
|
|
14371
|
+
action?: string | undefined;
|
|
14372
|
+
scope?: string | undefined;
|
|
14373
|
+
}>>, "many">>;
|
|
14276
14374
|
}, "strip", z.ZodTypeAny, {
|
|
14277
14375
|
name?: string | undefined;
|
|
14278
14376
|
description?: string | undefined;
|
|
@@ -14281,6 +14379,10 @@ export declare const DataSourceTableListingProtoSchema: z.ZodObject<{
|
|
|
14281
14379
|
estimatedRowCount?: number | undefined;
|
|
14282
14380
|
tableType?: string | undefined;
|
|
14283
14381
|
managerAccess?: string | undefined;
|
|
14382
|
+
permissions?: {
|
|
14383
|
+
action?: string | undefined;
|
|
14384
|
+
scope?: string | undefined;
|
|
14385
|
+
}[] | undefined;
|
|
14284
14386
|
}, {
|
|
14285
14387
|
name?: string | undefined;
|
|
14286
14388
|
description?: string | undefined;
|
|
@@ -14289,6 +14391,10 @@ export declare const DataSourceTableListingProtoSchema: z.ZodObject<{
|
|
|
14289
14391
|
estimatedRowCount?: number | undefined;
|
|
14290
14392
|
tableType?: string | undefined;
|
|
14291
14393
|
managerAccess?: string | undefined;
|
|
14394
|
+
permissions?: {
|
|
14395
|
+
action?: string | undefined;
|
|
14396
|
+
scope?: string | undefined;
|
|
14397
|
+
}[] | undefined;
|
|
14292
14398
|
}>>>;
|
|
14293
14399
|
searchText: z.ZodOptional<z.ZodString>;
|
|
14294
14400
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -14301,6 +14407,10 @@ export declare const DataSourceTableListingProtoSchema: z.ZodObject<{
|
|
|
14301
14407
|
estimatedRowCount?: number | undefined;
|
|
14302
14408
|
tableType?: string | undefined;
|
|
14303
14409
|
managerAccess?: string | undefined;
|
|
14410
|
+
permissions?: {
|
|
14411
|
+
action?: string | undefined;
|
|
14412
|
+
scope?: string | undefined;
|
|
14413
|
+
}[] | undefined;
|
|
14304
14414
|
} | undefined;
|
|
14305
14415
|
searchText?: string | undefined;
|
|
14306
14416
|
tags?: string[] | undefined;
|
|
@@ -14313,6 +14423,10 @@ export declare const DataSourceTableListingProtoSchema: z.ZodObject<{
|
|
|
14313
14423
|
estimatedRowCount?: number | undefined;
|
|
14314
14424
|
tableType?: string | undefined;
|
|
14315
14425
|
managerAccess?: string | undefined;
|
|
14426
|
+
permissions?: {
|
|
14427
|
+
action?: string | undefined;
|
|
14428
|
+
scope?: string | undefined;
|
|
14429
|
+
}[] | undefined;
|
|
14316
14430
|
} | undefined;
|
|
14317
14431
|
searchText?: string | undefined;
|
|
14318
14432
|
tags?: string[] | undefined;
|
|
@@ -14380,6 +14494,16 @@ export declare const DataSourceListTablesOutputProtoSchema: z.ZodObject<{
|
|
|
14380
14494
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
14381
14495
|
tableType: z.ZodOptional<z.ZodString>;
|
|
14382
14496
|
managerAccess: z.ZodOptional<z.ZodString>;
|
|
14497
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
14498
|
+
action: z.ZodOptional<z.ZodString>;
|
|
14499
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
14500
|
+
}, "strip", z.ZodTypeAny, {
|
|
14501
|
+
action?: string | undefined;
|
|
14502
|
+
scope?: string | undefined;
|
|
14503
|
+
}, {
|
|
14504
|
+
action?: string | undefined;
|
|
14505
|
+
scope?: string | undefined;
|
|
14506
|
+
}>>, "many">>;
|
|
14383
14507
|
}, "strip", z.ZodTypeAny, {
|
|
14384
14508
|
name?: string | undefined;
|
|
14385
14509
|
description?: string | undefined;
|
|
@@ -14388,6 +14512,10 @@ export declare const DataSourceListTablesOutputProtoSchema: z.ZodObject<{
|
|
|
14388
14512
|
estimatedRowCount?: number | undefined;
|
|
14389
14513
|
tableType?: string | undefined;
|
|
14390
14514
|
managerAccess?: string | undefined;
|
|
14515
|
+
permissions?: {
|
|
14516
|
+
action?: string | undefined;
|
|
14517
|
+
scope?: string | undefined;
|
|
14518
|
+
}[] | undefined;
|
|
14391
14519
|
}, {
|
|
14392
14520
|
name?: string | undefined;
|
|
14393
14521
|
description?: string | undefined;
|
|
@@ -14396,6 +14524,10 @@ export declare const DataSourceListTablesOutputProtoSchema: z.ZodObject<{
|
|
|
14396
14524
|
estimatedRowCount?: number | undefined;
|
|
14397
14525
|
tableType?: string | undefined;
|
|
14398
14526
|
managerAccess?: string | undefined;
|
|
14527
|
+
permissions?: {
|
|
14528
|
+
action?: string | undefined;
|
|
14529
|
+
scope?: string | undefined;
|
|
14530
|
+
}[] | undefined;
|
|
14399
14531
|
}>>>;
|
|
14400
14532
|
searchText: z.ZodOptional<z.ZodString>;
|
|
14401
14533
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -14408,6 +14540,10 @@ export declare const DataSourceListTablesOutputProtoSchema: z.ZodObject<{
|
|
|
14408
14540
|
estimatedRowCount?: number | undefined;
|
|
14409
14541
|
tableType?: string | undefined;
|
|
14410
14542
|
managerAccess?: string | undefined;
|
|
14543
|
+
permissions?: {
|
|
14544
|
+
action?: string | undefined;
|
|
14545
|
+
scope?: string | undefined;
|
|
14546
|
+
}[] | undefined;
|
|
14411
14547
|
} | undefined;
|
|
14412
14548
|
searchText?: string | undefined;
|
|
14413
14549
|
tags?: string[] | undefined;
|
|
@@ -14420,6 +14556,10 @@ export declare const DataSourceListTablesOutputProtoSchema: z.ZodObject<{
|
|
|
14420
14556
|
estimatedRowCount?: number | undefined;
|
|
14421
14557
|
tableType?: string | undefined;
|
|
14422
14558
|
managerAccess?: string | undefined;
|
|
14559
|
+
permissions?: {
|
|
14560
|
+
action?: string | undefined;
|
|
14561
|
+
scope?: string | undefined;
|
|
14562
|
+
}[] | undefined;
|
|
14423
14563
|
} | undefined;
|
|
14424
14564
|
searchText?: string | undefined;
|
|
14425
14565
|
tags?: string[] | undefined;
|
|
@@ -14436,6 +14576,10 @@ export declare const DataSourceListTablesOutputProtoSchema: z.ZodObject<{
|
|
|
14436
14576
|
estimatedRowCount?: number | undefined;
|
|
14437
14577
|
tableType?: string | undefined;
|
|
14438
14578
|
managerAccess?: string | undefined;
|
|
14579
|
+
permissions?: {
|
|
14580
|
+
action?: string | undefined;
|
|
14581
|
+
scope?: string | undefined;
|
|
14582
|
+
}[] | undefined;
|
|
14439
14583
|
} | undefined;
|
|
14440
14584
|
searchText?: string | undefined;
|
|
14441
14585
|
tags?: string[] | undefined;
|
|
@@ -14452,6 +14596,10 @@ export declare const DataSourceListTablesOutputProtoSchema: z.ZodObject<{
|
|
|
14452
14596
|
estimatedRowCount?: number | undefined;
|
|
14453
14597
|
tableType?: string | undefined;
|
|
14454
14598
|
managerAccess?: string | undefined;
|
|
14599
|
+
permissions?: {
|
|
14600
|
+
action?: string | undefined;
|
|
14601
|
+
scope?: string | undefined;
|
|
14602
|
+
}[] | undefined;
|
|
14455
14603
|
} | undefined;
|
|
14456
14604
|
searchText?: string | undefined;
|
|
14457
14605
|
tags?: string[] | undefined;
|
|
@@ -14484,6 +14632,16 @@ export declare const DataSourceDescribeTableOutputProtoSchema: z.ZodObject<{
|
|
|
14484
14632
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
14485
14633
|
tableType: z.ZodOptional<z.ZodString>;
|
|
14486
14634
|
managerAccess: z.ZodOptional<z.ZodString>;
|
|
14635
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
14636
|
+
action: z.ZodOptional<z.ZodString>;
|
|
14637
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
14638
|
+
}, "strip", z.ZodTypeAny, {
|
|
14639
|
+
action?: string | undefined;
|
|
14640
|
+
scope?: string | undefined;
|
|
14641
|
+
}, {
|
|
14642
|
+
action?: string | undefined;
|
|
14643
|
+
scope?: string | undefined;
|
|
14644
|
+
}>>, "many">>;
|
|
14487
14645
|
}, "strip", z.ZodTypeAny, {
|
|
14488
14646
|
name?: string | undefined;
|
|
14489
14647
|
description?: string | undefined;
|
|
@@ -14492,6 +14650,10 @@ export declare const DataSourceDescribeTableOutputProtoSchema: z.ZodObject<{
|
|
|
14492
14650
|
estimatedRowCount?: number | undefined;
|
|
14493
14651
|
tableType?: string | undefined;
|
|
14494
14652
|
managerAccess?: string | undefined;
|
|
14653
|
+
permissions?: {
|
|
14654
|
+
action?: string | undefined;
|
|
14655
|
+
scope?: string | undefined;
|
|
14656
|
+
}[] | undefined;
|
|
14495
14657
|
}, {
|
|
14496
14658
|
name?: string | undefined;
|
|
14497
14659
|
description?: string | undefined;
|
|
@@ -14500,6 +14662,10 @@ export declare const DataSourceDescribeTableOutputProtoSchema: z.ZodObject<{
|
|
|
14500
14662
|
estimatedRowCount?: number | undefined;
|
|
14501
14663
|
tableType?: string | undefined;
|
|
14502
14664
|
managerAccess?: string | undefined;
|
|
14665
|
+
permissions?: {
|
|
14666
|
+
action?: string | undefined;
|
|
14667
|
+
scope?: string | undefined;
|
|
14668
|
+
}[] | undefined;
|
|
14503
14669
|
}>>>;
|
|
14504
14670
|
columns: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
14505
14671
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -14545,6 +14711,10 @@ export declare const DataSourceDescribeTableOutputProtoSchema: z.ZodObject<{
|
|
|
14545
14711
|
estimatedRowCount?: number | undefined;
|
|
14546
14712
|
tableType?: string | undefined;
|
|
14547
14713
|
managerAccess?: string | undefined;
|
|
14714
|
+
permissions?: {
|
|
14715
|
+
action?: string | undefined;
|
|
14716
|
+
scope?: string | undefined;
|
|
14717
|
+
}[] | undefined;
|
|
14548
14718
|
} | undefined;
|
|
14549
14719
|
primaryKey?: string[] | undefined;
|
|
14550
14720
|
}, {
|
|
@@ -14565,6 +14735,10 @@ export declare const DataSourceDescribeTableOutputProtoSchema: z.ZodObject<{
|
|
|
14565
14735
|
estimatedRowCount?: number | undefined;
|
|
14566
14736
|
tableType?: string | undefined;
|
|
14567
14737
|
managerAccess?: string | undefined;
|
|
14738
|
+
permissions?: {
|
|
14739
|
+
action?: string | undefined;
|
|
14740
|
+
scope?: string | undefined;
|
|
14741
|
+
}[] | undefined;
|
|
14568
14742
|
} | undefined;
|
|
14569
14743
|
primaryKey?: string[] | undefined;
|
|
14570
14744
|
}>>>;
|
|
@@ -14590,6 +14764,10 @@ export declare const DataSourceDescribeTableOutputProtoSchema: z.ZodObject<{
|
|
|
14590
14764
|
estimatedRowCount?: number | undefined;
|
|
14591
14765
|
tableType?: string | undefined;
|
|
14592
14766
|
managerAccess?: string | undefined;
|
|
14767
|
+
permissions?: {
|
|
14768
|
+
action?: string | undefined;
|
|
14769
|
+
scope?: string | undefined;
|
|
14770
|
+
}[] | undefined;
|
|
14593
14771
|
} | undefined;
|
|
14594
14772
|
primaryKey?: string[] | undefined;
|
|
14595
14773
|
} | undefined;
|
|
@@ -14614,6 +14792,10 @@ export declare const DataSourceDescribeTableOutputProtoSchema: z.ZodObject<{
|
|
|
14614
14792
|
estimatedRowCount?: number | undefined;
|
|
14615
14793
|
tableType?: string | undefined;
|
|
14616
14794
|
managerAccess?: string | undefined;
|
|
14795
|
+
permissions?: {
|
|
14796
|
+
action?: string | undefined;
|
|
14797
|
+
scope?: string | undefined;
|
|
14798
|
+
}[] | undefined;
|
|
14617
14799
|
} | undefined;
|
|
14618
14800
|
primaryKey?: string[] | undefined;
|
|
14619
14801
|
} | undefined;
|
|
@@ -27660,4 +27842,26 @@ export declare const DataSourceAuthorizeQueryOutputProtoSchema: z.ZodObject<{
|
|
|
27660
27842
|
}[] | undefined;
|
|
27661
27843
|
}>;
|
|
27662
27844
|
export type DataSourceAuthorizeQueryOutputProto = z.infer<typeof DataSourceAuthorizeQueryOutputProtoSchema>;
|
|
27845
|
+
export declare const ConfigOAuthClientCredentialsProtoSchema: z.ZodObject<{
|
|
27846
|
+
clientIdFieldKey: z.ZodOptional<z.ZodString>;
|
|
27847
|
+
clientSecretFieldKey: z.ZodOptional<z.ZodString>;
|
|
27848
|
+
}, "strip", z.ZodTypeAny, {
|
|
27849
|
+
clientIdFieldKey?: string | undefined;
|
|
27850
|
+
clientSecretFieldKey?: string | undefined;
|
|
27851
|
+
}, {
|
|
27852
|
+
clientIdFieldKey?: string | undefined;
|
|
27853
|
+
clientSecretFieldKey?: string | undefined;
|
|
27854
|
+
}>;
|
|
27855
|
+
export type ConfigOAuthClientCredentialsProto = z.infer<typeof ConfigOAuthClientCredentialsProtoSchema>;
|
|
27856
|
+
export declare const DataSourceManagerPermissionProtoSchema: z.ZodObject<{
|
|
27857
|
+
action: z.ZodOptional<z.ZodString>;
|
|
27858
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
27859
|
+
}, "strip", z.ZodTypeAny, {
|
|
27860
|
+
action?: string | undefined;
|
|
27861
|
+
scope?: string | undefined;
|
|
27862
|
+
}, {
|
|
27863
|
+
action?: string | undefined;
|
|
27864
|
+
scope?: string | undefined;
|
|
27865
|
+
}>;
|
|
27866
|
+
export type DataSourceManagerPermissionProto = z.infer<typeof DataSourceManagerPermissionProtoSchema>;
|
|
27663
27867
|
//# sourceMappingURL=extension.zod.d.ts.map
|