@shipeasy/devtools-core 1.0.0 → 1.1.0
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/api.d.mts +8 -6
- package/dist/api.d.ts +8 -6
- package/dist/api.js +2 -2
- package/dist/api.mjs +1 -1
- package/dist/auth.d.mts +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/{chunk-LZDNBMH6.mjs → chunk-2OCBQ2OL.mjs} +2 -2
- package/dist/{chunk-YQHCUZGP.js → chunk-ASXJAFDB.js} +2 -2
- package/dist/{chunk-GUTBZI2O.js → chunk-EQXG5LAB.js} +1287 -433
- package/dist/{chunk-RANNOC72.js → chunk-FR73VSZ3.js} +5 -3
- package/dist/{chunk-WP2TWHG3.mjs → chunk-HZ57U4GY.mjs} +4 -2
- package/dist/{chunk-6SU5REDK.mjs → chunk-T44BKE47.mjs} +1287 -433
- package/dist/feedback-state.d.mts +1 -1
- package/dist/feedback-state.d.ts +1 -1
- package/dist/forms.d.mts +35 -9
- package/dist/forms.d.ts +35 -9
- package/dist/forms.js +2 -2
- package/dist/forms.mjs +1 -1
- package/dist/gate-flow.d.mts +1 -1
- package/dist/gate-flow.d.ts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/public-report.d.mts +8 -0
- package/dist/public-report.d.ts +8 -0
- package/dist/public-report.js +2 -2
- package/dist/public-report.mjs +1 -1
- package/dist/{types-D0sroUDD.d.mts → types-CxDUzTNE.d.mts} +1 -1
- package/dist/{types-D0sroUDD.d.ts → types-CxDUzTNE.d.ts} +1 -1
- package/dist/{zod.gen-DTKpgw-T.d.mts → zod.gen-DDBVM1nI.d.mts} +26 -0
- package/dist/{zod.gen-DTKpgw-T.d.ts → zod.gen-DDBVM1nI.d.ts} +26 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
var _chunkKPO3R7NDjs = require('./chunk-KPO3R7ND.js');
|
|
@@ -43,7 +43,8 @@ async function submitPublicBug(input, opts) {
|
|
|
43
43
|
...input.description ? { description: input.description } : {},
|
|
44
44
|
...input.reporterEmail ? { reporter_email: input.reporterEmail } : {},
|
|
45
45
|
...input.step ? { step: input.step } : {},
|
|
46
|
-
...input.context ? { context: input.context } : {}
|
|
46
|
+
...input.context ? { context: input.context } : {},
|
|
47
|
+
..._optionalChain([input, 'access', _ => _.tags, 'optionalAccess', _2 => _2.length]) ? { tags: input.tags } : {}
|
|
47
48
|
},
|
|
48
49
|
opts,
|
|
49
50
|
"Bug report"
|
|
@@ -58,7 +59,8 @@ async function submitPublicFeature(input, opts) {
|
|
|
58
59
|
...input.useCase ? { use_case: input.useCase } : {},
|
|
59
60
|
...input.reporterEmail ? { reporter_email: input.reporterEmail } : {},
|
|
60
61
|
...input.step ? { step: input.step } : {},
|
|
61
|
-
...input.context ? { context: input.context } : {}
|
|
62
|
+
...input.context ? { context: input.context } : {},
|
|
63
|
+
..._optionalChain([input, 'access', _3 => _3.tags, 'optionalAccess', _4 => _4.length]) ? { tags: input.tags } : {}
|
|
62
64
|
},
|
|
63
65
|
opts,
|
|
64
66
|
"Feature request"
|
|
@@ -43,7 +43,8 @@ async function submitPublicBug(input, opts) {
|
|
|
43
43
|
...input.description ? { description: input.description } : {},
|
|
44
44
|
...input.reporterEmail ? { reporter_email: input.reporterEmail } : {},
|
|
45
45
|
...input.step ? { step: input.step } : {},
|
|
46
|
-
...input.context ? { context: input.context } : {}
|
|
46
|
+
...input.context ? { context: input.context } : {},
|
|
47
|
+
...input.tags?.length ? { tags: input.tags } : {}
|
|
47
48
|
},
|
|
48
49
|
opts,
|
|
49
50
|
"Bug report"
|
|
@@ -58,7 +59,8 @@ async function submitPublicFeature(input, opts) {
|
|
|
58
59
|
...input.useCase ? { use_case: input.useCase } : {},
|
|
59
60
|
...input.reporterEmail ? { reporter_email: input.reporterEmail } : {},
|
|
60
61
|
...input.step ? { step: input.step } : {},
|
|
61
|
-
...input.context ? { context: input.context } : {}
|
|
62
|
+
...input.context ? { context: input.context } : {},
|
|
63
|
+
...input.tags?.length ? { tags: input.tags } : {}
|
|
62
64
|
},
|
|
63
65
|
opts,
|
|
64
66
|
"Feature request"
|