@manta-eu/ldo 0.1.4 → 0.1.5
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/.ldkit/brand.d.ts +37 -3
- package/dist/.ldkit/brand.d.ts.map +1 -1
- package/dist/.ldkit/brand.js +37 -3
- package/dist/.ldkit/cledara.d.ts +4 -3
- package/dist/.ldkit/cledara.d.ts.map +1 -1
- package/dist/.ldkit/cledara.js +4 -3
- package/dist/.ldkit/gmc.d.ts +4 -2
- package/dist/.ldkit/gmc.d.ts.map +1 -1
- package/dist/.ldkit/gmc.js +4 -2
- package/dist/.ldkit/google.d.ts +1097 -105
- package/dist/.ldkit/google.d.ts.map +1 -1
- package/dist/.ldkit/google.js +1376 -138
- package/dist/.ldkit/index.d.ts +1 -0
- package/dist/.ldkit/index.d.ts.map +1 -1
- package/dist/.ldkit/index.js +1 -0
- package/dist/.ldkit/manta.d.ts +99 -0
- package/dist/.ldkit/manta.d.ts.map +1 -1
- package/dist/.ldkit/manta.js +100 -1
- package/dist/.ldkit/mcontent.d.ts +12 -0
- package/dist/.ldkit/mcontent.d.ts.map +1 -1
- package/dist/.ldkit/mcontent.js +12 -0
- package/dist/.ldkit/meta.d.ts +664 -11
- package/dist/.ldkit/meta.d.ts.map +1 -1
- package/dist/.ldkit/meta.js +664 -11
- package/dist/.ldkit/namespaces.d.ts +11 -6
- package/dist/.ldkit/namespaces.d.ts.map +1 -1
- package/dist/.ldkit/namespaces.js +217 -0
- package/dist/.ldkit/sh.d.ts +6 -0
- package/dist/.ldkit/sh.d.ts.map +1 -1
- package/dist/.ldkit/sh.js +6 -0
- package/dist/.ldkit/slack.d.ts +0 -1
- package/dist/.ldkit/slack.d.ts.map +1 -1
- package/dist/.ldkit/slack.js +0 -1
- package/dist/.ldkit/sling.d.ts +315 -0
- package/dist/.ldkit/sling.d.ts.map +1 -0
- package/dist/.ldkit/sling.js +316 -0
- package/dist/ad-platform-links.d.ts.map +1 -1
- package/dist/ad-platform-links.js +10 -14
- package/dist/external-links.d.ts +4 -1
- package/dist/external-links.d.ts.map +1 -1
- package/dist/external-links.js +4 -1
- package/dist/namespaces.d.ts +107 -0
- package/dist/namespaces.d.ts.map +1 -1
- package/dist/realm.d.ts.map +1 -1
- package/dist/realm.js +1 -0
- package/package.json +7 -5
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
export declare const SlingBigqueryConnectionSchema: {
|
|
2
|
+
readonly dataset: "sling:dataset";
|
|
3
|
+
readonly extra_scopes: {
|
|
4
|
+
readonly "@id": "sling:extra_scopes";
|
|
5
|
+
readonly "@optional": true;
|
|
6
|
+
readonly "@array": true;
|
|
7
|
+
};
|
|
8
|
+
readonly gc_bucket: {
|
|
9
|
+
readonly "@id": "sling:gc_bucket";
|
|
10
|
+
readonly "@optional": true;
|
|
11
|
+
};
|
|
12
|
+
readonly key_body: "sling:key_body";
|
|
13
|
+
readonly location: {
|
|
14
|
+
readonly "@id": "sling:location";
|
|
15
|
+
readonly "@optional": true;
|
|
16
|
+
};
|
|
17
|
+
readonly method: {
|
|
18
|
+
readonly "@id": "sling:method";
|
|
19
|
+
readonly "@enum": readonly ["service-account"];
|
|
20
|
+
readonly "@optional": true;
|
|
21
|
+
};
|
|
22
|
+
readonly project: "sling:project";
|
|
23
|
+
};
|
|
24
|
+
export declare const SlingClickhouseConnectionSchema: {
|
|
25
|
+
readonly database: {
|
|
26
|
+
readonly "@id": "sling:database";
|
|
27
|
+
readonly "@optional": true;
|
|
28
|
+
};
|
|
29
|
+
readonly host: "sling:host";
|
|
30
|
+
readonly password: {
|
|
31
|
+
readonly "@id": "sling:password";
|
|
32
|
+
readonly "@optional": true;
|
|
33
|
+
};
|
|
34
|
+
readonly port: {
|
|
35
|
+
readonly "@id": "sling:port";
|
|
36
|
+
readonly "@type": "xsd:integer";
|
|
37
|
+
readonly "@optional": true;
|
|
38
|
+
};
|
|
39
|
+
readonly secure: {
|
|
40
|
+
readonly "@id": "sling:secure";
|
|
41
|
+
readonly "@type": "xsd:boolean";
|
|
42
|
+
readonly "@optional": true;
|
|
43
|
+
};
|
|
44
|
+
readonly username: {
|
|
45
|
+
readonly "@id": "sling:username";
|
|
46
|
+
readonly "@optional": true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export declare const SlingMariadbConnectionSchema: {
|
|
50
|
+
readonly charset: {
|
|
51
|
+
readonly "@id": "sling:charset";
|
|
52
|
+
readonly "@optional": true;
|
|
53
|
+
};
|
|
54
|
+
readonly database: "sling:database";
|
|
55
|
+
readonly host: "sling:host";
|
|
56
|
+
readonly password: {
|
|
57
|
+
readonly "@id": "sling:password";
|
|
58
|
+
readonly "@optional": true;
|
|
59
|
+
};
|
|
60
|
+
readonly port: {
|
|
61
|
+
readonly "@id": "sling:port";
|
|
62
|
+
readonly "@type": "xsd:integer";
|
|
63
|
+
readonly "@optional": true;
|
|
64
|
+
};
|
|
65
|
+
readonly tls: {
|
|
66
|
+
readonly "@id": "sling:tls";
|
|
67
|
+
readonly "@type": "xsd:boolean";
|
|
68
|
+
readonly "@optional": true;
|
|
69
|
+
};
|
|
70
|
+
readonly username: "sling:username";
|
|
71
|
+
};
|
|
72
|
+
export declare const SlingMysqlConnectionSchema: {
|
|
73
|
+
readonly charset: {
|
|
74
|
+
readonly "@id": "sling:charset";
|
|
75
|
+
readonly "@optional": true;
|
|
76
|
+
};
|
|
77
|
+
readonly database: "sling:database";
|
|
78
|
+
readonly gcp_instance: {
|
|
79
|
+
readonly "@id": "sling:gcp_instance";
|
|
80
|
+
readonly "@optional": true;
|
|
81
|
+
};
|
|
82
|
+
readonly gcp_key_body: {
|
|
83
|
+
readonly "@id": "sling:gcp_key_body";
|
|
84
|
+
readonly "@optional": true;
|
|
85
|
+
};
|
|
86
|
+
readonly gcp_lazy_refresh: {
|
|
87
|
+
readonly "@id": "sling:gcp_lazy_refresh";
|
|
88
|
+
readonly "@type": "xsd:boolean";
|
|
89
|
+
readonly "@optional": true;
|
|
90
|
+
};
|
|
91
|
+
readonly gcp_project: {
|
|
92
|
+
readonly "@id": "sling:gcp_project";
|
|
93
|
+
readonly "@optional": true;
|
|
94
|
+
};
|
|
95
|
+
readonly gcp_region: {
|
|
96
|
+
readonly "@id": "sling:gcp_region";
|
|
97
|
+
readonly "@optional": true;
|
|
98
|
+
};
|
|
99
|
+
readonly gcp_use_iam_auth: {
|
|
100
|
+
readonly "@id": "sling:gcp_use_iam_auth";
|
|
101
|
+
readonly "@type": "xsd:boolean";
|
|
102
|
+
readonly "@optional": true;
|
|
103
|
+
};
|
|
104
|
+
readonly gcp_use_private_ip: {
|
|
105
|
+
readonly "@id": "sling:gcp_use_private_ip";
|
|
106
|
+
readonly "@type": "xsd:boolean";
|
|
107
|
+
readonly "@optional": true;
|
|
108
|
+
};
|
|
109
|
+
readonly host: "sling:host";
|
|
110
|
+
readonly password: {
|
|
111
|
+
readonly "@id": "sling:password";
|
|
112
|
+
readonly "@optional": true;
|
|
113
|
+
};
|
|
114
|
+
readonly port: {
|
|
115
|
+
readonly "@id": "sling:port";
|
|
116
|
+
readonly "@type": "xsd:integer";
|
|
117
|
+
readonly "@optional": true;
|
|
118
|
+
};
|
|
119
|
+
readonly tls: {
|
|
120
|
+
readonly "@id": "sling:tls";
|
|
121
|
+
readonly "@type": "xsd:boolean";
|
|
122
|
+
readonly "@optional": true;
|
|
123
|
+
};
|
|
124
|
+
readonly username: "sling:username";
|
|
125
|
+
};
|
|
126
|
+
export declare const SlingPostgresConnectionSchema: {
|
|
127
|
+
readonly database: "sling:database";
|
|
128
|
+
readonly gcp_instance: {
|
|
129
|
+
readonly "@id": "sling:gcp_instance";
|
|
130
|
+
readonly "@optional": true;
|
|
131
|
+
};
|
|
132
|
+
readonly gcp_key_body: {
|
|
133
|
+
readonly "@id": "sling:gcp_key_body";
|
|
134
|
+
readonly "@optional": true;
|
|
135
|
+
};
|
|
136
|
+
readonly gcp_lazy_refresh: {
|
|
137
|
+
readonly "@id": "sling:gcp_lazy_refresh";
|
|
138
|
+
readonly "@type": "xsd:boolean";
|
|
139
|
+
readonly "@optional": true;
|
|
140
|
+
};
|
|
141
|
+
readonly gcp_project: {
|
|
142
|
+
readonly "@id": "sling:gcp_project";
|
|
143
|
+
readonly "@optional": true;
|
|
144
|
+
};
|
|
145
|
+
readonly gcp_region: {
|
|
146
|
+
readonly "@id": "sling:gcp_region";
|
|
147
|
+
readonly "@optional": true;
|
|
148
|
+
};
|
|
149
|
+
readonly gcp_use_iam_auth: {
|
|
150
|
+
readonly "@id": "sling:gcp_use_iam_auth";
|
|
151
|
+
readonly "@type": "xsd:boolean";
|
|
152
|
+
readonly "@optional": true;
|
|
153
|
+
};
|
|
154
|
+
readonly gcp_use_private_ip: {
|
|
155
|
+
readonly "@id": "sling:gcp_use_private_ip";
|
|
156
|
+
readonly "@type": "xsd:boolean";
|
|
157
|
+
readonly "@optional": true;
|
|
158
|
+
};
|
|
159
|
+
readonly host: "sling:host";
|
|
160
|
+
readonly password: {
|
|
161
|
+
readonly "@id": "sling:password";
|
|
162
|
+
readonly "@optional": true;
|
|
163
|
+
};
|
|
164
|
+
readonly port: {
|
|
165
|
+
readonly "@id": "sling:port";
|
|
166
|
+
readonly "@type": "xsd:integer";
|
|
167
|
+
readonly "@optional": true;
|
|
168
|
+
};
|
|
169
|
+
readonly role: {
|
|
170
|
+
readonly "@id": "sling:role";
|
|
171
|
+
readonly "@optional": true;
|
|
172
|
+
};
|
|
173
|
+
readonly schema: {
|
|
174
|
+
readonly "@id": "sling:schema";
|
|
175
|
+
readonly "@optional": true;
|
|
176
|
+
};
|
|
177
|
+
readonly sslmode: {
|
|
178
|
+
readonly "@id": "sling:sslmode";
|
|
179
|
+
readonly "@enum": readonly ["disable", "allow", "prefer", "require", "verify-ca", "verify-full"];
|
|
180
|
+
readonly "@optional": true;
|
|
181
|
+
};
|
|
182
|
+
readonly username: "sling:username";
|
|
183
|
+
};
|
|
184
|
+
export declare const SlingRedshiftConnectionSchema: {
|
|
185
|
+
readonly aws_access_key_id: {
|
|
186
|
+
readonly "@id": "sling:aws_access_key_id";
|
|
187
|
+
readonly "@optional": true;
|
|
188
|
+
};
|
|
189
|
+
readonly aws_bucket: {
|
|
190
|
+
readonly "@id": "sling:aws_bucket";
|
|
191
|
+
readonly "@optional": true;
|
|
192
|
+
};
|
|
193
|
+
readonly aws_secret_access_key: {
|
|
194
|
+
readonly "@id": "sling:aws_secret_access_key";
|
|
195
|
+
readonly "@optional": true;
|
|
196
|
+
};
|
|
197
|
+
readonly database: "sling:database";
|
|
198
|
+
readonly host: "sling:host";
|
|
199
|
+
readonly password: {
|
|
200
|
+
readonly "@id": "sling:password";
|
|
201
|
+
readonly "@optional": true;
|
|
202
|
+
};
|
|
203
|
+
readonly port: {
|
|
204
|
+
readonly "@id": "sling:port";
|
|
205
|
+
readonly "@type": "xsd:integer";
|
|
206
|
+
readonly "@optional": true;
|
|
207
|
+
};
|
|
208
|
+
readonly schema: {
|
|
209
|
+
readonly "@id": "sling:schema";
|
|
210
|
+
readonly "@optional": true;
|
|
211
|
+
};
|
|
212
|
+
readonly sslmode: {
|
|
213
|
+
readonly "@id": "sling:sslmode";
|
|
214
|
+
readonly "@enum": readonly ["disable", "allow", "prefer", "require"];
|
|
215
|
+
readonly "@optional": true;
|
|
216
|
+
};
|
|
217
|
+
readonly username: "sling:username";
|
|
218
|
+
};
|
|
219
|
+
export declare const SlingSnowflakeConnectionSchema: {
|
|
220
|
+
readonly authenticator: {
|
|
221
|
+
readonly "@id": "sling:authenticator";
|
|
222
|
+
readonly "@enum": readonly ["snowflake", "oauth", "programmatic_access_token"];
|
|
223
|
+
readonly "@optional": true;
|
|
224
|
+
};
|
|
225
|
+
readonly database: {
|
|
226
|
+
readonly "@id": "sling:database";
|
|
227
|
+
readonly "@optional": true;
|
|
228
|
+
};
|
|
229
|
+
readonly host: "sling:host";
|
|
230
|
+
readonly password: {
|
|
231
|
+
readonly "@id": "sling:password";
|
|
232
|
+
readonly "@optional": true;
|
|
233
|
+
};
|
|
234
|
+
readonly role: {
|
|
235
|
+
readonly "@id": "sling:role";
|
|
236
|
+
readonly "@optional": true;
|
|
237
|
+
};
|
|
238
|
+
readonly schema: {
|
|
239
|
+
readonly "@id": "sling:schema";
|
|
240
|
+
readonly "@optional": true;
|
|
241
|
+
};
|
|
242
|
+
readonly token: {
|
|
243
|
+
readonly "@id": "sling:token";
|
|
244
|
+
readonly "@optional": true;
|
|
245
|
+
};
|
|
246
|
+
readonly username: "sling:username";
|
|
247
|
+
readonly warehouse: {
|
|
248
|
+
readonly "@id": "sling:warehouse";
|
|
249
|
+
readonly "@optional": true;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
export declare const SlingSqlserverConnectionSchema: {
|
|
253
|
+
readonly database: "sling:database";
|
|
254
|
+
readonly encrypt: {
|
|
255
|
+
readonly "@id": "sling:encrypt";
|
|
256
|
+
readonly "@type": "xsd:boolean";
|
|
257
|
+
readonly "@optional": true;
|
|
258
|
+
};
|
|
259
|
+
readonly gcp_instance: {
|
|
260
|
+
readonly "@id": "sling:gcp_instance";
|
|
261
|
+
readonly "@optional": true;
|
|
262
|
+
};
|
|
263
|
+
readonly gcp_key_body: {
|
|
264
|
+
readonly "@id": "sling:gcp_key_body";
|
|
265
|
+
readonly "@optional": true;
|
|
266
|
+
};
|
|
267
|
+
readonly gcp_lazy_refresh: {
|
|
268
|
+
readonly "@id": "sling:gcp_lazy_refresh";
|
|
269
|
+
readonly "@type": "xsd:boolean";
|
|
270
|
+
readonly "@optional": true;
|
|
271
|
+
};
|
|
272
|
+
readonly gcp_project: {
|
|
273
|
+
readonly "@id": "sling:gcp_project";
|
|
274
|
+
readonly "@optional": true;
|
|
275
|
+
};
|
|
276
|
+
readonly gcp_region: {
|
|
277
|
+
readonly "@id": "sling:gcp_region";
|
|
278
|
+
readonly "@optional": true;
|
|
279
|
+
};
|
|
280
|
+
readonly gcp_use_cloud_sql: {
|
|
281
|
+
readonly "@id": "sling:gcp_use_cloud_sql";
|
|
282
|
+
readonly "@type": "xsd:boolean";
|
|
283
|
+
readonly "@optional": true;
|
|
284
|
+
};
|
|
285
|
+
readonly gcp_use_private_ip: {
|
|
286
|
+
readonly "@id": "sling:gcp_use_private_ip";
|
|
287
|
+
readonly "@type": "xsd:boolean";
|
|
288
|
+
readonly "@optional": true;
|
|
289
|
+
};
|
|
290
|
+
readonly host: "sling:host";
|
|
291
|
+
readonly instance: {
|
|
292
|
+
readonly "@id": "sling:instance";
|
|
293
|
+
readonly "@optional": true;
|
|
294
|
+
};
|
|
295
|
+
readonly password: {
|
|
296
|
+
readonly "@id": "sling:password";
|
|
297
|
+
readonly "@optional": true;
|
|
298
|
+
};
|
|
299
|
+
readonly port: {
|
|
300
|
+
readonly "@id": "sling:port";
|
|
301
|
+
readonly "@type": "xsd:integer";
|
|
302
|
+
readonly "@optional": true;
|
|
303
|
+
};
|
|
304
|
+
readonly schema: {
|
|
305
|
+
readonly "@id": "sling:schema";
|
|
306
|
+
readonly "@optional": true;
|
|
307
|
+
};
|
|
308
|
+
readonly trust_server_certificate: {
|
|
309
|
+
readonly "@id": "sling:trust_server_certificate";
|
|
310
|
+
readonly "@type": "xsd:boolean";
|
|
311
|
+
readonly "@optional": true;
|
|
312
|
+
};
|
|
313
|
+
readonly username: "sling:username";
|
|
314
|
+
};
|
|
315
|
+
//# sourceMappingURL=sling.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sling.d.ts","sourceRoot":"","sources":["../../src/.ldkit/sling.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;CAsBhC,CAAC;AAEX,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;CAwBlC,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;CAsB/B,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqD7B,CAAC;AAEX,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDhC,CAAC;AAEX,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkChC,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCjC,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8DjC,CAAC"}
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
import { xsd } from "ldkit/namespaces";
|
|
2
|
+
import { sling } from "./namespaces.js";
|
|
3
|
+
export const SlingBigqueryConnectionSchema = {
|
|
4
|
+
dataset: sling.dataset,
|
|
5
|
+
extra_scopes: {
|
|
6
|
+
"@id": sling.extra_scopes,
|
|
7
|
+
"@optional": true,
|
|
8
|
+
"@array": true,
|
|
9
|
+
},
|
|
10
|
+
gc_bucket: {
|
|
11
|
+
"@id": sling.gc_bucket,
|
|
12
|
+
"@optional": true,
|
|
13
|
+
},
|
|
14
|
+
key_body: sling.key_body,
|
|
15
|
+
location: {
|
|
16
|
+
"@id": sling.location,
|
|
17
|
+
"@optional": true,
|
|
18
|
+
},
|
|
19
|
+
method: {
|
|
20
|
+
"@id": sling.method,
|
|
21
|
+
"@enum": ["service-account"],
|
|
22
|
+
"@optional": true,
|
|
23
|
+
},
|
|
24
|
+
project: sling.project,
|
|
25
|
+
};
|
|
26
|
+
export const SlingClickhouseConnectionSchema = {
|
|
27
|
+
database: {
|
|
28
|
+
"@id": sling.database,
|
|
29
|
+
"@optional": true,
|
|
30
|
+
},
|
|
31
|
+
host: sling.host,
|
|
32
|
+
password: {
|
|
33
|
+
"@id": sling.password,
|
|
34
|
+
"@optional": true,
|
|
35
|
+
},
|
|
36
|
+
port: {
|
|
37
|
+
"@id": sling.port,
|
|
38
|
+
"@type": xsd.integer,
|
|
39
|
+
"@optional": true,
|
|
40
|
+
},
|
|
41
|
+
secure: {
|
|
42
|
+
"@id": sling.secure,
|
|
43
|
+
"@type": xsd.boolean,
|
|
44
|
+
"@optional": true,
|
|
45
|
+
},
|
|
46
|
+
username: {
|
|
47
|
+
"@id": sling.username,
|
|
48
|
+
"@optional": true,
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
export const SlingMariadbConnectionSchema = {
|
|
52
|
+
charset: {
|
|
53
|
+
"@id": sling.charset,
|
|
54
|
+
"@optional": true,
|
|
55
|
+
},
|
|
56
|
+
database: sling.database,
|
|
57
|
+
host: sling.host,
|
|
58
|
+
password: {
|
|
59
|
+
"@id": sling.password,
|
|
60
|
+
"@optional": true,
|
|
61
|
+
},
|
|
62
|
+
port: {
|
|
63
|
+
"@id": sling.port,
|
|
64
|
+
"@type": xsd.integer,
|
|
65
|
+
"@optional": true,
|
|
66
|
+
},
|
|
67
|
+
tls: {
|
|
68
|
+
"@id": sling.tls,
|
|
69
|
+
"@type": xsd.boolean,
|
|
70
|
+
"@optional": true,
|
|
71
|
+
},
|
|
72
|
+
username: sling.username,
|
|
73
|
+
};
|
|
74
|
+
export const SlingMysqlConnectionSchema = {
|
|
75
|
+
charset: {
|
|
76
|
+
"@id": sling.charset,
|
|
77
|
+
"@optional": true,
|
|
78
|
+
},
|
|
79
|
+
database: sling.database,
|
|
80
|
+
gcp_instance: {
|
|
81
|
+
"@id": sling.gcp_instance,
|
|
82
|
+
"@optional": true,
|
|
83
|
+
},
|
|
84
|
+
gcp_key_body: {
|
|
85
|
+
"@id": sling.gcp_key_body,
|
|
86
|
+
"@optional": true,
|
|
87
|
+
},
|
|
88
|
+
gcp_lazy_refresh: {
|
|
89
|
+
"@id": sling.gcp_lazy_refresh,
|
|
90
|
+
"@type": xsd.boolean,
|
|
91
|
+
"@optional": true,
|
|
92
|
+
},
|
|
93
|
+
gcp_project: {
|
|
94
|
+
"@id": sling.gcp_project,
|
|
95
|
+
"@optional": true,
|
|
96
|
+
},
|
|
97
|
+
gcp_region: {
|
|
98
|
+
"@id": sling.gcp_region,
|
|
99
|
+
"@optional": true,
|
|
100
|
+
},
|
|
101
|
+
gcp_use_iam_auth: {
|
|
102
|
+
"@id": sling.gcp_use_iam_auth,
|
|
103
|
+
"@type": xsd.boolean,
|
|
104
|
+
"@optional": true,
|
|
105
|
+
},
|
|
106
|
+
gcp_use_private_ip: {
|
|
107
|
+
"@id": sling.gcp_use_private_ip,
|
|
108
|
+
"@type": xsd.boolean,
|
|
109
|
+
"@optional": true,
|
|
110
|
+
},
|
|
111
|
+
host: sling.host,
|
|
112
|
+
password: {
|
|
113
|
+
"@id": sling.password,
|
|
114
|
+
"@optional": true,
|
|
115
|
+
},
|
|
116
|
+
port: {
|
|
117
|
+
"@id": sling.port,
|
|
118
|
+
"@type": xsd.integer,
|
|
119
|
+
"@optional": true,
|
|
120
|
+
},
|
|
121
|
+
tls: {
|
|
122
|
+
"@id": sling.tls,
|
|
123
|
+
"@type": xsd.boolean,
|
|
124
|
+
"@optional": true,
|
|
125
|
+
},
|
|
126
|
+
username: sling.username,
|
|
127
|
+
};
|
|
128
|
+
export const SlingPostgresConnectionSchema = {
|
|
129
|
+
database: sling.database,
|
|
130
|
+
gcp_instance: {
|
|
131
|
+
"@id": sling.gcp_instance,
|
|
132
|
+
"@optional": true,
|
|
133
|
+
},
|
|
134
|
+
gcp_key_body: {
|
|
135
|
+
"@id": sling.gcp_key_body,
|
|
136
|
+
"@optional": true,
|
|
137
|
+
},
|
|
138
|
+
gcp_lazy_refresh: {
|
|
139
|
+
"@id": sling.gcp_lazy_refresh,
|
|
140
|
+
"@type": xsd.boolean,
|
|
141
|
+
"@optional": true,
|
|
142
|
+
},
|
|
143
|
+
gcp_project: {
|
|
144
|
+
"@id": sling.gcp_project,
|
|
145
|
+
"@optional": true,
|
|
146
|
+
},
|
|
147
|
+
gcp_region: {
|
|
148
|
+
"@id": sling.gcp_region,
|
|
149
|
+
"@optional": true,
|
|
150
|
+
},
|
|
151
|
+
gcp_use_iam_auth: {
|
|
152
|
+
"@id": sling.gcp_use_iam_auth,
|
|
153
|
+
"@type": xsd.boolean,
|
|
154
|
+
"@optional": true,
|
|
155
|
+
},
|
|
156
|
+
gcp_use_private_ip: {
|
|
157
|
+
"@id": sling.gcp_use_private_ip,
|
|
158
|
+
"@type": xsd.boolean,
|
|
159
|
+
"@optional": true,
|
|
160
|
+
},
|
|
161
|
+
host: sling.host,
|
|
162
|
+
password: {
|
|
163
|
+
"@id": sling.password,
|
|
164
|
+
"@optional": true,
|
|
165
|
+
},
|
|
166
|
+
port: {
|
|
167
|
+
"@id": sling.port,
|
|
168
|
+
"@type": xsd.integer,
|
|
169
|
+
"@optional": true,
|
|
170
|
+
},
|
|
171
|
+
role: {
|
|
172
|
+
"@id": sling.role,
|
|
173
|
+
"@optional": true,
|
|
174
|
+
},
|
|
175
|
+
schema: {
|
|
176
|
+
"@id": sling.schema,
|
|
177
|
+
"@optional": true,
|
|
178
|
+
},
|
|
179
|
+
sslmode: {
|
|
180
|
+
"@id": sling.sslmode,
|
|
181
|
+
"@enum": ["disable", "allow", "prefer", "require", "verify-ca", "verify-full"],
|
|
182
|
+
"@optional": true,
|
|
183
|
+
},
|
|
184
|
+
username: sling.username,
|
|
185
|
+
};
|
|
186
|
+
export const SlingRedshiftConnectionSchema = {
|
|
187
|
+
aws_access_key_id: {
|
|
188
|
+
"@id": sling.aws_access_key_id,
|
|
189
|
+
"@optional": true,
|
|
190
|
+
},
|
|
191
|
+
aws_bucket: {
|
|
192
|
+
"@id": sling.aws_bucket,
|
|
193
|
+
"@optional": true,
|
|
194
|
+
},
|
|
195
|
+
aws_secret_access_key: {
|
|
196
|
+
"@id": sling.aws_secret_access_key,
|
|
197
|
+
"@optional": true,
|
|
198
|
+
},
|
|
199
|
+
database: sling.database,
|
|
200
|
+
host: sling.host,
|
|
201
|
+
password: {
|
|
202
|
+
"@id": sling.password,
|
|
203
|
+
"@optional": true,
|
|
204
|
+
},
|
|
205
|
+
port: {
|
|
206
|
+
"@id": sling.port,
|
|
207
|
+
"@type": xsd.integer,
|
|
208
|
+
"@optional": true,
|
|
209
|
+
},
|
|
210
|
+
schema: {
|
|
211
|
+
"@id": sling.schema,
|
|
212
|
+
"@optional": true,
|
|
213
|
+
},
|
|
214
|
+
sslmode: {
|
|
215
|
+
"@id": sling.sslmode,
|
|
216
|
+
"@enum": ["disable", "allow", "prefer", "require"],
|
|
217
|
+
"@optional": true,
|
|
218
|
+
},
|
|
219
|
+
username: sling.username,
|
|
220
|
+
};
|
|
221
|
+
export const SlingSnowflakeConnectionSchema = {
|
|
222
|
+
authenticator: {
|
|
223
|
+
"@id": sling.authenticator,
|
|
224
|
+
"@enum": ["snowflake", "oauth", "programmatic_access_token"],
|
|
225
|
+
"@optional": true,
|
|
226
|
+
},
|
|
227
|
+
database: {
|
|
228
|
+
"@id": sling.database,
|
|
229
|
+
"@optional": true,
|
|
230
|
+
},
|
|
231
|
+
host: sling.host,
|
|
232
|
+
password: {
|
|
233
|
+
"@id": sling.password,
|
|
234
|
+
"@optional": true,
|
|
235
|
+
},
|
|
236
|
+
role: {
|
|
237
|
+
"@id": sling.role,
|
|
238
|
+
"@optional": true,
|
|
239
|
+
},
|
|
240
|
+
schema: {
|
|
241
|
+
"@id": sling.schema,
|
|
242
|
+
"@optional": true,
|
|
243
|
+
},
|
|
244
|
+
token: {
|
|
245
|
+
"@id": sling.token,
|
|
246
|
+
"@optional": true,
|
|
247
|
+
},
|
|
248
|
+
username: sling.username,
|
|
249
|
+
warehouse: {
|
|
250
|
+
"@id": sling.warehouse,
|
|
251
|
+
"@optional": true,
|
|
252
|
+
},
|
|
253
|
+
};
|
|
254
|
+
export const SlingSqlserverConnectionSchema = {
|
|
255
|
+
database: sling.database,
|
|
256
|
+
encrypt: {
|
|
257
|
+
"@id": sling.encrypt,
|
|
258
|
+
"@type": xsd.boolean,
|
|
259
|
+
"@optional": true,
|
|
260
|
+
},
|
|
261
|
+
gcp_instance: {
|
|
262
|
+
"@id": sling.gcp_instance,
|
|
263
|
+
"@optional": true,
|
|
264
|
+
},
|
|
265
|
+
gcp_key_body: {
|
|
266
|
+
"@id": sling.gcp_key_body,
|
|
267
|
+
"@optional": true,
|
|
268
|
+
},
|
|
269
|
+
gcp_lazy_refresh: {
|
|
270
|
+
"@id": sling.gcp_lazy_refresh,
|
|
271
|
+
"@type": xsd.boolean,
|
|
272
|
+
"@optional": true,
|
|
273
|
+
},
|
|
274
|
+
gcp_project: {
|
|
275
|
+
"@id": sling.gcp_project,
|
|
276
|
+
"@optional": true,
|
|
277
|
+
},
|
|
278
|
+
gcp_region: {
|
|
279
|
+
"@id": sling.gcp_region,
|
|
280
|
+
"@optional": true,
|
|
281
|
+
},
|
|
282
|
+
gcp_use_cloud_sql: {
|
|
283
|
+
"@id": sling.gcp_use_cloud_sql,
|
|
284
|
+
"@type": xsd.boolean,
|
|
285
|
+
"@optional": true,
|
|
286
|
+
},
|
|
287
|
+
gcp_use_private_ip: {
|
|
288
|
+
"@id": sling.gcp_use_private_ip,
|
|
289
|
+
"@type": xsd.boolean,
|
|
290
|
+
"@optional": true,
|
|
291
|
+
},
|
|
292
|
+
host: sling.host,
|
|
293
|
+
instance: {
|
|
294
|
+
"@id": sling.instance,
|
|
295
|
+
"@optional": true,
|
|
296
|
+
},
|
|
297
|
+
password: {
|
|
298
|
+
"@id": sling.password,
|
|
299
|
+
"@optional": true,
|
|
300
|
+
},
|
|
301
|
+
port: {
|
|
302
|
+
"@id": sling.port,
|
|
303
|
+
"@type": xsd.integer,
|
|
304
|
+
"@optional": true,
|
|
305
|
+
},
|
|
306
|
+
schema: {
|
|
307
|
+
"@id": sling.schema,
|
|
308
|
+
"@optional": true,
|
|
309
|
+
},
|
|
310
|
+
trust_server_certificate: {
|
|
311
|
+
"@id": sling.trust_server_certificate,
|
|
312
|
+
"@type": xsd.boolean,
|
|
313
|
+
"@optional": true,
|
|
314
|
+
},
|
|
315
|
+
username: sling.username,
|
|
316
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ad-platform-links.d.ts","sourceRoot":"","sources":["../src/ad-platform-links.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ad-platform-links.d.ts","sourceRoot":"","sources":["../src/ad-platform-links.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,IAAI,GAAG,YAAY,CAAC;AACvE,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC;AAExC,MAAM,MAAM,+BAA+B,GAAG;IAC5C,UAAU,EAAE,YAAY,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC,CAAC;AAEF,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,+BAA+B,GAAG,MAAM,CAoB9F;AAED,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,cAAc,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,0BAA0B,GAAG,MAAM,CAOpF;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAUF,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;CAClF,CAAC;AA0DF,iGAAiG;AACjG,eAAO,MAAM,eAAe,EAAE,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAmB,CAAC;AAE9E,oFAAoF;AACpF,eAAO,MAAM,kCAAkC,aAA8C,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { match } from "ts-pattern";
|
|
1
2
|
import { google, meta } from "./.ldkit/namespaces.js";
|
|
2
3
|
import { ProviderAccountEntityType } from "./manual-schemas.js";
|
|
3
4
|
export function generateMetaAdsManagerEntityLink(args) {
|
|
@@ -6,24 +7,19 @@ export function generateMetaAdsManagerEntityLink(args) {
|
|
|
6
7
|
const accountId = params?.accountId;
|
|
7
8
|
const accountScope = accountId ? `&act=${encodeURIComponent(accountId)}` : "";
|
|
8
9
|
const baseUrl = "https://adsmanager.facebook.com/adsmanager/manage";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return `${baseUrl}/ads?filter_set=SEARCH_BY_AD_IDS-STRING_SET%1EANY%1E%5B%22${id}%22%5D${accountScope}`;
|
|
16
|
-
case "ad_account":
|
|
17
|
-
return `https://business.facebook.com/latest/home?asset_id=${id}`;
|
|
18
|
-
}
|
|
10
|
+
return match(entityType)
|
|
11
|
+
.with("campaign", () => `${baseUrl}/campaigns?filter_set=SEARCH_BY_CAMPAIGN_GROUP_IDS-STRING_SET%1EANY%1E%5B%22${id}%22%5D${accountScope}`)
|
|
12
|
+
.with("ad_set", () => `${baseUrl}/adsets?filter_set=SEARCH_BY_ADGROUP_IDS-STRING_SET%1EANY%1E%5B%22${id}%22%5D${accountScope}`)
|
|
13
|
+
.with("ad", () => `${baseUrl}/ads?filter_set=SEARCH_BY_AD_IDS-STRING_SET%1EANY%1E%5B%22${id}%22%5D${accountScope}`)
|
|
14
|
+
.with("ad_account", () => `https://business.facebook.com/latest/home?asset_id=${id}`)
|
|
15
|
+
.exhaustive();
|
|
19
16
|
}
|
|
20
17
|
export function generateGoogleAdsEntityLink(args) {
|
|
21
18
|
const { entityType, externalId } = args;
|
|
22
19
|
const id = encodeURIComponent(externalId);
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
20
|
+
return match(entityType)
|
|
21
|
+
.with("campaign", () => `https://ads.google.com/aw/campaigns?campaignId=${id}`)
|
|
22
|
+
.exhaustive();
|
|
27
23
|
}
|
|
28
24
|
const PLATFORM_LABELS = {
|
|
29
25
|
meta: "Open in Meta Ads Manager",
|
package/dist/external-links.d.ts
CHANGED
|
@@ -5,7 +5,10 @@ export type ExternalLinkOptions = {
|
|
|
5
5
|
externalId: string;
|
|
6
6
|
params?: Record<string, string>;
|
|
7
7
|
};
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Every RDF type the registry can link,
|
|
10
|
+
* so callers can pick a node's linkable type without hard-coding integrations.
|
|
11
|
+
*/
|
|
9
12
|
export declare const externalLinkTypes: ReadonlySet<string>;
|
|
10
13
|
export declare function resolveExternalLink({ entityTypeUri, externalId, params, }: ExternalLinkOptions): ExternalLink | undefined;
|
|
11
14
|
export declare function resolveExternalLinkLabel(entityTypeUri: string): string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-links.d.ts","sourceRoot":"","sources":["../src/external-links.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,YAAY,EAAiB,MAAM,qBAAqB,CAAC;AAGxF,YAAY,EAAE,YAAY,EAAE,CAAC;AAE7B,MAAM,MAAM,mBAAmB,GAAG;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC,CAAC;AAMF
|
|
1
|
+
{"version":3,"file":"external-links.d.ts","sourceRoot":"","sources":["../src/external-links.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,YAAY,EAAiB,MAAM,qBAAqB,CAAC;AAGxF,YAAY,EAAE,YAAY,EAAE,CAAC;AAE7B,MAAM,MAAM,mBAAmB,GAAG;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC,CAAC;AAMF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAAiC,CAAC;AAEpF,wBAAgB,mBAAmB,CAAC,EAClC,aAAa,EACb,UAAU,EACV,MAAM,GACP,EAAE,mBAAmB,GAAG,YAAY,GAAG,SAAS,CAIhD;AAED,wBAAgB,wBAAwB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAElF"}
|