@prismatic-io/components-aws-glue 0.0.0-stage → 0.0.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.
@@ -0,0 +1,448 @@
1
+ //#region npm-dist/.entry.d.ts
2
+ declare const _default: import("@prismatic-io/spectral").CallableComponent<{
3
+ key: "aws-glue";
4
+ public: true;
5
+ documentationUrl: "https://prismatic.io/docs/components/aws-glue/";
6
+ display: {
7
+ label: string;
8
+ description: string;
9
+ iconPath: string;
10
+ category: "Data Platforms";
11
+ };
12
+ actions: {
13
+ listTriggers: import("@prismatic-io/spectral").ActionDefinition<{
14
+ awsRegion: {
15
+ label: string;
16
+ placeholder: string;
17
+ type: "string";
18
+ required: false;
19
+ comments: string;
20
+ example: string;
21
+ dataSource: string;
22
+ clean: (value: unknown, defaultValue?: string) => string;
23
+ };
24
+ maxItems: {
25
+ label: string;
26
+ type: "string";
27
+ required: false;
28
+ comments: string;
29
+ example: string;
30
+ clean: (value: unknown) => number | undefined;
31
+ };
32
+ marker: {
33
+ label: string;
34
+ type: "string";
35
+ required: false;
36
+ comments: string;
37
+ example: string;
38
+ clean: (value: unknown) => string | undefined;
39
+ };
40
+ awsConnection: {
41
+ label: string;
42
+ type: "connection";
43
+ required: true;
44
+ comments: string;
45
+ };
46
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
47
+ data: import("@aws-sdk/client-glue").ListTriggersResponse;
48
+ }>;
49
+ startTrigger: import("@prismatic-io/spectral").ActionDefinition<{
50
+ awsRegion: {
51
+ label: string;
52
+ placeholder: string;
53
+ type: "string";
54
+ required: false;
55
+ comments: string;
56
+ example: string;
57
+ dataSource: string;
58
+ clean: (value: unknown, defaultValue?: string) => string;
59
+ };
60
+ name: {
61
+ dataSource: string;
62
+ label: string;
63
+ placeholder: string;
64
+ type: "string";
65
+ required: true;
66
+ comments: string;
67
+ clean: (value: unknown, defaultValue?: string) => string;
68
+ };
69
+ awsConnection: {
70
+ label: string;
71
+ type: "connection";
72
+ required: true;
73
+ comments: string;
74
+ };
75
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
76
+ data: import("@aws-sdk/client-glue").StartTriggerResponse;
77
+ }>;
78
+ stopTrigger: import("@prismatic-io/spectral").ActionDefinition<{
79
+ awsRegion: {
80
+ label: string;
81
+ placeholder: string;
82
+ type: "string";
83
+ required: false;
84
+ comments: string;
85
+ example: string;
86
+ dataSource: string;
87
+ clean: (value: unknown, defaultValue?: string) => string;
88
+ };
89
+ name: {
90
+ dataSource: string;
91
+ label: string;
92
+ placeholder: string;
93
+ type: "string";
94
+ required: true;
95
+ comments: string;
96
+ clean: (value: unknown, defaultValue?: string) => string;
97
+ };
98
+ awsConnection: {
99
+ label: string;
100
+ type: "connection";
101
+ required: true;
102
+ comments: string;
103
+ };
104
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
105
+ data: import("@aws-sdk/client-glue").StopTriggerResponse;
106
+ }>;
107
+ getJobRun: import("@prismatic-io/spectral").ActionDefinition<{
108
+ awsRegion: {
109
+ label: string;
110
+ placeholder: string;
111
+ type: "string";
112
+ required: false;
113
+ comments: string;
114
+ example: string;
115
+ dataSource: string;
116
+ clean: (value: unknown, defaultValue?: string) => string;
117
+ };
118
+ name: {
119
+ dataSource: string;
120
+ label: string;
121
+ placeholder: string;
122
+ type: "string";
123
+ required: true;
124
+ comments: string;
125
+ clean: (value: unknown, defaultValue?: string) => string;
126
+ };
127
+ runId: {
128
+ label: string;
129
+ type: "string";
130
+ required: true;
131
+ comments: string;
132
+ clean: (value: unknown, defaultValue?: string) => string;
133
+ };
134
+ awsConnection: {
135
+ label: string;
136
+ type: "connection";
137
+ required: true;
138
+ comments: string;
139
+ };
140
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
141
+ data: import("@aws-sdk/client-glue").GetJobRunResponse;
142
+ }>;
143
+ listJobs: import("@prismatic-io/spectral").ActionDefinition<{
144
+ awsRegion: {
145
+ label: string;
146
+ placeholder: string;
147
+ type: "string";
148
+ required: false;
149
+ comments: string;
150
+ example: string;
151
+ dataSource: string;
152
+ clean: (value: unknown, defaultValue?: string) => string;
153
+ };
154
+ marker: {
155
+ label: string;
156
+ type: "string";
157
+ required: false;
158
+ comments: string;
159
+ example: string;
160
+ clean: (value: unknown) => string | undefined;
161
+ };
162
+ maxItems: {
163
+ label: string;
164
+ type: "string";
165
+ required: false;
166
+ comments: string;
167
+ example: string;
168
+ clean: (value: unknown) => number | undefined;
169
+ };
170
+ awsConnection: {
171
+ label: string;
172
+ type: "connection";
173
+ required: true;
174
+ comments: string;
175
+ };
176
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
177
+ data: import("@aws-sdk/client-glue").ListJobsResponse;
178
+ }>;
179
+ startJobRun: import("@prismatic-io/spectral").ActionDefinition<{
180
+ awsRegion: {
181
+ label: string;
182
+ placeholder: string;
183
+ type: "string";
184
+ required: false;
185
+ comments: string;
186
+ example: string;
187
+ dataSource: string;
188
+ clean: (value: unknown, defaultValue?: string) => string;
189
+ };
190
+ name: {
191
+ dataSource: string;
192
+ label: string;
193
+ placeholder: string;
194
+ type: "string";
195
+ required: true;
196
+ comments: string;
197
+ clean: (value: unknown, defaultValue?: string) => string;
198
+ };
199
+ capacity: {
200
+ label: string;
201
+ type: "string";
202
+ example: string;
203
+ required: false;
204
+ comments: string;
205
+ clean: (value: unknown, defaultValue?: number) => number;
206
+ };
207
+ security: {
208
+ label: string;
209
+ type: "string";
210
+ required: false;
211
+ comments: string;
212
+ clean: (value: unknown) => string | undefined;
213
+ };
214
+ args: {
215
+ label: string;
216
+ placeholder: string;
217
+ type: "string";
218
+ collection: "keyvaluelist";
219
+ required: false;
220
+ comments: string;
221
+ clean: (value: unknown) => Record<string, string>;
222
+ };
223
+ awsConnection: {
224
+ label: string;
225
+ type: "connection";
226
+ required: true;
227
+ comments: string;
228
+ };
229
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
230
+ data: import("@aws-sdk/client-glue").StartJobRunResponse;
231
+ }>;
232
+ stopJobRun: import("@prismatic-io/spectral").ActionDefinition<{
233
+ awsRegion: {
234
+ label: string;
235
+ placeholder: string;
236
+ type: "string";
237
+ required: false;
238
+ comments: string;
239
+ example: string;
240
+ dataSource: string;
241
+ clean: (value: unknown, defaultValue?: string) => string;
242
+ };
243
+ name: {
244
+ dataSource: string;
245
+ label: string;
246
+ placeholder: string;
247
+ type: "string";
248
+ required: true;
249
+ comments: string;
250
+ clean: (value: unknown, defaultValue?: string) => string;
251
+ };
252
+ jobRunIds: {
253
+ label: string;
254
+ type: "string";
255
+ collection: "valuelist";
256
+ required: true;
257
+ comments: string;
258
+ };
259
+ awsConnection: {
260
+ label: string;
261
+ type: "connection";
262
+ required: true;
263
+ comments: string;
264
+ };
265
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
266
+ data: import("@aws-sdk/client-glue").BatchStopJobRunResponse;
267
+ }>;
268
+ listCrawlers: import("@prismatic-io/spectral").ActionDefinition<{
269
+ awsRegion: {
270
+ label: string;
271
+ placeholder: string;
272
+ type: "string";
273
+ required: false;
274
+ comments: string;
275
+ example: string;
276
+ dataSource: string;
277
+ clean: (value: unknown, defaultValue?: string) => string;
278
+ };
279
+ maxItems: {
280
+ label: string;
281
+ type: "string";
282
+ required: false;
283
+ comments: string;
284
+ example: string;
285
+ clean: (value: unknown) => number | undefined;
286
+ };
287
+ marker: {
288
+ label: string;
289
+ type: "string";
290
+ required: false;
291
+ comments: string;
292
+ example: string;
293
+ clean: (value: unknown) => string | undefined;
294
+ };
295
+ awsConnection: {
296
+ label: string;
297
+ type: "connection";
298
+ required: true;
299
+ comments: string;
300
+ };
301
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
302
+ data: import("@aws-sdk/client-glue").ListCrawlersResponse;
303
+ }>;
304
+ startCrawler: import("@prismatic-io/spectral").ActionDefinition<{
305
+ awsRegion: {
306
+ label: string;
307
+ placeholder: string;
308
+ type: "string";
309
+ required: false;
310
+ comments: string;
311
+ example: string;
312
+ dataSource: string;
313
+ clean: (value: unknown, defaultValue?: string) => string;
314
+ };
315
+ name: {
316
+ dataSource: string;
317
+ label: string;
318
+ placeholder: string;
319
+ type: "string";
320
+ required: true;
321
+ comments: string;
322
+ clean: (value: unknown, defaultValue?: string) => string;
323
+ };
324
+ awsConnection: {
325
+ label: string;
326
+ type: "connection";
327
+ required: true;
328
+ comments: string;
329
+ };
330
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
331
+ data: import("@aws-sdk/client-glue").StartCrawlerResponse;
332
+ }>;
333
+ stopCrawler: import("@prismatic-io/spectral").ActionDefinition<{
334
+ awsRegion: {
335
+ label: string;
336
+ placeholder: string;
337
+ type: "string";
338
+ required: false;
339
+ comments: string;
340
+ example: string;
341
+ dataSource: string;
342
+ clean: (value: unknown, defaultValue?: string) => string;
343
+ };
344
+ name: {
345
+ dataSource: string;
346
+ label: string;
347
+ placeholder: string;
348
+ type: "string";
349
+ required: true;
350
+ comments: string;
351
+ clean: (value: unknown, defaultValue?: string) => string;
352
+ };
353
+ awsConnection: {
354
+ label: string;
355
+ type: "connection";
356
+ required: true;
357
+ comments: string;
358
+ };
359
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
360
+ data: import("@aws-sdk/client-glue").StopCrawlerResponse;
361
+ }>;
362
+ };
363
+ connections: (import("@prismatic-io/spectral").DefaultConnectionDefinition | import("@prismatic-io/spectral").KeyedConnection<{
364
+ key: "apiKeySecret";
365
+ display: {
366
+ label: string;
367
+ description: string;
368
+ };
369
+ inputs: {
370
+ accessKeyId: {
371
+ label: string;
372
+ placeholder: string;
373
+ type: "string";
374
+ required: true;
375
+ shown: true;
376
+ comments: string;
377
+ example: string;
378
+ };
379
+ secretAccessKey: {
380
+ label: string;
381
+ placeholder: string;
382
+ type: "password";
383
+ required: true;
384
+ shown: true;
385
+ comments: string;
386
+ example: string;
387
+ };
388
+ };
389
+ }, "apiKeySecret">)[];
390
+ dataSources: {
391
+ selectRegion: import("@prismatic-io/spectral").DataSourceDefinition<{}, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
392
+ selectJob: import("@prismatic-io/spectral").DataSourceDefinition<{
393
+ awsRegion: {
394
+ dataSource: undefined;
395
+ label: string;
396
+ placeholder: string;
397
+ type: "string";
398
+ required: false;
399
+ comments: string;
400
+ example: string;
401
+ clean: (value: unknown, defaultValue?: string) => string;
402
+ };
403
+ awsConnection: {
404
+ label: string;
405
+ type: "connection";
406
+ required: true;
407
+ comments: string;
408
+ };
409
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
410
+ selectCrawler: import("@prismatic-io/spectral").DataSourceDefinition<{
411
+ awsRegion: {
412
+ dataSource: undefined;
413
+ label: string;
414
+ placeholder: string;
415
+ type: "string";
416
+ required: false;
417
+ comments: string;
418
+ example: string;
419
+ clean: (value: unknown, defaultValue?: string) => string;
420
+ };
421
+ awsConnection: {
422
+ label: string;
423
+ type: "connection";
424
+ required: true;
425
+ comments: string;
426
+ };
427
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
428
+ selectTrigger: import("@prismatic-io/spectral").DataSourceDefinition<{
429
+ awsRegion: {
430
+ dataSource: undefined;
431
+ label: string;
432
+ placeholder: string;
433
+ type: "string";
434
+ required: false;
435
+ comments: string;
436
+ example: string;
437
+ clean: (value: unknown, defaultValue?: string) => string;
438
+ };
439
+ awsConnection: {
440
+ label: string;
441
+ type: "connection";
442
+ required: true;
443
+ comments: string;
444
+ };
445
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
446
+ };
447
+ }>;
448
+ export = _default;
package/package.json CHANGED
@@ -1,6 +1,55 @@
1
1
  {
2
2
  "name": "@prismatic-io/components-aws-glue",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.1",
4
+ "main": "./npm-dist/index.cjs",
5
+ "types": "./npm-dist/index.d.cts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./npm-dist/index.d.cts",
9
+ "default": "./npm-dist/index.cjs"
10
+ }
11
+ },
12
+ "description": "",
13
+ "license": "Apache-2.0",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/prismatic-io/components.git",
17
+ "directory": "components/aws-glue"
18
+ },
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "files": [
23
+ "npm-dist",
24
+ "dist"
25
+ ],
26
+ "prismatic": {
27
+ "component": "./dist/index.js"
28
+ },
29
+ "scripts": {
30
+ "build": "npm run format && npm run lint && tsdown",
31
+ "typecheck": "tsc --noEmit",
32
+ "lint": "biome check --write .",
33
+ "format": "biome format --write .",
34
+ "test": "echo 'no tests'",
35
+ "prepare": "npm run build",
36
+ "publish:platform": "npm run build && prism components:publish"
37
+ },
38
+ "peerDependencies": {
39
+ "@prismatic-io/spectral": "^10.38.5"
40
+ },
41
+ "dependencies": {
42
+ "@aws-sdk/client-glue": "3.1088.0",
43
+ "@aws-sdk/client-sts": "3.1088.0"
44
+ },
45
+ "devDependencies": {
46
+ "@biomejs/biome": "2.5.1",
47
+ "@types/node": "^25.9.1",
48
+ "tsdown": "0.22.3",
49
+ "typescript": "6.0.3",
50
+ "vitest": "4.1.9",
51
+ "@prismatic-io/spectral": "^10.38.5",
52
+ "aws-utils": "file:../../packages/aws-utils"
53
+ },
54
+ "author": ""
55
+ }