@marcoappio/marco-config 2.0.121 → 2.0.122
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 +4 -13
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +4 -13
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +4 -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 +4 -10
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +4 -4
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.js +4 -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 +4 -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,12 @@ 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>;
|
|
98
92
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
99
93
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
100
94
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -157,9 +151,6 @@ export declare const endpoints: {
|
|
|
157
151
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
158
152
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
159
153
|
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
154
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
164
155
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
165
156
|
}, 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,12 @@ 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>;
|
|
95
89
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
96
90
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
97
91
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -154,9 +148,6 @@ export declare const privateGroup: {
|
|
|
154
148
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
155
149
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
156
150
|
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
151
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
161
152
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
162
153
|
}, 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,12 @@ 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>;
|
|
94
88
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
95
89
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
96
90
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -153,9 +147,6 @@ export declare const sync: {
|
|
|
153
147
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
154
148
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
155
149
|
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
150
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
160
151
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
161
152
|
}, 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,12 @@ 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>;
|
|
93
87
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
94
88
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
95
89
|
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,12 @@ 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
17
|
readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
|
|
18
18
|
readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
19
19
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA2BzB,CAAA"}
|
|
@@ -13,10 +13,12 @@ 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
|
+
}),
|
|
20
22
|
lastMutationIDChanges: v.record(v.string(), v.number()),
|
|
21
23
|
patch: v.array(v.union([
|
|
22
24
|
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,12 @@ 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>;
|
|
97
91
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
98
92
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
99
93
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -156,9 +150,6 @@ export declare const marcoSDK: {
|
|
|
156
150
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
157
151
|
readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
|
|
158
152
|
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
153
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
163
154
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
164
155
|
}, 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
|
};
|