@assemblis/contracts 0.2.6 → 1.0.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/src/types/api.ts DELETED
@@ -1,66 +0,0 @@
1
- import z from 'zod';
2
- import {
3
- PatchAccountReportsIdPublishSchema,
4
- PostAccountReportsIdCoverImageSchema,
5
- PutAccountReportsIdContentSchema,
6
- LogSchema,
7
- PinListSchema,
8
- PinSchema
9
- } from '../schemas';
10
- import {
11
- AssembliesListSchema,
12
- AssemblyDetailSchema,
13
- AssemblyOverviewSchema,
14
- FeedbackSchema,
15
- RegisterSchema,
16
- SurveyResponseSchema,
17
- SurveySchema
18
- } from '../schemas/legacy';
19
-
20
- export type PutAccountReportsIdContentPayload = z.infer<
21
- (typeof PutAccountReportsIdContentSchema)['payload']
22
- >;
23
- export type PublishReportPayload = z.infer<
24
- (typeof PatchAccountReportsIdPublishSchema)['payload']
25
- >;
26
- export type ImageMetadataPayload = z.infer<
27
- (typeof PostAccountReportsIdCoverImageSchema)['payload']
28
- >;
29
-
30
- export type AssemblyDetailPayload = z.infer<
31
- (typeof AssemblyDetailSchema)['payload']
32
- >;
33
- export type AssemblyOverviewPayload = z.infer<
34
- (typeof AssemblyOverviewSchema)['payload']
35
- >;
36
- export type AssembliesListPayload = z.infer<
37
- (typeof AssembliesListSchema)['payload']
38
- >;
39
- export type FeedbackPayload = z.infer<(typeof FeedbackSchema)['payload']>;
40
- export type LogPayload = z.infer<(typeof LogSchema)['payload']>;
41
- export type PinPayload = z.infer<(typeof PinSchema)['payload']>;
42
- export type PinListPayload = z.infer<(typeof PinListSchema)['payload']>;
43
- export type RegisterPayload = z.infer<(typeof RegisterSchema)['payload']>;
44
- export type SurveyPayload = z.infer<(typeof SurveySchema)['payload']>;
45
- export type SurveyResponsePayload = z.infer<
46
- (typeof SurveyResponseSchema)['payload']
47
- >;
48
-
49
- export type AssemblyDetailResponse = z.infer<
50
- (typeof AssemblyDetailSchema)['response']
51
- >;
52
- export type AssemblyOverviewResponse = z.infer<
53
- (typeof AssemblyOverviewSchema)['response']
54
- >;
55
- export type AssembliesListResponse = z.infer<
56
- (typeof AssembliesListSchema)['response']
57
- >;
58
- export type FeedbackResponse = z.infer<(typeof FeedbackSchema)['response']>;
59
- export type LogResponse = z.infer<(typeof LogSchema)['response']>;
60
- export type PinResponse = z.infer<(typeof PinSchema)['response']>;
61
- export type PinListResponse = z.infer<(typeof PinListSchema)['response']>;
62
- export type RegisterResponse = z.infer<(typeof RegisterSchema)['response']>;
63
- export type SurveyResponse = z.infer<(typeof SurveySchema)['response']>;
64
- export type SurveyResponseResponse = z.infer<
65
- (typeof SurveyResponseSchema)['response']
66
- >;