@marcoappio/marco-config 2.0.121 → 2.0.123
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/sdk/endpoints/index.d.ts +5 -13
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +5 -13
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +5 -13
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +0 -3
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/account.js +0 -1
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +0 -3
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/contact.js +0 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +5 -10
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +5 -4
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.js +5 -2
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +0 -3
- package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.js +0 -1
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +0 -3
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +5 -13
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +0 -8
- package/dist/sdk/validation/errors.d.ts.map +1 -1
- package/dist/sdk/validation/errors.js +0 -5
- package/package.json +1 -1
|
@@ -13,9 +13,6 @@ export declare const endpoints: {
|
|
|
13
13
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
14
14
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
15
15
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
16
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
17
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
18
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
19
16
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
20
17
|
readonly data: import("valibot").ObjectSchema<{
|
|
21
18
|
readonly cookie: import("valibot").NumberSchema<undefined>;
|
|
@@ -56,9 +53,6 @@ export declare const endpoints: {
|
|
|
56
53
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
57
54
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
58
55
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
59
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
60
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
61
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
62
56
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
63
57
|
readonly data: import("valibot").ObjectSchema<{
|
|
64
58
|
readonly cookie: import("valibot").NumberSchema<undefined>;
|
|
@@ -89,12 +83,13 @@ export declare const endpoints: {
|
|
|
89
83
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
90
84
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
91
85
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
92
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
93
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
94
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
95
86
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
96
87
|
readonly data: import("valibot").ObjectSchema<{
|
|
97
|
-
readonly cookie: import("valibot").
|
|
88
|
+
readonly cookie: import("valibot").ObjectSchema<{
|
|
89
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
90
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
91
|
+
}, undefined>;
|
|
92
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
98
93
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
99
94
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
100
95
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -157,9 +152,6 @@ export declare const endpoints: {
|
|
|
157
152
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
158
153
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
159
154
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
160
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
161
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
162
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
163
155
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
164
156
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
165
157
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -10,9 +10,6 @@ export declare const privateGroup: {
|
|
|
10
10
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
11
11
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
12
12
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
13
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
14
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
15
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
16
13
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
17
14
|
readonly data: import("valibot").ObjectSchema<{
|
|
18
15
|
readonly cookie: import("valibot").NumberSchema<undefined>;
|
|
@@ -53,9 +50,6 @@ export declare const privateGroup: {
|
|
|
53
50
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
54
51
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
55
52
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
56
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
57
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
58
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
59
53
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
60
54
|
readonly data: import("valibot").ObjectSchema<{
|
|
61
55
|
readonly cookie: import("valibot").NumberSchema<undefined>;
|
|
@@ -86,12 +80,13 @@ export declare const privateGroup: {
|
|
|
86
80
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
87
81
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
88
82
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
89
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
90
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
91
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
92
83
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
93
84
|
readonly data: import("valibot").ObjectSchema<{
|
|
94
|
-
readonly cookie: import("valibot").
|
|
85
|
+
readonly cookie: import("valibot").ObjectSchema<{
|
|
86
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
87
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
88
|
+
}, undefined>;
|
|
89
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
95
90
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
96
91
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
97
92
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -154,9 +149,6 @@ export declare const privateGroup: {
|
|
|
154
149
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
155
150
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
156
151
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
157
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
158
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
159
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
160
152
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
161
153
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
162
154
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAExB,CAAA"}
|
|
@@ -9,9 +9,6 @@ export declare const sync: {
|
|
|
9
9
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
10
10
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
11
11
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
12
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
13
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
14
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
15
12
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
16
13
|
readonly data: import("valibot").ObjectSchema<{
|
|
17
14
|
readonly cookie: import("valibot").NumberSchema<undefined>;
|
|
@@ -52,9 +49,6 @@ export declare const sync: {
|
|
|
52
49
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
53
50
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
54
51
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
55
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
56
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
57
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
58
52
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
59
53
|
readonly data: import("valibot").ObjectSchema<{
|
|
60
54
|
readonly cookie: import("valibot").NumberSchema<undefined>;
|
|
@@ -85,12 +79,13 @@ export declare const sync: {
|
|
|
85
79
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
86
80
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
87
81
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
88
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
89
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
90
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
91
82
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
92
83
|
readonly data: import("valibot").ObjectSchema<{
|
|
93
|
-
readonly cookie: import("valibot").
|
|
84
|
+
readonly cookie: import("valibot").ObjectSchema<{
|
|
85
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
86
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
87
|
+
}, undefined>;
|
|
88
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
94
89
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
95
90
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
96
91
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -153,9 +148,6 @@ export declare const sync: {
|
|
|
153
148
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
154
149
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
155
150
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
156
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
157
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
158
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
159
151
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
160
152
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
161
153
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -8,9 +8,6 @@ export declare const syncPullAccount: import("../../../../../types").EndpointCon
|
|
|
8
8
|
}, undefined>, v.ObjectSchema<{
|
|
9
9
|
readonly code: v.LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
10
10
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
11
|
-
}, undefined>, v.ObjectSchema<{
|
|
12
|
-
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
13
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
14
11
|
}, undefined>, v.ObjectSchema<{
|
|
15
12
|
readonly data: v.ObjectSchema<{
|
|
16
13
|
readonly cookie: v.NumberSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwB1B,CAAA"}
|
|
@@ -8,9 +8,6 @@ export declare const syncPullContact: import("../../../../../types").EndpointCon
|
|
|
8
8
|
}, undefined>, v.ObjectSchema<{
|
|
9
9
|
readonly code: v.LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
10
10
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
11
|
-
}, undefined>, v.ObjectSchema<{
|
|
12
|
-
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
13
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
14
11
|
}, undefined>, v.ObjectSchema<{
|
|
15
12
|
readonly data: v.ObjectSchema<{
|
|
16
13
|
readonly cookie: v.NumberSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/contact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/contact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwB1B,CAAA"}
|
|
@@ -8,9 +8,6 @@ export declare const pull: {
|
|
|
8
8
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
9
9
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
10
10
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
11
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
12
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
13
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
14
11
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
15
12
|
readonly data: import("valibot").ObjectSchema<{
|
|
16
13
|
readonly cookie: import("valibot").NumberSchema<undefined>;
|
|
@@ -51,9 +48,6 @@ export declare const pull: {
|
|
|
51
48
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
52
49
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
53
50
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
54
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
55
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
56
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
57
51
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
58
52
|
readonly data: import("valibot").ObjectSchema<{
|
|
59
53
|
readonly cookie: import("valibot").NumberSchema<undefined>;
|
|
@@ -84,12 +78,13 @@ export declare const pull: {
|
|
|
84
78
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
85
79
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
86
80
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
87
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
88
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
89
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
90
81
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
91
82
|
readonly data: import("valibot").ObjectSchema<{
|
|
92
|
-
readonly cookie: import("valibot").
|
|
83
|
+
readonly cookie: import("valibot").ObjectSchema<{
|
|
84
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
85
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
86
|
+
}, undefined>;
|
|
87
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
93
88
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
94
89
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
95
90
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAA"}
|
|
@@ -8,12 +8,13 @@ export declare const syncPullThread: import("../../../../../types").EndpointConf
|
|
|
8
8
|
}, undefined>, v.ObjectSchema<{
|
|
9
9
|
readonly code: v.LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
10
10
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
11
|
-
}, undefined>, v.ObjectSchema<{
|
|
12
|
-
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
13
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
14
11
|
}, undefined>, v.ObjectSchema<{
|
|
15
12
|
readonly data: v.ObjectSchema<{
|
|
16
|
-
readonly cookie: v.
|
|
13
|
+
readonly cookie: v.ObjectSchema<{
|
|
14
|
+
readonly id: v.StringSchema<undefined>;
|
|
15
|
+
readonly version: v.NumberSchema<undefined>;
|
|
16
|
+
}, undefined>;
|
|
17
|
+
readonly hasMore: v.BooleanSchema<undefined>;
|
|
17
18
|
readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
|
|
18
19
|
readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
19
20
|
readonly op: v.LiteralSchema<"clear", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4BzB,CAAA"}
|
|
@@ -13,10 +13,13 @@ export const syncPullThread = createEndpoint({
|
|
|
13
13
|
response: v.union([
|
|
14
14
|
errorManifest.validationFailedErrorSchema,
|
|
15
15
|
errorManifest.notAuthenticatedErrorSchema,
|
|
16
|
-
errorManifest.userNotFoundErrorSchema,
|
|
17
16
|
v.object({
|
|
18
17
|
data: v.object({
|
|
19
|
-
cookie: v.
|
|
18
|
+
cookie: v.object({
|
|
19
|
+
id: v.string(),
|
|
20
|
+
version: v.number(),
|
|
21
|
+
}),
|
|
22
|
+
hasMore: v.boolean(),
|
|
20
23
|
lastMutationIDChanges: v.record(v.string(), v.number()),
|
|
21
24
|
patch: v.array(v.union([
|
|
22
25
|
v.object({ op: v.literal('clear') }),
|
|
@@ -28,9 +28,6 @@ export declare const syncPushAccount: import("../../../../../types").EndpointCon
|
|
|
28
28
|
}, undefined>, v.ObjectSchema<{
|
|
29
29
|
readonly code: v.LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
30
30
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
31
|
-
}, undefined>, v.ObjectSchema<{
|
|
32
|
-
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
33
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
34
31
|
}, undefined>, v.ObjectSchema<{
|
|
35
32
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
36
33
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAO5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyB1B,CAAA"}
|
|
@@ -28,9 +28,6 @@ export declare const push: {
|
|
|
28
28
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
29
29
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
30
30
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
31
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
32
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
33
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
34
31
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
35
32
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
36
33
|
}, undefined>], undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAc,CAAA"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -12,9 +12,6 @@ export declare const marcoSDK: {
|
|
|
12
12
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
13
13
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
14
14
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
15
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
16
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
17
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
18
15
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
19
16
|
readonly data: import("valibot").ObjectSchema<{
|
|
20
17
|
readonly cookie: import("valibot").NumberSchema<undefined>;
|
|
@@ -55,9 +52,6 @@ export declare const marcoSDK: {
|
|
|
55
52
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
56
53
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
57
54
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
58
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
59
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
60
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
61
55
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
62
56
|
readonly data: import("valibot").ObjectSchema<{
|
|
63
57
|
readonly cookie: import("valibot").NumberSchema<undefined>;
|
|
@@ -88,12 +82,13 @@ export declare const marcoSDK: {
|
|
|
88
82
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
89
83
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
90
84
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
91
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
92
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
93
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
94
85
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
95
86
|
readonly data: import("valibot").ObjectSchema<{
|
|
96
|
-
readonly cookie: import("valibot").
|
|
87
|
+
readonly cookie: import("valibot").ObjectSchema<{
|
|
88
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
89
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
90
|
+
}, undefined>;
|
|
91
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
97
92
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
98
93
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
99
94
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -156,9 +151,6 @@ export declare const marcoSDK: {
|
|
|
156
151
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
157
152
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
158
153
|
readonly status: import("valibot").LiteralSchema<401, undefined>;
|
|
159
|
-
}, undefined>, import("valibot").ObjectSchema<{
|
|
160
|
-
readonly code: import("valibot").LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
161
|
-
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
162
154
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
163
155
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
164
156
|
}, undefined>], undefined>>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
|
@@ -12,10 +12,6 @@ export declare const authenticationFailedErrorSchema: v.ObjectSchema<{
|
|
|
12
12
|
readonly details: v.StringSchema<undefined>;
|
|
13
13
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
14
14
|
}, undefined>;
|
|
15
|
-
export declare const userNotFoundErrorSchema: v.ObjectSchema<{
|
|
16
|
-
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
17
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
18
|
-
}, undefined>;
|
|
19
15
|
export declare const errorManifest: {
|
|
20
16
|
authenticationFailedErrorSchema: v.ObjectSchema<{
|
|
21
17
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -26,10 +22,6 @@ export declare const errorManifest: {
|
|
|
26
22
|
readonly code: v.LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
27
23
|
readonly status: v.LiteralSchema<401, undefined>;
|
|
28
24
|
}, undefined>;
|
|
29
|
-
userNotFoundErrorSchema: v.ObjectSchema<{
|
|
30
|
-
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
31
|
-
readonly status: v.LiteralSchema<404, undefined>;
|
|
32
|
-
}, undefined>;
|
|
33
25
|
validationFailedErrorSchema: v.ObjectSchema<{
|
|
34
26
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
35
27
|
readonly status: v.LiteralSchema<400, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAQ5B,eAAO,MAAM,2BAA2B;;;aAGtC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;aAGtC,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;aAI1C,CAAA;AAEF,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAQ5B,eAAO,MAAM,2BAA2B;;;aAGtC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;aAGtC,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;aAI1C,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;CAID,CAAA"}
|
|
@@ -12,13 +12,8 @@ export const authenticationFailedErrorSchema = v.object({
|
|
|
12
12
|
details: v.string(),
|
|
13
13
|
status: v.literal(400),
|
|
14
14
|
});
|
|
15
|
-
export const userNotFoundErrorSchema = v.object({
|
|
16
|
-
code: v.literal('USER_NOT_FOUND'),
|
|
17
|
-
status: v.literal(404),
|
|
18
|
-
});
|
|
19
15
|
export const errorManifest = {
|
|
20
16
|
authenticationFailedErrorSchema,
|
|
21
17
|
notAuthenticatedErrorSchema,
|
|
22
|
-
userNotFoundErrorSchema,
|
|
23
18
|
validationFailedErrorSchema,
|
|
24
19
|
};
|