@marcoappio/marco-config 2.0.269 → 2.0.271
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/marcoPublicConfig.d.ts +0 -5
- package/dist/marcoPublicConfig.d.ts.map +1 -1
- package/dist/marcoPublicConfig.js +0 -15
- package/dist/sdk/endpoints/index.d.ts +6 -3
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +6 -3
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/oauth/google/authorize.d.ts +6 -3
- package/dist/sdk/endpoints/private/oauth/google/authorize.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/oauth/google/authorize.js +6 -3
- package/dist/sdk/endpoints/private/oauth/google/index.d.ts +6 -3
- package/dist/sdk/endpoints/private/oauth/google/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/oauth/index.d.ts +6 -3
- package/dist/sdk/endpoints/private/oauth/index.d.ts.map +1 -1
- package/dist/sdk/index.d.ts +6 -3
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marcoPublicConfig.d.ts","sourceRoot":"","sources":["../src/marcoPublicConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,CAAA;AAEvE,eAAO,MAAM,SAAS,kBAA6D,CAAA;AAEnF,KAAK,iBAAiB,GAAG;IACvB,
|
|
1
|
+
{"version":3,"file":"marcoPublicConfig.d.ts","sourceRoot":"","sources":["../src/marcoPublicConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,CAAA;AAEvE,eAAO,MAAM,SAAS,kBAA6D,CAAA;AAEnF,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE;QACL,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,EAAE,EAAE;YACF,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;KACF,CAAA;IACD,UAAU,EAAE;QACV,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA;AAsED,eAAO,MAAM,iBAAiB,mBAAuB,CAAA"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
export const MARCO_ENV = process.env.MARCO_ENV || 'development';
|
|
2
2
|
const configMap = {
|
|
3
3
|
development: {
|
|
4
|
-
google: {
|
|
5
|
-
oauth: {
|
|
6
|
-
clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
|
|
7
|
-
},
|
|
8
|
-
},
|
|
9
4
|
marco: {
|
|
10
5
|
api: {
|
|
11
6
|
baseUrl: 'https://api.staging.marcoapp.io',
|
|
@@ -27,11 +22,6 @@ const configMap = {
|
|
|
27
22
|
},
|
|
28
23
|
},
|
|
29
24
|
staging: {
|
|
30
|
-
google: {
|
|
31
|
-
oauth: {
|
|
32
|
-
clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
25
|
marco: {
|
|
36
26
|
api: {
|
|
37
27
|
baseUrl: 'https://api.staging.marcoapp.io',
|
|
@@ -54,11 +44,6 @@ const configMap = {
|
|
|
54
44
|
},
|
|
55
45
|
// eslint-disable-next-line sort-keys, sort-keys-fix/sort-keys-fix
|
|
56
46
|
production: {
|
|
57
|
-
google: {
|
|
58
|
-
oauth: {
|
|
59
|
-
clientId: '338197922176-oml1o2iputhhu3vijgue9h8sbfq17qme.apps.googleusercontent.com',
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
47
|
marco: {
|
|
63
48
|
api: {
|
|
64
49
|
baseUrl: 'https://api.marcoapp.io',
|
|
@@ -36,9 +36,9 @@ export declare const endpoints: {
|
|
|
36
36
|
};
|
|
37
37
|
oauth: {
|
|
38
38
|
google: {
|
|
39
|
-
authorize: EndpointConfig<"/v1/pv/
|
|
40
|
-
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").
|
|
41
|
-
readonly
|
|
39
|
+
authorize: EndpointConfig<"/v1/pv/oauth/google/authorize", import("valibot").ObjectSchema<{
|
|
40
|
+
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
41
|
+
readonly redirectTo: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
|
|
42
42
|
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
43
43
|
readonly data: import("valibot").ObjectSchema<{
|
|
44
44
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -60,6 +60,9 @@ export declare const endpoints: {
|
|
|
60
60
|
}, undefined>;
|
|
61
61
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
62
62
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
63
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
64
|
+
readonly url: import("valibot").StringSchema<undefined>;
|
|
65
|
+
}, undefined>;
|
|
63
66
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
64
67
|
}, undefined>], undefined>>;
|
|
65
68
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -33,9 +33,9 @@ export declare const privateGroup: {
|
|
|
33
33
|
};
|
|
34
34
|
oauth: {
|
|
35
35
|
google: {
|
|
36
|
-
authorize: import("../../..").EndpointConfig<"/v1/pv/
|
|
37
|
-
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").
|
|
38
|
-
readonly
|
|
36
|
+
authorize: import("../../..").EndpointConfig<"/v1/pv/oauth/google/authorize", import("valibot").ObjectSchema<{
|
|
37
|
+
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
38
|
+
readonly redirectTo: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
|
|
39
39
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
40
40
|
readonly data: import("valibot").ObjectSchema<{
|
|
41
41
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -57,6 +57,9 @@ export declare const privateGroup: {
|
|
|
57
57
|
}, undefined>;
|
|
58
58
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
59
59
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
60
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
61
|
+
readonly url: import("valibot").StringSchema<undefined>;
|
|
62
|
+
}, undefined>;
|
|
60
63
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
61
64
|
}, undefined>], undefined>>;
|
|
62
65
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
-
export declare const authorize: import("../../../../..").EndpointConfig<"/v1/pv/
|
|
3
|
-
readonly accountId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.
|
|
4
|
-
readonly
|
|
2
|
+
export declare const authorize: import("../../../../..").EndpointConfig<"/v1/pv/oauth/google/authorize", v.ObjectSchema<{
|
|
3
|
+
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
|
+
readonly redirectTo: v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
5
5
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
6
6
|
readonly data: v.ObjectSchema<{
|
|
7
7
|
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -23,6 +23,9 @@ export declare const authorize: import("../../../../..").EndpointConfig<"/v1/pv/
|
|
|
23
23
|
}, undefined>;
|
|
24
24
|
readonly status: v.LiteralSchema<404, undefined>;
|
|
25
25
|
}, undefined>, v.ObjectSchema<{
|
|
26
|
+
readonly data: v.ObjectSchema<{
|
|
27
|
+
readonly url: v.StringSchema<undefined>;
|
|
28
|
+
}, undefined>;
|
|
26
29
|
readonly status: v.LiteralSchema<200, undefined>;
|
|
27
30
|
}, undefined>], undefined>>;
|
|
28
31
|
//# sourceMappingURL=authorize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authorize.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/oauth/google/authorize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"authorize.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/oauth/google/authorize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkBpB,CAAA"}
|
|
@@ -4,16 +4,19 @@ import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfi
|
|
|
4
4
|
import { accountNotFoundErrorSchema, authFailedErrorSchema, validationFailedErrorSchema } from '../../../../../sdk/validation/errors';
|
|
5
5
|
export const authorize = createEndpoint({
|
|
6
6
|
body: v.object({
|
|
7
|
-
accountId: marcoSchemas.string.
|
|
8
|
-
|
|
7
|
+
accountId: marcoSchemas.string.required(),
|
|
8
|
+
redirectTo: v.pipe(v.string(), v.url()),
|
|
9
9
|
}),
|
|
10
10
|
method: 'POST',
|
|
11
|
-
path: '/v1/pv/
|
|
11
|
+
path: '/v1/pv/oauth/google/authorize',
|
|
12
12
|
response: v.union([
|
|
13
13
|
authFailedErrorSchema,
|
|
14
14
|
validationFailedErrorSchema,
|
|
15
15
|
accountNotFoundErrorSchema,
|
|
16
16
|
v.object({
|
|
17
|
+
data: v.object({
|
|
18
|
+
url: v.string(),
|
|
19
|
+
}),
|
|
17
20
|
status: v.literal(200),
|
|
18
21
|
}),
|
|
19
22
|
]),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const google: {
|
|
2
|
-
authorize: import("../../../../..").EndpointConfig<"/v1/pv/
|
|
3
|
-
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").
|
|
4
|
-
readonly
|
|
2
|
+
authorize: import("../../../../..").EndpointConfig<"/v1/pv/oauth/google/authorize", import("valibot").ObjectSchema<{
|
|
3
|
+
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
|
+
readonly redirectTo: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
|
|
5
5
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
6
6
|
readonly data: import("valibot").ObjectSchema<{
|
|
7
7
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -23,6 +23,9 @@ export declare const google: {
|
|
|
23
23
|
}, undefined>;
|
|
24
24
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
25
25
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
26
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
27
|
+
readonly url: import("valibot").StringSchema<undefined>;
|
|
28
|
+
}, undefined>;
|
|
26
29
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
27
30
|
}, undefined>], undefined>>;
|
|
28
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/oauth/google/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/oauth/google/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAElB,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const oauth: {
|
|
2
2
|
google: {
|
|
3
|
-
authorize: import("../../../..").EndpointConfig<"/v1/pv/
|
|
4
|
-
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").
|
|
5
|
-
readonly
|
|
3
|
+
authorize: import("../../../..").EndpointConfig<"/v1/pv/oauth/google/authorize", import("valibot").ObjectSchema<{
|
|
4
|
+
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
5
|
+
readonly redirectTo: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
|
|
6
6
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
7
7
|
readonly data: import("valibot").ObjectSchema<{
|
|
8
8
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -24,6 +24,9 @@ export declare const oauth: {
|
|
|
24
24
|
}, undefined>;
|
|
25
25
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
26
26
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
27
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
28
|
+
readonly url: import("valibot").StringSchema<undefined>;
|
|
29
|
+
}, undefined>;
|
|
27
30
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
28
31
|
}, undefined>], undefined>>;
|
|
29
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/oauth/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/oauth/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEjB,CAAA"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -35,9 +35,9 @@ export declare const marcoSDK: {
|
|
|
35
35
|
};
|
|
36
36
|
oauth: {
|
|
37
37
|
google: {
|
|
38
|
-
authorize: import("..").EndpointConfig<"/v1/pv/
|
|
39
|
-
readonly accountId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").
|
|
40
|
-
readonly
|
|
38
|
+
authorize: import("..").EndpointConfig<"/v1/pv/oauth/google/authorize", import("valibot").ObjectSchema<{
|
|
39
|
+
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
40
|
+
readonly redirectTo: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UrlAction<string, undefined>]>;
|
|
41
41
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
42
42
|
readonly data: import("valibot").ObjectSchema<{
|
|
43
43
|
readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
@@ -59,6 +59,9 @@ export declare const marcoSDK: {
|
|
|
59
59
|
}, undefined>;
|
|
60
60
|
readonly status: import("valibot").LiteralSchema<404, undefined>;
|
|
61
61
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
62
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
63
|
+
readonly url: import("valibot").StringSchema<undefined>;
|
|
64
|
+
}, undefined>;
|
|
62
65
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
63
66
|
}, undefined>], undefined>>;
|
|
64
67
|
};
|
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;;;;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