@remnawave/backend-contract 2.2.2 → 2.2.4
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/build/backend/api/controllers/subscription-template.d.ts +4 -1
- package/build/backend/api/controllers/subscription-template.d.ts.map +1 -1
- package/build/backend/api/controllers/subscription-template.js +5 -2
- package/build/backend/api/routes.d.ts +4 -1
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +4 -1
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +33 -22
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +60 -40
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/create-template.command.d.ts +70 -0
- package/build/backend/commands/subscription-template/create-template.command.d.ts.map +1 -0
- package/build/backend/commands/subscription-template/create-template.command.js +26 -0
- package/build/backend/commands/subscription-template/delete-subscription-template.command.d.ts +33 -0
- package/build/backend/commands/subscription-template/delete-subscription-template.command.d.ts.map +1 -0
- package/build/backend/commands/subscription-template/delete-subscription-template.command.js +20 -0
- package/build/backend/commands/subscription-template/get-template.command.d.ts +9 -11
- package/build/backend/commands/subscription-template/get-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/get-template.command.js +4 -3
- package/build/backend/commands/subscription-template/get-templates.command.d.ts +79 -0
- package/build/backend/commands/subscription-template/get-templates.command.d.ts.map +1 -0
- package/build/backend/commands/subscription-template/get-templates.command.js +25 -0
- package/build/backend/commands/subscription-template/index.d.ts +3 -0
- package/build/backend/commands/subscription-template/index.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/index.js +3 -0
- package/build/backend/commands/subscription-template/update-template.command.d.ts +11 -10
- package/build/backend/commands/subscription-template/update-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/update-template.command.js +4 -2
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +54 -36
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts.map +1 -1
- package/build/backend/constants/cache-keys/cache-keys.constants.d.ts +2 -0
- package/build/backend/constants/cache-keys/cache-keys.constants.d.ts.map +1 -1
- package/build/backend/constants/cache-keys/cache-keys.constants.js +1 -0
- package/build/backend/constants/errors/errors.d.ts +60 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +60 -0
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts +9 -6
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rule-modifications.schema.js +8 -0
- package/build/backend/models/response-rules/response-rule.schema.d.ts +30 -20
- package/build/backend/models/response-rules/response-rule.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts +21 -14
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-settings.schema.d.ts +27 -18
- package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
- package/build/frontend/api/controllers/subscription-template.js +5 -2
- package/build/frontend/api/routes.js +4 -1
- package/build/frontend/commands/subscription-template/create-template.command.js +26 -0
- package/build/frontend/commands/subscription-template/delete-subscription-template.command.js +20 -0
- package/build/frontend/commands/subscription-template/get-template.command.js +4 -3
- package/build/frontend/commands/subscription-template/get-templates.command.js +25 -0
- package/build/frontend/commands/subscription-template/index.js +3 -0
- package/build/frontend/commands/subscription-template/update-template.command.js +4 -2
- package/build/frontend/constants/cache-keys/cache-keys.constants.js +1 -0
- package/build/frontend/constants/errors/errors.js +60 -0
- package/build/frontend/models/response-rules/response-rule-modifications.schema.js +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteSubscriptionTemplateCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
var DeleteSubscriptionTemplateCommand;
|
|
8
|
+
(function (DeleteSubscriptionTemplateCommand) {
|
|
9
|
+
DeleteSubscriptionTemplateCommand.url = api_1.REST_API.SUBSCRIPTION_TEMPLATE.DELETE;
|
|
10
|
+
DeleteSubscriptionTemplateCommand.TSQ_url = DeleteSubscriptionTemplateCommand.url(':uuid');
|
|
11
|
+
DeleteSubscriptionTemplateCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.DELETE(':uuid'), 'delete', 'Delete subscription template');
|
|
12
|
+
DeleteSubscriptionTemplateCommand.RequestSchema = zod_1.z.object({
|
|
13
|
+
uuid: zod_1.z.string().uuid(),
|
|
14
|
+
});
|
|
15
|
+
DeleteSubscriptionTemplateCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
+
response: zod_1.z.object({
|
|
17
|
+
isDeleted: zod_1.z.boolean(),
|
|
18
|
+
}),
|
|
19
|
+
});
|
|
20
|
+
})(DeleteSubscriptionTemplateCommand || (exports.DeleteSubscriptionTemplateCommand = DeleteSubscriptionTemplateCommand = {}));
|
|
@@ -1,26 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace GetSubscriptionTemplateCommand {
|
|
3
|
-
const url: (
|
|
3
|
+
const url: (uuid: string) => string;
|
|
4
4
|
const TSQ_url: string;
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestSchema: z.ZodObject<{
|
|
7
|
-
|
|
8
|
-
readonly XRAY_JSON: "XRAY_JSON";
|
|
9
|
-
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
10
|
-
readonly MIHOMO: "MIHOMO";
|
|
11
|
-
readonly STASH: "STASH";
|
|
12
|
-
readonly CLASH: "CLASH";
|
|
13
|
-
readonly SINGBOX: "SINGBOX";
|
|
14
|
-
}>;
|
|
7
|
+
uuid: z.ZodString;
|
|
15
8
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
|
|
9
|
+
uuid: string;
|
|
17
10
|
}, {
|
|
18
|
-
|
|
11
|
+
uuid: string;
|
|
19
12
|
}>;
|
|
20
13
|
type Request = z.infer<typeof RequestSchema>;
|
|
21
14
|
const ResponseSchema: z.ZodObject<{
|
|
22
15
|
response: z.ZodObject<{
|
|
23
16
|
uuid: z.ZodString;
|
|
17
|
+
name: z.ZodString;
|
|
24
18
|
templateType: z.ZodNativeEnum<{
|
|
25
19
|
readonly XRAY_JSON: "XRAY_JSON";
|
|
26
20
|
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
@@ -33,11 +27,13 @@ export declare namespace GetSubscriptionTemplateCommand {
|
|
|
33
27
|
encodedTemplateYaml: z.ZodNullable<z.ZodString>;
|
|
34
28
|
}, "strip", z.ZodTypeAny, {
|
|
35
29
|
uuid: string;
|
|
30
|
+
name: string;
|
|
36
31
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
37
32
|
encodedTemplateYaml: string | null;
|
|
38
33
|
templateJson?: unknown;
|
|
39
34
|
}, {
|
|
40
35
|
uuid: string;
|
|
36
|
+
name: string;
|
|
41
37
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
42
38
|
encodedTemplateYaml: string | null;
|
|
43
39
|
templateJson?: unknown;
|
|
@@ -45,6 +41,7 @@ export declare namespace GetSubscriptionTemplateCommand {
|
|
|
45
41
|
}, "strip", z.ZodTypeAny, {
|
|
46
42
|
response: {
|
|
47
43
|
uuid: string;
|
|
44
|
+
name: string;
|
|
48
45
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
49
46
|
encodedTemplateYaml: string | null;
|
|
50
47
|
templateJson?: unknown;
|
|
@@ -52,6 +49,7 @@ export declare namespace GetSubscriptionTemplateCommand {
|
|
|
52
49
|
}, {
|
|
53
50
|
response: {
|
|
54
51
|
uuid: string;
|
|
52
|
+
name: string;
|
|
55
53
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
56
54
|
encodedTemplateYaml: string | null;
|
|
57
55
|
templateJson?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-template.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/get-template.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"get-template.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/get-template.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,0BAAqC,CAAC;IAC/C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -8,14 +8,15 @@ const constants_2 = require("../../constants");
|
|
|
8
8
|
var GetSubscriptionTemplateCommand;
|
|
9
9
|
(function (GetSubscriptionTemplateCommand) {
|
|
10
10
|
GetSubscriptionTemplateCommand.url = api_1.REST_API.SUBSCRIPTION_TEMPLATE.GET;
|
|
11
|
-
GetSubscriptionTemplateCommand.TSQ_url = GetSubscriptionTemplateCommand.url(':
|
|
12
|
-
GetSubscriptionTemplateCommand.endpointDetails = (0, constants_2.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.GET(':
|
|
11
|
+
GetSubscriptionTemplateCommand.TSQ_url = GetSubscriptionTemplateCommand.url(':uuid');
|
|
12
|
+
GetSubscriptionTemplateCommand.endpointDetails = (0, constants_2.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.GET(':uuid'), 'get', 'Get subscription template by uuid');
|
|
13
13
|
GetSubscriptionTemplateCommand.RequestSchema = zod_1.z.object({
|
|
14
|
-
|
|
14
|
+
uuid: zod_1.z.string().uuid(),
|
|
15
15
|
});
|
|
16
16
|
GetSubscriptionTemplateCommand.ResponseSchema = zod_1.z.object({
|
|
17
17
|
response: zod_1.z.object({
|
|
18
18
|
uuid: zod_1.z.string().uuid(),
|
|
19
|
+
name: zod_1.z.string(),
|
|
19
20
|
templateType: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE),
|
|
20
21
|
templateJson: zod_1.z.nullable(zod_1.z.unknown()),
|
|
21
22
|
encodedTemplateYaml: zod_1.z.nullable(zod_1.z.string()),
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetSubscriptionTemplatesCommand {
|
|
3
|
+
const url: "/api/subscription-templates/";
|
|
4
|
+
const TSQ_url: "/api/subscription-templates/";
|
|
5
|
+
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
|
+
const ResponseSchema: z.ZodObject<{
|
|
7
|
+
response: z.ZodObject<{
|
|
8
|
+
total: z.ZodNumber;
|
|
9
|
+
templates: z.ZodArray<z.ZodObject<{
|
|
10
|
+
uuid: z.ZodString;
|
|
11
|
+
name: z.ZodString;
|
|
12
|
+
templateType: z.ZodNativeEnum<{
|
|
13
|
+
readonly XRAY_JSON: "XRAY_JSON";
|
|
14
|
+
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
15
|
+
readonly MIHOMO: "MIHOMO";
|
|
16
|
+
readonly STASH: "STASH";
|
|
17
|
+
readonly CLASH: "CLASH";
|
|
18
|
+
readonly SINGBOX: "SINGBOX";
|
|
19
|
+
}>;
|
|
20
|
+
templateJson: z.ZodNullable<z.ZodUnknown>;
|
|
21
|
+
encodedTemplateYaml: z.ZodNullable<z.ZodString>;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
uuid: string;
|
|
24
|
+
name: string;
|
|
25
|
+
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
26
|
+
encodedTemplateYaml: string | null;
|
|
27
|
+
templateJson?: unknown;
|
|
28
|
+
}, {
|
|
29
|
+
uuid: string;
|
|
30
|
+
name: string;
|
|
31
|
+
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
32
|
+
encodedTemplateYaml: string | null;
|
|
33
|
+
templateJson?: unknown;
|
|
34
|
+
}>, "many">;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
total: number;
|
|
37
|
+
templates: {
|
|
38
|
+
uuid: string;
|
|
39
|
+
name: string;
|
|
40
|
+
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
41
|
+
encodedTemplateYaml: string | null;
|
|
42
|
+
templateJson?: unknown;
|
|
43
|
+
}[];
|
|
44
|
+
}, {
|
|
45
|
+
total: number;
|
|
46
|
+
templates: {
|
|
47
|
+
uuid: string;
|
|
48
|
+
name: string;
|
|
49
|
+
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
50
|
+
encodedTemplateYaml: string | null;
|
|
51
|
+
templateJson?: unknown;
|
|
52
|
+
}[];
|
|
53
|
+
}>;
|
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
|
55
|
+
response: {
|
|
56
|
+
total: number;
|
|
57
|
+
templates: {
|
|
58
|
+
uuid: string;
|
|
59
|
+
name: string;
|
|
60
|
+
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
61
|
+
encodedTemplateYaml: string | null;
|
|
62
|
+
templateJson?: unknown;
|
|
63
|
+
}[];
|
|
64
|
+
};
|
|
65
|
+
}, {
|
|
66
|
+
response: {
|
|
67
|
+
total: number;
|
|
68
|
+
templates: {
|
|
69
|
+
uuid: string;
|
|
70
|
+
name: string;
|
|
71
|
+
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
72
|
+
encodedTemplateYaml: string | null;
|
|
73
|
+
templateJson?: unknown;
|
|
74
|
+
}[];
|
|
75
|
+
};
|
|
76
|
+
}>;
|
|
77
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=get-templates.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-templates.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/get-templates.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,+BAA+B,CAAC;IACtC,MAAM,GAAG,gCAAyC,CAAC;IACnD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAazB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetSubscriptionTemplatesCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
const constants_2 = require("../../constants");
|
|
8
|
+
var GetSubscriptionTemplatesCommand;
|
|
9
|
+
(function (GetSubscriptionTemplatesCommand) {
|
|
10
|
+
GetSubscriptionTemplatesCommand.url = api_1.REST_API.SUBSCRIPTION_TEMPLATE.GET_ALL;
|
|
11
|
+
GetSubscriptionTemplatesCommand.TSQ_url = GetSubscriptionTemplatesCommand.url;
|
|
12
|
+
GetSubscriptionTemplatesCommand.endpointDetails = (0, constants_2.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.GET_ALL, 'get', 'Get all subscription templates (wihout content)');
|
|
13
|
+
GetSubscriptionTemplatesCommand.ResponseSchema = zod_1.z.object({
|
|
14
|
+
response: zod_1.z.object({
|
|
15
|
+
total: zod_1.z.number(),
|
|
16
|
+
templates: zod_1.z.array(zod_1.z.object({
|
|
17
|
+
uuid: zod_1.z.string().uuid(),
|
|
18
|
+
name: zod_1.z.string(),
|
|
19
|
+
templateType: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE),
|
|
20
|
+
templateJson: zod_1.z.nullable(zod_1.z.unknown()),
|
|
21
|
+
encodedTemplateYaml: zod_1.z.nullable(zod_1.z.string()),
|
|
22
|
+
})),
|
|
23
|
+
}),
|
|
24
|
+
});
|
|
25
|
+
})(GetSubscriptionTemplatesCommand || (exports.GetSubscriptionTemplatesCommand = GetSubscriptionTemplatesCommand = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC"}
|
|
@@ -14,5 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./create-template.command"), exports);
|
|
18
|
+
__exportStar(require("./delete-subscription-template.command"), exports);
|
|
17
19
|
__exportStar(require("./get-template.command"), exports);
|
|
20
|
+
__exportStar(require("./get-templates.command"), exports);
|
|
18
21
|
__exportStar(require("./update-template.command"), exports);
|
|
@@ -4,22 +4,18 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
|
4
4
|
const TSQ_url: "/api/subscription-templates/";
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestSchema: z.ZodObject<{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
10
|
-
readonly MIHOMO: "MIHOMO";
|
|
11
|
-
readonly STASH: "STASH";
|
|
12
|
-
readonly CLASH: "CLASH";
|
|
13
|
-
readonly SINGBOX: "SINGBOX";
|
|
14
|
-
}>;
|
|
7
|
+
uuid: z.ZodString;
|
|
8
|
+
name: z.ZodOptional<z.ZodString>;
|
|
15
9
|
templateJson: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
16
10
|
encodedTemplateYaml: z.ZodOptional<z.ZodString>;
|
|
17
11
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
|
|
12
|
+
uuid: string;
|
|
13
|
+
name?: string | undefined;
|
|
19
14
|
templateJson?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
20
15
|
encodedTemplateYaml?: string | undefined;
|
|
21
16
|
}, {
|
|
22
|
-
|
|
17
|
+
uuid: string;
|
|
18
|
+
name?: string | undefined;
|
|
23
19
|
templateJson?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
24
20
|
encodedTemplateYaml?: string | undefined;
|
|
25
21
|
}>;
|
|
@@ -27,6 +23,7 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
|
27
23
|
const ResponseSchema: z.ZodObject<{
|
|
28
24
|
response: z.ZodObject<{
|
|
29
25
|
uuid: z.ZodString;
|
|
26
|
+
name: z.ZodString;
|
|
30
27
|
templateType: z.ZodNativeEnum<{
|
|
31
28
|
readonly XRAY_JSON: "XRAY_JSON";
|
|
32
29
|
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
@@ -39,11 +36,13 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
|
39
36
|
encodedTemplateYaml: z.ZodNullable<z.ZodString>;
|
|
40
37
|
}, "strip", z.ZodTypeAny, {
|
|
41
38
|
uuid: string;
|
|
39
|
+
name: string;
|
|
42
40
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
43
41
|
encodedTemplateYaml: string | null;
|
|
44
42
|
templateJson?: unknown;
|
|
45
43
|
}, {
|
|
46
44
|
uuid: string;
|
|
45
|
+
name: string;
|
|
47
46
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
48
47
|
encodedTemplateYaml: string | null;
|
|
49
48
|
templateJson?: unknown;
|
|
@@ -51,6 +50,7 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
|
51
50
|
}, "strip", z.ZodTypeAny, {
|
|
52
51
|
response: {
|
|
53
52
|
uuid: string;
|
|
53
|
+
name: string;
|
|
54
54
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
55
55
|
encodedTemplateYaml: string | null;
|
|
56
56
|
templateJson?: unknown;
|
|
@@ -58,6 +58,7 @@ export declare namespace UpdateSubscriptionTemplateCommand {
|
|
|
58
58
|
}, {
|
|
59
59
|
response: {
|
|
60
60
|
uuid: string;
|
|
61
|
+
name: string;
|
|
61
62
|
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
62
63
|
encodedTemplateYaml: string | null;
|
|
63
64
|
templateJson?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-template.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/update-template.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,gCAAwC,CAAC;IAClD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"update-template.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-template/update-template.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,gCAAwC,CAAC;IAClD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;MAKxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -9,15 +9,17 @@ var UpdateSubscriptionTemplateCommand;
|
|
|
9
9
|
(function (UpdateSubscriptionTemplateCommand) {
|
|
10
10
|
UpdateSubscriptionTemplateCommand.url = api_1.REST_API.SUBSCRIPTION_TEMPLATE.UPDATE;
|
|
11
11
|
UpdateSubscriptionTemplateCommand.TSQ_url = UpdateSubscriptionTemplateCommand.url;
|
|
12
|
-
UpdateSubscriptionTemplateCommand.endpointDetails = (0, constants_2.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.UPDATE, '
|
|
12
|
+
UpdateSubscriptionTemplateCommand.endpointDetails = (0, constants_2.getEndpointDetails)(api_1.SUBSCRIPTION_TEMPLATE_ROUTES.UPDATE, 'patch', 'Update subscription template');
|
|
13
13
|
UpdateSubscriptionTemplateCommand.RequestSchema = zod_1.z.object({
|
|
14
|
-
|
|
14
|
+
uuid: zod_1.z.string().uuid(),
|
|
15
|
+
name: zod_1.z.optional(zod_1.z.string()),
|
|
15
16
|
templateJson: zod_1.z.optional(zod_1.z.object({}).passthrough()),
|
|
16
17
|
encodedTemplateYaml: zod_1.z.optional(zod_1.z.string()),
|
|
17
18
|
});
|
|
18
19
|
UpdateSubscriptionTemplateCommand.ResponseSchema = zod_1.z.object({
|
|
19
20
|
response: zod_1.z.object({
|
|
20
21
|
uuid: zod_1.z.string().uuid(),
|
|
22
|
+
name: zod_1.z.string(),
|
|
21
23
|
templateType: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE),
|
|
22
24
|
templateJson: zod_1.z.nullable(zod_1.z.unknown()),
|
|
23
25
|
encodedTemplateYaml: zod_1.z.nullable(zod_1.z.string()),
|
|
@@ -57,7 +57,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
57
57
|
readonly SINGBOX: "SINGBOX";
|
|
58
58
|
}>;
|
|
59
59
|
responseModifications: z.ZodOptional<z.ZodObject<{
|
|
60
|
-
headers: z.ZodArray<z.ZodObject<{
|
|
60
|
+
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
61
61
|
key: z.ZodString;
|
|
62
62
|
value: z.ZodString;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -66,17 +66,20 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
66
66
|
}, {
|
|
67
67
|
value: string;
|
|
68
68
|
key: string;
|
|
69
|
-
}>, "many"
|
|
69
|
+
}>, "many">>;
|
|
70
|
+
overrideSubscriptionTemplateWith: z.ZodOptional<z.ZodString>;
|
|
70
71
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
headers
|
|
72
|
+
headers?: {
|
|
72
73
|
value: string;
|
|
73
74
|
key: string;
|
|
74
|
-
}[];
|
|
75
|
+
}[] | undefined;
|
|
76
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
75
77
|
}, {
|
|
76
|
-
headers
|
|
78
|
+
headers?: {
|
|
77
79
|
value: string;
|
|
78
80
|
key: string;
|
|
79
|
-
}[];
|
|
81
|
+
}[] | undefined;
|
|
82
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
80
83
|
}>>;
|
|
81
84
|
}, "strip", z.ZodTypeAny, {
|
|
82
85
|
name: string;
|
|
@@ -91,10 +94,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
91
94
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
92
95
|
description?: string | undefined;
|
|
93
96
|
responseModifications?: {
|
|
94
|
-
headers
|
|
97
|
+
headers?: {
|
|
95
98
|
value: string;
|
|
96
99
|
key: string;
|
|
97
|
-
}[];
|
|
100
|
+
}[] | undefined;
|
|
101
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
98
102
|
} | undefined;
|
|
99
103
|
}, {
|
|
100
104
|
name: string;
|
|
@@ -109,10 +113,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
109
113
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
110
114
|
description?: string | undefined;
|
|
111
115
|
responseModifications?: {
|
|
112
|
-
headers
|
|
116
|
+
headers?: {
|
|
113
117
|
value: string;
|
|
114
118
|
key: string;
|
|
115
|
-
}[];
|
|
119
|
+
}[] | undefined;
|
|
120
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
116
121
|
} | undefined;
|
|
117
122
|
}>, "many">;
|
|
118
123
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -130,10 +135,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
130
135
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
131
136
|
description?: string | undefined;
|
|
132
137
|
responseModifications?: {
|
|
133
|
-
headers
|
|
138
|
+
headers?: {
|
|
134
139
|
value: string;
|
|
135
140
|
key: string;
|
|
136
|
-
}[];
|
|
141
|
+
}[] | undefined;
|
|
142
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
137
143
|
} | undefined;
|
|
138
144
|
}[];
|
|
139
145
|
}, {
|
|
@@ -151,10 +157,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
151
157
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
152
158
|
description?: string | undefined;
|
|
153
159
|
responseModifications?: {
|
|
154
|
-
headers
|
|
160
|
+
headers?: {
|
|
155
161
|
value: string;
|
|
156
162
|
key: string;
|
|
157
|
-
}[];
|
|
163
|
+
}[] | undefined;
|
|
164
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
158
165
|
} | undefined;
|
|
159
166
|
}[];
|
|
160
167
|
}>;
|
|
@@ -174,10 +181,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
174
181
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
175
182
|
description?: string | undefined;
|
|
176
183
|
responseModifications?: {
|
|
177
|
-
headers
|
|
184
|
+
headers?: {
|
|
178
185
|
value: string;
|
|
179
186
|
key: string;
|
|
180
|
-
}[];
|
|
187
|
+
}[] | undefined;
|
|
188
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
181
189
|
} | undefined;
|
|
182
190
|
}[];
|
|
183
191
|
};
|
|
@@ -197,10 +205,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
197
205
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
198
206
|
description?: string | undefined;
|
|
199
207
|
responseModifications?: {
|
|
200
|
-
headers
|
|
208
|
+
headers?: {
|
|
201
209
|
value: string;
|
|
202
210
|
key: string;
|
|
203
|
-
}[];
|
|
211
|
+
}[] | undefined;
|
|
212
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
204
213
|
} | undefined;
|
|
205
214
|
}[];
|
|
206
215
|
};
|
|
@@ -271,7 +280,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
271
280
|
readonly SINGBOX: "SINGBOX";
|
|
272
281
|
}>;
|
|
273
282
|
responseModifications: z.ZodOptional<z.ZodObject<{
|
|
274
|
-
headers: z.ZodArray<z.ZodObject<{
|
|
283
|
+
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
275
284
|
key: z.ZodString;
|
|
276
285
|
value: z.ZodString;
|
|
277
286
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -280,17 +289,20 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
280
289
|
}, {
|
|
281
290
|
value: string;
|
|
282
291
|
key: string;
|
|
283
|
-
}>, "many"
|
|
292
|
+
}>, "many">>;
|
|
293
|
+
overrideSubscriptionTemplateWith: z.ZodOptional<z.ZodString>;
|
|
284
294
|
}, "strip", z.ZodTypeAny, {
|
|
285
|
-
headers
|
|
295
|
+
headers?: {
|
|
286
296
|
value: string;
|
|
287
297
|
key: string;
|
|
288
|
-
}[];
|
|
298
|
+
}[] | undefined;
|
|
299
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
289
300
|
}, {
|
|
290
|
-
headers
|
|
301
|
+
headers?: {
|
|
291
302
|
value: string;
|
|
292
303
|
key: string;
|
|
293
|
-
}[];
|
|
304
|
+
}[] | undefined;
|
|
305
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
294
306
|
}>>;
|
|
295
307
|
}, "strip", z.ZodTypeAny, {
|
|
296
308
|
name: string;
|
|
@@ -305,10 +317,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
305
317
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
306
318
|
description?: string | undefined;
|
|
307
319
|
responseModifications?: {
|
|
308
|
-
headers
|
|
320
|
+
headers?: {
|
|
309
321
|
value: string;
|
|
310
322
|
key: string;
|
|
311
|
-
}[];
|
|
323
|
+
}[] | undefined;
|
|
324
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
312
325
|
} | undefined;
|
|
313
326
|
}, {
|
|
314
327
|
name: string;
|
|
@@ -323,10 +336,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
323
336
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
324
337
|
description?: string | undefined;
|
|
325
338
|
responseModifications?: {
|
|
326
|
-
headers
|
|
339
|
+
headers?: {
|
|
327
340
|
value: string;
|
|
328
341
|
key: string;
|
|
329
|
-
}[];
|
|
342
|
+
}[] | undefined;
|
|
343
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
330
344
|
} | undefined;
|
|
331
345
|
}>>;
|
|
332
346
|
inputHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -347,10 +361,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
347
361
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
348
362
|
description?: string | undefined;
|
|
349
363
|
responseModifications?: {
|
|
350
|
-
headers
|
|
364
|
+
headers?: {
|
|
351
365
|
value: string;
|
|
352
366
|
key: string;
|
|
353
|
-
}[];
|
|
367
|
+
}[] | undefined;
|
|
368
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
354
369
|
} | undefined;
|
|
355
370
|
} | null;
|
|
356
371
|
inputHeaders: Record<string, string>;
|
|
@@ -371,10 +386,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
371
386
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
372
387
|
description?: string | undefined;
|
|
373
388
|
responseModifications?: {
|
|
374
|
-
headers
|
|
389
|
+
headers?: {
|
|
375
390
|
value: string;
|
|
376
391
|
key: string;
|
|
377
|
-
}[];
|
|
392
|
+
}[] | undefined;
|
|
393
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
378
394
|
} | undefined;
|
|
379
395
|
} | null;
|
|
380
396
|
inputHeaders: Record<string, string>;
|
|
@@ -397,10 +413,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
397
413
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
398
414
|
description?: string | undefined;
|
|
399
415
|
responseModifications?: {
|
|
400
|
-
headers
|
|
416
|
+
headers?: {
|
|
401
417
|
value: string;
|
|
402
418
|
key: string;
|
|
403
|
-
}[];
|
|
419
|
+
}[] | undefined;
|
|
420
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
404
421
|
} | undefined;
|
|
405
422
|
} | null;
|
|
406
423
|
inputHeaders: Record<string, string>;
|
|
@@ -423,10 +440,11 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
423
440
|
responseType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64" | "BROWSER" | "BLOCK" | "STATUS_CODE_404" | "STATUS_CODE_451" | "SOCKET_DROP";
|
|
424
441
|
description?: string | undefined;
|
|
425
442
|
responseModifications?: {
|
|
426
|
-
headers
|
|
443
|
+
headers?: {
|
|
427
444
|
value: string;
|
|
428
445
|
key: string;
|
|
429
|
-
}[];
|
|
446
|
+
}[] | undefined;
|
|
447
|
+
overrideSubscriptionTemplateWith?: string | undefined;
|
|
430
448
|
} | undefined;
|
|
431
449
|
} | null;
|
|
432
450
|
inputHeaders: Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IACK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IACK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { TSubscriptionTemplateType } from '../subscription-template';
|
|
1
2
|
export declare const CACHE_KEYS: {
|
|
2
3
|
readonly SUBSCRIPTION_SETTINGS: "subscription_settings";
|
|
4
|
+
readonly SUBSCRIPTION_TEMPLATE: (name: string, type: TSubscriptionTemplateType) => string;
|
|
3
5
|
};
|
|
4
6
|
//# sourceMappingURL=cache-keys.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-keys.constants.d.ts","sourceRoot":"","sources":["../../../../constants/cache-keys/cache-keys.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;
|
|
1
|
+
{"version":3,"file":"cache-keys.constants.d.ts","sourceRoot":"","sources":["../../../../constants/cache-keys/cache-keys.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,eAAO,MAAM,UAAU;;2CAEW,MAAM,QAAQ,yBAAyB;CAE/D,CAAC"}
|