@pulumi/snowflake 0.8.0 → 0.8.1-alpha.1654012481
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/apiIntegration.d.ts +18 -9
- package/apiIntegration.js.map +1 -1
- package/database.d.ts +33 -6
- package/database.js +14 -0
- package/database.js.map +1 -1
- package/externalFunction.d.ts +18 -9
- package/externalFunction.js.map +1 -1
- package/externalOauthIntegration.d.ts +36 -18
- package/externalOauthIntegration.js.map +1 -1
- package/externalTable.d.ts +18 -9
- package/externalTable.js.map +1 -1
- package/externalTableGrant.d.ts +15 -9
- package/externalTableGrant.js.map +1 -1
- package/fileFormat.d.ts +42 -21
- package/fileFormat.js.map +1 -1
- package/fileFormatGrant.d.ts +12 -6
- package/fileFormatGrant.js.map +1 -1
- package/function.d.ts +6 -3
- package/function.js.map +1 -1
- package/functionGrant.d.ts +21 -15
- package/functionGrant.js.map +1 -1
- package/getCurrentAccount.d.ts +0 -9
- package/getDatabase.d.ts +0 -9
- package/getDatabase.js.map +1 -1
- package/getDatabases.d.ts +0 -3
- package/getExternalFunctions.d.ts +0 -21
- package/getExternalFunctions.js.map +1 -1
- package/getExternalTables.d.ts +0 -21
- package/getExternalTables.js.map +1 -1
- package/getFileFormats.d.ts +0 -21
- package/getFileFormats.js.map +1 -1
- package/getFunctions.d.ts +0 -21
- package/getFunctions.js.map +1 -1
- package/getMaskingPolicies.d.ts +0 -21
- package/getMaskingPolicies.js.map +1 -1
- package/getMaterializedViews.d.ts +0 -21
- package/getMaterializedViews.js.map +1 -1
- package/getPipes.d.ts +0 -21
- package/getPipes.js.map +1 -1
- package/getProcedures.d.ts +0 -21
- package/getProcedures.js.map +1 -1
- package/getResourceMonitors.d.ts +0 -3
- package/getRole.d.ts +0 -12
- package/getRole.js.map +1 -1
- package/getRowAccessPolicies.d.ts +0 -21
- package/getRowAccessPolicies.js.map +1 -1
- package/getSchemas.d.ts +0 -12
- package/getSchemas.js.map +1 -1
- package/getSequences.d.ts +0 -21
- package/getSequences.js.map +1 -1
- package/getStages.d.ts +0 -21
- package/getStages.js.map +1 -1
- package/getStorageIntegrations.d.ts +0 -3
- package/getStreams.d.ts +0 -21
- package/getStreams.js.map +1 -1
- package/getSystemGenerateScimAccessToken.d.ts +0 -12
- package/getSystemGenerateScimAccessToken.js.map +1 -1
- package/getSystemGetAwsSnsIamPolicy.d.ts +0 -12
- package/getSystemGetAwsSnsIamPolicy.js.map +1 -1
- package/getSystemGetPrivateLinkConfig.d.ts +0 -15
- package/getSystemGetSnowflakePlatformInfo.d.ts +0 -6
- package/getTables.d.ts +0 -21
- package/getTables.js.map +1 -1
- package/getTasks.d.ts +0 -21
- package/getTasks.js.map +1 -1
- package/getUsers.d.ts +39 -0
- package/getUsers.js +34 -0
- package/getUsers.js.map +1 -0
- package/getViews.d.ts +0 -21
- package/getViews.js.map +1 -1
- package/getWarehouses.d.ts +0 -3
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/managedAccount.d.ts +6 -3
- package/managedAccount.js.map +1 -1
- package/maskingPolicy.d.ts +6 -3
- package/maskingPolicy.js.map +1 -1
- package/materializedViewGrant.d.ts +15 -9
- package/materializedViewGrant.js.map +1 -1
- package/networkPolicy.d.ts +6 -3
- package/networkPolicy.js.map +1 -1
- package/notificationIntegration.d.ts +3 -3
- package/oauthIntegration.d.ts +27 -15
- package/oauthIntegration.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pipe.d.ts +3 -3
- package/pipeGrant.d.ts +12 -6
- package/pipeGrant.js.map +1 -1
- package/procedure.d.ts +6 -3
- package/procedure.js.map +1 -1
- package/procedureGrant.d.ts +21 -15
- package/procedureGrant.js.map +1 -1
- package/resourceMonitor.d.ts +6 -3
- package/resourceMonitor.js.map +1 -1
- package/roleOwnershipGrant.d.ts +6 -3
- package/roleOwnershipGrant.js.map +1 -1
- package/rowAccessPolicy.d.ts +15 -6
- package/rowAccessPolicy.js.map +1 -1
- package/samlIntegration.d.ts +99 -33
- package/samlIntegration.js.map +1 -1
- package/schema.d.ts +15 -6
- package/schema.js.map +1 -1
- package/schemaGrant.d.ts +9 -6
- package/schemaGrant.js.map +1 -1
- package/scimIntegration.d.ts +21 -9
- package/scimIntegration.js.map +1 -1
- package/sequenceGrant.d.ts +12 -6
- package/sequenceGrant.js.map +1 -1
- package/stage.d.ts +6 -3
- package/stage.js.map +1 -1
- package/stageGrant.d.ts +12 -6
- package/stageGrant.js.map +1 -1
- package/streamGrant.d.ts +12 -6
- package/streamGrant.js.map +1 -1
- package/table.d.ts +9 -3
- package/table.js.map +1 -1
- package/tableGrant.d.ts +15 -9
- package/tableGrant.js.map +1 -1
- package/task.d.ts +21 -9
- package/task.js.map +1 -1
- package/taskGrant.d.ts +12 -6
- package/taskGrant.js.map +1 -1
- package/types/input.d.ts +4 -189
- package/types/output.d.ts +23 -282
- package/user.d.ts +24 -12
- package/user.js.map +1 -1
- package/userOwnershipGrant.d.ts +6 -3
- package/userOwnershipGrant.js.map +1 -1
- package/userPublicKeys.d.ts +6 -3
- package/userPublicKeys.js.map +1 -1
- package/view.d.ts +6 -3
- package/view.js.map +1 -1
- package/viewGrant.d.ts +15 -9
- package/viewGrant.js.map +1 -1
- package/warehouse.d.ts +24 -12
- package/warehouse.js.map +1 -1
package/apiIntegration.d.ts
CHANGED
|
@@ -37,7 +37,8 @@ export declare class ApiIntegration extends pulumi.CustomResource {
|
|
|
37
37
|
*/
|
|
38
38
|
static isInstance(obj: any): obj is ApiIntegration;
|
|
39
39
|
/**
|
|
40
|
-
* Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service endpoints and
|
|
40
|
+
* Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service endpoints and
|
|
41
|
+
* resources within those proxies.
|
|
41
42
|
*/
|
|
42
43
|
readonly apiAllowedPrefixes: pulumi.Output<string[]>;
|
|
43
44
|
/**
|
|
@@ -75,11 +76,13 @@ export declare class ApiIntegration extends pulumi.CustomResource {
|
|
|
75
76
|
*/
|
|
76
77
|
readonly createdOn: pulumi.Output<string>;
|
|
77
78
|
/**
|
|
78
|
-
* Specifies whether this API integration is enabled or disabled. If the API integration is disabled, any external function
|
|
79
|
+
* Specifies whether this API integration is enabled or disabled. If the API integration is disabled, any external function
|
|
80
|
+
* that relies on it will not work.
|
|
79
81
|
*/
|
|
80
82
|
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
81
83
|
/**
|
|
82
|
-
* Specifies the name of the API integration. This name follows the rules for Object Identifiers. The name should be unique
|
|
84
|
+
* Specifies the name of the API integration. This name follows the rules for Object Identifiers. The name should be unique
|
|
85
|
+
* among api integrations in your account.
|
|
83
86
|
*/
|
|
84
87
|
readonly name: pulumi.Output<string>;
|
|
85
88
|
/**
|
|
@@ -96,7 +99,8 @@ export declare class ApiIntegration extends pulumi.CustomResource {
|
|
|
96
99
|
*/
|
|
97
100
|
export interface ApiIntegrationState {
|
|
98
101
|
/**
|
|
99
|
-
* Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service endpoints and
|
|
102
|
+
* Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service endpoints and
|
|
103
|
+
* resources within those proxies.
|
|
100
104
|
*/
|
|
101
105
|
apiAllowedPrefixes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
102
106
|
/**
|
|
@@ -134,11 +138,13 @@ export interface ApiIntegrationState {
|
|
|
134
138
|
*/
|
|
135
139
|
createdOn?: pulumi.Input<string>;
|
|
136
140
|
/**
|
|
137
|
-
* Specifies whether this API integration is enabled or disabled. If the API integration is disabled, any external function
|
|
141
|
+
* Specifies whether this API integration is enabled or disabled. If the API integration is disabled, any external function
|
|
142
|
+
* that relies on it will not work.
|
|
138
143
|
*/
|
|
139
144
|
enabled?: pulumi.Input<boolean>;
|
|
140
145
|
/**
|
|
141
|
-
* Specifies the name of the API integration. This name follows the rules for Object Identifiers. The name should be unique
|
|
146
|
+
* Specifies the name of the API integration. This name follows the rules for Object Identifiers. The name should be unique
|
|
147
|
+
* among api integrations in your account.
|
|
142
148
|
*/
|
|
143
149
|
name?: pulumi.Input<string>;
|
|
144
150
|
}
|
|
@@ -147,7 +153,8 @@ export interface ApiIntegrationState {
|
|
|
147
153
|
*/
|
|
148
154
|
export interface ApiIntegrationArgs {
|
|
149
155
|
/**
|
|
150
|
-
* Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service endpoints and
|
|
156
|
+
* Explicitly limits external functions that use the integration to reference one or more HTTPS proxy service endpoints and
|
|
157
|
+
* resources within those proxies.
|
|
151
158
|
*/
|
|
152
159
|
apiAllowedPrefixes: pulumi.Input<pulumi.Input<string>[]>;
|
|
153
160
|
/**
|
|
@@ -171,11 +178,13 @@ export interface ApiIntegrationArgs {
|
|
|
171
178
|
*/
|
|
172
179
|
azureTenantId?: pulumi.Input<string>;
|
|
173
180
|
/**
|
|
174
|
-
* Specifies whether this API integration is enabled or disabled. If the API integration is disabled, any external function
|
|
181
|
+
* Specifies whether this API integration is enabled or disabled. If the API integration is disabled, any external function
|
|
182
|
+
* that relies on it will not work.
|
|
175
183
|
*/
|
|
176
184
|
enabled?: pulumi.Input<boolean>;
|
|
177
185
|
/**
|
|
178
|
-
* Specifies the name of the API integration. This name follows the rules for Object Identifiers. The name should be unique
|
|
186
|
+
* Specifies the name of the API integration. This name follows the rules for Object Identifiers. The name should be unique
|
|
187
|
+
* among api integrations in your account.
|
|
179
188
|
*/
|
|
180
189
|
name?: pulumi.Input<string>;
|
|
181
190
|
}
|
package/apiIntegration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiIntegration.js","sourceRoot":"","sources":["../apiIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"apiIntegration.js","sourceRoot":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AAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAiIC;AAnHG,gBAAgB;AACO,2BAAY,GAAG,+CAA+C,CAAC"}
|
package/database.d.ts
CHANGED
|
@@ -13,6 +13,18 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
13
13
|
* });
|
|
14
14
|
* const test2 = new snowflake.Database("test2", {
|
|
15
15
|
* comment: "test comment 2",
|
|
16
|
+
* replicationConfiguration: {
|
|
17
|
+
* accounts: [
|
|
18
|
+
* "test_account1",
|
|
19
|
+
* "test_account_2",
|
|
20
|
+
* ],
|
|
21
|
+
* ignoreEditionCheck: true,
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* const test3 = new snowflake.Database("test3", {
|
|
25
|
+
* comment: "test comment",
|
|
26
|
+
* dataRetentionTimeInDays: 3,
|
|
27
|
+
* fromReplica: "org1\".\"account1\".\"primary_db_name",
|
|
16
28
|
* });
|
|
17
29
|
* ```
|
|
18
30
|
*
|
|
@@ -45,16 +57,21 @@ export declare class Database extends pulumi.CustomResource {
|
|
|
45
57
|
*/
|
|
46
58
|
readonly fromDatabase: pulumi.Output<string | undefined>;
|
|
47
59
|
/**
|
|
48
|
-
* Specify a fully-qualified path to a database to create a replica from.
|
|
60
|
+
* Specify a fully-qualified path to a database to create a replica from. A fully qualified path follows the format of
|
|
61
|
+
* "<organization_name>"."<account_name>"."<db_name>". An example would be: "myorg1"."account1"."db1"
|
|
49
62
|
*/
|
|
50
63
|
readonly fromReplica: pulumi.Output<string | undefined>;
|
|
51
64
|
/**
|
|
52
65
|
* Specify a provider and a share in this map to create a database from a share.
|
|
53
66
|
*/
|
|
54
67
|
readonly fromShare: pulumi.Output<{
|
|
55
|
-
[key: string]:
|
|
68
|
+
[key: string]: string;
|
|
56
69
|
} | undefined>;
|
|
57
70
|
readonly name: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* When set, specifies the configurations for database replication.
|
|
73
|
+
*/
|
|
74
|
+
readonly replicationConfiguration: pulumi.Output<outputs.DatabaseReplicationConfiguration | undefined>;
|
|
58
75
|
/**
|
|
59
76
|
* Definitions of a tag to associate with the resource.
|
|
60
77
|
*/
|
|
@@ -79,16 +96,21 @@ export interface DatabaseState {
|
|
|
79
96
|
*/
|
|
80
97
|
fromDatabase?: pulumi.Input<string>;
|
|
81
98
|
/**
|
|
82
|
-
* Specify a fully-qualified path to a database to create a replica from.
|
|
99
|
+
* Specify a fully-qualified path to a database to create a replica from. A fully qualified path follows the format of
|
|
100
|
+
* "<organization_name>"."<account_name>"."<db_name>". An example would be: "myorg1"."account1"."db1"
|
|
83
101
|
*/
|
|
84
102
|
fromReplica?: pulumi.Input<string>;
|
|
85
103
|
/**
|
|
86
104
|
* Specify a provider and a share in this map to create a database from a share.
|
|
87
105
|
*/
|
|
88
106
|
fromShare?: pulumi.Input<{
|
|
89
|
-
[key: string]:
|
|
107
|
+
[key: string]: pulumi.Input<string>;
|
|
90
108
|
}>;
|
|
91
109
|
name?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* When set, specifies the configurations for database replication.
|
|
112
|
+
*/
|
|
113
|
+
replicationConfiguration?: pulumi.Input<inputs.DatabaseReplicationConfiguration>;
|
|
92
114
|
/**
|
|
93
115
|
* Definitions of a tag to associate with the resource.
|
|
94
116
|
*/
|
|
@@ -105,16 +127,21 @@ export interface DatabaseArgs {
|
|
|
105
127
|
*/
|
|
106
128
|
fromDatabase?: pulumi.Input<string>;
|
|
107
129
|
/**
|
|
108
|
-
* Specify a fully-qualified path to a database to create a replica from.
|
|
130
|
+
* Specify a fully-qualified path to a database to create a replica from. A fully qualified path follows the format of
|
|
131
|
+
* "<organization_name>"."<account_name>"."<db_name>". An example would be: "myorg1"."account1"."db1"
|
|
109
132
|
*/
|
|
110
133
|
fromReplica?: pulumi.Input<string>;
|
|
111
134
|
/**
|
|
112
135
|
* Specify a provider and a share in this map to create a database from a share.
|
|
113
136
|
*/
|
|
114
137
|
fromShare?: pulumi.Input<{
|
|
115
|
-
[key: string]:
|
|
138
|
+
[key: string]: pulumi.Input<string>;
|
|
116
139
|
}>;
|
|
117
140
|
name?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* When set, specifies the configurations for database replication.
|
|
143
|
+
*/
|
|
144
|
+
replicationConfiguration?: pulumi.Input<inputs.DatabaseReplicationConfiguration>;
|
|
118
145
|
/**
|
|
119
146
|
* Definitions of a tag to associate with the resource.
|
|
120
147
|
*/
|
package/database.js
CHANGED
|
@@ -18,6 +18,18 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* });
|
|
19
19
|
* const test2 = new snowflake.Database("test2", {
|
|
20
20
|
* comment: "test comment 2",
|
|
21
|
+
* replicationConfiguration: {
|
|
22
|
+
* accounts: [
|
|
23
|
+
* "test_account1",
|
|
24
|
+
* "test_account_2",
|
|
25
|
+
* ],
|
|
26
|
+
* ignoreEditionCheck: true,
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* const test3 = new snowflake.Database("test3", {
|
|
30
|
+
* comment: "test comment",
|
|
31
|
+
* dataRetentionTimeInDays: 3,
|
|
32
|
+
* fromReplica: "org1\".\"account1\".\"primary_db_name",
|
|
21
33
|
* });
|
|
22
34
|
* ```
|
|
23
35
|
*
|
|
@@ -39,6 +51,7 @@ class Database extends pulumi.CustomResource {
|
|
|
39
51
|
resourceInputs["fromReplica"] = state ? state.fromReplica : undefined;
|
|
40
52
|
resourceInputs["fromShare"] = state ? state.fromShare : undefined;
|
|
41
53
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
54
|
+
resourceInputs["replicationConfiguration"] = state ? state.replicationConfiguration : undefined;
|
|
42
55
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
43
56
|
}
|
|
44
57
|
else {
|
|
@@ -49,6 +62,7 @@ class Database extends pulumi.CustomResource {
|
|
|
49
62
|
resourceInputs["fromReplica"] = args ? args.fromReplica : undefined;
|
|
50
63
|
resourceInputs["fromShare"] = args ? args.fromShare : undefined;
|
|
51
64
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
65
|
+
resourceInputs["replicationConfiguration"] = args ? args.replicationConfiguration : undefined;
|
|
52
66
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
53
67
|
}
|
|
54
68
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/database.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database.js","sourceRoot":"","sources":["../database.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"database.js","sourceRoot":"","sources":["../database.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IA6D/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,yBAAyB,C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57
|
readonly apiIntegration: pulumi.Output<string>;
|
|
58
58
|
/**
|
|
59
|
-
* Specifies the arguments/inputs for the external function. These should correspond to the arguments that the remote
|
|
59
|
+
* Specifies the arguments/inputs for the external function. These should correspond to the arguments that the remote
|
|
60
|
+
* service expects.
|
|
60
61
|
*/
|
|
61
62
|
readonly args: pulumi.Output<outputs.ExternalFunctionArg[] | undefined>;
|
|
62
63
|
/**
|
|
@@ -64,7 +65,8 @@ export declare class ExternalFunction extends pulumi.CustomResource {
|
|
|
64
65
|
*/
|
|
65
66
|
readonly comment: pulumi.Output<string | undefined>;
|
|
66
67
|
/**
|
|
67
|
-
* If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the
|
|
68
|
+
* If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the
|
|
69
|
+
* proxy service to Snowflake.
|
|
68
70
|
*/
|
|
69
71
|
readonly compression: pulumi.Output<string | undefined>;
|
|
70
72
|
/**
|
|
@@ -88,7 +90,8 @@ export declare class ExternalFunction extends pulumi.CustomResource {
|
|
|
88
90
|
*/
|
|
89
91
|
readonly maxBatchRows: pulumi.Output<number | undefined>;
|
|
90
92
|
/**
|
|
91
|
-
* Specifies the identifier for the external function. The identifier can contain the schema name and database name, as
|
|
93
|
+
* Specifies the identifier for the external function. The identifier can contain the schema name and database name, as
|
|
94
|
+
* well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
92
95
|
*/
|
|
93
96
|
readonly name: pulumi.Output<string>;
|
|
94
97
|
/**
|
|
@@ -133,7 +136,8 @@ export interface ExternalFunctionState {
|
|
|
133
136
|
*/
|
|
134
137
|
apiIntegration?: pulumi.Input<string>;
|
|
135
138
|
/**
|
|
136
|
-
* Specifies the arguments/inputs for the external function. These should correspond to the arguments that the remote
|
|
139
|
+
* Specifies the arguments/inputs for the external function. These should correspond to the arguments that the remote
|
|
140
|
+
* service expects.
|
|
137
141
|
*/
|
|
138
142
|
args?: pulumi.Input<pulumi.Input<inputs.ExternalFunctionArg>[]>;
|
|
139
143
|
/**
|
|
@@ -141,7 +145,8 @@ export interface ExternalFunctionState {
|
|
|
141
145
|
*/
|
|
142
146
|
comment?: pulumi.Input<string>;
|
|
143
147
|
/**
|
|
144
|
-
* If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the
|
|
148
|
+
* If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the
|
|
149
|
+
* proxy service to Snowflake.
|
|
145
150
|
*/
|
|
146
151
|
compression?: pulumi.Input<string>;
|
|
147
152
|
/**
|
|
@@ -165,7 +170,8 @@ export interface ExternalFunctionState {
|
|
|
165
170
|
*/
|
|
166
171
|
maxBatchRows?: pulumi.Input<number>;
|
|
167
172
|
/**
|
|
168
|
-
* Specifies the identifier for the external function. The identifier can contain the schema name and database name, as
|
|
173
|
+
* Specifies the identifier for the external function. The identifier can contain the schema name and database name, as
|
|
174
|
+
* well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
169
175
|
*/
|
|
170
176
|
name?: pulumi.Input<string>;
|
|
171
177
|
/**
|
|
@@ -202,7 +208,8 @@ export interface ExternalFunctionArgs {
|
|
|
202
208
|
*/
|
|
203
209
|
apiIntegration: pulumi.Input<string>;
|
|
204
210
|
/**
|
|
205
|
-
* Specifies the arguments/inputs for the external function. These should correspond to the arguments that the remote
|
|
211
|
+
* Specifies the arguments/inputs for the external function. These should correspond to the arguments that the remote
|
|
212
|
+
* service expects.
|
|
206
213
|
*/
|
|
207
214
|
args?: pulumi.Input<pulumi.Input<inputs.ExternalFunctionArg>[]>;
|
|
208
215
|
/**
|
|
@@ -210,7 +217,8 @@ export interface ExternalFunctionArgs {
|
|
|
210
217
|
*/
|
|
211
218
|
comment?: pulumi.Input<string>;
|
|
212
219
|
/**
|
|
213
|
-
* If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the
|
|
220
|
+
* If specified, the JSON payload is compressed when sent from Snowflake to the proxy service, and when sent back from the
|
|
221
|
+
* proxy service to Snowflake.
|
|
214
222
|
*/
|
|
215
223
|
compression?: pulumi.Input<string>;
|
|
216
224
|
/**
|
|
@@ -230,7 +238,8 @@ export interface ExternalFunctionArgs {
|
|
|
230
238
|
*/
|
|
231
239
|
maxBatchRows?: pulumi.Input<number>;
|
|
232
240
|
/**
|
|
233
|
-
* Specifies the identifier for the external function. The identifier can contain the schema name and database name, as
|
|
241
|
+
* Specifies the identifier for the external function. The identifier can contain the schema name and database name, as
|
|
242
|
+
* well as the function name. The function's signature (name and argument data types) must be unique within the schema.
|
|
234
243
|
*/
|
|
235
244
|
name?: pulumi.Input<string>;
|
|
236
245
|
/**
|
package/externalFunction.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalFunction.js","sourceRoot":"","sources":["../externalFunction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"externalFunction.js","sourceRoot":"","sources":["../externalFunction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAwGvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5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E;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAqKC;AAvJG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -48,11 +48,13 @@ export declare class ExternalOauthIntegration extends pulumi.CustomResource {
|
|
|
48
48
|
*/
|
|
49
49
|
readonly anyRoleMode: pulumi.Output<string | undefined>;
|
|
50
50
|
/**
|
|
51
|
-
* Specifies additional values that can be used for the access token's audience validation on top of using the Customer's
|
|
51
|
+
* Specifies additional values that can be used for the access token's audience validation on top of using the Customer's
|
|
52
|
+
* Snowflake Account URL
|
|
52
53
|
*/
|
|
53
54
|
readonly audienceUrls: pulumi.Output<string[] | undefined>;
|
|
54
55
|
/**
|
|
55
|
-
* Specifies the list of roles that a client cannot set as the primary role. Do not include ACCOUNTADMIN, ORGADMIN or
|
|
56
|
+
* Specifies the list of roles that a client cannot set as the primary role. Do not include ACCOUNTADMIN, ORGADMIN or
|
|
57
|
+
* SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
|
|
56
58
|
*/
|
|
57
59
|
readonly blockedRoles: pulumi.Output<string[] | undefined>;
|
|
58
60
|
/**
|
|
@@ -72,11 +74,13 @@ export declare class ExternalOauthIntegration extends pulumi.CustomResource {
|
|
|
72
74
|
*/
|
|
73
75
|
readonly issuer: pulumi.Output<string>;
|
|
74
76
|
/**
|
|
75
|
-
* Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External
|
|
77
|
+
* Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External
|
|
78
|
+
* OAuth access token. The maximum number of URLs that can be specified in the list is 3.
|
|
76
79
|
*/
|
|
77
80
|
readonly jwsKeysUrls: pulumi.Output<string[] | undefined>;
|
|
78
81
|
/**
|
|
79
|
-
* Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should
|
|
82
|
+
* Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should
|
|
83
|
+
* be unique among security integrations in your account.
|
|
80
84
|
*/
|
|
81
85
|
readonly name: pulumi.Output<string>;
|
|
82
86
|
/**
|
|
@@ -84,7 +88,8 @@ export declare class ExternalOauthIntegration extends pulumi.CustomResource {
|
|
|
84
88
|
*/
|
|
85
89
|
readonly rsaPublicKey: pulumi.Output<string | undefined>;
|
|
86
90
|
/**
|
|
87
|
-
* Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for
|
|
91
|
+
* Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for
|
|
92
|
+
* key rotation.
|
|
88
93
|
*/
|
|
89
94
|
readonly rsaPublicKey2: pulumi.Output<string | undefined>;
|
|
90
95
|
/**
|
|
@@ -100,7 +105,8 @@ export declare class ExternalOauthIntegration extends pulumi.CustomResource {
|
|
|
100
105
|
*/
|
|
101
106
|
readonly tokenUserMappingClaims: pulumi.Output<string[]>;
|
|
102
107
|
/**
|
|
103
|
-
* Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom
|
|
108
|
+
* Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom
|
|
109
|
+
* OAuth 2.0 authorization server.
|
|
104
110
|
*/
|
|
105
111
|
readonly type: pulumi.Output<string>;
|
|
106
112
|
/**
|
|
@@ -125,11 +131,13 @@ export interface ExternalOauthIntegrationState {
|
|
|
125
131
|
*/
|
|
126
132
|
anyRoleMode?: pulumi.Input<string>;
|
|
127
133
|
/**
|
|
128
|
-
* Specifies additional values that can be used for the access token's audience validation on top of using the Customer's
|
|
134
|
+
* Specifies additional values that can be used for the access token's audience validation on top of using the Customer's
|
|
135
|
+
* Snowflake Account URL
|
|
129
136
|
*/
|
|
130
137
|
audienceUrls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
131
138
|
/**
|
|
132
|
-
* Specifies the list of roles that a client cannot set as the primary role. Do not include ACCOUNTADMIN, ORGADMIN or
|
|
139
|
+
* Specifies the list of roles that a client cannot set as the primary role. Do not include ACCOUNTADMIN, ORGADMIN or
|
|
140
|
+
* SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
|
|
133
141
|
*/
|
|
134
142
|
blockedRoles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
135
143
|
/**
|
|
@@ -149,11 +157,13 @@ export interface ExternalOauthIntegrationState {
|
|
|
149
157
|
*/
|
|
150
158
|
issuer?: pulumi.Input<string>;
|
|
151
159
|
/**
|
|
152
|
-
* Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External
|
|
160
|
+
* Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External
|
|
161
|
+
* OAuth access token. The maximum number of URLs that can be specified in the list is 3.
|
|
153
162
|
*/
|
|
154
163
|
jwsKeysUrls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
155
164
|
/**
|
|
156
|
-
* Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should
|
|
165
|
+
* Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should
|
|
166
|
+
* be unique among security integrations in your account.
|
|
157
167
|
*/
|
|
158
168
|
name?: pulumi.Input<string>;
|
|
159
169
|
/**
|
|
@@ -161,7 +171,8 @@ export interface ExternalOauthIntegrationState {
|
|
|
161
171
|
*/
|
|
162
172
|
rsaPublicKey?: pulumi.Input<string>;
|
|
163
173
|
/**
|
|
164
|
-
* Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for
|
|
174
|
+
* Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for
|
|
175
|
+
* key rotation.
|
|
165
176
|
*/
|
|
166
177
|
rsaPublicKey2?: pulumi.Input<string>;
|
|
167
178
|
/**
|
|
@@ -177,7 +188,8 @@ export interface ExternalOauthIntegrationState {
|
|
|
177
188
|
*/
|
|
178
189
|
tokenUserMappingClaims?: pulumi.Input<pulumi.Input<string>[]>;
|
|
179
190
|
/**
|
|
180
|
-
* Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom
|
|
191
|
+
* Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom
|
|
192
|
+
* OAuth 2.0 authorization server.
|
|
181
193
|
*/
|
|
182
194
|
type?: pulumi.Input<string>;
|
|
183
195
|
}
|
|
@@ -194,11 +206,13 @@ export interface ExternalOauthIntegrationArgs {
|
|
|
194
206
|
*/
|
|
195
207
|
anyRoleMode?: pulumi.Input<string>;
|
|
196
208
|
/**
|
|
197
|
-
* Specifies additional values that can be used for the access token's audience validation on top of using the Customer's
|
|
209
|
+
* Specifies additional values that can be used for the access token's audience validation on top of using the Customer's
|
|
210
|
+
* Snowflake Account URL
|
|
198
211
|
*/
|
|
199
212
|
audienceUrls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
200
213
|
/**
|
|
201
|
-
* Specifies the list of roles that a client cannot set as the primary role. Do not include ACCOUNTADMIN, ORGADMIN or
|
|
214
|
+
* Specifies the list of roles that a client cannot set as the primary role. Do not include ACCOUNTADMIN, ORGADMIN or
|
|
215
|
+
* SECURITYADMIN as they are already implicitly enforced and will cause in-place updates.
|
|
202
216
|
*/
|
|
203
217
|
blockedRoles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
204
218
|
/**
|
|
@@ -214,11 +228,13 @@ export interface ExternalOauthIntegrationArgs {
|
|
|
214
228
|
*/
|
|
215
229
|
issuer: pulumi.Input<string>;
|
|
216
230
|
/**
|
|
217
|
-
* Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External
|
|
231
|
+
* Specifies the endpoint or a list of endpoints from which to download public keys or certificates to validate an External
|
|
232
|
+
* OAuth access token. The maximum number of URLs that can be specified in the list is 3.
|
|
218
233
|
*/
|
|
219
234
|
jwsKeysUrls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
220
235
|
/**
|
|
221
|
-
* Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should
|
|
236
|
+
* Specifies the name of the External Oath integration. This name follows the rules for Object Identifiers. The name should
|
|
237
|
+
* be unique among security integrations in your account.
|
|
222
238
|
*/
|
|
223
239
|
name?: pulumi.Input<string>;
|
|
224
240
|
/**
|
|
@@ -226,7 +242,8 @@ export interface ExternalOauthIntegrationArgs {
|
|
|
226
242
|
*/
|
|
227
243
|
rsaPublicKey?: pulumi.Input<string>;
|
|
228
244
|
/**
|
|
229
|
-
* Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for
|
|
245
|
+
* Specifies a second RSA public key, without the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- headers. Used for
|
|
246
|
+
* key rotation.
|
|
230
247
|
*/
|
|
231
248
|
rsaPublicKey2?: pulumi.Input<string>;
|
|
232
249
|
/**
|
|
@@ -242,7 +259,8 @@ export interface ExternalOauthIntegrationArgs {
|
|
|
242
259
|
*/
|
|
243
260
|
tokenUserMappingClaims: pulumi.Input<pulumi.Input<string>[]>;
|
|
244
261
|
/**
|
|
245
|
-
* Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom
|
|
262
|
+
* Specifies the OAuth 2.0 authorization server to be Okta, Microsoft Azure AD, Ping Identity PingFederate, or a Custom
|
|
263
|
+
* OAuth 2.0 authorization server.
|
|
246
264
|
*/
|
|
247
265
|
type: pulumi.Input<string>;
|
|
248
266
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalOauthIntegration.js","sourceRoot":"","sources":["../externalOauthIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,wBAAyB,SAAQ,M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,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;IAnKD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DAqKC;AAvJG,gBAAgB;AACO,qCAAY,GAAG,mEAAmE,CAAC"}
|
package/externalTable.d.ts
CHANGED
|
@@ -49,7 +49,8 @@ export declare class ExternalTable extends pulumi.CustomResource {
|
|
|
49
49
|
*/
|
|
50
50
|
static isInstance(obj: any): obj is ExternalTable;
|
|
51
51
|
/**
|
|
52
|
-
* Specifies whether to automatically refresh the external table metadata once, immediately after the external table is
|
|
52
|
+
* Specifies whether to automatically refresh the external table metadata once, immediately after the external table is
|
|
53
|
+
* created.
|
|
53
54
|
*/
|
|
54
55
|
readonly autoRefresh: pulumi.Output<boolean | undefined>;
|
|
55
56
|
/**
|
|
@@ -65,7 +66,8 @@ export declare class ExternalTable extends pulumi.CustomResource {
|
|
|
65
66
|
*/
|
|
66
67
|
readonly comment: pulumi.Output<string | undefined>;
|
|
67
68
|
/**
|
|
68
|
-
* Specifies to retain the access permissions from the original table when an external table is recreated using the CREATE
|
|
69
|
+
* Specifies to retain the access permissions from the original table when an external table is recreated using the CREATE
|
|
70
|
+
* OR REPLACE TABLE variant
|
|
69
71
|
*/
|
|
70
72
|
readonly copyGrants: pulumi.Output<boolean | undefined>;
|
|
71
73
|
/**
|
|
@@ -81,7 +83,8 @@ export declare class ExternalTable extends pulumi.CustomResource {
|
|
|
81
83
|
*/
|
|
82
84
|
readonly location: pulumi.Output<string>;
|
|
83
85
|
/**
|
|
84
|
-
* Specifies the identifier for the external table; must be unique for the database and schema in which the externalTable
|
|
86
|
+
* Specifies the identifier for the external table; must be unique for the database and schema in which the externalTable
|
|
87
|
+
* is created.
|
|
85
88
|
*/
|
|
86
89
|
readonly name: pulumi.Output<string>;
|
|
87
90
|
/**
|
|
@@ -122,7 +125,8 @@ export declare class ExternalTable extends pulumi.CustomResource {
|
|
|
122
125
|
*/
|
|
123
126
|
export interface ExternalTableState {
|
|
124
127
|
/**
|
|
125
|
-
* Specifies whether to automatically refresh the external table metadata once, immediately after the external table is
|
|
128
|
+
* Specifies whether to automatically refresh the external table metadata once, immediately after the external table is
|
|
129
|
+
* created.
|
|
126
130
|
*/
|
|
127
131
|
autoRefresh?: pulumi.Input<boolean>;
|
|
128
132
|
/**
|
|
@@ -138,7 +142,8 @@ export interface ExternalTableState {
|
|
|
138
142
|
*/
|
|
139
143
|
comment?: pulumi.Input<string>;
|
|
140
144
|
/**
|
|
141
|
-
* Specifies to retain the access permissions from the original table when an external table is recreated using the CREATE
|
|
145
|
+
* Specifies to retain the access permissions from the original table when an external table is recreated using the CREATE
|
|
146
|
+
* OR REPLACE TABLE variant
|
|
142
147
|
*/
|
|
143
148
|
copyGrants?: pulumi.Input<boolean>;
|
|
144
149
|
/**
|
|
@@ -154,7 +159,8 @@ export interface ExternalTableState {
|
|
|
154
159
|
*/
|
|
155
160
|
location?: pulumi.Input<string>;
|
|
156
161
|
/**
|
|
157
|
-
* Specifies the identifier for the external table; must be unique for the database and schema in which the externalTable
|
|
162
|
+
* Specifies the identifier for the external table; must be unique for the database and schema in which the externalTable
|
|
163
|
+
* is created.
|
|
158
164
|
*/
|
|
159
165
|
name?: pulumi.Input<string>;
|
|
160
166
|
/**
|
|
@@ -187,7 +193,8 @@ export interface ExternalTableState {
|
|
|
187
193
|
*/
|
|
188
194
|
export interface ExternalTableArgs {
|
|
189
195
|
/**
|
|
190
|
-
* Specifies whether to automatically refresh the external table metadata once, immediately after the external table is
|
|
196
|
+
* Specifies whether to automatically refresh the external table metadata once, immediately after the external table is
|
|
197
|
+
* created.
|
|
191
198
|
*/
|
|
192
199
|
autoRefresh?: pulumi.Input<boolean>;
|
|
193
200
|
/**
|
|
@@ -203,7 +210,8 @@ export interface ExternalTableArgs {
|
|
|
203
210
|
*/
|
|
204
211
|
comment?: pulumi.Input<string>;
|
|
205
212
|
/**
|
|
206
|
-
* Specifies to retain the access permissions from the original table when an external table is recreated using the CREATE
|
|
213
|
+
* Specifies to retain the access permissions from the original table when an external table is recreated using the CREATE
|
|
214
|
+
* OR REPLACE TABLE variant
|
|
207
215
|
*/
|
|
208
216
|
copyGrants?: pulumi.Input<boolean>;
|
|
209
217
|
/**
|
|
@@ -219,7 +227,8 @@ export interface ExternalTableArgs {
|
|
|
219
227
|
*/
|
|
220
228
|
location: pulumi.Input<string>;
|
|
221
229
|
/**
|
|
222
|
-
* Specifies the identifier for the external table; must be unique for the database and schema in which the externalTable
|
|
230
|
+
* Specifies the identifier for the external table; must be unique for the database and schema in which the externalTable
|
|
231
|
+
* is created.
|
|
223
232
|
*/
|
|
224
233
|
name?: pulumi.Input<string>;
|
|
225
234
|
/**
|
package/externalTable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalTable.js","sourceRoot":"","sources":["../externalTable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"externalTable.js","sourceRoot":"","sources":["../externalTable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;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