@mesadev/sdk 0.22.0 → 0.24.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/README.md +30 -5
- package/dist/api/resources.d.ts +7 -1
- package/dist/api/resources.d.ts.map +1 -1
- package/dist/api/resources.js +73 -1
- package/dist/api/resources.js.map +1 -1
- package/dist/fs/mesa-file-system.d.ts +35 -1
- package/dist/fs/mesa-file-system.d.ts.map +1 -1
- package/dist/fs/mesa-file-system.js +4 -1
- package/dist/fs/mesa-file-system.js.map +1 -1
- package/dist/fs/native-loader.d.ts +2 -0
- package/dist/fs/native-loader.d.ts.map +1 -1
- package/dist/fs/native-loader.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/errors.d.ts +7 -1
- package/dist/lib/errors.d.ts.map +1 -1
- package/dist/lib/errors.js +12 -0
- package/dist/lib/errors.js.map +1 -1
- package/dist/mesa.d.ts +1 -2
- package/dist/mesa.d.ts.map +1 -1
- package/dist/mesa.js +1 -3
- package/dist/mesa.js.map +1 -1
- package/dist/webhooks/index.d.ts +2 -0
- package/dist/webhooks/index.d.ts.map +1 -0
- package/dist/webhooks/index.js +2 -0
- package/dist/webhooks/index.js.map +1 -0
- package/dist/webhooks/schemas.d.ts +448 -0
- package/dist/webhooks/schemas.d.ts.map +1 -0
- package/dist/webhooks/schemas.js +137 -0
- package/dist/webhooks/schemas.js.map +1 -0
- package/package.json +9 -9
- package/dist/git/index.d.ts +0 -2
- package/dist/git/index.d.ts.map +0 -1
- package/dist/git/index.js +0 -2
- package/dist/git/index.js.map +0 -1
- package/dist/git/path-utils.d.ts +0 -4
- package/dist/git/path-utils.d.ts.map +0 -1
- package/dist/git/path-utils.js +0 -47
- package/dist/git/path-utils.js.map +0 -1
- package/dist/git/service.d.ts +0 -3
- package/dist/git/service.d.ts.map +0 -1
- package/dist/git/service.js +0 -308
- package/dist/git/service.js.map +0 -1
- package/dist/git/types.d.ts +0 -30
- package/dist/git/types.d.ts.map +0 -1
- package/dist/git/types.js +0 -2
- package/dist/git/types.js.map +0 -1
package/dist/mesa.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mesa.js","sourceRoot":"","sources":["mesa.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAmB,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAqB,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,cAAc,GAIf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"mesa.js","sourceRoot":"","sources":["mesa.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAmB,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAqB,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,cAAc,GAIf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAElH,MAAM,eAAe,GAAG,yBAAyB,CAAC;AAClD,MAAM,eAAe,GAAG,sBAAsB,CAAC;AAC/C,MAAM,eAAe,GAAG,cAAc,CAAC;AAEvC,SAAS,YAAY;IACnB,IAAI,OAAO,OAAO,KAAK,WAAW,EAAE,CAAC;QACnC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,CAAC;AAC9C,CAAC;AAED,SAAS,YAAY,CAAC,KAAa;IACjC,IAAI,MAAW,CAAC;IAChB,IAAI,CAAC;QACH,MAAM,GAAG,IAAI,GA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AAE,CAAC;YACf,MAAM,IAAI,kBAAkB,CAAC,gDAAgD,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;QACnG,CAAC;IACH,CAAC;IAEO,KAAK,CAAC,WAAW;QACvB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;QAC9C,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC;QAC3B,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC;QACrC,OAAO,MAAM,CAAC;IAChB,CAAC;IAEO,KAAK,CAAC,oBAAoB,CAAC,aAAsC;QACvE,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC;YACnC,OAAO,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC;QACzB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,kBAAkB,CAC1B,4GAA4G,EAC5G,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { type BookmarkCreatedPayload, BookmarkCreatedPayloadSchema, type BookmarkDeletedPayload, BookmarkDeletedPayloadSchema, type BookmarkMergedPayload, BookmarkMergedPayloadSchema, type BookmarkMovedPayload, BookmarkMovedPayloadSchema, type ChangeCreatedPayload, ChangeCreatedPayloadSchema, type ChangeEvolvedPayload, ChangeEvolvedPayloadSchema, type Organization, type PushPayload, PushPayloadSchema, type RepoCreatedPayload, RepoCreatedPayloadSchema, type RepoDeletedPayload, RepoDeletedPayloadSchema, type Repository, type RepoUpdatedPayload, RepoUpdatedPayloadSchema, type WebhookEvent, type WebhookEventName, type WebhookEventOf, WebhookEventSchema, type WebhookHandler, } from './schemas.js';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAC3B,4BAA4B,EAC5B,KAAK,sBAAsB,EAC3B,4BAA4B,EAC5B,KAAK,qBAAqB,EAC1B,2BAA2B,EAC3B,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,iBAAiB,EACjB,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,kBAAkB,EAClB,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { BookmarkCreatedPayloadSchema, BookmarkDeletedPayloadSchema, BookmarkMergedPayloadSchema, BookmarkMovedPayloadSchema, ChangeCreatedPayloadSchema, ChangeEvolvedPayloadSchema, PushPayloadSchema, RepoCreatedPayloadSchema, RepoDeletedPayloadSchema, RepoUpdatedPayloadSchema, WebhookEventSchema, } from './schemas.js';
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,4BAA4B,EAE5B,4BAA4B,EAE5B,2BAA2B,EAE3B,0BAA0B,EAE1B,0BAA0B,EAE1B,0BAA0B,EAG1B,iBAAiB,EAEjB,wBAAwB,EAExB,wBAAwB,EAGxB,wBAAwB,EAIxB,kBAAkB,GAEnB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const OrganizationSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
slug: z.ZodString;
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export type Organization = z.infer<typeof OrganizationSchema>;
|
|
8
|
+
declare const RepositorySchema: z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
url: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type Repository = z.infer<typeof RepositorySchema>;
|
|
14
|
+
export declare const RepoCreatedPayloadSchema: z.ZodObject<{
|
|
15
|
+
repo: z.ZodObject<{
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
name: z.ZodString;
|
|
18
|
+
default_bookmark: z.ZodString;
|
|
19
|
+
head_change_id: z.ZodString;
|
|
20
|
+
created_at: z.ZodString;
|
|
21
|
+
tags: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export type RepoCreatedPayload = z.infer<typeof RepoCreatedPayloadSchema>;
|
|
25
|
+
export declare const RepoUpdatedPayloadSchema: z.ZodObject<{
|
|
26
|
+
repo: z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
default_bookmark: z.ZodString;
|
|
30
|
+
head_change_id: z.ZodString;
|
|
31
|
+
created_at: z.ZodString;
|
|
32
|
+
tags: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
before: z.ZodObject<{
|
|
35
|
+
name: z.ZodString;
|
|
36
|
+
default_bookmark: z.ZodString;
|
|
37
|
+
tags: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
after: z.ZodObject<{
|
|
40
|
+
name: z.ZodString;
|
|
41
|
+
default_bookmark: z.ZodString;
|
|
42
|
+
tags: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
export type RepoUpdatedPayload = z.infer<typeof RepoUpdatedPayloadSchema>;
|
|
46
|
+
export declare const RepoDeletedPayloadSchema: z.ZodObject<{
|
|
47
|
+
repo: z.ZodObject<{
|
|
48
|
+
id: z.ZodString;
|
|
49
|
+
name: z.ZodString;
|
|
50
|
+
default_bookmark: z.ZodString;
|
|
51
|
+
head_change_id: z.ZodString;
|
|
52
|
+
created_at: z.ZodString;
|
|
53
|
+
tags: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
export type RepoDeletedPayload = z.infer<typeof RepoDeletedPayloadSchema>;
|
|
57
|
+
export declare const BookmarkCreatedPayloadSchema: z.ZodObject<{
|
|
58
|
+
bookmark: z.ZodObject<{
|
|
59
|
+
name: z.ZodString;
|
|
60
|
+
is_default: z.ZodBoolean;
|
|
61
|
+
change_id: z.ZodString;
|
|
62
|
+
commit_oid: z.ZodString;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
export type BookmarkCreatedPayload = z.infer<typeof BookmarkCreatedPayloadSchema>;
|
|
66
|
+
export declare const BookmarkDeletedPayloadSchema: z.ZodObject<{
|
|
67
|
+
bookmark: z.ZodObject<{
|
|
68
|
+
name: z.ZodString;
|
|
69
|
+
is_default: z.ZodBoolean;
|
|
70
|
+
change_id: z.ZodString;
|
|
71
|
+
commit_oid: z.ZodString;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
export type BookmarkDeletedPayload = z.infer<typeof BookmarkDeletedPayloadSchema>;
|
|
75
|
+
export declare const BookmarkMovedPayloadSchema: z.ZodObject<{
|
|
76
|
+
bookmark: z.ZodObject<{
|
|
77
|
+
name: z.ZodString;
|
|
78
|
+
is_default: z.ZodBoolean;
|
|
79
|
+
change_id: z.ZodString;
|
|
80
|
+
commit_oid: z.ZodString;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
from: z.ZodObject<{
|
|
83
|
+
change_id: z.ZodString;
|
|
84
|
+
commit_oid: z.ZodString;
|
|
85
|
+
}, z.core.$strip>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
export type BookmarkMovedPayload = z.infer<typeof BookmarkMovedPayloadSchema>;
|
|
88
|
+
export declare const BookmarkMergedPayloadSchema: z.ZodObject<{
|
|
89
|
+
bookmark: z.ZodObject<{
|
|
90
|
+
name: z.ZodString;
|
|
91
|
+
is_default: z.ZodBoolean;
|
|
92
|
+
change_id: z.ZodString;
|
|
93
|
+
commit_oid: z.ZodString;
|
|
94
|
+
}, z.core.$strip>;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
export type BookmarkMergedPayload = z.infer<typeof BookmarkMergedPayloadSchema>;
|
|
97
|
+
export declare const ChangeCreatedPayloadSchema: z.ZodObject<{
|
|
98
|
+
change: z.ZodObject<{
|
|
99
|
+
id: z.ZodString;
|
|
100
|
+
current_commit_oid: z.ZodString;
|
|
101
|
+
message: z.ZodString;
|
|
102
|
+
author: z.ZodObject<{
|
|
103
|
+
name: z.ZodString;
|
|
104
|
+
email: z.ZodString;
|
|
105
|
+
date: z.ZodOptional<z.ZodString>;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
committer: z.ZodObject<{
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
email: z.ZodString;
|
|
110
|
+
date: z.ZodOptional<z.ZodString>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
parents: z.ZodArray<z.ZodString>;
|
|
113
|
+
created_at: z.ZodString;
|
|
114
|
+
updated_at: z.ZodString;
|
|
115
|
+
}, z.core.$strip>;
|
|
116
|
+
}, z.core.$strip>;
|
|
117
|
+
export type ChangeCreatedPayload = z.infer<typeof ChangeCreatedPayloadSchema>;
|
|
118
|
+
export declare const ChangeEvolvedPayloadSchema: z.ZodObject<{
|
|
119
|
+
change: z.ZodObject<{
|
|
120
|
+
id: z.ZodString;
|
|
121
|
+
current_commit_oid: z.ZodString;
|
|
122
|
+
message: z.ZodString;
|
|
123
|
+
author: z.ZodObject<{
|
|
124
|
+
name: z.ZodString;
|
|
125
|
+
email: z.ZodString;
|
|
126
|
+
date: z.ZodOptional<z.ZodString>;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
committer: z.ZodObject<{
|
|
129
|
+
name: z.ZodString;
|
|
130
|
+
email: z.ZodString;
|
|
131
|
+
date: z.ZodOptional<z.ZodString>;
|
|
132
|
+
}, z.core.$strip>;
|
|
133
|
+
parents: z.ZodArray<z.ZodString>;
|
|
134
|
+
created_at: z.ZodString;
|
|
135
|
+
updated_at: z.ZodString;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
previous_current_commit_oid: z.ZodString;
|
|
138
|
+
}, z.core.$strip>;
|
|
139
|
+
export type ChangeEvolvedPayload = z.infer<typeof ChangeEvolvedPayloadSchema>;
|
|
140
|
+
export declare const PushPayloadSchema: z.ZodObject<{
|
|
141
|
+
updates: z.ZodArray<z.ZodObject<{
|
|
142
|
+
ref: z.ZodString;
|
|
143
|
+
bookmark: z.ZodString;
|
|
144
|
+
before: z.ZodNullable<z.ZodString>;
|
|
145
|
+
after: z.ZodNullable<z.ZodString>;
|
|
146
|
+
action: z.ZodEnum<{
|
|
147
|
+
created: "created";
|
|
148
|
+
updated: "updated";
|
|
149
|
+
deleted: "deleted";
|
|
150
|
+
}>;
|
|
151
|
+
}, z.core.$strip>>;
|
|
152
|
+
reconciliation: z.ZodObject<{
|
|
153
|
+
reconciled_commit_count: z.ZodNumber;
|
|
154
|
+
touched_change_count: z.ZodNumber;
|
|
155
|
+
changes_created_count: z.ZodNumber;
|
|
156
|
+
evolog_inserted_count: z.ZodNumber;
|
|
157
|
+
invalid_change_id_header_count: z.ZodNumber;
|
|
158
|
+
dirty_change_skip_count: z.ZodNumber;
|
|
159
|
+
}, z.core.$strip>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
export type PushPayload = z.infer<typeof PushPayloadSchema>;
|
|
162
|
+
export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
163
|
+
id: z.ZodString;
|
|
164
|
+
occurred_at: z.ZodString;
|
|
165
|
+
organization: z.ZodObject<{
|
|
166
|
+
id: z.ZodString;
|
|
167
|
+
slug: z.ZodString;
|
|
168
|
+
name: z.ZodString;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
repository: z.ZodNullable<z.ZodObject<{
|
|
171
|
+
id: z.ZodString;
|
|
172
|
+
name: z.ZodString;
|
|
173
|
+
url: z.ZodString;
|
|
174
|
+
}, z.core.$strip>>;
|
|
175
|
+
type: z.ZodLiteral<"repo.created">;
|
|
176
|
+
data: z.ZodObject<{
|
|
177
|
+
repo: z.ZodObject<{
|
|
178
|
+
id: z.ZodString;
|
|
179
|
+
name: z.ZodString;
|
|
180
|
+
default_bookmark: z.ZodString;
|
|
181
|
+
head_change_id: z.ZodString;
|
|
182
|
+
created_at: z.ZodString;
|
|
183
|
+
tags: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
187
|
+
id: z.ZodString;
|
|
188
|
+
occurred_at: z.ZodString;
|
|
189
|
+
organization: z.ZodObject<{
|
|
190
|
+
id: z.ZodString;
|
|
191
|
+
slug: z.ZodString;
|
|
192
|
+
name: z.ZodString;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
repository: z.ZodNullable<z.ZodObject<{
|
|
195
|
+
id: z.ZodString;
|
|
196
|
+
name: z.ZodString;
|
|
197
|
+
url: z.ZodString;
|
|
198
|
+
}, z.core.$strip>>;
|
|
199
|
+
type: z.ZodLiteral<"repo.updated">;
|
|
200
|
+
data: z.ZodObject<{
|
|
201
|
+
repo: z.ZodObject<{
|
|
202
|
+
id: z.ZodString;
|
|
203
|
+
name: z.ZodString;
|
|
204
|
+
default_bookmark: z.ZodString;
|
|
205
|
+
head_change_id: z.ZodString;
|
|
206
|
+
created_at: z.ZodString;
|
|
207
|
+
tags: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
208
|
+
}, z.core.$strip>;
|
|
209
|
+
before: z.ZodObject<{
|
|
210
|
+
name: z.ZodString;
|
|
211
|
+
default_bookmark: z.ZodString;
|
|
212
|
+
tags: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
213
|
+
}, z.core.$strip>;
|
|
214
|
+
after: z.ZodObject<{
|
|
215
|
+
name: z.ZodString;
|
|
216
|
+
default_bookmark: z.ZodString;
|
|
217
|
+
tags: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
}, z.core.$strip>;
|
|
220
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
221
|
+
id: z.ZodString;
|
|
222
|
+
occurred_at: z.ZodString;
|
|
223
|
+
organization: z.ZodObject<{
|
|
224
|
+
id: z.ZodString;
|
|
225
|
+
slug: z.ZodString;
|
|
226
|
+
name: z.ZodString;
|
|
227
|
+
}, z.core.$strip>;
|
|
228
|
+
repository: z.ZodNullable<z.ZodObject<{
|
|
229
|
+
id: z.ZodString;
|
|
230
|
+
name: z.ZodString;
|
|
231
|
+
url: z.ZodString;
|
|
232
|
+
}, z.core.$strip>>;
|
|
233
|
+
type: z.ZodLiteral<"repo.deleted">;
|
|
234
|
+
data: z.ZodObject<{
|
|
235
|
+
repo: z.ZodObject<{
|
|
236
|
+
id: z.ZodString;
|
|
237
|
+
name: z.ZodString;
|
|
238
|
+
default_bookmark: z.ZodString;
|
|
239
|
+
head_change_id: z.ZodString;
|
|
240
|
+
created_at: z.ZodString;
|
|
241
|
+
tags: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
242
|
+
}, z.core.$strip>;
|
|
243
|
+
}, z.core.$strip>;
|
|
244
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
245
|
+
id: z.ZodString;
|
|
246
|
+
occurred_at: z.ZodString;
|
|
247
|
+
organization: z.ZodObject<{
|
|
248
|
+
id: z.ZodString;
|
|
249
|
+
slug: z.ZodString;
|
|
250
|
+
name: z.ZodString;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
repository: z.ZodNullable<z.ZodObject<{
|
|
253
|
+
id: z.ZodString;
|
|
254
|
+
name: z.ZodString;
|
|
255
|
+
url: z.ZodString;
|
|
256
|
+
}, z.core.$strip>>;
|
|
257
|
+
type: z.ZodLiteral<"bookmark.created">;
|
|
258
|
+
data: z.ZodObject<{
|
|
259
|
+
bookmark: z.ZodObject<{
|
|
260
|
+
name: z.ZodString;
|
|
261
|
+
is_default: z.ZodBoolean;
|
|
262
|
+
change_id: z.ZodString;
|
|
263
|
+
commit_oid: z.ZodString;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
}, z.core.$strip>;
|
|
266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
267
|
+
id: z.ZodString;
|
|
268
|
+
occurred_at: z.ZodString;
|
|
269
|
+
organization: z.ZodObject<{
|
|
270
|
+
id: z.ZodString;
|
|
271
|
+
slug: z.ZodString;
|
|
272
|
+
name: z.ZodString;
|
|
273
|
+
}, z.core.$strip>;
|
|
274
|
+
repository: z.ZodNullable<z.ZodObject<{
|
|
275
|
+
id: z.ZodString;
|
|
276
|
+
name: z.ZodString;
|
|
277
|
+
url: z.ZodString;
|
|
278
|
+
}, z.core.$strip>>;
|
|
279
|
+
type: z.ZodLiteral<"bookmark.deleted">;
|
|
280
|
+
data: z.ZodObject<{
|
|
281
|
+
bookmark: z.ZodObject<{
|
|
282
|
+
name: z.ZodString;
|
|
283
|
+
is_default: z.ZodBoolean;
|
|
284
|
+
change_id: z.ZodString;
|
|
285
|
+
commit_oid: z.ZodString;
|
|
286
|
+
}, z.core.$strip>;
|
|
287
|
+
}, z.core.$strip>;
|
|
288
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
289
|
+
id: z.ZodString;
|
|
290
|
+
occurred_at: z.ZodString;
|
|
291
|
+
organization: z.ZodObject<{
|
|
292
|
+
id: z.ZodString;
|
|
293
|
+
slug: z.ZodString;
|
|
294
|
+
name: z.ZodString;
|
|
295
|
+
}, z.core.$strip>;
|
|
296
|
+
repository: z.ZodNullable<z.ZodObject<{
|
|
297
|
+
id: z.ZodString;
|
|
298
|
+
name: z.ZodString;
|
|
299
|
+
url: z.ZodString;
|
|
300
|
+
}, z.core.$strip>>;
|
|
301
|
+
type: z.ZodLiteral<"bookmark.moved">;
|
|
302
|
+
data: z.ZodObject<{
|
|
303
|
+
bookmark: z.ZodObject<{
|
|
304
|
+
name: z.ZodString;
|
|
305
|
+
is_default: z.ZodBoolean;
|
|
306
|
+
change_id: z.ZodString;
|
|
307
|
+
commit_oid: z.ZodString;
|
|
308
|
+
}, z.core.$strip>;
|
|
309
|
+
from: z.ZodObject<{
|
|
310
|
+
change_id: z.ZodString;
|
|
311
|
+
commit_oid: z.ZodString;
|
|
312
|
+
}, z.core.$strip>;
|
|
313
|
+
}, z.core.$strip>;
|
|
314
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
315
|
+
id: z.ZodString;
|
|
316
|
+
occurred_at: z.ZodString;
|
|
317
|
+
organization: z.ZodObject<{
|
|
318
|
+
id: z.ZodString;
|
|
319
|
+
slug: z.ZodString;
|
|
320
|
+
name: z.ZodString;
|
|
321
|
+
}, z.core.$strip>;
|
|
322
|
+
repository: z.ZodNullable<z.ZodObject<{
|
|
323
|
+
id: z.ZodString;
|
|
324
|
+
name: z.ZodString;
|
|
325
|
+
url: z.ZodString;
|
|
326
|
+
}, z.core.$strip>>;
|
|
327
|
+
type: z.ZodLiteral<"bookmark.merged">;
|
|
328
|
+
data: z.ZodObject<{
|
|
329
|
+
bookmark: z.ZodObject<{
|
|
330
|
+
name: z.ZodString;
|
|
331
|
+
is_default: z.ZodBoolean;
|
|
332
|
+
change_id: z.ZodString;
|
|
333
|
+
commit_oid: z.ZodString;
|
|
334
|
+
}, z.core.$strip>;
|
|
335
|
+
}, z.core.$strip>;
|
|
336
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
337
|
+
id: z.ZodString;
|
|
338
|
+
occurred_at: z.ZodString;
|
|
339
|
+
organization: z.ZodObject<{
|
|
340
|
+
id: z.ZodString;
|
|
341
|
+
slug: z.ZodString;
|
|
342
|
+
name: z.ZodString;
|
|
343
|
+
}, z.core.$strip>;
|
|
344
|
+
repository: z.ZodNullable<z.ZodObject<{
|
|
345
|
+
id: z.ZodString;
|
|
346
|
+
name: z.ZodString;
|
|
347
|
+
url: z.ZodString;
|
|
348
|
+
}, z.core.$strip>>;
|
|
349
|
+
type: z.ZodLiteral<"change.created">;
|
|
350
|
+
data: z.ZodObject<{
|
|
351
|
+
change: z.ZodObject<{
|
|
352
|
+
id: z.ZodString;
|
|
353
|
+
current_commit_oid: z.ZodString;
|
|
354
|
+
message: z.ZodString;
|
|
355
|
+
author: z.ZodObject<{
|
|
356
|
+
name: z.ZodString;
|
|
357
|
+
email: z.ZodString;
|
|
358
|
+
date: z.ZodOptional<z.ZodString>;
|
|
359
|
+
}, z.core.$strip>;
|
|
360
|
+
committer: z.ZodObject<{
|
|
361
|
+
name: z.ZodString;
|
|
362
|
+
email: z.ZodString;
|
|
363
|
+
date: z.ZodOptional<z.ZodString>;
|
|
364
|
+
}, z.core.$strip>;
|
|
365
|
+
parents: z.ZodArray<z.ZodString>;
|
|
366
|
+
created_at: z.ZodString;
|
|
367
|
+
updated_at: z.ZodString;
|
|
368
|
+
}, z.core.$strip>;
|
|
369
|
+
}, z.core.$strip>;
|
|
370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
371
|
+
id: z.ZodString;
|
|
372
|
+
occurred_at: z.ZodString;
|
|
373
|
+
organization: z.ZodObject<{
|
|
374
|
+
id: z.ZodString;
|
|
375
|
+
slug: z.ZodString;
|
|
376
|
+
name: z.ZodString;
|
|
377
|
+
}, z.core.$strip>;
|
|
378
|
+
repository: z.ZodNullable<z.ZodObject<{
|
|
379
|
+
id: z.ZodString;
|
|
380
|
+
name: z.ZodString;
|
|
381
|
+
url: z.ZodString;
|
|
382
|
+
}, z.core.$strip>>;
|
|
383
|
+
type: z.ZodLiteral<"change.evolved">;
|
|
384
|
+
data: z.ZodObject<{
|
|
385
|
+
change: z.ZodObject<{
|
|
386
|
+
id: z.ZodString;
|
|
387
|
+
current_commit_oid: z.ZodString;
|
|
388
|
+
message: z.ZodString;
|
|
389
|
+
author: z.ZodObject<{
|
|
390
|
+
name: z.ZodString;
|
|
391
|
+
email: z.ZodString;
|
|
392
|
+
date: z.ZodOptional<z.ZodString>;
|
|
393
|
+
}, z.core.$strip>;
|
|
394
|
+
committer: z.ZodObject<{
|
|
395
|
+
name: z.ZodString;
|
|
396
|
+
email: z.ZodString;
|
|
397
|
+
date: z.ZodOptional<z.ZodString>;
|
|
398
|
+
}, z.core.$strip>;
|
|
399
|
+
parents: z.ZodArray<z.ZodString>;
|
|
400
|
+
created_at: z.ZodString;
|
|
401
|
+
updated_at: z.ZodString;
|
|
402
|
+
}, z.core.$strip>;
|
|
403
|
+
previous_current_commit_oid: z.ZodString;
|
|
404
|
+
}, z.core.$strip>;
|
|
405
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
406
|
+
id: z.ZodString;
|
|
407
|
+
occurred_at: z.ZodString;
|
|
408
|
+
organization: z.ZodObject<{
|
|
409
|
+
id: z.ZodString;
|
|
410
|
+
slug: z.ZodString;
|
|
411
|
+
name: z.ZodString;
|
|
412
|
+
}, z.core.$strip>;
|
|
413
|
+
repository: z.ZodNullable<z.ZodObject<{
|
|
414
|
+
id: z.ZodString;
|
|
415
|
+
name: z.ZodString;
|
|
416
|
+
url: z.ZodString;
|
|
417
|
+
}, z.core.$strip>>;
|
|
418
|
+
type: z.ZodLiteral<"push">;
|
|
419
|
+
data: z.ZodObject<{
|
|
420
|
+
updates: z.ZodArray<z.ZodObject<{
|
|
421
|
+
ref: z.ZodString;
|
|
422
|
+
bookmark: z.ZodString;
|
|
423
|
+
before: z.ZodNullable<z.ZodString>;
|
|
424
|
+
after: z.ZodNullable<z.ZodString>;
|
|
425
|
+
action: z.ZodEnum<{
|
|
426
|
+
created: "created";
|
|
427
|
+
updated: "updated";
|
|
428
|
+
deleted: "deleted";
|
|
429
|
+
}>;
|
|
430
|
+
}, z.core.$strip>>;
|
|
431
|
+
reconciliation: z.ZodObject<{
|
|
432
|
+
reconciled_commit_count: z.ZodNumber;
|
|
433
|
+
touched_change_count: z.ZodNumber;
|
|
434
|
+
changes_created_count: z.ZodNumber;
|
|
435
|
+
evolog_inserted_count: z.ZodNumber;
|
|
436
|
+
invalid_change_id_header_count: z.ZodNumber;
|
|
437
|
+
dirty_change_skip_count: z.ZodNumber;
|
|
438
|
+
}, z.core.$strip>;
|
|
439
|
+
}, z.core.$strip>;
|
|
440
|
+
}, z.core.$strip>], "type">;
|
|
441
|
+
export type WebhookEvent = z.infer<typeof WebhookEventSchema>;
|
|
442
|
+
export type WebhookEventName = WebhookEvent['type'];
|
|
443
|
+
export type WebhookEventOf<T extends WebhookEventName> = Extract<WebhookEvent, {
|
|
444
|
+
type: T;
|
|
445
|
+
}>;
|
|
446
|
+
export type WebhookHandler<T extends WebhookEventName = WebhookEventName> = (event: WebhookEventOf<T>) => void | Promise<void>;
|
|
447
|
+
export {};
|
|
448
|
+
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,kBAAkB;;;;iBAItB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,QAAA,MAAM,gBAAgB;;;;iBAIpB,CAAC;AACH,MAA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
|
|
8
|
+
id: z.string(),
|
|
9
|
+
name: z.string(),
|
|
10
|
+
url: z.string(),
|
|
11
|
+
});
|
|
12
|
+
const RepoInfoSchema = z.object({
|
|
13
|
+
id: z.string(),
|
|
14
|
+
name: z.string(),
|
|
15
|
+
default_bookmark: z.string(),
|
|
16
|
+
head_change_id: z.string(),
|
|
17
|
+
created_at: z.string(),
|
|
18
|
+
tags: z.record(z.string(), z.string()),
|
|
19
|
+
});
|
|
20
|
+
const RepoSnapshotSchema = z.object({
|
|
21
|
+
name: z.string(),
|
|
22
|
+
default_bookmark: z.string(),
|
|
23
|
+
tags: z.record(z.string(), z.string()),
|
|
24
|
+
});
|
|
25
|
+
const BookmarkInfoSchema = z.object({
|
|
26
|
+
name: z.string(),
|
|
27
|
+
is_default: z.boolean(),
|
|
28
|
+
change_id: z.string(),
|
|
29
|
+
commit_oid: z.string(),
|
|
30
|
+
});
|
|
31
|
+
const CommitAuthorSchema = z.object({
|
|
32
|
+
name: z.string(),
|
|
33
|
+
email: z.string(),
|
|
34
|
+
date: z.string().optional(),
|
|
35
|
+
});
|
|
36
|
+
const ChangeInfoSchema = z.object({
|
|
37
|
+
id: z.string(),
|
|
38
|
+
current_commit_oid: z.string(),
|
|
39
|
+
message: z.string(),
|
|
40
|
+
author: CommitAuthorSchema,
|
|
41
|
+
committer: CommitAuthorSchema,
|
|
42
|
+
parents: z.array(z.string()),
|
|
43
|
+
created_at: z.string(),
|
|
44
|
+
updated_at: z.string(),
|
|
45
|
+
});
|
|
46
|
+
export const RepoCreatedPayloadSchema = z.object({ repo: RepoInfoSchema });
|
|
47
|
+
export const RepoUpdatedPayloadSchema = z.object({
|
|
48
|
+
repo: RepoInfoSchema,
|
|
49
|
+
before: RepoSnapshotSchema,
|
|
50
|
+
after: RepoSnapshotSchema,
|
|
51
|
+
});
|
|
52
|
+
export const RepoDeletedPayloadSchema = z.object({ repo: RepoInfoSchema });
|
|
53
|
+
export const BookmarkCreatedPayloadSchema = z.object({ bookmark: BookmarkInfoSchema });
|
|
54
|
+
export const BookmarkDeletedPayloadSchema = z.object({ bookmark: BookmarkInfoSchema });
|
|
55
|
+
export const BookmarkMovedPayloadSchema = z.object({
|
|
56
|
+
bookmark: BookmarkInfoSchema,
|
|
57
|
+
from: z.object({ change_id: z.string(), commit_oid: z.string() }),
|
|
58
|
+
});
|
|
59
|
+
export const BookmarkMergedPayloadSchema = z.object({ bookmark: BookmarkInfoSchema });
|
|
60
|
+
export const ChangeCreatedPayloadSchema = z.object({ change: ChangeInfoSchema });
|
|
61
|
+
export const ChangeEvolvedPayloadSchema = z.object({
|
|
62
|
+
change: ChangeInfoSchema,
|
|
63
|
+
previous_current_commit_oid: z.string(),
|
|
64
|
+
});
|
|
65
|
+
export const PushPayloadSchema = z.object({
|
|
66
|
+
updates: z.array(z.object({
|
|
67
|
+
ref: z.string(),
|
|
68
|
+
bookmark: z.string(),
|
|
69
|
+
before: z.string().nullable(),
|
|
70
|
+
after: z.string().nullable(),
|
|
71
|
+
action: z.enum(['created', 'updated', 'deleted']),
|
|
72
|
+
})),
|
|
73
|
+
reconciliation: z.object({
|
|
74
|
+
reconciled_commit_count: z.number(),
|
|
75
|
+
touched_change_count: z.number(),
|
|
76
|
+
changes_created_count: z.number(),
|
|
77
|
+
evolog_inserted_count: z.number(),
|
|
78
|
+
invalid_change_id_header_count: z.number(),
|
|
79
|
+
dirty_change_skip_count: z.number(),
|
|
80
|
+
}),
|
|
81
|
+
});
|
|
82
|
+
const WebhookEnvelopeBaseSchema = z.object({
|
|
83
|
+
id: z.string(),
|
|
84
|
+
occurred_at: z.string(),
|
|
85
|
+
organization: OrganizationSchema,
|
|
86
|
+
repository: RepositorySchema.nullable(),
|
|
87
|
+
});
|
|
88
|
+
const RepoCreatedEventSchema = WebhookEnvelopeBaseSchema.extend({
|
|
89
|
+
type: z.literal('repo.created'),
|
|
90
|
+
data: RepoCreatedPayloadSchema,
|
|
91
|
+
});
|
|
92
|
+
const RepoUpdatedEventSchema = WebhookEnvelopeBaseSchema.extend({
|
|
93
|
+
type: z.literal('repo.updated'),
|
|
94
|
+
data: RepoUpdatedPayloadSchema,
|
|
95
|
+
});
|
|
96
|
+
const RepoDeletedEventSchema = WebhookEnvelopeBaseSchema.extend({
|
|
97
|
+
type: z.literal('repo.deleted'),
|
|
98
|
+
data: RepoDeletedPayloadSchema,
|
|
99
|
+
});
|
|
100
|
+
const BookmarkCreatedEventSchema = WebhookEnvelopeBaseSchema.extend({
|
|
101
|
+
type: z.literal('bookmark.created'),
|
|
102
|
+
data: BookmarkCreatedPayloadSchema,
|
|
103
|
+
});
|
|
104
|
+
const BookmarkDeletedEventSchema = WebhookEnvelopeBaseSchema.extend({
|
|
105
|
+
type: z.literal('bookmark.deleted'),
|
|
106
|
+
data: BookmarkDeletedPayloadSchema,
|
|
107
|
+
});
|
|
108
|
+
const BookmarkMovedEventSchema = WebhookEnvelopeBaseSchema.extend({
|
|
109
|
+
type: z.literal('bookmark.moved'),
|
|
110
|
+
data: BookmarkMovedPayloadSchema,
|
|
111
|
+
});
|
|
112
|
+
const BookmarkMergedEventSchema = WebhookEnvelopeBaseSchema.extend({
|
|
113
|
+
type: z.literal('bookmark.merged'),
|
|
114
|
+
data: BookmarkMergedPayloadSchema,
|
|
115
|
+
});
|
|
116
|
+
const ChangeCreatedEventSchema = WebhookEnvelopeBaseSchema.extend({
|
|
117
|
+
type: z.literal('change.created'),
|
|
118
|
+
data: ChangeCreatedPayloadSchema,
|
|
119
|
+
});
|
|
120
|
+
const ChangeEvolvedEventSchema = WebhookEnvelopeBaseSchema.extend({
|
|
121
|
+
type: z.literal('change.evolved'),
|
|
122
|
+
data: ChangeEvolvedPayloadSchema,
|
|
123
|
+
});
|
|
124
|
+
const PushEventSchema = WebhookEnvelopeBaseSchema.extend({ type: z.literal('push'), data: PushPayloadSchema });
|
|
125
|
+
export const WebhookEventSchema = z.discriminatedUnion('type', [
|
|
126
|
+
RepoCreatedEventSchema,
|
|
127
|
+
RepoUpdatedEventSchema,
|
|
128
|
+
RepoDeletedEventSchema,
|
|
129
|
+
BookmarkCreatedEventSchema,
|
|
130
|
+
BookmarkDeletedEventSchema,
|
|
131
|
+
BookmarkMovedEventSchema,
|
|
132
|
+
BookmarkMergedEventSchema,
|
|
133
|
+
ChangeCreatedEventSchema,
|
|
134
|
+
ChangeEvolvedEventSchema,
|
|
135
|
+
PushEventSchema,
|
|
136
|
+
]);
|
|
137
|
+
//# sourceMappingURL=schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAGH,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAGH,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;CACvC,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,CAAC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tB,sBAAsB;IACtB,sBAAsB;IACtB,0BAA0B;IAC1B,0BAA0B;IAC1B,wBAAwB;IACxB,yBAAyB;IACzB,wBAAwB;IACxB,wBAAwB;IACxB,eAAe;CAChB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mesadev/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "Official Mesa TypeScript SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"test": "NODE_OPTIONS='--experimental-vm-modules' jest"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@mesadev/rest": "0.
|
|
36
|
-
"
|
|
37
|
-
"
|
|
35
|
+
"@mesadev/rest": "0.24.0",
|
|
36
|
+
"just-bash": "^2.13.0",
|
|
37
|
+
"zod": "^4.3.6"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@jest/globals": "^30.3.0",
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"author": "Mesa",
|
|
58
58
|
"license": "Apache-2.0",
|
|
59
59
|
"optionalDependencies": {
|
|
60
|
-
"@mesadev/mesa-napi-darwin-arm64": "^0.
|
|
61
|
-
"@mesadev/mesa-napi-linux-x64-gnu": "^0.
|
|
62
|
-
"@mesadev/mesa-napi-linux-x64-musl": "^0.
|
|
63
|
-
"@mesadev/mesa-napi-linux-arm64-gnu": "^0.
|
|
64
|
-
"@mesadev/mesa-napi-linux-arm64-musl": "^0.
|
|
60
|
+
"@mesadev/mesa-napi-darwin-arm64": "^0.24.0",
|
|
61
|
+
"@mesadev/mesa-napi-linux-x64-gnu": "^0.24.0",
|
|
62
|
+
"@mesadev/mesa-napi-linux-x64-musl": "^0.24.0",
|
|
63
|
+
"@mesadev/mesa-napi-linux-arm64-gnu": "^0.24.0",
|
|
64
|
+
"@mesadev/mesa-napi-linux-arm64-musl": "^0.24.0"
|
|
65
65
|
}
|
|
66
66
|
}
|