@uniformdev/webhooks 17.7.0 → 17.7.1-alpha.140
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/index.d.ts +7 -7
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -82,15 +82,15 @@ declare const CompositionPayloadSchema: z.ZodObject<{
|
|
|
82
82
|
};
|
|
83
83
|
edit_url: string;
|
|
84
84
|
}>;
|
|
85
|
-
|
|
85
|
+
type CompositionPayload = z.infer<typeof CompositionPayloadSchema>;
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
type DefinitionOptions<TSchema> = {
|
|
88
88
|
event: string;
|
|
89
89
|
name: string;
|
|
90
90
|
description: string;
|
|
91
91
|
schema: TSchema;
|
|
92
92
|
};
|
|
93
|
-
|
|
93
|
+
type Definition<TSchema extends ZodTypeAny = ZodTypeAny> = DefinitionOptions<TSchema> & {
|
|
94
94
|
_definition: true;
|
|
95
95
|
example: z.TypeOf<TSchema>;
|
|
96
96
|
};
|
|
@@ -179,7 +179,7 @@ declare const CompositionChangedDefinition: Definition<z.ZodObject<{
|
|
|
179
179
|
};
|
|
180
180
|
edit_url: string;
|
|
181
181
|
}>>;
|
|
182
|
-
|
|
182
|
+
type CompositionChangedPayload = z.infer<typeof CompositionChangedDefinition['schema']>;
|
|
183
183
|
declare const CompositionChangedEventName: string;
|
|
184
184
|
|
|
185
185
|
declare const CompositionDeletedDefinition: Definition<z.ZodObject<{
|
|
@@ -228,7 +228,7 @@ declare const CompositionDeletedDefinition: Definition<z.ZodObject<{
|
|
|
228
228
|
email: string;
|
|
229
229
|
};
|
|
230
230
|
}>>;
|
|
231
|
-
|
|
231
|
+
type CompositionDeletedPayload = z.infer<typeof CompositionDeletedDefinition['schema']>;
|
|
232
232
|
declare const CompositionDeletedEventName: string;
|
|
233
233
|
|
|
234
234
|
declare const CompositionPublishedDefinition: Definition<z.ZodObject<{
|
|
@@ -313,7 +313,7 @@ declare const CompositionPublishedDefinition: Definition<z.ZodObject<{
|
|
|
313
313
|
};
|
|
314
314
|
edit_url: string;
|
|
315
315
|
}>>;
|
|
316
|
-
|
|
316
|
+
type CompositionPublishedPayload = z.infer<typeof CompositionPublishedDefinition['schema']>;
|
|
317
317
|
declare const CompositionPublishedEventName: string;
|
|
318
318
|
|
|
319
319
|
declare const ManifestPublishedDefinition: Definition<z.ZodObject<{
|
|
@@ -354,7 +354,7 @@ declare const ManifestPublishedDefinition: Definition<z.ZodObject<{
|
|
|
354
354
|
name: string;
|
|
355
355
|
};
|
|
356
356
|
}>>;
|
|
357
|
-
|
|
357
|
+
type ManifestPublishedPayload = z.infer<typeof ManifestPublishedDefinition['schema']>;
|
|
358
358
|
declare const ManifestPublishedEventName: string;
|
|
359
359
|
|
|
360
360
|
export { CompositionChangedDefinition, CompositionChangedEventName, CompositionChangedPayload, CompositionDeletedDefinition, CompositionDeletedEventName, CompositionDeletedPayload, CompositionPayload, CompositionPayloadSchema, CompositionPublishedDefinition, CompositionPublishedEventName, CompositionPublishedPayload, Definition, DefinitionOptions, ManifestPublishedDefinition, ManifestPublishedEventName, ManifestPublishedPayload, definition, isDefinition };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/webhooks",
|
|
3
|
-
"version": "17.7.
|
|
3
|
+
"version": "17.7.1-alpha.140+80ab6baf9",
|
|
4
4
|
"description": "Uniform Webhooks",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"/dist"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"zod": "3.
|
|
31
|
+
"zod": "3.20.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"dotenv": "^16.0.3",
|
|
35
35
|
"npm-run-all": "4.1.5",
|
|
36
|
-
"svix": "^0.
|
|
37
|
-
"zod-to-json-schema": "3.
|
|
36
|
+
"svix": "^0.74.1",
|
|
37
|
+
"zod-to-json-schema": "3.20.1"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "80ab6baf9edea6b520738bd3dff5c6afc882bf77"
|
|
40
40
|
}
|