@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
package/dist/feedback-state.d.ts
CHANGED
package/dist/forms.d.mts
CHANGED
|
@@ -1,25 +1,38 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { C as CreateBugRequestInput, a as CreateFeatureRequestRequestInput } from './zod.gen-
|
|
3
|
-
export { z as zCreateBugRequest, b as zCreateFeatureRequestRequest } from './zod.gen-
|
|
2
|
+
import { C as CreateBugRequestInput, a as CreateFeatureRequestRequestInput } from './zod.gen-DDBVM1nI.mjs';
|
|
3
|
+
export { z as zCreateBugRequest, b as zCreateFeatureRequestRequest } from './zod.gen-DDBVM1nI.mjs';
|
|
4
4
|
import { PublicBugInput, PublicFeatureInput } from './public-report.mjs';
|
|
5
5
|
|
|
6
6
|
/** The editable bug-form fields (the `type` discriminator is injected at
|
|
7
7
|
* submit time; auto-captured context is layered on separately). */
|
|
8
8
|
declare const bugFormSchema: z.ZodObject<{
|
|
9
9
|
title: z.ZodString;
|
|
10
|
+
stepsToReproduce: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11
|
+
actualResult: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
12
|
+
expectedResult: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10
13
|
priority: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
11
14
|
nice_to_have: "nice_to_have";
|
|
12
15
|
medium: "medium";
|
|
13
16
|
high: "high";
|
|
14
17
|
critical: "critical";
|
|
15
18
|
}>>>;
|
|
19
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
20
|
+
open: "open";
|
|
21
|
+
pending_approval: "pending_approval";
|
|
22
|
+
investigating_by_ai: "investigating_by_ai";
|
|
23
|
+
in_progress: "in_progress";
|
|
24
|
+
blocked: "blocked";
|
|
25
|
+
ready_for_qa: "ready_for_qa";
|
|
26
|
+
resolved: "resolved";
|
|
27
|
+
wont_fix: "wont_fix";
|
|
28
|
+
}>>;
|
|
29
|
+
assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEmail>>>;
|
|
31
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
32
|
+
reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
16
33
|
pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
17
34
|
userAgent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
35
|
viewport: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
20
|
-
stepsToReproduce: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21
|
-
actualResult: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22
|
-
expectedResult: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23
36
|
context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
37
|
notify: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodObject<{
|
|
25
38
|
slackChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -34,7 +47,6 @@ type BugFormValues = Omit<CreateBugRequestInput, "type">;
|
|
|
34
47
|
type BugFormInput = z.input<typeof bugFormSchema>;
|
|
35
48
|
/** The editable feature-request-form fields. */
|
|
36
49
|
declare const featureFormSchema: z.ZodObject<{
|
|
37
|
-
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
38
50
|
title: z.ZodString;
|
|
39
51
|
priority: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
40
52
|
nice_to_have: "nice_to_have";
|
|
@@ -42,10 +54,22 @@ declare const featureFormSchema: z.ZodObject<{
|
|
|
42
54
|
high: "high";
|
|
43
55
|
critical: "critical";
|
|
44
56
|
}>>>;
|
|
57
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
58
|
+
open: "open";
|
|
59
|
+
pending_approval: "pending_approval";
|
|
60
|
+
investigating_by_ai: "investigating_by_ai";
|
|
61
|
+
in_progress: "in_progress";
|
|
62
|
+
blocked: "blocked";
|
|
63
|
+
ready_for_qa: "ready_for_qa";
|
|
64
|
+
resolved: "resolved";
|
|
65
|
+
wont_fix: "wont_fix";
|
|
66
|
+
}>>;
|
|
67
|
+
assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEmail>>>;
|
|
69
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
70
|
+
reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
45
71
|
pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
46
72
|
userAgent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
48
|
-
useCase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
49
73
|
context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
50
74
|
notify: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodObject<{
|
|
51
75
|
slackChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -54,6 +78,8 @@ declare const featureFormSchema: z.ZodObject<{
|
|
|
54
78
|
}, z.core.$strip>>>;
|
|
55
79
|
email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
56
80
|
}, z.core.$strip>>>>;
|
|
81
|
+
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
82
|
+
useCase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
57
83
|
}, z.core.$strip>;
|
|
58
84
|
type FeatureFormValues = Omit<CreateFeatureRequestRequestInput, "type">;
|
|
59
85
|
/** Pre-parse shape (defaults not yet applied) — what a form editor holds. */
|
package/dist/forms.d.ts
CHANGED
|
@@ -1,25 +1,38 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { C as CreateBugRequestInput, a as CreateFeatureRequestRequestInput } from './zod.gen-
|
|
3
|
-
export { z as zCreateBugRequest, b as zCreateFeatureRequestRequest } from './zod.gen-
|
|
2
|
+
import { C as CreateBugRequestInput, a as CreateFeatureRequestRequestInput } from './zod.gen-DDBVM1nI.js';
|
|
3
|
+
export { z as zCreateBugRequest, b as zCreateFeatureRequestRequest } from './zod.gen-DDBVM1nI.js';
|
|
4
4
|
import { PublicBugInput, PublicFeatureInput } from './public-report.js';
|
|
5
5
|
|
|
6
6
|
/** The editable bug-form fields (the `type` discriminator is injected at
|
|
7
7
|
* submit time; auto-captured context is layered on separately). */
|
|
8
8
|
declare const bugFormSchema: z.ZodObject<{
|
|
9
9
|
title: z.ZodString;
|
|
10
|
+
stepsToReproduce: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11
|
+
actualResult: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
12
|
+
expectedResult: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10
13
|
priority: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
11
14
|
nice_to_have: "nice_to_have";
|
|
12
15
|
medium: "medium";
|
|
13
16
|
high: "high";
|
|
14
17
|
critical: "critical";
|
|
15
18
|
}>>>;
|
|
19
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
20
|
+
open: "open";
|
|
21
|
+
pending_approval: "pending_approval";
|
|
22
|
+
investigating_by_ai: "investigating_by_ai";
|
|
23
|
+
in_progress: "in_progress";
|
|
24
|
+
blocked: "blocked";
|
|
25
|
+
ready_for_qa: "ready_for_qa";
|
|
26
|
+
resolved: "resolved";
|
|
27
|
+
wont_fix: "wont_fix";
|
|
28
|
+
}>>;
|
|
29
|
+
assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEmail>>>;
|
|
31
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
32
|
+
reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
16
33
|
pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
17
34
|
userAgent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
35
|
viewport: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
20
|
-
stepsToReproduce: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21
|
-
actualResult: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22
|
-
expectedResult: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23
36
|
context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
37
|
notify: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodObject<{
|
|
25
38
|
slackChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -34,7 +47,6 @@ type BugFormValues = Omit<CreateBugRequestInput, "type">;
|
|
|
34
47
|
type BugFormInput = z.input<typeof bugFormSchema>;
|
|
35
48
|
/** The editable feature-request-form fields. */
|
|
36
49
|
declare const featureFormSchema: z.ZodObject<{
|
|
37
|
-
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
38
50
|
title: z.ZodString;
|
|
39
51
|
priority: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
40
52
|
nice_to_have: "nice_to_have";
|
|
@@ -42,10 +54,22 @@ declare const featureFormSchema: z.ZodObject<{
|
|
|
42
54
|
high: "high";
|
|
43
55
|
critical: "critical";
|
|
44
56
|
}>>>;
|
|
57
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
58
|
+
open: "open";
|
|
59
|
+
pending_approval: "pending_approval";
|
|
60
|
+
investigating_by_ai: "investigating_by_ai";
|
|
61
|
+
in_progress: "in_progress";
|
|
62
|
+
blocked: "blocked";
|
|
63
|
+
ready_for_qa: "ready_for_qa";
|
|
64
|
+
resolved: "resolved";
|
|
65
|
+
wont_fix: "wont_fix";
|
|
66
|
+
}>>;
|
|
67
|
+
assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEmail>>>;
|
|
69
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
70
|
+
reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
45
71
|
pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
46
72
|
userAgent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
48
|
-
useCase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
49
73
|
context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
50
74
|
notify: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodObject<{
|
|
51
75
|
slackChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -54,6 +78,8 @@ declare const featureFormSchema: z.ZodObject<{
|
|
|
54
78
|
}, z.core.$strip>>>;
|
|
55
79
|
email: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
56
80
|
}, z.core.$strip>>>>;
|
|
81
|
+
description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
82
|
+
useCase: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
57
83
|
}, z.core.$strip>;
|
|
58
84
|
type FeatureFormValues = Omit<CreateFeatureRequestRequestInput, "type">;
|
|
59
85
|
/** Pre-parse shape (defaults not yet applied) — what a form editor holds. */
|
package/dist/forms.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkEQXG5LABjs = require('./chunk-EQXG5LAB.js');
|
|
11
11
|
require('./chunk-I2KLQ2HA.js');
|
|
12
12
|
|
|
13
13
|
|
|
@@ -18,4 +18,4 @@ require('./chunk-I2KLQ2HA.js');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
exports.bugFormSchema =
|
|
21
|
+
exports.bugFormSchema = _chunkEQXG5LABjs.bugFormSchema; exports.bugFormToPublicInput = _chunkEQXG5LABjs.bugFormToPublicInput; exports.featureFormSchema = _chunkEQXG5LABjs.featureFormSchema; exports.featureFormToPublicInput = _chunkEQXG5LABjs.featureFormToPublicInput; exports.validateBugForm = _chunkEQXG5LABjs.validateBugForm; exports.validateFeatureForm = _chunkEQXG5LABjs.validateFeatureForm; exports.zCreateBugRequest = _chunkEQXG5LABjs.zCreateBugRequest; exports.zCreateFeatureRequestRequest = _chunkEQXG5LABjs.zCreateFeatureRequestRequest;
|
package/dist/forms.mjs
CHANGED
package/dist/gate-flow.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as GateRule, G as GateRecord } from './types-
|
|
1
|
+
import { j as GateRule, G as GateRecord } from './types-CxDUzTNE.mjs';
|
|
2
2
|
|
|
3
3
|
type StepSource = "user" | "auto" | "whitelist" | "public";
|
|
4
4
|
/** Whether the current user satisfies a step's predicate. `n/a` = not an
|
package/dist/gate-flow.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as GateRule, G as GateRecord } from './types-
|
|
1
|
+
import { j as GateRule, G as GateRecord } from './types-CxDUzTNE.js';
|
|
2
2
|
|
|
3
3
|
type StepSource = "user" | "auto" | "whitelist" | "public";
|
|
4
4
|
/** Whether the current user satisfies a step's predicate. `n/a` = not an
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AttachmentRecord, a as AttachmentUploadResult, B as BugDetail, b as BugPriority, c as BugRecord, d as BugStatus, C as ConfigRecord, D as DEFAULT_ADMIN_BASE_URL, e as DEFAULT_EDGE_BASE_URL, f as DevtoolsSession, g as DraftRecord, E as ExperimentRecord, F as FeatureRequestDetail, h as FeatureRequestRecord, i as FeedbackConnectorData, G as GateRecord, j as GateRule, k as GateStackEntry, K as KeyRecord, O as OpsItemDetail, l as OpsItemType, P as PERMISSIVE_CONFIG_SCHEMA, m as ProfileRecord, n as ProjectModules, o as ProjectRecord, U as UniverseRecord } from './types-
|
|
1
|
+
export { A as AttachmentRecord, a as AttachmentUploadResult, B as BugDetail, b as BugPriority, c as BugRecord, d as BugStatus, C as ConfigRecord, D as DEFAULT_ADMIN_BASE_URL, e as DEFAULT_EDGE_BASE_URL, f as DevtoolsSession, g as DraftRecord, E as ExperimentRecord, F as FeatureRequestDetail, h as FeatureRequestRecord, i as FeedbackConnectorData, G as GateRecord, j as GateRule, k as GateStackEntry, K as KeyRecord, O as OpsItemDetail, l as OpsItemType, P as PERMISSIVE_CONFIG_SCHEMA, m as ProfileRecord, n as ProjectModules, o as ProjectRecord, U as UniverseRecord } from './types-CxDUzTNE.mjs';
|
|
2
2
|
export { AuthError, DevtoolsClient, DevtoolsClientOptions } from './api.mjs';
|
|
3
3
|
export { CapabilitiesBridge, DevtoolsCapabilities, DevtoolsEngineBridge, DevtoolsOverridesSnapshot, DevtoolsStateEvent, ENGINE_BRIDGE_KEY, readDevtoolsCapabilities, readEngineBridge, watchDevtoolsCapabilities, watchEngineBridge } from '@shipeasy/sdk/devtools-contract';
|
|
4
4
|
export { AuthSessionResult, DeviceAuthAdapters, DeviceAuthOptions, LoginCancelled, parseDeepLinkQuery, startDeviceAuth } from './auth.mjs';
|
|
@@ -6,5 +6,5 @@ export { PublicBugInput, PublicBugResult, PublicFeatureInput, PublicTicketsDisab
|
|
|
6
6
|
export { BugFormValues, FeatureFormValues, FormErrors, bugFormSchema, bugFormToPublicInput, featureFormSchema, featureFormToPublicInput, validateBugForm, validateFeatureForm } from './forms.mjs';
|
|
7
7
|
export { GateFlowStep, OP_LABELS, StepMatch, StepSource, buildGateFlow, evalRule, evalStepMatch, fmtValue, ruleSummary } from './gate-flow.mjs';
|
|
8
8
|
export { FEEDBACK_AGENT_LABEL, FeedbackAgentInfo, FeedbackAgentState, feedbackAgentInfo } from './feedback-state.mjs';
|
|
9
|
-
export { C as CreateBugRequestInput, a as CreateFeatureRequestRequestInput, z as zCreateBugRequest, b as zCreateFeatureRequestRequest } from './zod.gen-
|
|
9
|
+
export { C as CreateBugRequestInput, a as CreateFeatureRequestRequestInput, z as zCreateBugRequest, b as zCreateFeatureRequestRequest } from './zod.gen-DDBVM1nI.mjs';
|
|
10
10
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AttachmentRecord, a as AttachmentUploadResult, B as BugDetail, b as BugPriority, c as BugRecord, d as BugStatus, C as ConfigRecord, D as DEFAULT_ADMIN_BASE_URL, e as DEFAULT_EDGE_BASE_URL, f as DevtoolsSession, g as DraftRecord, E as ExperimentRecord, F as FeatureRequestDetail, h as FeatureRequestRecord, i as FeedbackConnectorData, G as GateRecord, j as GateRule, k as GateStackEntry, K as KeyRecord, O as OpsItemDetail, l as OpsItemType, P as PERMISSIVE_CONFIG_SCHEMA, m as ProfileRecord, n as ProjectModules, o as ProjectRecord, U as UniverseRecord } from './types-
|
|
1
|
+
export { A as AttachmentRecord, a as AttachmentUploadResult, B as BugDetail, b as BugPriority, c as BugRecord, d as BugStatus, C as ConfigRecord, D as DEFAULT_ADMIN_BASE_URL, e as DEFAULT_EDGE_BASE_URL, f as DevtoolsSession, g as DraftRecord, E as ExperimentRecord, F as FeatureRequestDetail, h as FeatureRequestRecord, i as FeedbackConnectorData, G as GateRecord, j as GateRule, k as GateStackEntry, K as KeyRecord, O as OpsItemDetail, l as OpsItemType, P as PERMISSIVE_CONFIG_SCHEMA, m as ProfileRecord, n as ProjectModules, o as ProjectRecord, U as UniverseRecord } from './types-CxDUzTNE.js';
|
|
2
2
|
export { AuthError, DevtoolsClient, DevtoolsClientOptions } from './api.js';
|
|
3
3
|
export { CapabilitiesBridge, DevtoolsCapabilities, DevtoolsEngineBridge, DevtoolsOverridesSnapshot, DevtoolsStateEvent, ENGINE_BRIDGE_KEY, readDevtoolsCapabilities, readEngineBridge, watchDevtoolsCapabilities, watchEngineBridge } from '@shipeasy/sdk/devtools-contract';
|
|
4
4
|
export { AuthSessionResult, DeviceAuthAdapters, DeviceAuthOptions, LoginCancelled, parseDeepLinkQuery, startDeviceAuth } from './auth.js';
|
|
@@ -6,5 +6,5 @@ export { PublicBugInput, PublicBugResult, PublicFeatureInput, PublicTicketsDisab
|
|
|
6
6
|
export { BugFormValues, FeatureFormValues, FormErrors, bugFormSchema, bugFormToPublicInput, featureFormSchema, featureFormToPublicInput, validateBugForm, validateFeatureForm } from './forms.js';
|
|
7
7
|
export { GateFlowStep, OP_LABELS, StepMatch, StepSource, buildGateFlow, evalRule, evalStepMatch, fmtValue, ruleSummary } from './gate-flow.js';
|
|
8
8
|
export { FEEDBACK_AGENT_LABEL, FeedbackAgentInfo, FeedbackAgentState, feedbackAgentInfo } from './feedback-state.js';
|
|
9
|
-
export { C as CreateBugRequestInput, a as CreateFeatureRequestRequestInput, z as zCreateBugRequest, b as zCreateFeatureRequestRequest } from './zod.gen-
|
|
9
|
+
export { C as CreateBugRequestInput, a as CreateFeatureRequestRequestInput, z as zCreateBugRequest, b as zCreateFeatureRequestRequest } from './zod.gen-DDBVM1nI.js';
|
|
10
10
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkASXJAFDBjs = require('./chunk-ASXJAFDB.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ var _chunkLCRTLHGLjs = require('./chunk-LCRTLHGL.js');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkEQXG5LABjs = require('./chunk-EQXG5LAB.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -33,7 +33,7 @@ var _chunk2B75JLTXjs = require('./chunk-2B75JLTX.js');
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunkFR73VSZ3js = require('./chunk-FR73VSZ3.js');
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
@@ -83,4 +83,4 @@ var _devtoolscontract = require('@shipeasy/sdk/devtools-contract');
|
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
exports.AuthError =
|
|
86
|
+
exports.AuthError = _chunkASXJAFDBjs.AuthError; exports.DEFAULT_ADMIN_BASE_URL = _chunkKPO3R7NDjs.DEFAULT_ADMIN_BASE_URL; exports.DEFAULT_EDGE_BASE_URL = _chunkKPO3R7NDjs.DEFAULT_EDGE_BASE_URL; exports.DevtoolsClient = _chunkASXJAFDBjs.DevtoolsClient; exports.ENGINE_BRIDGE_KEY = _devtoolscontract.ENGINE_BRIDGE_KEY; exports.FEEDBACK_AGENT_LABEL = _chunk2B75JLTXjs.FEEDBACK_AGENT_LABEL; exports.LoginCancelled = _chunkLCRTLHGLjs.LoginCancelled; exports.OP_LABELS = _chunkMK56AKZRjs.OP_LABELS; exports.PERMISSIVE_CONFIG_SCHEMA = _chunkKPO3R7NDjs.PERMISSIVE_CONFIG_SCHEMA; exports.PublicTicketsDisabled = _chunkFR73VSZ3js.PublicTicketsDisabled; exports.bugFormSchema = _chunkEQXG5LABjs.bugFormSchema; exports.bugFormToPublicInput = _chunkEQXG5LABjs.bugFormToPublicInput; exports.buildGateFlow = _chunkMK56AKZRjs.buildGateFlow; exports.evalRule = _chunkMK56AKZRjs.evalRule; exports.evalStepMatch = _chunkMK56AKZRjs.evalStepMatch; exports.featureFormSchema = _chunkEQXG5LABjs.featureFormSchema; exports.featureFormToPublicInput = _chunkEQXG5LABjs.featureFormToPublicInput; exports.feedbackAgentInfo = _chunk2B75JLTXjs.feedbackAgentInfo; exports.fmtValue = _chunkMK56AKZRjs.fmtValue; exports.parseDeepLinkQuery = _chunkLCRTLHGLjs.parseDeepLinkQuery; exports.readDevtoolsCapabilities = _devtoolscontract.readDevtoolsCapabilities; exports.readEngineBridge = _devtoolscontract.readEngineBridge; exports.ruleSummary = _chunkMK56AKZRjs.ruleSummary; exports.startDeviceAuth = _chunkLCRTLHGLjs.startDeviceAuth; exports.submitPublicBug = _chunkFR73VSZ3js.submitPublicBug; exports.submitPublicFeature = _chunkFR73VSZ3js.submitPublicFeature; exports.validateBugForm = _chunkEQXG5LABjs.validateBugForm; exports.validateFeatureForm = _chunkEQXG5LABjs.validateFeatureForm; exports.watchDevtoolsCapabilities = _devtoolscontract.watchDevtoolsCapabilities; exports.watchEngineBridge = _devtoolscontract.watchEngineBridge; exports.zCreateBugRequest = _chunkEQXG5LABjs.zCreateBugRequest; exports.zCreateFeatureRequestRequest = _chunkEQXG5LABjs.zCreateFeatureRequestRequest;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AuthError,
|
|
3
3
|
DevtoolsClient
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2OCBQ2OL.mjs";
|
|
5
5
|
import {
|
|
6
6
|
LoginCancelled,
|
|
7
7
|
parseDeepLinkQuery,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
validateFeatureForm,
|
|
17
17
|
zCreateBugRequest,
|
|
18
18
|
zCreateFeatureRequestRequest
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-T44BKE47.mjs";
|
|
20
20
|
import {
|
|
21
21
|
OP_LABELS,
|
|
22
22
|
buildGateFlow,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
PublicTicketsDisabled,
|
|
34
34
|
submitPublicBug,
|
|
35
35
|
submitPublicFeature
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-HZ57U4GY.mjs";
|
|
37
37
|
import {
|
|
38
38
|
DEFAULT_ADMIN_BASE_URL,
|
|
39
39
|
DEFAULT_EDGE_BASE_URL,
|
package/dist/public-report.d.mts
CHANGED
|
@@ -18,6 +18,10 @@ interface PublicBugInput {
|
|
|
18
18
|
step?: string;
|
|
19
19
|
/** System/env info (platform, os version, app version, …). */
|
|
20
20
|
context?: Record<string, unknown>;
|
|
21
|
+
/** Tag names to label the ticket with (≤50, each ≤64 chars). Each is matched
|
|
22
|
+
* case-insensitively against the project's existing tags — reused when it
|
|
23
|
+
* matches, created when it doesn't. */
|
|
24
|
+
tags?: string[];
|
|
21
25
|
}
|
|
22
26
|
interface PublicBugResult {
|
|
23
27
|
/** The filed (or deduped-to) ticket number. */
|
|
@@ -38,6 +42,10 @@ interface PublicFeatureInput {
|
|
|
38
42
|
step?: string;
|
|
39
43
|
/** System/env info (platform, os version, app version, …). */
|
|
40
44
|
context?: Record<string, unknown>;
|
|
45
|
+
/** Tag names to label the ticket with (≤50, each ≤64 chars). Each is matched
|
|
46
|
+
* case-insensitively against the project's existing tags — reused when it
|
|
47
|
+
* matches, created when it doesn't. */
|
|
48
|
+
tags?: string[];
|
|
41
49
|
}
|
|
42
50
|
interface SubmitPublicBugOptions {
|
|
43
51
|
/** The app's public client key (`sdk_client_*`) — safe to embed. Must carry
|
package/dist/public-report.d.ts
CHANGED
|
@@ -18,6 +18,10 @@ interface PublicBugInput {
|
|
|
18
18
|
step?: string;
|
|
19
19
|
/** System/env info (platform, os version, app version, …). */
|
|
20
20
|
context?: Record<string, unknown>;
|
|
21
|
+
/** Tag names to label the ticket with (≤50, each ≤64 chars). Each is matched
|
|
22
|
+
* case-insensitively against the project's existing tags — reused when it
|
|
23
|
+
* matches, created when it doesn't. */
|
|
24
|
+
tags?: string[];
|
|
21
25
|
}
|
|
22
26
|
interface PublicBugResult {
|
|
23
27
|
/** The filed (or deduped-to) ticket number. */
|
|
@@ -38,6 +42,10 @@ interface PublicFeatureInput {
|
|
|
38
42
|
step?: string;
|
|
39
43
|
/** System/env info (platform, os version, app version, …). */
|
|
40
44
|
context?: Record<string, unknown>;
|
|
45
|
+
/** Tag names to label the ticket with (≤50, each ≤64 chars). Each is matched
|
|
46
|
+
* case-insensitively against the project's existing tags — reused when it
|
|
47
|
+
* matches, created when it doesn't. */
|
|
48
|
+
tags?: string[];
|
|
41
49
|
}
|
|
42
50
|
interface SubmitPublicBugOptions {
|
|
43
51
|
/** The app's public client key (`sdk_client_*`) — safe to embed. Must carry
|
package/dist/public-report.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkFR73VSZ3js = require('./chunk-FR73VSZ3.js');
|
|
6
6
|
require('./chunk-KPO3R7ND.js');
|
|
7
7
|
require('./chunk-I2KLQ2HA.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.PublicTicketsDisabled =
|
|
12
|
+
exports.PublicTicketsDisabled = _chunkFR73VSZ3js.PublicTicketsDisabled; exports.submitPublicBug = _chunkFR73VSZ3js.submitPublicBug; exports.submitPublicFeature = _chunkFR73VSZ3js.submitPublicFeature;
|
package/dist/public-report.mjs
CHANGED
|
@@ -207,7 +207,7 @@ interface FeedbackConnectorData {
|
|
|
207
207
|
awaitingReply?: boolean;
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
type BugStatus = "open" | "pending_approval" | "
|
|
210
|
+
type BugStatus = "open" | "pending_approval" | "in_progress" | "ready_for_qa" | "resolved" | "wont_fix";
|
|
211
211
|
/** Lowest tier is `nice_to_have`; shared by bugs + feature requests. */
|
|
212
212
|
type BugPriority = "nice_to_have" | "medium" | "high" | "critical";
|
|
213
213
|
interface BugRecord {
|
|
@@ -207,7 +207,7 @@ interface FeedbackConnectorData {
|
|
|
207
207
|
awaitingReply?: boolean;
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
type BugStatus = "open" | "pending_approval" | "
|
|
210
|
+
type BugStatus = "open" | "pending_approval" | "in_progress" | "ready_for_qa" | "resolved" | "wont_fix";
|
|
211
211
|
/** Lowest tier is `nice_to_have`; shared by bugs + feature requests. */
|
|
212
212
|
type BugPriority = "nice_to_have" | "medium" | "high" | "critical";
|
|
213
213
|
interface BugRecord {
|
|
@@ -17,6 +17,19 @@ declare const zCreateBugRequest: z.ZodObject<{
|
|
|
17
17
|
high: "high";
|
|
18
18
|
critical: "critical";
|
|
19
19
|
}>>>;
|
|
20
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
21
|
+
open: "open";
|
|
22
|
+
pending_approval: "pending_approval";
|
|
23
|
+
investigating_by_ai: "investigating_by_ai";
|
|
24
|
+
in_progress: "in_progress";
|
|
25
|
+
blocked: "blocked";
|
|
26
|
+
ready_for_qa: "ready_for_qa";
|
|
27
|
+
resolved: "resolved";
|
|
28
|
+
wont_fix: "wont_fix";
|
|
29
|
+
}>>;
|
|
30
|
+
assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEmail>>>;
|
|
32
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
20
33
|
reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
21
34
|
pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
22
35
|
userAgent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -47,6 +60,19 @@ declare const zCreateFeatureRequestRequest: z.ZodObject<{
|
|
|
47
60
|
high: "high";
|
|
48
61
|
critical: "critical";
|
|
49
62
|
}>>>;
|
|
63
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
64
|
+
open: "open";
|
|
65
|
+
pending_approval: "pending_approval";
|
|
66
|
+
investigating_by_ai: "investigating_by_ai";
|
|
67
|
+
in_progress: "in_progress";
|
|
68
|
+
blocked: "blocked";
|
|
69
|
+
ready_for_qa: "ready_for_qa";
|
|
70
|
+
resolved: "resolved";
|
|
71
|
+
wont_fix: "wont_fix";
|
|
72
|
+
}>>;
|
|
73
|
+
assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEmail>>>;
|
|
75
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
50
76
|
reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
51
77
|
pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
52
78
|
userAgent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -17,6 +17,19 @@ declare const zCreateBugRequest: z.ZodObject<{
|
|
|
17
17
|
high: "high";
|
|
18
18
|
critical: "critical";
|
|
19
19
|
}>>>;
|
|
20
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
21
|
+
open: "open";
|
|
22
|
+
pending_approval: "pending_approval";
|
|
23
|
+
investigating_by_ai: "investigating_by_ai";
|
|
24
|
+
in_progress: "in_progress";
|
|
25
|
+
blocked: "blocked";
|
|
26
|
+
ready_for_qa: "ready_for_qa";
|
|
27
|
+
resolved: "resolved";
|
|
28
|
+
wont_fix: "wont_fix";
|
|
29
|
+
}>>;
|
|
30
|
+
assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEmail>>>;
|
|
32
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
20
33
|
reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
21
34
|
pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
22
35
|
userAgent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -47,6 +60,19 @@ declare const zCreateFeatureRequestRequest: z.ZodObject<{
|
|
|
47
60
|
high: "high";
|
|
48
61
|
critical: "critical";
|
|
49
62
|
}>>>;
|
|
63
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
64
|
+
open: "open";
|
|
65
|
+
pending_approval: "pending_approval";
|
|
66
|
+
investigating_by_ai: "investigating_by_ai";
|
|
67
|
+
in_progress: "in_progress";
|
|
68
|
+
blocked: "blocked";
|
|
69
|
+
ready_for_qa: "ready_for_qa";
|
|
70
|
+
resolved: "resolved";
|
|
71
|
+
wont_fix: "wont_fix";
|
|
72
|
+
}>>;
|
|
73
|
+
assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
subscribers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEmail>>>;
|
|
75
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
50
76
|
reporterEmail: z.ZodOptional<z.ZodNullable<z.ZodEmail>>;
|
|
51
77
|
pageUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
52
78
|
userAgent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipeasy/devtools-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Headless core for the Shipeasy devtools overlays \u2014 admin API client, PKCE device auth, public bug intake, form schemas.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"homepage": "https://shipeasy.ai",
|