@marcoappio/marco-config 2.0.283 → 2.0.285
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 +8 -0
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/config/index.d.ts +10 -0
- package/dist/sdk/endpoints/public/config/index.d.ts.map +1 -0
- package/dist/sdk/endpoints/public/config/index.js +14 -0
- package/dist/sdk/endpoints/public/index.d.ts +8 -0
- package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/public/index.js +2 -0
- package/dist/sdk/index.d.ts +8 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -918,6 +918,14 @@ export declare const endpoints: {
|
|
|
918
918
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
919
919
|
}, undefined>], undefined>>;
|
|
920
920
|
};
|
|
921
|
+
config: EndpointConfig<"/v1/pb/config", GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").ObjectSchema<{
|
|
922
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
923
|
+
readonly app: import("valibot").ObjectSchema<{
|
|
924
|
+
readonly minimumVersion: import("valibot").StringSchema<undefined>;
|
|
925
|
+
}, undefined>;
|
|
926
|
+
}, undefined>;
|
|
927
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
928
|
+
}, undefined>>;
|
|
921
929
|
healthcheck: EndpointConfig<"/v1/pb/healthcheck", GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").ObjectSchema<{
|
|
922
930
|
readonly data: import("valibot").ObjectSchema<{
|
|
923
931
|
readonly status: import("valibot").LiteralSchema<"ok", 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,EAAe,MAAM,qBAAqB,CAAA;AAcjE,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,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const config: import("../../../..").EndpointConfig<"/v1/pb/config", v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.ObjectSchema<{
|
|
3
|
+
readonly data: v.ObjectSchema<{
|
|
4
|
+
readonly app: v.ObjectSchema<{
|
|
5
|
+
readonly minimumVersion: v.StringSchema<undefined>;
|
|
6
|
+
}, undefined>;
|
|
7
|
+
}, undefined>;
|
|
8
|
+
readonly status: v.LiteralSchema<200, undefined>;
|
|
9
|
+
}, undefined>>;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/public/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B,eAAO,MAAM,MAAM;;;;;;;cAWjB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
|
|
3
|
+
export const config = createEndpoint({
|
|
4
|
+
method: 'GET',
|
|
5
|
+
path: '/v1/pb/config',
|
|
6
|
+
response: v.object({
|
|
7
|
+
data: v.object({
|
|
8
|
+
app: v.object({
|
|
9
|
+
minimumVersion: v.string(),
|
|
10
|
+
}),
|
|
11
|
+
}),
|
|
12
|
+
status: v.literal(200),
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -130,6 +130,14 @@ export declare const publicGroup: {
|
|
|
130
130
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
131
131
|
}, undefined>], undefined>>;
|
|
132
132
|
};
|
|
133
|
+
config: import("../../..").EndpointConfig<"/v1/pb/config", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").ObjectSchema<{
|
|
134
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
135
|
+
readonly app: import("valibot").ObjectSchema<{
|
|
136
|
+
readonly minimumVersion: import("valibot").StringSchema<undefined>;
|
|
137
|
+
}, undefined>;
|
|
138
|
+
}, undefined>;
|
|
139
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
140
|
+
}, undefined>>;
|
|
133
141
|
healthcheck: import("../../..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").ObjectSchema<{
|
|
134
142
|
readonly data: import("valibot").ObjectSchema<{
|
|
135
143
|
readonly status: import("valibot").LiteralSchema<"ok", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/public/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAA"}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -917,6 +917,14 @@ export declare const marcoSDK: {
|
|
|
917
917
|
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
918
918
|
}, undefined>], undefined>>;
|
|
919
919
|
};
|
|
920
|
+
config: import("..").EndpointConfig<"/v1/pb/config", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").ObjectSchema<{
|
|
921
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
922
|
+
readonly app: import("valibot").ObjectSchema<{
|
|
923
|
+
readonly minimumVersion: import("valibot").StringSchema<undefined>;
|
|
924
|
+
}, undefined>;
|
|
925
|
+
}, undefined>;
|
|
926
|
+
readonly status: import("valibot").LiteralSchema<200, undefined>;
|
|
927
|
+
}, undefined>>;
|
|
920
928
|
healthcheck: import("..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").ObjectSchema<{
|
|
921
929
|
readonly data: import("valibot").ObjectSchema<{
|
|
922
930
|
readonly status: import("valibot").LiteralSchema<"ok", 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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2
|
"name": "@marcoappio/marco-config",
|
|
3
3
|
"packageManager": "bun@1.2.0",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.285",
|
|
5
5
|
"author": "team@marcoapp.io",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"repository": "git@github.com:marcoappio/marco-config.git",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@auto-it/npm": "11.2.0",
|
|
41
41
|
"auto": "11.2.0",
|
|
42
|
-
"tsc-alias": "1.8.
|
|
43
|
-
"typescript": "5.
|
|
42
|
+
"tsc-alias": "1.8.16",
|
|
43
|
+
"typescript": "5.7.3"
|
|
44
44
|
}
|
|
45
45
|
}
|