@kong-ui-public/entities-redis-configurations 1.8.19-pr.2781.b1238e65f.0 → 1.8.20-pr.2790.95b70759b.0
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/entities-redis-configurations.es.js +4223 -0
- package/dist/entities-redis-configurations.umd.js +1 -0
- package/dist/style.css +1 -0
- package/dist/types/components/CloudAuthFields.vue.d.ts +45 -0
- package/dist/types/components/CloudAuthFields.vue.d.ts.map +1 -0
- package/dist/types/components/ClusterNodes.vue.d.ts +16 -0
- package/dist/types/components/ClusterNodes.vue.d.ts.map +1 -0
- package/dist/types/components/DeleteWarningModal.vue.d.ts +18 -0
- package/dist/types/components/DeleteWarningModal.vue.d.ts.map +1 -0
- package/dist/types/components/FieldArrayCardContainer.vue.d.ts +57 -0
- package/dist/types/components/FieldArrayCardContainer.vue.d.ts.map +1 -0
- package/dist/types/components/LinkedPluginList.vue.d.ts +70 -0
- package/dist/types/components/LinkedPluginList.vue.d.ts.map +1 -0
- package/dist/types/components/LinkedPluginListModal.vue.d.ts +50 -0
- package/dist/types/components/LinkedPluginListModal.vue.d.ts.map +1 -0
- package/dist/types/components/LinkedPluginsInline.vue.d.ts +26 -0
- package/dist/types/components/LinkedPluginsInline.vue.d.ts.map +1 -0
- package/dist/types/components/PluginItem.vue.d.ts +7 -0
- package/dist/types/components/PluginItem.vue.d.ts.map +1 -0
- package/dist/types/components/RedisConfigurationConfigCard.vue.d.ts +63 -0
- package/dist/types/components/RedisConfigurationConfigCard.vue.d.ts.map +1 -0
- package/dist/types/components/RedisConfigurationForm.vue.d.ts +91 -0
- package/dist/types/components/RedisConfigurationForm.vue.d.ts.map +1 -0
- package/dist/types/components/RedisConfigurationFormModal.vue.d.ts +25 -0
- package/dist/types/components/RedisConfigurationFormModal.vue.d.ts.map +1 -0
- package/dist/types/components/RedisConfigurationList.vue.d.ts +114 -0
- package/dist/types/components/RedisConfigurationList.vue.d.ts.map +1 -0
- package/dist/types/components/RedisConfigurationSelector.vue.d.ts +39 -0
- package/dist/types/components/RedisConfigurationSelector.vue.d.ts.map +1 -0
- package/dist/types/components/SentinelNodes.vue.d.ts +16 -0
- package/dist/types/components/SentinelNodes.vue.d.ts.map +1 -0
- package/dist/types/composables/index.d.ts +6 -0
- package/dist/types/composables/index.d.ts.map +1 -0
- package/dist/types/composables/useI18n.d.ts +9 -0
- package/dist/types/composables/useI18n.d.ts.map +1 -0
- package/dist/types/composables/useLinkedPlugins.d.ts +27 -0
- package/dist/types/composables/useLinkedPlugins.d.ts.map +1 -0
- package/dist/types/composables/useRedisConfigurationForm.d.ts +231 -0
- package/dist/types/composables/useRedisConfigurationForm.d.ts.map +1 -0
- package/dist/types/composables/useRedisConfigurationSelector.d.ts +11 -0
- package/dist/types/composables/useRedisConfigurationSelector.d.ts.map +1 -0
- package/dist/types/composables/useVaultSecretPicker.d.ts +6 -0
- package/dist/types/composables/useVaultSecretPicker.d.ts.map +1 -0
- package/dist/types/constants.d.ts +7 -0
- package/dist/types/constants.d.ts.map +1 -0
- package/dist/types/helpers.d.ts +23 -0
- package/dist/types/helpers.d.ts.map +1 -0
- package/dist/types/index.d.ts +44 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/partials-endpoints.d.ts +26 -0
- package/dist/types/partials-endpoints.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +6 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/types/redis-configuration-config.d.ts +14 -0
- package/dist/types/types/redis-configuration-config.d.ts.map +1 -0
- package/dist/types/types/redis-configuration-form.d.ts +73 -0
- package/dist/types/types/redis-configuration-form.d.ts.map +1 -0
- package/dist/types/types/redis-configuration-linked-plugins.d.ts +11 -0
- package/dist/types/types/redis-configuration-linked-plugins.d.ts.map +1 -0
- package/dist/types/types/redis-configuration-list.d.ts +31 -0
- package/dist/types/types/redis-configuration-list.d.ts.map +1 -0
- package/dist/types/types/redis-configuration.d.ts +76 -0
- package/dist/types/types/redis-configuration.d.ts.map +1 -0
- package/package.json +9 -9
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { EntityBaseFormType } from '@kong-ui-public/entities-shared';
|
|
2
|
+
import { RedisType } from '../types';
|
|
3
|
+
import type { KongManagerRedisConfigurationFormConfig, KonnectRedisConfigurationFormConfig, RedisConfigurationResponse } from '../types';
|
|
4
|
+
export type Options = {
|
|
5
|
+
partialId?: string;
|
|
6
|
+
defaultRedisType?: RedisType;
|
|
7
|
+
config: KonnectRedisConfigurationFormConfig | KongManagerRedisConfigurationFormConfig;
|
|
8
|
+
cloudAuthAvailable?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const useRedisConfigurationForm: (options: Options) => {
|
|
11
|
+
form: {
|
|
12
|
+
fields: {
|
|
13
|
+
name: string;
|
|
14
|
+
type: import("..").PartialType;
|
|
15
|
+
tags: string;
|
|
16
|
+
config: {
|
|
17
|
+
cluster_max_redirections: number;
|
|
18
|
+
cluster_nodes: {
|
|
19
|
+
ip: string;
|
|
20
|
+
port: number;
|
|
21
|
+
id: string;
|
|
22
|
+
}[];
|
|
23
|
+
connect_timeout: number;
|
|
24
|
+
connection_is_proxied: boolean;
|
|
25
|
+
database: number;
|
|
26
|
+
host?: string | undefined;
|
|
27
|
+
keepalive_backlog: number;
|
|
28
|
+
keepalive_pool_size: number;
|
|
29
|
+
password: string;
|
|
30
|
+
port?: number | string | undefined;
|
|
31
|
+
read_timeout: number;
|
|
32
|
+
send_timeout: number;
|
|
33
|
+
sentinel_master?: string | undefined;
|
|
34
|
+
sentinel_nodes: {
|
|
35
|
+
host: string;
|
|
36
|
+
port: number;
|
|
37
|
+
id: string;
|
|
38
|
+
}[];
|
|
39
|
+
sentinel_password: string;
|
|
40
|
+
sentinel_role?: "master" | "slave" | "any" | undefined;
|
|
41
|
+
sentinel_username: string;
|
|
42
|
+
server_name?: string | undefined;
|
|
43
|
+
ssl_verify: boolean;
|
|
44
|
+
ssl: boolean;
|
|
45
|
+
timeout?: number | undefined;
|
|
46
|
+
username: string;
|
|
47
|
+
cloud_authentication?: {
|
|
48
|
+
auth_provider?: (import("..").AuthProvider | null) | undefined;
|
|
49
|
+
aws_cache_name?: string | undefined;
|
|
50
|
+
aws_region?: string | undefined;
|
|
51
|
+
aws_is_serverless: boolean;
|
|
52
|
+
aws_access_key_id?: string | undefined;
|
|
53
|
+
aws_secret_access_key?: string | undefined;
|
|
54
|
+
aws_assume_role_arn?: string | undefined;
|
|
55
|
+
aws_role_session_name?: string | undefined;
|
|
56
|
+
gcp_service_account_json?: string | undefined;
|
|
57
|
+
azure_client_id?: string | undefined;
|
|
58
|
+
azure_client_secret?: string | undefined;
|
|
59
|
+
azure_tenant_id?: string | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
readonly: boolean;
|
|
64
|
+
errorMessage: string;
|
|
65
|
+
};
|
|
66
|
+
canSubmit: import("vue").ComputedRef<boolean | undefined>;
|
|
67
|
+
payload: import("vue").ComputedRef<{
|
|
68
|
+
name: string;
|
|
69
|
+
type: import("..").PartialType;
|
|
70
|
+
tags: string[];
|
|
71
|
+
config: {
|
|
72
|
+
cloud_authentication: {
|
|
73
|
+
auth_provider: import("..").AuthProvider;
|
|
74
|
+
aws_cache_name: string | null;
|
|
75
|
+
aws_region: string | null;
|
|
76
|
+
aws_is_serverless: boolean | null | undefined;
|
|
77
|
+
aws_access_key_id: string | null;
|
|
78
|
+
aws_secret_access_key: string | null;
|
|
79
|
+
aws_assume_role_arn: string | null;
|
|
80
|
+
aws_role_session_name: string | null;
|
|
81
|
+
gcp_service_account_json: string | null;
|
|
82
|
+
azure_client_id: string | null;
|
|
83
|
+
azure_client_secret: string | null;
|
|
84
|
+
azure_tenant_id: string | null;
|
|
85
|
+
} | null | undefined;
|
|
86
|
+
host: string | undefined;
|
|
87
|
+
port: unknown;
|
|
88
|
+
timeout: unknown;
|
|
89
|
+
username: string | null;
|
|
90
|
+
database: unknown;
|
|
91
|
+
password: string | null;
|
|
92
|
+
ssl: boolean;
|
|
93
|
+
ssl_verify: boolean;
|
|
94
|
+
server_name: string | null;
|
|
95
|
+
connect_timeout?: undefined;
|
|
96
|
+
connection_is_proxied?: undefined;
|
|
97
|
+
keepalive_backlog?: undefined;
|
|
98
|
+
keepalive_pool_size?: undefined;
|
|
99
|
+
read_timeout?: undefined;
|
|
100
|
+
send_timeout?: undefined;
|
|
101
|
+
cluster_nodes?: undefined;
|
|
102
|
+
cluster_max_redirections?: undefined;
|
|
103
|
+
sentinel_master?: undefined;
|
|
104
|
+
sentinel_role?: undefined;
|
|
105
|
+
sentinel_nodes?: undefined;
|
|
106
|
+
sentinel_username?: undefined;
|
|
107
|
+
sentinel_password?: undefined;
|
|
108
|
+
};
|
|
109
|
+
} | {
|
|
110
|
+
name: string;
|
|
111
|
+
type: import("..").PartialType;
|
|
112
|
+
tags: string[];
|
|
113
|
+
config: {
|
|
114
|
+
cloud_authentication: {
|
|
115
|
+
auth_provider: import("..").AuthProvider;
|
|
116
|
+
aws_cache_name: string | null;
|
|
117
|
+
aws_region: string | null;
|
|
118
|
+
aws_is_serverless: boolean | null | undefined;
|
|
119
|
+
aws_access_key_id: string | null;
|
|
120
|
+
aws_secret_access_key: string | null;
|
|
121
|
+
aws_assume_role_arn: string | null;
|
|
122
|
+
aws_role_session_name: string | null;
|
|
123
|
+
gcp_service_account_json: string | null;
|
|
124
|
+
azure_client_id: string | null;
|
|
125
|
+
azure_client_secret: string | null;
|
|
126
|
+
azure_tenant_id: string | null;
|
|
127
|
+
} | null | undefined;
|
|
128
|
+
connect_timeout: unknown;
|
|
129
|
+
connection_is_proxied: boolean;
|
|
130
|
+
database: unknown;
|
|
131
|
+
host: string | undefined;
|
|
132
|
+
keepalive_backlog: unknown;
|
|
133
|
+
keepalive_pool_size: unknown;
|
|
134
|
+
password: string | null;
|
|
135
|
+
port: unknown;
|
|
136
|
+
read_timeout: unknown;
|
|
137
|
+
send_timeout: unknown;
|
|
138
|
+
server_name: string | null;
|
|
139
|
+
ssl_verify: boolean;
|
|
140
|
+
ssl: boolean;
|
|
141
|
+
username: string | null;
|
|
142
|
+
cluster_nodes: null;
|
|
143
|
+
cluster_max_redirections: null;
|
|
144
|
+
sentinel_master: null;
|
|
145
|
+
sentinel_role: null;
|
|
146
|
+
sentinel_nodes: null;
|
|
147
|
+
sentinel_username: null;
|
|
148
|
+
sentinel_password: null;
|
|
149
|
+
timeout?: undefined;
|
|
150
|
+
};
|
|
151
|
+
} | {
|
|
152
|
+
name: string;
|
|
153
|
+
type: import("..").PartialType;
|
|
154
|
+
tags: string[];
|
|
155
|
+
config: {
|
|
156
|
+
cloud_authentication: {
|
|
157
|
+
auth_provider: import("..").AuthProvider;
|
|
158
|
+
aws_cache_name: string | null;
|
|
159
|
+
aws_region: string | null;
|
|
160
|
+
aws_is_serverless: boolean | null | undefined;
|
|
161
|
+
aws_access_key_id: string | null;
|
|
162
|
+
aws_secret_access_key: string | null;
|
|
163
|
+
aws_assume_role_arn: string | null;
|
|
164
|
+
aws_role_session_name: string | null;
|
|
165
|
+
gcp_service_account_json: string | null;
|
|
166
|
+
azure_client_id: string | null;
|
|
167
|
+
azure_client_secret: string | null;
|
|
168
|
+
azure_tenant_id: string | null;
|
|
169
|
+
} | null | undefined;
|
|
170
|
+
cluster_nodes: import("..").ClusterNode[];
|
|
171
|
+
cluster_max_redirections: unknown;
|
|
172
|
+
username: string | null;
|
|
173
|
+
password: string | null;
|
|
174
|
+
ssl: boolean;
|
|
175
|
+
ssl_verify: boolean;
|
|
176
|
+
server_name: string | null;
|
|
177
|
+
connect_timeout: unknown;
|
|
178
|
+
database: unknown;
|
|
179
|
+
send_timeout: unknown;
|
|
180
|
+
read_timeout: unknown;
|
|
181
|
+
keepalive_pool_size: unknown;
|
|
182
|
+
keepalive_backlog: unknown;
|
|
183
|
+
connection_is_proxied: null;
|
|
184
|
+
sentinel_master: null;
|
|
185
|
+
sentinel_role: null;
|
|
186
|
+
sentinel_nodes: null;
|
|
187
|
+
sentinel_username: null;
|
|
188
|
+
sentinel_password: null;
|
|
189
|
+
host: null;
|
|
190
|
+
port: null;
|
|
191
|
+
timeout?: undefined;
|
|
192
|
+
};
|
|
193
|
+
} | {
|
|
194
|
+
name: string;
|
|
195
|
+
type: import("..").PartialType;
|
|
196
|
+
tags: string[];
|
|
197
|
+
config: {
|
|
198
|
+
sentinel_master: string | null;
|
|
199
|
+
sentinel_nodes: import("..").SentinelNode[];
|
|
200
|
+
sentinel_role: string | null;
|
|
201
|
+
sentinel_username: string | null;
|
|
202
|
+
sentinel_password: string | null;
|
|
203
|
+
username: string | null;
|
|
204
|
+
password: string | null;
|
|
205
|
+
ssl: boolean;
|
|
206
|
+
ssl_verify: boolean;
|
|
207
|
+
server_name: string | null;
|
|
208
|
+
database: unknown;
|
|
209
|
+
connect_timeout: unknown;
|
|
210
|
+
send_timeout: unknown;
|
|
211
|
+
read_timeout: unknown;
|
|
212
|
+
keepalive_pool_size: unknown;
|
|
213
|
+
keepalive_backlog: unknown;
|
|
214
|
+
connection_is_proxied: null;
|
|
215
|
+
cluster_nodes: null;
|
|
216
|
+
cluster_max_redirections: null;
|
|
217
|
+
host: null;
|
|
218
|
+
port: null;
|
|
219
|
+
cloud_authentication?: undefined;
|
|
220
|
+
timeout?: undefined;
|
|
221
|
+
};
|
|
222
|
+
}>;
|
|
223
|
+
isEdit: boolean;
|
|
224
|
+
redisType: import("vue").Ref<RedisType, RedisType>;
|
|
225
|
+
redisTypeIsEnterprise: import("vue").ComputedRef<boolean>;
|
|
226
|
+
formType: import("vue").ComputedRef<EntityBaseFormType>;
|
|
227
|
+
fetchUrl: import("vue").ComputedRef<string>;
|
|
228
|
+
submit: () => Promise<import("axios").AxiosResponse<RedisConfigurationResponse, any, {}>>;
|
|
229
|
+
setInitialFormValues: (data: RedisConfigurationResponse) => void;
|
|
230
|
+
};
|
|
231
|
+
//# sourceMappingURL=useRedisConfigurationForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRedisConfigurationForm.d.ts","sourceRoot":"","sources":["../../../src/composables/useRedisConfigurationForm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAuB,MAAM,iCAAiC,CAAA;AAIzF,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAIpC,OAAO,KAAK,EAAE,uCAAuC,EAAE,mCAAmC,EAAyD,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAE/L,MAAM,MAAM,OAAO,GAAG;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,SAAS,CAAA;IAC5B,MAAM,EAAE,mCAAmC,GAAG,uCAAuC,CAAA;IACrF,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B,CAAA;AAkBD,eAAO,MAAM,yBAAyB,GAAI,SAAS,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAgQpB,0BAA0B;CA4B/D,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SelectItem } from '@kong/kongponents';
|
|
2
|
+
export declare function useRedisConfigurationSelector(options: {
|
|
3
|
+
redisType?: 'redis-ce' | 'redis-ee';
|
|
4
|
+
}): {
|
|
5
|
+
items: import("vue").ComputedRef<SelectItem<string>[]>;
|
|
6
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
7
|
+
onQueryChange: (...args: any) => void;
|
|
8
|
+
error: import("vue").Ref<string, string>;
|
|
9
|
+
loadItems: () => Promise<void>;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=useRedisConfigurationSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRedisConfigurationSelector.d.ts","sourceRoot":"","sources":["../../../src/composables/useRedisConfigurationSelector.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAGnD,wBAAgB,6BAA6B,CAAC,OAAO,EAAE;IACrD,SAAS,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;CACpC;;;;;;EA2DA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const useVaultSecretPicker: () => {
|
|
2
|
+
vaultSecretPickerSetup: import("vue").Ref<string | false | undefined, string | false | undefined>;
|
|
3
|
+
setUpVaultSecretPicker: (setupValue: string, autofillAction: (secretRef: string) => void) => void;
|
|
4
|
+
handleVaultSecretPickerAutofill: (secretRef: string) => void;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=useVaultSecretPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVaultSecretPicker.d.ts","sourceRoot":"","sources":["../../../src/composables/useVaultSecretPicker.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;yCAGa,MAAM,kBAAkB,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI;iDAI3C,MAAM;CAU3D,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RedisType } from './types';
|
|
2
|
+
import type { ClusterNode, RedisConfigurationFormState, SentinelNode } from './types';
|
|
3
|
+
export declare const DEFAULT_CLUSTER_NODE: Readonly<ClusterNode>;
|
|
4
|
+
export declare const DEFAULT_SENTINEL_NODE: Readonly<SentinelNode>;
|
|
5
|
+
export declare const DEFAULT_REDIS_TYPE: RedisType;
|
|
6
|
+
export declare const DEFAULT_FIELDS: Readonly<RedisConfigurationFormState['fields']['config']>;
|
|
7
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,KAAK,EAAE,WAAW,EAAE,2BAA2B,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAErF,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,WAAW,CAGtD,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,YAAY,CAGxD,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,SAAkC,CAAA;AAEnE,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,2BAA2B,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAyBpF,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PartialType, type ClusterNode, type Identifiable, type RedisConfigurationDTO, type RedisConfigurationFields, type SentinelNode } from './types';
|
|
2
|
+
import { RedisType } from './types';
|
|
3
|
+
export declare const shallowCopyWithId: <T extends Record<any, any>>(node: T) => Identifiable<T>;
|
|
4
|
+
export declare const shallowCopyWithoutId: <T extends {
|
|
5
|
+
id: string;
|
|
6
|
+
}>(node: T) => Omit<T, "id">;
|
|
7
|
+
export declare const genDefaultSentinelNode: () => Identifiable<Readonly<SentinelNode>>;
|
|
8
|
+
export declare const genDefaultClusterNode: () => Identifiable<Readonly<ClusterNode>>;
|
|
9
|
+
export declare const getRedisType: (fields: RedisConfigurationFields | RedisConfigurationDTO) => RedisType;
|
|
10
|
+
export declare const mapRedisTypeToPartialType: (type: RedisType) => PartialType;
|
|
11
|
+
export declare const standardize: {
|
|
12
|
+
int<T>(value: string | number | undefined | null, defaultValue?: T): number | T;
|
|
13
|
+
str<T>(value: string | number | undefined | null, defaultValue?: T): string | T;
|
|
14
|
+
removeIdClusterNodes(nodes: Array<Identifiable<ClusterNode>>): ClusterNode[];
|
|
15
|
+
removeIdFromSentinelNodes(nodes: Array<Identifiable<SentinelNode>>): SentinelNode[];
|
|
16
|
+
addIdToClusterNodes(nodes: ClusterNode[]): Array<Identifiable<ClusterNode>>;
|
|
17
|
+
addIdToSentinelNodes(nodes: SentinelNode[]): Array<Identifiable<SentinelNode>>;
|
|
18
|
+
removeNullValues<T>(obj: T): Partial<T>;
|
|
19
|
+
stringToArray(value: string | null | undefined, separator?: string): string[];
|
|
20
|
+
arrayToString(value: string[] | null | undefined, separator?: string): string;
|
|
21
|
+
};
|
|
22
|
+
export declare const pickCloudAuthFields: (cloudAuth?: (RedisConfigurationFields | RedisConfigurationDTO)["config"]["cloud_authentication"] | null) => Partial<RedisConfigurationDTO["config"]["cloud_authentication"]> | null;
|
|
23
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/helpers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,KAAK,qBAAqB,EAAE,KAAK,wBAAwB,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAA;AACxJ,OAAO,EAAE,SAAS,EAAgB,MAAM,SAAS,CAAA;AAEjD,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,KAAG,YAAY,CAAC,CAAC,CAErF,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,MAAM,CAAC,KAAG,IAAI,CAAC,CAAC,EAAE,IAAI,CAIpF,CAAA;AAED,eAAO,MAAM,sBAAsB,4CAAiD,CAAA;AAEpF,eAAO,MAAM,qBAAqB,2CAAgD,CAAA;AAElF,eAAO,MAAM,YAAY,GAAI,QAAQ,wBAAwB,GAAG,qBAAqB,KAAG,SAcvF,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAI,MAAM,SAAS,KAAG,WAE3D,CAAA;AAED,eAAO,MAAM,WAAW;QAClB,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,iBAAiB,CAAC,GAAG,MAAM,GAAG,CAAC;QAO3E,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,iBAAiB,CAAC,GAAG,MAAM,GAAG,CAAC;gCAOnD,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,GAAG,WAAW,EAAE;qCAO3C,KAAK,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,GAAG,YAAY,EAAE;+BAOxD,WAAW,EAAE,GAAG,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;gCAI/C,YAAY,EAAE,GAAG,KAAK,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;qBAI7D,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;yBAUlB,MAAM,GAAG,IAAI,GAAG,SAAS,uBAAoB,MAAM,EAAE;yBAKrD,MAAM,EAAE,GAAG,IAAI,GAAG,SAAS,uBAAqB,MAAM;CAI5E,CAAA;AAED,eAAO,MAAM,mBAAmB,GAC7B,YAAY,CAAC,wBAAwB,GAAG,qBAAqB,CAAC,CAAC,QAAQ,CAAC,CAAC,sBAAsB,CAAC,GAAG,IAAI,KACtG,OAAO,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC,sBAAsB,CAAC,CAAC,GAAG,IA4BpE,CAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import RedisConfigurationForm from './components/RedisConfigurationForm.vue';
|
|
2
|
+
import RedisConfigurationList from './components/RedisConfigurationList.vue';
|
|
3
|
+
import RedisConfigurationConfigCard from './components/RedisConfigurationConfigCard.vue';
|
|
4
|
+
import RedisConfigurationSelector from './components/RedisConfigurationSelector.vue';
|
|
5
|
+
import RedisConfigurationFormModal from './components/RedisConfigurationFormModal.vue';
|
|
6
|
+
import LinkedPlugins from './components/LinkedPluginList.vue';
|
|
7
|
+
import DeleteWarningModal from './components/DeleteWarningModal.vue';
|
|
8
|
+
export { RedisConfigurationForm, RedisConfigurationList, RedisConfigurationConfigCard, RedisConfigurationSelector, RedisConfigurationFormModal, LinkedPlugins, DeleteWarningModal, };
|
|
9
|
+
export * from './types';
|
|
10
|
+
import * as helpers from './helpers';
|
|
11
|
+
export { helpers };
|
|
12
|
+
import * as constants from './constants';
|
|
13
|
+
export { constants };
|
|
14
|
+
import { useRedisConfigurationSelector } from './composables/useRedisConfigurationSelector';
|
|
15
|
+
export declare const composables: {
|
|
16
|
+
useLinkedPlugins: (param: {
|
|
17
|
+
partialId: string;
|
|
18
|
+
config: import("@kong-ui-public/entities-shared").KonnectConfig | import("@kong-ui-public/entities-shared").KongManagerConfig;
|
|
19
|
+
requestParams?: {
|
|
20
|
+
partialId: string;
|
|
21
|
+
size?: number;
|
|
22
|
+
offset?: string | null;
|
|
23
|
+
query?: string;
|
|
24
|
+
};
|
|
25
|
+
}) => import("vue").Ref<{
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
instance_name?: string | undefined;
|
|
29
|
+
}[], import("./types").RedisConfigurationLinkedPlugin[] | {
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
instance_name?: string | undefined;
|
|
33
|
+
}[]>;
|
|
34
|
+
useLinkedPluginsFetcher: (config: import("@kong-ui-public/entities-shared").KonnectConfig | import("@kong-ui-public/entities-shared").KongManagerConfig) => {
|
|
35
|
+
fetcher: (params: {
|
|
36
|
+
partialId: string;
|
|
37
|
+
size?: number;
|
|
38
|
+
offset?: string | null;
|
|
39
|
+
query?: string;
|
|
40
|
+
}) => Promise<import("./types").RedisConfigurationLinkedPluginsResponse>;
|
|
41
|
+
};
|
|
42
|
+
useRedisConfigurationSelector: typeof useRedisConfigurationSelector;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,yCAAyC,CAAA;AAC5E,OAAO,sBAAsB,MAAM,yCAAyC,CAAA;AAC5E,OAAO,4BAA4B,MAAM,+CAA+C,CAAA;AACxF,OAAO,0BAA0B,MAAM,6CAA6C,CAAA;AACpF,OAAO,2BAA2B,MAAM,8CAA8C,CAAA;AACtF,OAAO,aAAa,MAAM,mCAAmC,CAAA;AAC7D,OAAO,kBAAkB,MAAM,qCAAqC,CAAA;AAEpE,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,2BAA2B,EAC3B,aAAa,EACb,kBAAkB,GACnB,CAAA;AAED,cAAc,SAAS,CAAA;AAEvB,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AAEpC,OAAO,EAAE,OAAO,EAAE,CAAA;AAElB,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AAExC,OAAO,EAAE,SAAS,EAAE,CAAA;AAOpB,OAAO,EACL,6BAA6B,EAC9B,MAAM,6CAA6C,CAAA;AAEpD,eAAO,MAAM,WAAW;;;;qBAKgV,CAAC;;;;;;;;;;;;;;;;;;;;;;;;CADxW,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
list: {
|
|
3
|
+
konnect: string;
|
|
4
|
+
kongManager: string;
|
|
5
|
+
};
|
|
6
|
+
form: {
|
|
7
|
+
konnect: {
|
|
8
|
+
create: string;
|
|
9
|
+
edit: string;
|
|
10
|
+
};
|
|
11
|
+
kongManager: {
|
|
12
|
+
create: string;
|
|
13
|
+
edit: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
links: {
|
|
17
|
+
konnect: string;
|
|
18
|
+
kongManager: string;
|
|
19
|
+
};
|
|
20
|
+
detail: {
|
|
21
|
+
konnect: string;
|
|
22
|
+
kongManager: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
26
|
+
//# sourceMappingURL=partials-endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partials-endpoints.d.ts","sourceRoot":"","sources":["../../src/partials-endpoints.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAuBC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './redis-configuration';
|
|
2
|
+
export * from './redis-configuration-form';
|
|
3
|
+
export * from './redis-configuration-list';
|
|
4
|
+
export * from './redis-configuration-config';
|
|
5
|
+
export * from './redis-configuration-linked-plugins';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,sCAAsC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { KonnectBaseEntityConfig, KongManagerBaseEntityConfig } from '@kong-ui-public/entities-shared';
|
|
2
|
+
export interface BsseRedisConfigurationEntityConfig {
|
|
3
|
+
/**
|
|
4
|
+
* Show/hide cloud authentication configuration fields
|
|
5
|
+
*/
|
|
6
|
+
cloudAuthAvailable?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/** Konnect redis configuration entity config */
|
|
9
|
+
export interface KonnectRedisConfigurationEntityConfig extends KonnectBaseEntityConfig, BsseRedisConfigurationEntityConfig {
|
|
10
|
+
}
|
|
11
|
+
/** Kong Manager redis configuration entity config */
|
|
12
|
+
export interface KongManagerRedisConfigurationEntityConfig extends KongManagerBaseEntityConfig, BsseRedisConfigurationEntityConfig {
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=redis-configuration-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redis-configuration-config.d.ts","sourceRoot":"","sources":["../../../src/types/redis-configuration-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAC5B,MAAM,iCAAiC,CAAA;AAExC,MAAM,WAAW,kCAAkC;IACjD;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B;AACD,gDAAgD;AAChD,MAAM,WAAW,qCAAsC,SAAQ,uBAAuB,EAAE,kCAAkC;CAAI;AAE9H,qDAAqD;AACrD,MAAM,WAAW,yCAA0C,SAAQ,2BAA2B,EAAE,kCAAkC;CAAI"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { KonnectBaseFormConfig, KongManagerBaseFormConfig } from '@kong-ui-public/entities-shared';
|
|
2
|
+
import type { ClusterNode, Identifiable, PartialType, SentinelNode, AuthProvider } from './redis-configuration';
|
|
3
|
+
export interface BaseRedisConfigurationFormConfig {
|
|
4
|
+
/**
|
|
5
|
+
* Show/hide cloud authentication configuration fields
|
|
6
|
+
*/
|
|
7
|
+
cloudAuthAvailable?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the port field can accept vault references
|
|
10
|
+
*/
|
|
11
|
+
isPortReferenceable?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the host field can accept vault references
|
|
14
|
+
*/
|
|
15
|
+
isHostReferenceable?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether the server_name field can accept vault references
|
|
18
|
+
*/
|
|
19
|
+
isServerNameReferenceable?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface KonnectRedisConfigurationFormConfig extends KonnectBaseFormConfig, BaseRedisConfigurationFormConfig {
|
|
22
|
+
}
|
|
23
|
+
export interface KongManagerRedisConfigurationFormConfig extends KongManagerBaseFormConfig, BaseRedisConfigurationFormConfig {
|
|
24
|
+
}
|
|
25
|
+
export interface RedisConfigurationFields {
|
|
26
|
+
name: string;
|
|
27
|
+
type: PartialType;
|
|
28
|
+
tags: string;
|
|
29
|
+
config: {
|
|
30
|
+
cluster_max_redirections: number;
|
|
31
|
+
cluster_nodes: Array<Identifiable<ClusterNode>>;
|
|
32
|
+
connect_timeout: number;
|
|
33
|
+
connection_is_proxied: boolean;
|
|
34
|
+
database: number;
|
|
35
|
+
host?: string;
|
|
36
|
+
keepalive_backlog: number;
|
|
37
|
+
keepalive_pool_size: number;
|
|
38
|
+
password: string;
|
|
39
|
+
port?: number | string;
|
|
40
|
+
read_timeout: number;
|
|
41
|
+
send_timeout: number;
|
|
42
|
+
sentinel_master?: string;
|
|
43
|
+
sentinel_nodes: Array<Identifiable<SentinelNode>>;
|
|
44
|
+
sentinel_password: string;
|
|
45
|
+
sentinel_role?: 'master' | 'slave' | 'any';
|
|
46
|
+
sentinel_username: string;
|
|
47
|
+
server_name?: string;
|
|
48
|
+
ssl_verify: boolean;
|
|
49
|
+
ssl: boolean;
|
|
50
|
+
timeout?: number;
|
|
51
|
+
username: string;
|
|
52
|
+
cloud_authentication?: {
|
|
53
|
+
auth_provider?: AuthProvider | null;
|
|
54
|
+
aws_cache_name?: string;
|
|
55
|
+
aws_region?: string;
|
|
56
|
+
aws_is_serverless: boolean;
|
|
57
|
+
aws_access_key_id?: string;
|
|
58
|
+
aws_secret_access_key?: string;
|
|
59
|
+
aws_assume_role_arn?: string;
|
|
60
|
+
aws_role_session_name?: string;
|
|
61
|
+
gcp_service_account_json?: string;
|
|
62
|
+
azure_client_id?: string;
|
|
63
|
+
azure_client_secret?: string;
|
|
64
|
+
azure_tenant_id?: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
export interface RedisConfigurationFormState {
|
|
69
|
+
fields: RedisConfigurationFields;
|
|
70
|
+
readonly: boolean;
|
|
71
|
+
errorMessage: string;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=redis-configuration-form.d.ts.map
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pB,eAAe,CAAC,EAAE,MAAM,CAAA;QACxB,cAAc,EAAE,KAAK,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,CAAA;QACjD,iBAAiB,EAAE,MAAM,CAAA;QACzB,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;QAC1C,iBAAiB,EAAE,MAAM,CAAA;QACzB,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,UAAU,EAAE,OAAO,CAAA;QACnB,GAAG,EAAE,OAAO,CAAA;QACZ,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,QAAQ,EAAE,MAAM,CAAA;QAChB,oBAAoB,CAAC,EAAE;YACrB,aAAa,CAAC,EAAE,YAAY,GAAG,IAAI,CAAA;YACnC,cAAc,CAAC,EAAE,MAAM,CAAA;YACvB,UAAU,CAAC,EAAE,MAAM,CAAA;YACnB,iBAAiB,EAAE,OAAO,CAAA;YAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAA;YAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAA;YAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAA;YAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAA;YAC9B,wBAAwB,CAAC,EAAE,MAAM,CAAA;YACjC,eAAe,CAAC,EAAE,MAAM,CAAA;YACxB,mBAAmB,CAAC,EAAE,MAAM,CAAA;YAC5B,eAAe,CAAC,EAAE,MAAM,CAAA;SACzB,CAAA;KACF,CAAA;CACF;AAED,MAAM,WAAW,2BAA2B;IAC1C,MAAM,EAAE,wBAAwB,CAAA;IAChC,QAAQ,EAAE,OAAO,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;CACrB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type RedisConfigurationLinkedPlugin = {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
instance_name?: string;
|
|
5
|
+
};
|
|
6
|
+
export type RedisConfigurationLinkedPluginsResponse = {
|
|
7
|
+
next: string | null;
|
|
8
|
+
count: number;
|
|
9
|
+
data: RedisConfigurationLinkedPlugin[];
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=redis-configuration-linked-plugins.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redis-configuration-linked-plugins.d.ts","sourceRoot":"","sources":["../../../src/types/redis-configuration-linked-plugins.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,8BAA8B,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,uCAAuC,GAAG;IACpD,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,8BAA8B,EAAE,CAAA;CACvC,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { KonnectBaseTableConfig, KongManagerBaseTableConfig, FilterSchema } from '@kong-ui-public/entities-shared';
|
|
2
|
+
import type { RouteLocationRaw } from 'vue-router';
|
|
3
|
+
export interface BaseRedisConfigurationListConfig {
|
|
4
|
+
/** Route for creating a redis configuration */
|
|
5
|
+
createRoute: RouteLocationRaw;
|
|
6
|
+
/** A function that returns the route for viewing a redis configuration */
|
|
7
|
+
getViewRoute: (id: string) => RouteLocationRaw;
|
|
8
|
+
/** A function that returns the route for editing a redis configuration */
|
|
9
|
+
getEditRoute: (id: string) => RouteLocationRaw;
|
|
10
|
+
}
|
|
11
|
+
/** Konnect redis configuration list config */
|
|
12
|
+
export interface KonnectRedisConfigurationListConfig extends KonnectBaseTableConfig, BaseRedisConfigurationListConfig {
|
|
13
|
+
}
|
|
14
|
+
/** Kong Manager redis configuration list config */
|
|
15
|
+
export interface KongManagerRedisConfigurationListConfig extends KongManagerBaseTableConfig, BaseRedisConfigurationListConfig {
|
|
16
|
+
/** FilterSchema for fuzzy match */
|
|
17
|
+
filterSchema?: FilterSchema;
|
|
18
|
+
}
|
|
19
|
+
export interface EntityRow extends Record<string, any> {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
export interface CopyEventPayload {
|
|
24
|
+
/** The entity row */
|
|
25
|
+
entity: EntityRow;
|
|
26
|
+
/** The field being copied. If omitted, the entity JSON is being copied. */
|
|
27
|
+
field?: string;
|
|
28
|
+
/** The toaster message */
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=redis-configuration-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redis-configuration-list.d.ts","sourceRoot":"","sources":["../../../src/types/redis-configuration-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AACvH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD,MAAM,WAAW,gCAAgC;IAC/C,+CAA+C;IAC/C,WAAW,EAAE,gBAAgB,CAAA;IAC7B,0EAA0E;IAC1E,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,gBAAgB,CAAA;IAC9C,0EAA0E;IAC1E,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,gBAAgB,CAAA;CAC/C;AAED,8CAA8C;AAC9C,MAAM,WAAW,mCAAoC,SAAQ,sBAAsB,EAAE,gCAAgC;CAAI;AAEzH,mDAAmD;AACnD,MAAM,WAAW,uCAAwC,SAAQ,0BAA0B,EAAE,gCAAgC;IAC3H,mCAAmC;IACnC,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B;AAED,MAAM,WAAW,SAAU,SAAQ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IACpD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,gBAAgB;IAC/B,qBAAqB;IACrB,MAAM,EAAE,SAAS,CAAA;IACjB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0BAA0B;IAC1B,OAAO,EAAE,MAAM,CAAA;CAChB"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export declare enum RedisType {
|
|
2
|
+
HOST_PORT_CE = 0,
|
|
3
|
+
HOST_PORT_EE = 1,
|
|
4
|
+
SENTINEL = 2,
|
|
5
|
+
CLUSTER = 3
|
|
6
|
+
}
|
|
7
|
+
export declare enum PartialType {
|
|
8
|
+
REDIS_CE = "redis-ce",
|
|
9
|
+
REDIS_EE = "redis-ee"
|
|
10
|
+
}
|
|
11
|
+
export declare enum AuthProvider {
|
|
12
|
+
AWS = "aws",
|
|
13
|
+
GCP = "gcp",
|
|
14
|
+
AZURE = "azure"
|
|
15
|
+
}
|
|
16
|
+
export type SentinelNode = {
|
|
17
|
+
host: string;
|
|
18
|
+
port: number;
|
|
19
|
+
};
|
|
20
|
+
export type ClusterNode = {
|
|
21
|
+
ip: string;
|
|
22
|
+
port: number;
|
|
23
|
+
};
|
|
24
|
+
export type RedisConfigurationDTO = {
|
|
25
|
+
name: string;
|
|
26
|
+
type: PartialType;
|
|
27
|
+
tags: string[];
|
|
28
|
+
config: RedisConfigurationConfigDTO;
|
|
29
|
+
};
|
|
30
|
+
export type RedisConfigurationConfigDTO = {
|
|
31
|
+
cluster_max_redirections: number | null;
|
|
32
|
+
cluster_nodes: ClusterNode[] | null;
|
|
33
|
+
connect_timeout: number | null;
|
|
34
|
+
connection_is_proxied: boolean | null;
|
|
35
|
+
database: number | null;
|
|
36
|
+
host: string | null;
|
|
37
|
+
keepalive_backlog: number | null;
|
|
38
|
+
keepalive_pool_size: number | null;
|
|
39
|
+
password: string | null;
|
|
40
|
+
port: number | string | null;
|
|
41
|
+
timeout: number | null;
|
|
42
|
+
read_timeout: number | null;
|
|
43
|
+
send_timeout: number | null;
|
|
44
|
+
sentinel_master: string | null;
|
|
45
|
+
sentinel_nodes: SentinelNode[] | null;
|
|
46
|
+
sentinel_password: string | null;
|
|
47
|
+
sentinel_role: string | null;
|
|
48
|
+
sentinel_username: string | null;
|
|
49
|
+
server_name: string | null;
|
|
50
|
+
ssl_verify: boolean | null;
|
|
51
|
+
ssl: boolean | null;
|
|
52
|
+
username: string | null;
|
|
53
|
+
cloud_authentication: {
|
|
54
|
+
auth_provider: AuthProvider | null;
|
|
55
|
+
aws_cache_name: string | null;
|
|
56
|
+
aws_region: string | null;
|
|
57
|
+
aws_is_serverless: boolean | null;
|
|
58
|
+
aws_access_key_id: string | null;
|
|
59
|
+
aws_secret_access_key: string | null;
|
|
60
|
+
aws_assume_role_arn: string | null;
|
|
61
|
+
aws_role_session_name: string | null;
|
|
62
|
+
gcp_service_account_json: string | null;
|
|
63
|
+
azure_client_id: string | null;
|
|
64
|
+
azure_client_secret: string | null;
|
|
65
|
+
azure_tenant_id: string | null;
|
|
66
|
+
} | null;
|
|
67
|
+
};
|
|
68
|
+
export type RedisConfigurationResponse = RedisConfigurationDTO & {
|
|
69
|
+
created_at: string;
|
|
70
|
+
id: string;
|
|
71
|
+
updated_at: string;
|
|
72
|
+
};
|
|
73
|
+
export type Identifiable<T> = T & {
|
|
74
|
+
id: string;
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=redis-configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redis-configuration.d.ts","sourceRoot":"","sources":["../../../src/types/redis-configuration.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,YAAY,IAAA;IACZ,YAAY,IAAA;IACZ,QAAQ,IAAA;IACR,OAAO,IAAA;CACR;AAED,oBAAY,WAAW;IACrB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,oBAAY,YAAY;IACtB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAA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