terse-types 0.0.38 → 0.0.39

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/Triggers.js CHANGED
@@ -178,37 +178,38 @@ export const LinearWebhookAssigneeSchema = z.object({
178
178
  id: z.string(),
179
179
  name: z.string()
180
180
  });
181
- export const LinearWebhookDataSchema = z.object({
181
+ export const LinearWebhookDataSchema = z
182
+ .object({
182
183
  id: z.string(),
183
- createdAt: z.string(),
184
- updatedAt: z.string(),
185
- number: z.number(),
186
- title: z.string(),
187
- priority: z.number(),
188
- sortOrder: z.number(),
189
- prioritySortOrder: z.number(),
190
- slaType: z.string(),
191
- addedToTeamAt: z.string(),
192
- trashed: z.boolean(),
193
- labelIds: z.array(z.string()),
194
- teamId: z.string(),
195
- previousIdentifiers: z.array(z.string()),
196
- stateId: z.string(),
197
- reactionData: z.array(z.any()),
198
- priorityLabel: z.string(),
199
- botActor: z.string().optional(),
200
- identifier: z.string(),
201
- url: z.string(),
202
- subscriberIds: z.array(z.string()),
203
- state: LinearWebhookStateSchema,
204
- team: LinearWebhookTeamSchema,
205
- labels: z.array(z.any()),
184
+ createdAt: z.string().optional(),
185
+ updatedAt: z.string().optional(),
186
+ number: z.number().optional(),
187
+ title: z.string().optional(),
188
+ priority: z.number().optional(),
189
+ sortOrder: z.number().optional(),
190
+ prioritySortOrder: z.number().optional(),
191
+ slaType: z.string().optional(),
192
+ addedToTeamAt: z.string().optional(),
193
+ trashed: z.boolean().nullable().optional(),
194
+ labelIds: z.array(z.string()).optional(),
195
+ teamId: z.string().optional(),
196
+ previousIdentifiers: z.array(z.string()).optional(),
197
+ stateId: z.string().optional(),
198
+ reactionData: z.array(z.any()).optional(),
199
+ priorityLabel: z.string().optional(),
200
+ botActor: z.string().nullable().optional(),
201
+ identifier: z.string().optional(),
202
+ url: z.string().optional(),
203
+ subscriberIds: z.array(z.string()).optional(),
204
+ state: LinearWebhookStateSchema.optional(),
205
+ team: LinearWebhookTeamSchema.optional(),
206
+ labels: z.array(z.any()).optional(),
206
207
  description: z.string().optional(),
207
208
  descriptionData: z.string().optional(),
208
209
  assignee: LinearWebhookAssigneeSchema.optional(),
209
- /** Present on many issue webhooks; used for trigger scoping */
210
210
  projectId: z.string().optional()
211
- });
211
+ })
212
+ .passthrough();
212
213
  export const LinearWebhookCommentDataSchema = z
213
214
  .object({
214
215
  id: z.string(),