@dpuse/dpuse-development 0.3.791 → 0.3.793
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/README.md +45 -48
- package/dist/{apiReference-CnXXTvff.js → apiReference-DCzx5xFp.js} +1 -1
- package/dist/{apiReference-CnXXTvff.js.map → apiReference-DCzx5xFp.js.map} +1 -1
- package/dist/dpuse-development.es.js +153 -143
- package/dist/dpuse-development.es.js.map +1 -1
- package/dist/types/src/actions/auditDependencies.d.ts +1 -1
- package/dist/types/src/actions/publishProject.d.ts +1 -1
- package/dist/types/src/utilities/cloudflare.d.ts +1 -1
- package/dist/types/src/utilities/index.d.ts +1 -1
- package/dist/{utilities-CPg6O2rR.js → utilities-DxgaXApN.js} +158 -160
- package/dist/utilities-DxgaXApN.js.map +1 -0
- package/package.json +2 -2
- package/dist/utilities-CPg6O2rR.js.map +0 -1
|
@@ -29,29 +29,32 @@ function s(e, t, n) {
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
//#endregion
|
|
32
|
-
//#region node_modules/@dpuse/dpuse-shared/dist/
|
|
33
|
-
|
|
32
|
+
//#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared.es.js
|
|
33
|
+
function c(e) {
|
|
34
|
+
return new Map(Object.entries(e));
|
|
35
|
+
}
|
|
36
|
+
var l = {
|
|
34
37
|
lang: void 0,
|
|
35
38
|
message: void 0,
|
|
36
39
|
abortEarly: void 0,
|
|
37
40
|
abortPipeEarly: void 0
|
|
38
41
|
};
|
|
39
42
|
/* @__NO_SIDE_EFFECTS__ */
|
|
40
|
-
function
|
|
43
|
+
function u(e) {
|
|
41
44
|
return e ? {
|
|
42
45
|
lang: e?.lang ?? void 0,
|
|
43
46
|
message: e?.message,
|
|
44
47
|
abortEarly: e?.abortEarly ?? void 0,
|
|
45
48
|
abortPipeEarly: e?.abortPipeEarly ?? void 0
|
|
46
|
-
} :
|
|
49
|
+
} : l;
|
|
47
50
|
}
|
|
48
51
|
/* @__NO_SIDE_EFFECTS__ */
|
|
49
|
-
function
|
|
52
|
+
function d(e) {
|
|
50
53
|
let t = typeof e;
|
|
51
54
|
return t === "string" ? `"${e}"` : t === "number" || t === "bigint" || t === "boolean" ? `${e}` : t === "object" || t === "function" ? (e && Object.getPrototypeOf(e)?.constructor?.name) ?? "null" : t;
|
|
52
55
|
}
|
|
53
|
-
function
|
|
54
|
-
let a = i && "input" in i ? i.input : n.value, o = i?.expected ?? e.expects ?? null, s = i?.received ?? /* @__PURE__ */
|
|
56
|
+
function f(e, t, n, r, i) {
|
|
57
|
+
let a = i && "input" in i ? i.input : n.value, o = i?.expected ?? e.expects ?? null, s = i?.received ?? /* @__PURE__ */ d(a), c = {
|
|
55
58
|
kind: e.kind,
|
|
56
59
|
type: e.type,
|
|
57
60
|
input: a,
|
|
@@ -64,27 +67,27 @@ function d(e, t, n, r, i) {
|
|
|
64
67
|
lang: r.lang,
|
|
65
68
|
abortEarly: r.abortEarly,
|
|
66
69
|
abortPipeEarly: r.abortPipeEarly
|
|
67
|
-
}, l = e.kind === "schema",
|
|
68
|
-
|
|
70
|
+
}, l = e.kind === "schema", u = i?.message ?? e.message ?? (e.reference, c.lang, void 0) ?? (l ? (c.lang, void 0) : null) ?? r.message ?? (c.lang, void 0);
|
|
71
|
+
u !== void 0 && (c.message = typeof u == "function" ? u(c) : u), l && (n.typed = !1), n.issues ? n.issues.push(c) : n.issues = [c];
|
|
69
72
|
}
|
|
70
73
|
/* @__NO_SIDE_EFFECTS__ */
|
|
71
74
|
function ee(e, t) {
|
|
72
75
|
return e === t || Number.isNaN(e) && Number.isNaN(t);
|
|
73
76
|
}
|
|
74
77
|
/* @__NO_SIDE_EFFECTS__ */
|
|
75
|
-
function
|
|
78
|
+
function p(e, t) {
|
|
76
79
|
return Object.prototype.hasOwnProperty.call(e, t) && t !== "__proto__" && t !== "prototype" && t !== "constructor";
|
|
77
80
|
}
|
|
78
81
|
/* @__NO_SIDE_EFFECTS__ */
|
|
79
|
-
function
|
|
82
|
+
function te(e, t) {
|
|
80
83
|
let n = [...new Set(e)];
|
|
81
84
|
return n.length > 1 ? `(${n.join(` ${t} `)})` : n[0] ?? "never";
|
|
82
85
|
}
|
|
83
|
-
function
|
|
86
|
+
function m(e) {
|
|
84
87
|
return e["~standard"] = {
|
|
85
88
|
version: 1,
|
|
86
89
|
vendor: "valibot",
|
|
87
|
-
validate: (t) => e["~run"]({ value: t }, /* @__PURE__ */
|
|
90
|
+
validate: (t) => e["~run"]({ value: t }, /* @__PURE__ */ u())
|
|
88
91
|
}, e;
|
|
89
92
|
}
|
|
90
93
|
/* @__NO_SIDE_EFFECTS__ */
|
|
@@ -92,15 +95,15 @@ function ne(e, t, n) {
|
|
|
92
95
|
return typeof e.fallback == "function" ? e.fallback(t, n) : e.fallback;
|
|
93
96
|
}
|
|
94
97
|
/* @__NO_SIDE_EFFECTS__ */
|
|
95
|
-
function
|
|
98
|
+
function h(e, t, n) {
|
|
96
99
|
return typeof e.default == "function" ? e.default(t, n) : e.default;
|
|
97
100
|
}
|
|
98
101
|
/* @__NO_SIDE_EFFECTS__ */
|
|
99
|
-
function
|
|
100
|
-
return
|
|
102
|
+
function g(e, t) {
|
|
103
|
+
return m({
|
|
101
104
|
kind: "schema",
|
|
102
105
|
type: "array",
|
|
103
|
-
reference:
|
|
106
|
+
reference: g,
|
|
104
107
|
expects: "Array",
|
|
105
108
|
async: !1,
|
|
106
109
|
item: e,
|
|
@@ -127,90 +130,90 @@ function h(e, t) {
|
|
|
127
130
|
}
|
|
128
131
|
a.typed || (e.typed = !1), e.value.push(a.value);
|
|
129
132
|
}
|
|
130
|
-
} else
|
|
133
|
+
} else f(this, "type", e, t);
|
|
131
134
|
return e;
|
|
132
135
|
}
|
|
133
136
|
});
|
|
134
137
|
}
|
|
135
138
|
/* @__NO_SIDE_EFFECTS__ */
|
|
136
|
-
function
|
|
137
|
-
return
|
|
139
|
+
function _(e) {
|
|
140
|
+
return m({
|
|
138
141
|
kind: "schema",
|
|
139
142
|
type: "boolean",
|
|
140
|
-
reference:
|
|
143
|
+
reference: _,
|
|
141
144
|
expects: "boolean",
|
|
142
145
|
async: !1,
|
|
143
146
|
message: e,
|
|
144
147
|
"~run"(e, t) {
|
|
145
|
-
return typeof e.value == "boolean" ? e.typed = !0 :
|
|
148
|
+
return typeof e.value == "boolean" ? e.typed = !0 : f(this, "type", e, t), e;
|
|
146
149
|
}
|
|
147
150
|
});
|
|
148
151
|
}
|
|
149
152
|
/* @__NO_SIDE_EFFECTS__ */
|
|
150
|
-
function
|
|
151
|
-
return
|
|
153
|
+
function v(e, t) {
|
|
154
|
+
return m({
|
|
152
155
|
kind: "schema",
|
|
153
156
|
type: "literal",
|
|
154
|
-
reference:
|
|
155
|
-
expects: /* @__PURE__ */
|
|
157
|
+
reference: v,
|
|
158
|
+
expects: /* @__PURE__ */ d(e),
|
|
156
159
|
async: !1,
|
|
157
160
|
literal: e,
|
|
158
161
|
message: t,
|
|
159
162
|
"~run"(e, t) {
|
|
160
|
-
return /* @__PURE__ */ ee(e.value, this.literal) ? e.typed = !0 :
|
|
163
|
+
return /* @__PURE__ */ ee(e.value, this.literal) ? e.typed = !0 : f(this, "type", e, t), e;
|
|
161
164
|
}
|
|
162
165
|
});
|
|
163
166
|
}
|
|
164
167
|
/* @__NO_SIDE_EFFECTS__ */
|
|
165
|
-
function
|
|
166
|
-
return
|
|
168
|
+
function y(e, t) {
|
|
169
|
+
return m({
|
|
167
170
|
kind: "schema",
|
|
168
171
|
type: "nullable",
|
|
169
|
-
reference:
|
|
172
|
+
reference: y,
|
|
170
173
|
expects: `(${e.expects} | null)`,
|
|
171
174
|
async: !1,
|
|
172
175
|
wrapped: e,
|
|
173
176
|
default: t,
|
|
174
177
|
"~run"(e, t) {
|
|
175
|
-
return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */
|
|
178
|
+
return e.value === null && (this.default !== void 0 && (e.value = /* @__PURE__ */ h(this, e, t)), e.value === null) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
|
|
176
179
|
}
|
|
177
180
|
});
|
|
178
181
|
}
|
|
179
182
|
/* @__NO_SIDE_EFFECTS__ */
|
|
180
|
-
function
|
|
181
|
-
return
|
|
183
|
+
function b(e) {
|
|
184
|
+
return m({
|
|
182
185
|
kind: "schema",
|
|
183
186
|
type: "number",
|
|
184
|
-
reference:
|
|
187
|
+
reference: b,
|
|
185
188
|
expects: "number",
|
|
186
189
|
async: !1,
|
|
187
190
|
message: e,
|
|
188
191
|
"~run"(e, t) {
|
|
189
|
-
return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 :
|
|
192
|
+
return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 : f(this, "type", e, t), e;
|
|
190
193
|
}
|
|
191
194
|
});
|
|
192
195
|
}
|
|
193
196
|
/* @__NO_SIDE_EFFECTS__ */
|
|
194
|
-
function
|
|
195
|
-
return
|
|
197
|
+
function x(e, t) {
|
|
198
|
+
return m({
|
|
196
199
|
kind: "schema",
|
|
197
200
|
type: "optional",
|
|
198
|
-
reference:
|
|
201
|
+
reference: x,
|
|
199
202
|
expects: `(${e.expects} | undefined)`,
|
|
200
203
|
async: !1,
|
|
201
204
|
wrapped: e,
|
|
202
205
|
default: t,
|
|
203
206
|
"~run"(e, t) {
|
|
204
|
-
return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */
|
|
207
|
+
return e.value === void 0 && (this.default !== void 0 && (e.value = /* @__PURE__ */ h(this, e, t)), e.value === void 0) ? (e.typed = !0, e) : this.wrapped["~run"](e, t);
|
|
205
208
|
}
|
|
206
209
|
});
|
|
207
210
|
}
|
|
208
211
|
/* @__NO_SIDE_EFFECTS__ */
|
|
209
|
-
function
|
|
210
|
-
return
|
|
212
|
+
function S(e, t, n) {
|
|
213
|
+
return m({
|
|
211
214
|
kind: "schema",
|
|
212
215
|
type: "record",
|
|
213
|
-
reference:
|
|
216
|
+
reference: S,
|
|
214
217
|
expects: "Object",
|
|
215
218
|
async: !1,
|
|
216
219
|
key: e,
|
|
@@ -220,7 +223,7 @@ function x(e, t, n) {
|
|
|
220
223
|
let n = e.value;
|
|
221
224
|
if (n && typeof n == "object") {
|
|
222
225
|
e.typed = !0, e.value = {};
|
|
223
|
-
for (let r in n) if (/* @__PURE__ */
|
|
226
|
+
for (let r in n) if (/* @__PURE__ */ p(n, r)) {
|
|
224
227
|
let i = n[r], a = this.key["~run"]({ value: r }, t);
|
|
225
228
|
if (a.issues) {
|
|
226
229
|
let o = {
|
|
@@ -253,17 +256,17 @@ function x(e, t, n) {
|
|
|
253
256
|
}
|
|
254
257
|
(!a.typed || !o.typed) && (e.typed = !1), a.typed && (e.value[a.value] = o.value);
|
|
255
258
|
}
|
|
256
|
-
} else
|
|
259
|
+
} else f(this, "type", e, t);
|
|
257
260
|
return e;
|
|
258
261
|
}
|
|
259
262
|
});
|
|
260
263
|
}
|
|
261
264
|
/* @__NO_SIDE_EFFECTS__ */
|
|
262
|
-
function
|
|
263
|
-
return
|
|
265
|
+
function C(e, t) {
|
|
266
|
+
return m({
|
|
264
267
|
kind: "schema",
|
|
265
268
|
type: "strict_object",
|
|
266
|
-
reference:
|
|
269
|
+
reference: C,
|
|
267
270
|
expects: "Object",
|
|
268
271
|
async: !1,
|
|
269
272
|
entries: e,
|
|
@@ -275,7 +278,7 @@ function S(e, t) {
|
|
|
275
278
|
for (let r in this.entries) {
|
|
276
279
|
let i = this.entries[r];
|
|
277
280
|
if (r in n || (i.type === "exact_optional" || i.type === "optional" || i.type === "nullish") && i.default !== void 0) {
|
|
278
|
-
let a = r in n ? n[r] : /* @__PURE__ */
|
|
281
|
+
let a = r in n ? n[r] : /* @__PURE__ */ h(i), o = i["~run"]({ value: a }, t);
|
|
279
282
|
if (o.issues) {
|
|
280
283
|
let i = {
|
|
281
284
|
type: "object",
|
|
@@ -292,7 +295,7 @@ function S(e, t) {
|
|
|
292
295
|
}
|
|
293
296
|
o.typed || (e.typed = !1), e.value[r] = o.value;
|
|
294
297
|
} else if (i.fallback !== void 0) e.value[r] = /* @__PURE__ */ ne(i);
|
|
295
|
-
else if (i.type !== "exact_optional" && i.type !== "optional" && i.type !== "nullish" && (
|
|
298
|
+
else if (i.type !== "exact_optional" && i.type !== "optional" && i.type !== "nullish" && (f(this, "key", e, t, {
|
|
296
299
|
input: void 0,
|
|
297
300
|
expected: `"${r}"`,
|
|
298
301
|
path: [{
|
|
@@ -306,7 +309,7 @@ function S(e, t) {
|
|
|
306
309
|
}
|
|
307
310
|
if (!e.issues || !t.abortEarly) {
|
|
308
311
|
for (let r in n) if (!Object.prototype.hasOwnProperty.call(this.entries, r)) {
|
|
309
|
-
|
|
312
|
+
f(this, "key", e, t, {
|
|
310
313
|
input: r,
|
|
311
314
|
expected: "never",
|
|
312
315
|
path: [{
|
|
@@ -320,39 +323,39 @@ function S(e, t) {
|
|
|
320
323
|
break;
|
|
321
324
|
}
|
|
322
325
|
}
|
|
323
|
-
} else
|
|
326
|
+
} else f(this, "type", e, t);
|
|
324
327
|
return e;
|
|
325
328
|
}
|
|
326
329
|
});
|
|
327
330
|
}
|
|
328
331
|
/* @__NO_SIDE_EFFECTS__ */
|
|
329
|
-
function
|
|
330
|
-
return
|
|
332
|
+
function w(e) {
|
|
333
|
+
return m({
|
|
331
334
|
kind: "schema",
|
|
332
335
|
type: "string",
|
|
333
|
-
reference:
|
|
336
|
+
reference: w,
|
|
334
337
|
expects: "string",
|
|
335
338
|
async: !1,
|
|
336
339
|
message: e,
|
|
337
340
|
"~run"(e, t) {
|
|
338
|
-
return typeof e.value == "string" ? e.typed = !0 :
|
|
341
|
+
return typeof e.value == "string" ? e.typed = !0 : f(this, "type", e, t), e;
|
|
339
342
|
}
|
|
340
343
|
});
|
|
341
344
|
}
|
|
342
345
|
/* @__NO_SIDE_EFFECTS__ */
|
|
343
|
-
function
|
|
346
|
+
function T(e) {
|
|
344
347
|
let t;
|
|
345
348
|
if (e) for (let n of e) if (t) for (let e of n.issues) t.push(e);
|
|
346
349
|
else t = n.issues;
|
|
347
350
|
return t;
|
|
348
351
|
}
|
|
349
352
|
/* @__NO_SIDE_EFFECTS__ */
|
|
350
|
-
function
|
|
351
|
-
return
|
|
353
|
+
function E(e, t) {
|
|
354
|
+
return m({
|
|
352
355
|
kind: "schema",
|
|
353
356
|
type: "union",
|
|
354
|
-
reference:
|
|
355
|
-
expects: /* @__PURE__ */
|
|
357
|
+
reference: E,
|
|
358
|
+
expects: /* @__PURE__ */ te(e.map((e) => e.expects), "|"),
|
|
356
359
|
async: !1,
|
|
357
360
|
options: e,
|
|
358
361
|
message: t,
|
|
@@ -371,29 +374,29 @@ function T(e, t) {
|
|
|
371
374
|
if (n) return n;
|
|
372
375
|
if (r) {
|
|
373
376
|
if (r.length === 1) return r[0];
|
|
374
|
-
|
|
377
|
+
f(this, "type", e, t, { issues: /* @__PURE__ */ T(r) }), e.typed = !0;
|
|
375
378
|
} else if (i?.length === 1) return i[0];
|
|
376
|
-
else
|
|
379
|
+
else f(this, "type", e, t, { issues: /* @__PURE__ */ T(i) });
|
|
377
380
|
return e;
|
|
378
381
|
}
|
|
379
382
|
});
|
|
380
383
|
}
|
|
381
|
-
var
|
|
382
|
-
en: /* @__PURE__ */
|
|
383
|
-
es: /* @__PURE__ */
|
|
384
|
-
}),
|
|
385
|
-
id: /* @__PURE__ */
|
|
386
|
-
label: /* @__PURE__ */
|
|
387
|
-
en: /* @__PURE__ */
|
|
388
|
-
es: /* @__PURE__ */
|
|
384
|
+
var D = /* @__PURE__ */ C({
|
|
385
|
+
en: /* @__PURE__ */ w(),
|
|
386
|
+
es: /* @__PURE__ */ w()
|
|
387
|
+
}), re = {
|
|
388
|
+
id: /* @__PURE__ */ w(),
|
|
389
|
+
label: /* @__PURE__ */ C({
|
|
390
|
+
en: /* @__PURE__ */ x(/* @__PURE__ */ w()),
|
|
391
|
+
es: /* @__PURE__ */ x(/* @__PURE__ */ w())
|
|
389
392
|
}),
|
|
390
|
-
description: /* @__PURE__ */
|
|
391
|
-
en: /* @__PURE__ */
|
|
392
|
-
es: /* @__PURE__ */
|
|
393
|
+
description: /* @__PURE__ */ C({
|
|
394
|
+
en: /* @__PURE__ */ x(/* @__PURE__ */ w()),
|
|
395
|
+
es: /* @__PURE__ */ x(/* @__PURE__ */ w())
|
|
393
396
|
}),
|
|
394
|
-
icon: /* @__PURE__ */
|
|
395
|
-
iconDark: /* @__PURE__ */
|
|
396
|
-
}, O = (e) => /* @__PURE__ */
|
|
397
|
+
icon: /* @__PURE__ */ y(/* @__PURE__ */ w()),
|
|
398
|
+
iconDark: /* @__PURE__ */ y(/* @__PURE__ */ w())
|
|
399
|
+
}, O = (e) => /* @__PURE__ */ E(e.map((e) => /* @__PURE__ */ v(e))), ie = O([
|
|
397
400
|
"app",
|
|
398
401
|
"connector",
|
|
399
402
|
"connectorConnection",
|
|
@@ -415,33 +418,33 @@ var E = /* @__PURE__ */ S({
|
|
|
415
418
|
"presenter",
|
|
416
419
|
"presenterPresentation",
|
|
417
420
|
"tool"
|
|
418
|
-
]),
|
|
421
|
+
]), ae = O([
|
|
419
422
|
"danger",
|
|
420
423
|
"success",
|
|
421
424
|
"warning"
|
|
422
|
-
]),
|
|
425
|
+
]), k = O([
|
|
423
426
|
"alpha",
|
|
424
427
|
"beta",
|
|
425
428
|
"releaseCandidate",
|
|
426
429
|
"generalAvailability"
|
|
427
|
-
]),
|
|
428
|
-
color:
|
|
429
|
-
label: /* @__PURE__ */
|
|
430
|
+
]), oe = /* @__PURE__ */ C({
|
|
431
|
+
color: ae,
|
|
432
|
+
label: /* @__PURE__ */ w()
|
|
430
433
|
}), A = {
|
|
431
|
-
...
|
|
432
|
-
typeId:
|
|
433
|
-
},
|
|
434
|
+
...re,
|
|
435
|
+
typeId: ie
|
|
436
|
+
}, se = /* @__PURE__ */ C({
|
|
434
437
|
...A,
|
|
435
|
-
order: /* @__PURE__ */
|
|
436
|
-
path: /* @__PURE__ */
|
|
438
|
+
order: /* @__PURE__ */ b(),
|
|
439
|
+
path: /* @__PURE__ */ w()
|
|
437
440
|
}), j = {
|
|
438
441
|
...A,
|
|
439
|
-
firstCreatedAt: /* @__PURE__ */
|
|
440
|
-
lastUpdatedAt: /* @__PURE__ */
|
|
441
|
-
status: /* @__PURE__ */
|
|
442
|
-
statusId: /* @__PURE__ */
|
|
442
|
+
firstCreatedAt: /* @__PURE__ */ y(/* @__PURE__ */ b()),
|
|
443
|
+
lastUpdatedAt: /* @__PURE__ */ y(/* @__PURE__ */ b()),
|
|
444
|
+
status: /* @__PURE__ */ y(oe),
|
|
445
|
+
statusId: /* @__PURE__ */ y(k)
|
|
443
446
|
};
|
|
444
|
-
({ ...j }), O([
|
|
447
|
+
({ ...j }), c({ en: "Data Positioning Events" }), c({ en: "Delimited Text" }), c({ en: "JSON" }), c({ en: "SPSS" }), c({ en: "XLSX" }), c({ en: "XML" }), c({ en: "Newline" }), c({ en: "Carriage Return" }), c({ en: "Carriage Return/Newline" }), c({ en: "Colon" }), c({ en: "Comma" }), c({ en: "Exclamation Mark" }), c({ en: "Record Separator" }), c({ en: "Semicolon" }), c({ en: "Space" }), c({ en: "Tab" }), c({ en: "Underscore" }), c({ en: "Unit Separator" }), c({ en: "Vertical Bar" }), O([
|
|
445
448
|
"app",
|
|
446
449
|
"engine",
|
|
447
450
|
"connector",
|
|
@@ -449,19 +452,15 @@ var E = /* @__PURE__ */ S({
|
|
|
449
452
|
"presenter",
|
|
450
453
|
"tool"
|
|
451
454
|
]);
|
|
452
|
-
//#endregion
|
|
453
|
-
//#region node_modules/@dpuse/dpuse-shared/dist/moduleConfig.schema-aYmFWSrn.js
|
|
454
455
|
var M = {
|
|
455
456
|
...j,
|
|
456
|
-
vendorAccountURL: /* @__PURE__ */
|
|
457
|
-
vendorDocumentationURL: /* @__PURE__ */
|
|
458
|
-
vendorHomeURL: /* @__PURE__ */
|
|
459
|
-
version: /* @__PURE__ */
|
|
457
|
+
vendorAccountURL: /* @__PURE__ */ y(/* @__PURE__ */ w()),
|
|
458
|
+
vendorDocumentationURL: /* @__PURE__ */ y(/* @__PURE__ */ w()),
|
|
459
|
+
vendorHomeURL: /* @__PURE__ */ y(/* @__PURE__ */ w()),
|
|
460
|
+
version: /* @__PURE__ */ w()
|
|
460
461
|
};
|
|
461
462
|
({ ...M });
|
|
462
|
-
|
|
463
|
-
//#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared-componentModuleConnector.es.js
|
|
464
|
-
var se = O([
|
|
463
|
+
var ce = O([
|
|
465
464
|
"abortOperation",
|
|
466
465
|
"auditObjectContent",
|
|
467
466
|
"createObject",
|
|
@@ -477,38 +476,38 @@ var se = O([
|
|
|
477
476
|
"retrieveChunks",
|
|
478
477
|
"retrieveRecords",
|
|
479
478
|
"upsertRecords"
|
|
480
|
-
]),
|
|
479
|
+
]), le = O([
|
|
481
480
|
"application",
|
|
482
481
|
"curatedDataset",
|
|
483
482
|
"database",
|
|
484
483
|
"fileStore"
|
|
485
|
-
]),
|
|
484
|
+
]), ue = /* @__PURE__ */ C({ label: D }), de = O([
|
|
486
485
|
"bidirectional",
|
|
487
486
|
"destination",
|
|
488
487
|
"source",
|
|
489
488
|
"unknown"
|
|
490
|
-
]),
|
|
489
|
+
]), fe = /* @__PURE__ */ C({ label: D }), pe = /* @__PURE__ */ C({
|
|
491
490
|
authMethodId: O([
|
|
492
491
|
"apiKey",
|
|
493
492
|
"disabled",
|
|
494
493
|
"oAuth2",
|
|
495
494
|
"none"
|
|
496
495
|
]),
|
|
497
|
-
activeConnectionCount: /* @__PURE__ */
|
|
498
|
-
canDescribe: /* @__PURE__ */
|
|
499
|
-
id: /* @__PURE__ */
|
|
500
|
-
label: /* @__PURE__ */
|
|
501
|
-
maxConnectionCount: /* @__PURE__ */
|
|
502
|
-
params: /* @__PURE__ */
|
|
503
|
-
}),
|
|
496
|
+
activeConnectionCount: /* @__PURE__ */ x(/* @__PURE__ */ b()),
|
|
497
|
+
canDescribe: /* @__PURE__ */ x(/* @__PURE__ */ _()),
|
|
498
|
+
id: /* @__PURE__ */ x(/* @__PURE__ */ w()),
|
|
499
|
+
label: /* @__PURE__ */ x(D),
|
|
500
|
+
maxConnectionCount: /* @__PURE__ */ y(/* @__PURE__ */ b()),
|
|
501
|
+
params: /* @__PURE__ */ x(/* @__PURE__ */ g(/* @__PURE__ */ S(/* @__PURE__ */ w(), /* @__PURE__ */ w())))
|
|
502
|
+
}), me = /* @__PURE__ */ C({
|
|
504
503
|
...M,
|
|
505
|
-
typeId: /* @__PURE__ */
|
|
506
|
-
actionNames: /* @__PURE__ */
|
|
507
|
-
category: /* @__PURE__ */
|
|
508
|
-
categoryId:
|
|
509
|
-
implementations: /* @__PURE__ */
|
|
510
|
-
usage: /* @__PURE__ */
|
|
511
|
-
usageId: /* @__PURE__ */
|
|
504
|
+
typeId: /* @__PURE__ */ v("connector"),
|
|
505
|
+
actionNames: /* @__PURE__ */ g(ce),
|
|
506
|
+
category: /* @__PURE__ */ y(ue),
|
|
507
|
+
categoryId: le,
|
|
508
|
+
implementations: /* @__PURE__ */ S(/* @__PURE__ */ w(), pe),
|
|
509
|
+
usage: /* @__PURE__ */ y(fe),
|
|
510
|
+
usageId: /* @__PURE__ */ y(de)
|
|
512
511
|
}), N = {
|
|
513
512
|
abortOperation: "Abort Operation",
|
|
514
513
|
auditObjectContent: "Audit Object Content",
|
|
@@ -552,18 +551,17 @@ function L(e) {
|
|
|
552
551
|
for (let e of Object.keys(N)) n += `| ${N[e]} | ${t.has(e) ? "✓" : ""} |\n`;
|
|
553
552
|
return n;
|
|
554
553
|
}
|
|
555
|
-
|
|
556
|
-
//#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared-componentModulePresenter.es.js
|
|
554
|
+
O(["list"]), { ...M };
|
|
557
555
|
var R = O([
|
|
558
556
|
"list",
|
|
559
557
|
"render",
|
|
560
558
|
"setColorMode"
|
|
561
|
-
]), z = /* @__PURE__ */
|
|
559
|
+
]), z = /* @__PURE__ */ C({
|
|
562
560
|
...M,
|
|
563
|
-
typeId: /* @__PURE__ */
|
|
564
|
-
actionNames: /* @__PURE__ */
|
|
565
|
-
presentations: /* @__PURE__ */
|
|
566
|
-
}), B = "code-health-reports/fallow",
|
|
561
|
+
typeId: /* @__PURE__ */ v("presenter"),
|
|
562
|
+
actionNames: /* @__PURE__ */ g(R),
|
|
563
|
+
presentations: /* @__PURE__ */ g(se)
|
|
564
|
+
}), B = "code-health-reports/fallow", he = `${B}/badge.json`, ge = `${B}/index.md`, V = "<!-- CONTRIBUTING_LICENSE_END -->", H = "<!-- CONTRIBUTING_LICENSE_START -->", _e = "<!-- GOVERNANCE_END -->", U = "<!-- GOVERNANCE_START -->", W = "<!-- QUALITY_SECURITY_END -->", G = "<!-- QUALITY_SECURITY_START -->", ve = [
|
|
567
565
|
{
|
|
568
566
|
idPrefix: "dpuse-app",
|
|
569
567
|
typeId: "app",
|
|
@@ -650,7 +648,7 @@ var R = O([
|
|
|
650
648
|
}
|
|
651
649
|
], ye = n(r);
|
|
652
650
|
async function be(n, r) {
|
|
653
|
-
n !== void 0 &&
|
|
651
|
+
n !== void 0 && Z(`${n} - clear(${r})`);
|
|
654
652
|
let i;
|
|
655
653
|
try {
|
|
656
654
|
i = await e.readdir(r, { withFileTypes: !0 });
|
|
@@ -674,12 +672,12 @@ async function xe(t, n) {
|
|
|
674
672
|
return e.readdir(t, n);
|
|
675
673
|
}
|
|
676
674
|
async function Se(t, n, r, i) {
|
|
677
|
-
t !== void 0 &&
|
|
675
|
+
t !== void 0 && Z(`${t} - exec(${n} ${r.join(" ")})`);
|
|
678
676
|
let { stdout: a, stderr: o } = await ye(n, r);
|
|
679
677
|
i === void 0 ? a.trim() && console.log(a.trim()) : await e.writeFile(i, a.trim(), "utf-8"), o.trim() && console.error(o.trim());
|
|
680
678
|
}
|
|
681
679
|
async function Ce(e, t, n, r = !1, a = !1) {
|
|
682
|
-
return
|
|
680
|
+
return Z(`${e} - spawn(${t} ${n.join(" ")})`), new Promise((e, o) => {
|
|
683
681
|
i(t, n, {
|
|
684
682
|
shell: a,
|
|
685
683
|
stdio: "inherit"
|
|
@@ -689,7 +687,7 @@ async function Ce(e, t, n, r = !1, a = !1) {
|
|
|
689
687
|
});
|
|
690
688
|
}
|
|
691
689
|
async function we(n, r, a, o, s = !1) {
|
|
692
|
-
return
|
|
690
|
+
return Z(`${n} - spawn(${r} ${a.join(" ")}) > ${o}`), new Promise((n, c) => {
|
|
693
691
|
let l = i(r, a, {
|
|
694
692
|
shell: !1,
|
|
695
693
|
stdio: [
|
|
@@ -712,18 +710,18 @@ async function we(n, r, a, o, s = !1) {
|
|
|
712
710
|
});
|
|
713
711
|
}
|
|
714
712
|
async function Te() {
|
|
715
|
-
let e = await
|
|
713
|
+
let e = await q("./README.md"), t = e.indexOf(U), n = e.indexOf(_e);
|
|
716
714
|
if (t === -1 || n === -1) return;
|
|
717
|
-
let r = `${
|
|
718
|
-
await
|
|
715
|
+
let r = `${G}\n${W}\n\n${H}\n${V}`;
|
|
716
|
+
await X("README.md", `${e.slice(0, t)}${r}${e.slice(n + 23)}`);
|
|
719
717
|
}
|
|
720
|
-
async function
|
|
718
|
+
async function K(t) {
|
|
721
719
|
return JSON.parse(await e.readFile(t, "utf-8"));
|
|
722
720
|
}
|
|
723
|
-
async function
|
|
721
|
+
async function q(t) {
|
|
724
722
|
return await e.readFile(t, "utf-8");
|
|
725
723
|
}
|
|
726
|
-
async function
|
|
724
|
+
async function J(t) {
|
|
727
725
|
try {
|
|
728
726
|
return await e.readFile(t, "utf-8");
|
|
729
727
|
} catch (e) {
|
|
@@ -731,13 +729,13 @@ async function q(t) {
|
|
|
731
729
|
throw e;
|
|
732
730
|
}
|
|
733
731
|
}
|
|
734
|
-
async function
|
|
732
|
+
async function Y(n, r) {
|
|
735
733
|
await e.mkdir(t.dirname(n), { recursive: !0 }), await e.writeFile(n, `${JSON.stringify(r, void 0, 4)}\n`, "utf-8");
|
|
736
734
|
}
|
|
737
735
|
async function Ee(e, t, n) {
|
|
738
|
-
await
|
|
736
|
+
await X("README.md", Le(await q("./README.md"), e, t, n));
|
|
739
737
|
}
|
|
740
|
-
async function
|
|
738
|
+
async function X(t, n) {
|
|
741
739
|
await e.writeFile(t, n, "utf-8");
|
|
742
740
|
}
|
|
743
741
|
function De(e) {
|
|
@@ -746,7 +744,7 @@ function De(e) {
|
|
|
746
744
|
function Oe(e) {
|
|
747
745
|
console.info(`✅ ${e}`);
|
|
748
746
|
}
|
|
749
|
-
function
|
|
747
|
+
function Z(e) {
|
|
750
748
|
console.info(e);
|
|
751
749
|
}
|
|
752
750
|
function ke(e) {
|
|
@@ -754,7 +752,7 @@ function ke(e) {
|
|
|
754
752
|
if (!t) throw Error(`Failed to locate module type configuration for identifier '${e}'.`);
|
|
755
753
|
return t;
|
|
756
754
|
}
|
|
757
|
-
function
|
|
755
|
+
function Ae(e, t) {
|
|
758
756
|
let n = e.repository, r = typeof n == "string" ? n : n?.url;
|
|
759
757
|
if (r == null || r === "") throw Error(`package.json 'repository' field is required to ${t}.`);
|
|
760
758
|
let i = r.replace(/^git\+/, "").replace(/\.git$/, ""), a = /github\.com[/:]([^/]+)\/([^/]+)$/.exec(i);
|
|
@@ -764,23 +762,23 @@ function Z(e, t) {
|
|
|
764
762
|
repo: a[2]
|
|
765
763
|
};
|
|
766
764
|
}
|
|
767
|
-
async function
|
|
765
|
+
async function je(t) {
|
|
768
766
|
return await e.stat(t);
|
|
769
767
|
}
|
|
770
|
-
async function
|
|
768
|
+
async function Me(e, t, n) {
|
|
771
769
|
switch (n.typeId) {
|
|
772
|
-
case "connector": return await
|
|
773
|
-
case "presenter": return await
|
|
774
|
-
default: return await
|
|
770
|
+
case "connector": return await Pe(e, t);
|
|
771
|
+
case "presenter": return await Fe(e, t);
|
|
772
|
+
default: return await Ie(e, t);
|
|
775
773
|
}
|
|
776
774
|
}
|
|
777
|
-
async function
|
|
778
|
-
if (
|
|
775
|
+
async function Ne(e, t, n = "./") {
|
|
776
|
+
if (Z(`${e} Bump project version`), t.version == null) t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`);
|
|
779
777
|
else {
|
|
780
778
|
let e = t.version, n = t.version.split(".");
|
|
781
779
|
t.version = `${n[0] ?? "unknown"}.${n[1] ?? "unknown"}.${String(Number(n[2]) + 1)}`, console.info(`Project version bumped from '${e}' to '${t.version}'.`);
|
|
782
780
|
}
|
|
783
|
-
await
|
|
781
|
+
await Y(`${n}package.json`, t);
|
|
784
782
|
}
|
|
785
783
|
async function Q(e) {
|
|
786
784
|
let { default: t } = await import("typescript"), n = t.createSourceFile("index.ts", e, t.ScriptTarget.Latest, !0), r = [], i = (e) => {
|
|
@@ -788,32 +786,32 @@ async function Q(e) {
|
|
|
788
786
|
};
|
|
789
787
|
return i(n), r;
|
|
790
788
|
}
|
|
791
|
-
async function
|
|
792
|
-
|
|
793
|
-
let [n, r] = await Promise.all([
|
|
789
|
+
async function Pe(e, t) {
|
|
790
|
+
Z(`${e} Build connector project configuration`);
|
|
791
|
+
let [n, r] = await Promise.all([K("config.json"), q("src/index.ts")]), i = /* @__PURE__ */ s(me, n);
|
|
794
792
|
if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid");
|
|
795
793
|
let a = await Q(r);
|
|
796
794
|
return await $(t, n, a, I(a));
|
|
797
795
|
}
|
|
798
|
-
async function
|
|
799
|
-
|
|
800
|
-
let [n, r] = await Promise.all([
|
|
796
|
+
async function Fe(e, t) {
|
|
797
|
+
Z(`${e} Build presenter project configuration`);
|
|
798
|
+
let [n, r] = await Promise.all([K("config.json"), q("src/index.ts")]), i = /* @__PURE__ */ s(z, n);
|
|
801
799
|
if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid");
|
|
802
800
|
return await $(t, n, await Q(r));
|
|
803
801
|
}
|
|
804
|
-
async function
|
|
805
|
-
|
|
806
|
-
let n = await
|
|
807
|
-
return t.name != null && (n.id = t.name.replace("@dpuse/", "")), t.version != null && (n.version = t.version), n.icon ??= await
|
|
802
|
+
async function Ie(e, t) {
|
|
803
|
+
Z(`${e} Build project configuration`);
|
|
804
|
+
let n = await K("config.json");
|
|
805
|
+
return t.name != null && (n.id = t.name.replace("@dpuse/", "")), t.version != null && (n.version = t.version), n.icon ??= await J("logo.svg"), n.iconDark ??= await J("logoDark.svg"), await Y("config.json", n), n;
|
|
808
806
|
}
|
|
809
807
|
async function $(e, t, n, r) {
|
|
810
|
-
return n.length > 0 ? (console.info(`ℹ️ Implements ${String(n.length)} operations:`), console.table(n)) : console.warn("⚠️ Implements no operations"), r === "unknown" ? console.warn("⚠️ No usage identified") : r && console.info(`ℹ️ Supports '${r}' usage.`), e.name != null && (t.id = e.name.replace("@dpuse/", "").replace("@dpuse/", "")), e.version != null && (t.version = e.version), t.actionNames = n, r !== void 0 && (t.usageId = r), await
|
|
808
|
+
return n.length > 0 ? (console.info(`ℹ️ Implements ${String(n.length)} operations:`), console.table(n)) : console.warn("⚠️ Implements no operations"), r === "unknown" ? console.warn("⚠️ No usage identified") : r && console.info(`ℹ️ Supports '${r}' usage.`), e.name != null && (t.id = e.name.replace("@dpuse/", "").replace("@dpuse/", "")), e.version != null && (t.version = e.version), t.actionNames = n, r !== void 0 && (t.usageId = r), await Y("config.json", t), t;
|
|
811
809
|
}
|
|
812
|
-
function
|
|
810
|
+
function Le(e, t, n, r) {
|
|
813
811
|
let i = e.indexOf(n), a = e.indexOf(r);
|
|
814
812
|
if (i === -1 || a === -1) throw Error(`Markers ${n}-${r} not found in content.`);
|
|
815
813
|
let o = t.trim();
|
|
816
814
|
return `${e.slice(0, Math.max(0, i + n.length))}\n\n${o}\n\n${e.slice(Math.max(0, a))}`;
|
|
817
815
|
}
|
|
818
816
|
//#endregion
|
|
819
|
-
export { Ce as C,
|
|
817
|
+
export { Ce as C, X as D, Ee as E, I as O, Ae as S, Y as T, Z as _, ge as a, q as b, Me as c, Se as d, xe as f, Oe as g, De as h, B as i, L as k, Ne as l, je as m, H as n, W as o, ke as p, he as r, G as s, V as t, be as u, Te as v, we as w, J as x, K as y };
|