@shipfox/api-integration-linear-dto 12.0.0 → 12.2.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/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ shipfox-swc
|
|
2
|
-
Successfully compiled: 2 files with swc (
|
|
2
|
+
Successfully compiled: 2 files with swc (254.8ms)
|
package/CHANGELOG.md
CHANGED
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const LINEAR_PROVIDER = "linear";
|
|
3
3
|
export type LinearProvider = typeof LINEAR_PROVIDER;
|
|
4
|
-
export declare const linearWebhookResourceTypes: readonly [
|
|
5
|
-
export declare const linearWebhookActions: readonly [
|
|
6
|
-
export declare const linearAgentSessionWebhookActions: readonly [
|
|
4
|
+
export declare const linearWebhookResourceTypes: readonly ['Issue', 'Comment', 'IssueLabel', 'Project', 'Cycle'];
|
|
5
|
+
export declare const linearWebhookActions: readonly ['create', 'update', 'remove'];
|
|
6
|
+
export declare const linearAgentSessionWebhookActions: readonly ['created', 'prompted'];
|
|
7
7
|
export declare const linearAgentSessionWebhookEventNames: ("agentSession.created" | "agentSession.prompted")[];
|
|
8
|
-
export declare const linearWebhookEventNames: readonly ("
|
|
8
|
+
export declare const linearWebhookEventNames: readonly ("Comment.create" | "Comment.remove" | "Comment.update" | "Cycle.create" | "Cycle.remove" | "Cycle.update" | "Issue.create" | "Issue.remove" | "Issue.update" | "IssueLabel.create" | "IssueLabel.remove" | "IssueLabel.update" | "Project.create" | "Project.remove" | "Project.update" | "agentSession.created" | "agentSession.prompted")[];
|
|
9
9
|
export type LinearWebhookResourceType = (typeof linearWebhookResourceTypes)[number];
|
|
10
10
|
export type LinearWebhookAction = (typeof linearWebhookActions)[number];
|
|
11
11
|
export type LinearAgentSessionWebhookAction = (typeof linearAgentSessionWebhookActions)[number];
|
|
@@ -35,15 +35,15 @@ export type LinearAgentSessionWebhookEnvelopeDto = z.infer<typeof linearAgentSes
|
|
|
35
35
|
export declare const linearWebhookEnvelopeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
36
36
|
action: z.ZodEnum<{
|
|
37
37
|
create: "create";
|
|
38
|
-
update: "update";
|
|
39
38
|
remove: "remove";
|
|
39
|
+
update: "update";
|
|
40
40
|
}>;
|
|
41
41
|
type: z.ZodEnum<{
|
|
42
|
-
Issue: "Issue";
|
|
43
42
|
Comment: "Comment";
|
|
43
|
+
Cycle: "Cycle";
|
|
44
|
+
Issue: "Issue";
|
|
44
45
|
IssueLabel: "IssueLabel";
|
|
45
46
|
Project: "Project";
|
|
46
|
-
Cycle: "Cycle";
|
|
47
47
|
}>;
|
|
48
48
|
organizationId: z.ZodString;
|
|
49
49
|
webhookTimestamp: z.ZodNumber;
|
|
@@ -100,13 +100,13 @@ export declare const linearCallbackResponseSchema: z.ZodObject<{
|
|
|
100
100
|
slug: z.ZodString;
|
|
101
101
|
display_name: z.ZodString;
|
|
102
102
|
lifecycle_status: z.ZodEnum<{
|
|
103
|
-
error: "error";
|
|
104
103
|
active: "active";
|
|
105
104
|
disabled: "disabled";
|
|
105
|
+
error: "error";
|
|
106
106
|
}>;
|
|
107
107
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
108
|
-
source_control: "source_control";
|
|
109
108
|
agent_tools: "agent_tools";
|
|
109
|
+
source_control: "source_control";
|
|
110
110
|
}>>;
|
|
111
111
|
external_url: z.ZodOptional<z.ZodString>;
|
|
112
112
|
created_at: z.ZodString;
|
|
@@ -131,13 +131,13 @@ export declare const createE2eLinearConnectionResponseSchema: z.ZodObject<{
|
|
|
131
131
|
slug: z.ZodString;
|
|
132
132
|
display_name: z.ZodString;
|
|
133
133
|
lifecycle_status: z.ZodEnum<{
|
|
134
|
-
error: "error";
|
|
135
134
|
active: "active";
|
|
136
135
|
disabled: "disabled";
|
|
136
|
+
error: "error";
|
|
137
137
|
}>;
|
|
138
138
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
139
|
-
source_control: "source_control";
|
|
140
139
|
agent_tools: "agent_tools";
|
|
140
|
+
source_control: "source_control";
|
|
141
141
|
}>>;
|
|
142
142
|
external_url: z.ZodOptional<z.ZodString>;
|
|
143
143
|
created_at: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,eAAO,MAAM,eAAe,WAAW,CAAC;AAExC,MAAM,MAAM,cAAc,GAAG,OAAO,eAAe,CAAC;AAEpD,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,eAAO,MAAM,eAAe,WAAW,CAAC;AAExC,MAAM,MAAM,cAAc,GAAG,OAAO,eAAe,CAAC;AAEpD,eAAO,MAAM,0BAA0B,YACrC,OAAO,EACP,SAAS,EACT,YAAY,EACZ,SAAS,EACT,OAAO,CACC,CAAC;AACX,eAAO,MAAM,oBAAoB,YAAI,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAU,CAAC;AAC5E,eAAO,MAAM,gCAAgC,YAAI,SAAS,EAAE,UAAU,CAAU,CAAC;AAKjF,eAAO,MAAM,mCAAmC,sDAE/C,CAAC;AACF,eAAO,MAAM,uBAAuB,yVAG1B,CAAC;AAEX,MAAM,MAAM,yBAAyB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AACpF,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AACxE,MAAM,MAAM,+BAA+B,GAAG,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAA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