@kyuda/n8n-nodes-databricks 1.0.2 → 1.0.3

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.

Potentially problematic release.


This version of @kyuda/n8n-nodes-databricks might be problematic. Click here for more details.

@@ -0,0 +1,128 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.jobsParameters = void 0;
4
+ exports.jobsParameters = [
5
+ {
6
+ displayName: 'Job',
7
+ name: 'jobId',
8
+ type: 'resourceLocator',
9
+ default: { mode: 'list', value: '' },
10
+ required: true,
11
+ description: 'The Databricks job to run',
12
+ displayOptions: {
13
+ show: {
14
+ resource: ['jobs'],
15
+ operation: ['runJob'],
16
+ },
17
+ },
18
+ modes: [
19
+ {
20
+ displayName: 'From List',
21
+ name: 'list',
22
+ type: 'list',
23
+ typeOptions: {
24
+ searchListMethod: 'getJobs',
25
+ searchable: true,
26
+ },
27
+ },
28
+ {
29
+ displayName: 'By ID',
30
+ name: 'id',
31
+ type: 'string',
32
+ placeholder: 'e.g. 123456789',
33
+ validation: [
34
+ {
35
+ type: 'regex',
36
+ properties: {
37
+ regex: '^[0-9]+$',
38
+ errorMessage: 'Must be a numeric job ID',
39
+ },
40
+ },
41
+ ],
42
+ },
43
+ ],
44
+ },
45
+ {
46
+ displayName: 'Notebook Params',
47
+ name: 'notebookParams',
48
+ type: 'json',
49
+ default: '{}',
50
+ required: false,
51
+ description: 'Key-value map of parameters to pass to the notebook task. Each key is a parameter name and each value is a string.',
52
+ placeholder: '{"article_id": "42", "version": "1.0"}',
53
+ displayOptions: {
54
+ show: {
55
+ resource: ['jobs'],
56
+ operation: ['runJob'],
57
+ },
58
+ },
59
+ typeOptions: {
60
+ rows: 5,
61
+ },
62
+ },
63
+ {
64
+ displayName: 'Python Params',
65
+ name: 'pythonParams',
66
+ type: 'json',
67
+ default: '[]',
68
+ required: false,
69
+ description: 'Array of string parameters to pass to the Python file task',
70
+ placeholder: '["param1", "param2"]',
71
+ displayOptions: {
72
+ show: {
73
+ resource: ['jobs'],
74
+ operation: ['runJob'],
75
+ },
76
+ },
77
+ typeOptions: {
78
+ rows: 3,
79
+ },
80
+ },
81
+ {
82
+ displayName: 'JAR Params',
83
+ name: 'jarParams',
84
+ type: 'json',
85
+ default: '[]',
86
+ required: false,
87
+ description: 'Array of string parameters to pass to the JAR task',
88
+ placeholder: '["param1", "param2"]',
89
+ displayOptions: {
90
+ show: {
91
+ resource: ['jobs'],
92
+ operation: ['runJob'],
93
+ },
94
+ },
95
+ typeOptions: {
96
+ rows: 3,
97
+ },
98
+ },
99
+ {
100
+ displayName: 'Run ID',
101
+ name: 'runId',
102
+ type: 'number',
103
+ default: 0,
104
+ required: true,
105
+ description: 'The ID of the job run. Returned by the "Run Job" operation.',
106
+ displayOptions: {
107
+ show: {
108
+ resource: ['jobs'],
109
+ operation: ['getRunStatus'],
110
+ },
111
+ },
112
+ },
113
+ {
114
+ displayName: 'Run ID',
115
+ name: 'runId',
116
+ type: 'number',
117
+ default: 0,
118
+ required: true,
119
+ description: 'The ID of the job run to get output for. The run must be completed.',
120
+ displayOptions: {
121
+ show: {
122
+ resource: ['jobs'],
123
+ operation: ['getRunOutput'],
124
+ },
125
+ },
126
+ },
127
+ ];
128
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../nodes/Databricks/resources/jobs/parameters.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAsB;IAE7C;QACI,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;QACpC,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,2BAA2B;QACxC,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB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B,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,oDAAoD;QACjE,WAAW,EAAE,sBAAsB;QACnC,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACxB;SACJ;QACD,WAAW,EAAE;YACT,IAAI,EAAE,CAAC;SACV;KACJ;IAGD;QACI,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,CAAC;QACV,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,6DAA6D;QAC1E,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,cAAc,CAAC;aAC9B;SACJ;KACJ;IAGD;QACI,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,CAAC;QACV,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,qEAAqE;QAClF,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,cAAc,CAAC;aAC9B;SACJ;KACJ;CACJ,CAAC"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kyuda/n8n-nodes-databricks",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Databricks node for n8n",
5
5
  "keywords": [
6
6
  "n8n",