@kong-ui-public/entities-redis-configurations 1.5.8 → 1.5.9-pr.2609.f4d92e2e4.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/package.json +8 -8
- package/dist/entities-redis-configurations.es.js +0 -3836
- package/dist/entities-redis-configurations.umd.js +0 -1
- package/dist/style.css +0 -1
- package/dist/types/components/ClusterNodes.vue.d.ts +0 -14
- package/dist/types/components/ClusterNodes.vue.d.ts.map +0 -1
- package/dist/types/components/DeleteWarningModal.vue.d.ts +0 -17
- package/dist/types/components/DeleteWarningModal.vue.d.ts.map +0 -1
- package/dist/types/components/FieldArrayCardContainer.vue.d.ts +0 -56
- package/dist/types/components/FieldArrayCardContainer.vue.d.ts.map +0 -1
- package/dist/types/components/LinkedPluginList.vue.d.ts +0 -69
- package/dist/types/components/LinkedPluginList.vue.d.ts.map +0 -1
- package/dist/types/components/LinkedPluginListModal.vue.d.ts +0 -49
- package/dist/types/components/LinkedPluginListModal.vue.d.ts.map +0 -1
- package/dist/types/components/LinkedPluginsInline.vue.d.ts +0 -25
- package/dist/types/components/LinkedPluginsInline.vue.d.ts.map +0 -1
- package/dist/types/components/PluginItem.vue.d.ts +0 -6
- package/dist/types/components/PluginItem.vue.d.ts.map +0 -1
- package/dist/types/components/RedisConfigurationConfigCard.vue.d.ts +0 -62
- package/dist/types/components/RedisConfigurationConfigCard.vue.d.ts.map +0 -1
- package/dist/types/components/RedisConfigurationForm.vue.d.ts +0 -90
- package/dist/types/components/RedisConfigurationForm.vue.d.ts.map +0 -1
- package/dist/types/components/RedisConfigurationFormModal.vue.d.ts +0 -24
- package/dist/types/components/RedisConfigurationFormModal.vue.d.ts.map +0 -1
- package/dist/types/components/RedisConfigurationList.vue.d.ts +0 -113
- package/dist/types/components/RedisConfigurationList.vue.d.ts.map +0 -1
- package/dist/types/components/RedisConfigurationSelector.vue.d.ts +0 -30
- package/dist/types/components/RedisConfigurationSelector.vue.d.ts.map +0 -1
- package/dist/types/components/SentinelNodes.vue.d.ts +0 -14
- package/dist/types/components/SentinelNodes.vue.d.ts.map +0 -1
- package/dist/types/composables/index.d.ts +0 -6
- package/dist/types/composables/index.d.ts.map +0 -1
- package/dist/types/composables/useI18n.d.ts +0 -9
- package/dist/types/composables/useI18n.d.ts.map +0 -1
- package/dist/types/composables/useLinkedPlugins.d.ts +0 -27
- package/dist/types/composables/useLinkedPlugins.d.ts.map +0 -1
- package/dist/types/composables/useRedisConfigurationForm.d.ts +0 -173
- package/dist/types/composables/useRedisConfigurationForm.d.ts.map +0 -1
- package/dist/types/composables/useRedisConfigurationSelector.d.ts +0 -11
- package/dist/types/composables/useRedisConfigurationSelector.d.ts.map +0 -1
- package/dist/types/constants.d.ts +0 -7
- package/dist/types/constants.d.ts.map +0 -1
- package/dist/types/helpers.d.ts +0 -22
- package/dist/types/helpers.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -44
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/partials-endpoints.d.ts +0 -26
- package/dist/types/partials-endpoints.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -6
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/types/redis-configuration-config.d.ts +0 -8
- package/dist/types/types/redis-configuration-config.d.ts.map +0 -1
- package/dist/types/types/redis-configuration-form.d.ts +0 -41
- package/dist/types/types/redis-configuration-form.d.ts.map +0 -1
- package/dist/types/types/redis-configuration-linked-plugins.d.ts +0 -11
- package/dist/types/types/redis-configuration-linked-plugins.d.ts.map +0 -1
- package/dist/types/types/redis-configuration-list.d.ts +0 -31
- package/dist/types/types/redis-configuration-list.d.ts.map +0 -1
- package/dist/types/types/redis-configuration.d.ts +0 -57
- package/dist/types/types/redis-configuration.d.ts.map +0 -1
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import '@kong-ui-public/entities-shared/dist/style.css';
|
|
2
|
-
import '@kong-ui-public/entities-vaults/dist/style.css';
|
|
3
|
-
import { PartialType } from '../types';
|
|
4
|
-
import type { PropType } from 'vue';
|
|
5
|
-
import type { KongManagerRedisConfigurationFormConfig, KonnectRedisConfigurationFormConfig, RedisConfigurationResponse } from '../types';
|
|
6
|
-
import type { AxiosError } from 'axios';
|
|
7
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
-
config: {
|
|
9
|
-
type: PropType<KonnectRedisConfigurationFormConfig | KongManagerRedisConfigurationFormConfig>;
|
|
10
|
-
required: true;
|
|
11
|
-
validator: (config: KonnectRedisConfigurationFormConfig | KongManagerRedisConfigurationFormConfig) => boolean;
|
|
12
|
-
};
|
|
13
|
-
/** If a valid partialId is provided, it will put the form in Edit mode instead of Create */
|
|
14
|
-
partialId: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
required: false;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Teleport target for the actions
|
|
21
|
-
*/
|
|
22
|
-
actionTeleportTarget: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: null;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Top offset for the slideout
|
|
28
|
-
*/
|
|
29
|
-
slidoutTopOffset: {
|
|
30
|
-
type: NumberConstructor;
|
|
31
|
-
default: number;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Set disabled partial type, only for create mode
|
|
35
|
-
*/
|
|
36
|
-
disabledPartialType: {
|
|
37
|
-
type: PropType<PartialType>;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
41
|
-
loading: (isLoading: boolean) => any;
|
|
42
|
-
error: (error: AxiosError<unknown, any>) => any;
|
|
43
|
-
update: (data: RedisConfigurationResponse) => any;
|
|
44
|
-
cancel: () => any;
|
|
45
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
-
config: {
|
|
47
|
-
type: PropType<KonnectRedisConfigurationFormConfig | KongManagerRedisConfigurationFormConfig>;
|
|
48
|
-
required: true;
|
|
49
|
-
validator: (config: KonnectRedisConfigurationFormConfig | KongManagerRedisConfigurationFormConfig) => boolean;
|
|
50
|
-
};
|
|
51
|
-
/** If a valid partialId is provided, it will put the form in Edit mode instead of Create */
|
|
52
|
-
partialId: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
required: false;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Teleport target for the actions
|
|
59
|
-
*/
|
|
60
|
-
actionTeleportTarget: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: null;
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* Top offset for the slideout
|
|
66
|
-
*/
|
|
67
|
-
slidoutTopOffset: {
|
|
68
|
-
type: NumberConstructor;
|
|
69
|
-
default: number;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Set disabled partial type, only for create mode
|
|
73
|
-
*/
|
|
74
|
-
disabledPartialType: {
|
|
75
|
-
type: PropType<PartialType>;
|
|
76
|
-
default: string;
|
|
77
|
-
};
|
|
78
|
-
}>> & Readonly<{
|
|
79
|
-
onLoading?: ((isLoading: boolean) => any) | undefined;
|
|
80
|
-
onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
|
|
81
|
-
onUpdate?: ((data: RedisConfigurationResponse) => any) | undefined;
|
|
82
|
-
onCancel?: (() => any) | undefined;
|
|
83
|
-
}>, {
|
|
84
|
-
partialId: string;
|
|
85
|
-
actionTeleportTarget: string;
|
|
86
|
-
slidoutTopOffset: number;
|
|
87
|
-
disabledPartialType: PartialType;
|
|
88
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
89
|
-
export default _default;
|
|
90
|
-
//# sourceMappingURL=RedisConfigurationForm.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RedisConfigurationForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RedisConfigurationForm.vue"],"names":[],"mappings":"AA2qBA,OAAO,gDAAgD,CAAA;AACvD,OAAO,gDAAgD,CAAA;AAMvD,OAAO,EAAa,WAAW,EAAE,MAAM,UAAU,CAAA;AASjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EACV,uCAAuC,EACvC,mCAAmC,EACnC,0BAA0B,EAC3B,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;;;cAigDnB,QAAQ,CAAC,mCAAmC,GAAG,uCAAuC,CAAC;;4BAEnF,mCAAmC,GAAG,uCAAuC;;IAOnG,4FAA4F;;;;;;IAM5F;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;cAEe,QAAQ,CAAC,WAAW,CAAC;;;;;;;;;;cAjCrB,QAAQ,CAAC,mCAAmC,GAAG,uCAAuC,CAAC;;4BAEnF,mCAAmC,GAAG,uCAAuC;;IAOnG,4FAA4F;;;;;;IAM5F;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;cAEe,QAAQ,CAAC,WAAW,CAAC;;;;;;;;;;;;;;AAvCzC,wBA2CG"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type RedisConfigurationResponse } from '../types';
|
|
2
|
-
export interface RedisConfigurationFormModalProps {
|
|
3
|
-
/** Whether the modal is visible */
|
|
4
|
-
visible: boolean;
|
|
5
|
-
/** The partial type to create */
|
|
6
|
-
partialType?: 'redis-ce' | 'redis-ee';
|
|
7
|
-
}
|
|
8
|
-
declare const _default: import("vue").DefineComponent<RedisConfigurationFormModalProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
toast: (payload: {
|
|
10
|
-
message: string;
|
|
11
|
-
appearance: "success" | "danger";
|
|
12
|
-
}) => any;
|
|
13
|
-
"modal-close": () => any;
|
|
14
|
-
created: (data: RedisConfigurationResponse) => any;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<RedisConfigurationFormModalProps> & Readonly<{
|
|
16
|
-
onToast?: ((payload: {
|
|
17
|
-
message: string;
|
|
18
|
-
appearance: "success" | "danger";
|
|
19
|
-
}) => any) | undefined;
|
|
20
|
-
"onModal-close"?: (() => any) | undefined;
|
|
21
|
-
onCreated?: ((data: RedisConfigurationResponse) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
-
export default _default;
|
|
24
|
-
//# sourceMappingURL=RedisConfigurationFormModal.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RedisConfigurationFormModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RedisConfigurationFormModal.vue"],"names":[],"mappings":"AA0JA,OAAO,EAAe,KAAK,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAMvE,MAAM,WAAW,gCAAgC;IAC/C,mCAAmC;IACnC,OAAO,EAAE,OAAO,CAAA;IAChB,iCAAiC;IACjC,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;CACtC;;;iBAS+B,MAAM;oBAAc,SAAS,GAAG,QAAQ;;;;;;iBAAxC,MAAM;oBAAc,SAAS,GAAG,QAAQ;;;;;AAqMxE,wBAKG"}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type { KonnectRedisConfigurationListConfig, KongManagerRedisConfigurationListConfig, EntityRow, CopyEventPayload } from '../types';
|
|
3
|
-
import type { AxiosError } from 'axios';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
-
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
6
|
-
config: {
|
|
7
|
-
type: PropType<KonnectRedisConfigurationListConfig | KongManagerRedisConfigurationListConfig>;
|
|
8
|
-
required: true;
|
|
9
|
-
validator: (config: KonnectRedisConfigurationListConfig | KongManagerRedisConfigurationListConfig) => boolean;
|
|
10
|
-
};
|
|
11
|
-
cacheIdentifier: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
|
|
16
|
-
canCreate: {
|
|
17
|
-
type: PropType<() => boolean | Promise<boolean>>;
|
|
18
|
-
required: false;
|
|
19
|
-
default: () => Promise<boolean>;
|
|
20
|
-
};
|
|
21
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
|
|
22
|
-
canDelete: {
|
|
23
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
24
|
-
required: false;
|
|
25
|
-
default: () => Promise<boolean>;
|
|
26
|
-
};
|
|
27
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
|
|
28
|
-
canEdit: {
|
|
29
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
30
|
-
required: false;
|
|
31
|
-
default: () => Promise<boolean>;
|
|
32
|
-
};
|
|
33
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
|
|
34
|
-
canRetrieve: {
|
|
35
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
36
|
-
required: false;
|
|
37
|
-
default: () => Promise<boolean>;
|
|
38
|
-
};
|
|
39
|
-
/** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
|
|
40
|
-
useActionOutside: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
45
|
-
error: (error: AxiosError<unknown, any>) => any;
|
|
46
|
-
"click:learn-more": () => any;
|
|
47
|
-
"click:plugin": (param: {
|
|
48
|
-
id: string;
|
|
49
|
-
plugin: string;
|
|
50
|
-
}) => any;
|
|
51
|
-
"copy:error": (payload: CopyEventPayload) => any;
|
|
52
|
-
"copy:success": (payload: CopyEventPayload) => any;
|
|
53
|
-
"delete:success": (key: EntityRow) => any;
|
|
54
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
-
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
56
|
-
config: {
|
|
57
|
-
type: PropType<KonnectRedisConfigurationListConfig | KongManagerRedisConfigurationListConfig>;
|
|
58
|
-
required: true;
|
|
59
|
-
validator: (config: KonnectRedisConfigurationListConfig | KongManagerRedisConfigurationListConfig) => boolean;
|
|
60
|
-
};
|
|
61
|
-
cacheIdentifier: {
|
|
62
|
-
type: StringConstructor;
|
|
63
|
-
default: string;
|
|
64
|
-
};
|
|
65
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
|
|
66
|
-
canCreate: {
|
|
67
|
-
type: PropType<() => boolean | Promise<boolean>>;
|
|
68
|
-
required: false;
|
|
69
|
-
default: () => Promise<boolean>;
|
|
70
|
-
};
|
|
71
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
|
|
72
|
-
canDelete: {
|
|
73
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
74
|
-
required: false;
|
|
75
|
-
default: () => Promise<boolean>;
|
|
76
|
-
};
|
|
77
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
|
|
78
|
-
canEdit: {
|
|
79
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
80
|
-
required: false;
|
|
81
|
-
default: () => Promise<boolean>;
|
|
82
|
-
};
|
|
83
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
|
|
84
|
-
canRetrieve: {
|
|
85
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
86
|
-
required: false;
|
|
87
|
-
default: () => Promise<boolean>;
|
|
88
|
-
};
|
|
89
|
-
/** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
|
|
90
|
-
useActionOutside: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
}>> & Readonly<{
|
|
95
|
-
onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
|
|
96
|
-
"onClick:learn-more"?: (() => any) | undefined;
|
|
97
|
-
"onClick:plugin"?: ((param: {
|
|
98
|
-
id: string;
|
|
99
|
-
plugin: string;
|
|
100
|
-
}) => any) | undefined;
|
|
101
|
-
"onCopy:error"?: ((payload: CopyEventPayload) => any) | undefined;
|
|
102
|
-
"onCopy:success"?: ((payload: CopyEventPayload) => any) | undefined;
|
|
103
|
-
"onDelete:success"?: ((key: EntityRow) => any) | undefined;
|
|
104
|
-
}>, {
|
|
105
|
-
cacheIdentifier: string;
|
|
106
|
-
canCreate: () => boolean | Promise<boolean>;
|
|
107
|
-
canDelete: (row: EntityRow) => boolean | Promise<boolean>;
|
|
108
|
-
canEdit: (row: EntityRow) => boolean | Promise<boolean>;
|
|
109
|
-
canRetrieve: (row: EntityRow) => boolean | Promise<boolean>;
|
|
110
|
-
useActionOutside: boolean;
|
|
111
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
112
|
-
export default _default;
|
|
113
|
-
//# sourceMappingURL=RedisConfigurationList.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RedisConfigurationList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RedisConfigurationList.vue"],"names":[],"mappings":"AA8iBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EACV,mCAAmC,EACnC,uCAAuC,EACvC,SAAS,EAET,gBAAgB,EAEjB,MAAM,UAAU,CAAA;AAEjB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;;IA6+BrC,oHAAoH;;cAElG,QAAQ,CAAC,mCAAmC,GAAG,uCAAuC,CAAC;;4BAEnF,mCAAmC,GAAG,uCAAuC,KAAG,OAAO;;;;;;IAW7G,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,2HAA2H;;cAEvG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,yHAAyH;;cAErG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,4IAA4I;;cAExH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,iHAAiH;;;;;;;;;YA/gChF,MAAM;gBAAU,MAAM;;;;;;IAw+BvD,oHAAoH;;cAElG,QAAQ,CAAC,mCAAmC,GAAG,uCAAuC,CAAC;;4BAEnF,mCAAmC,GAAG,uCAAuC,KAAG,OAAO;;;;;;IAW7G,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,2HAA2H;;cAEvG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,yHAAyH;;cAErG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,4IAA4I;;cAExH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,iHAAiH;;;;;;;;;YA/gChF,MAAM;gBAAU,MAAM;;;;;;;qBAy/BpB,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;qBAM1B,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;mBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;uBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;;AAxC7E,wBAkDG"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { SelectItem } from '@kong/kongponents';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
/** The selected redis configuration ID */
|
|
4
|
-
modelValue?: string;
|
|
5
|
-
/** Redis type filter: 'redis-ce', 'redis-ee' */
|
|
6
|
-
redisType?: 'redis-ce' | 'redis-ee';
|
|
7
|
-
/** Placeholder text for the selector */
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
/** Text to show when no items are available */
|
|
10
|
-
emptyStateText?: string;
|
|
11
|
-
/** Whether to show the create new configuration button */
|
|
12
|
-
showCreateButton?: boolean;
|
|
13
|
-
/** Text for the create new configuration button */
|
|
14
|
-
createButtonText?: string;
|
|
15
|
-
};
|
|
16
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
-
"update:modelValue": (value: string | undefined) => any;
|
|
18
|
-
error: (error: Error) => any;
|
|
19
|
-
change: (item: SelectItem<string | number> | null) => any;
|
|
20
|
-
"modal-close": () => any;
|
|
21
|
-
"create-new": () => any;
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
-
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
24
|
-
onError?: ((error: Error) => any) | undefined;
|
|
25
|
-
onChange?: ((item: SelectItem<string | number> | null) => any) | undefined;
|
|
26
|
-
"onModal-close"?: (() => any) | undefined;
|
|
27
|
-
"onCreate-new"?: (() => any) | undefined;
|
|
28
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
-
export default _default;
|
|
30
|
-
//# sourceMappingURL=RedisConfigurationSelector.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RedisConfigurationSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RedisConfigurationSelector.vue"],"names":[],"mappings":"AAoMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAMnD,KAAK,WAAW,GAAG;IACjB,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gDAAgD;IAChD,SAAS,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;IACnC,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,mDAAmD;IACnD,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAC;;;;;;;;;;;;;;AAwQF,wBAKG"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Identifiable, SentinelNode } from '../types';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
readonly?: boolean;
|
|
4
|
-
};
|
|
5
|
-
type __VLS_PublicProps = __VLS_Props & {
|
|
6
|
-
modelValue: Array<Identifiable<SentinelNode>>;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (value: Identifiable<SentinelNode>[]) => any;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
11
|
-
"onUpdate:modelValue"?: ((value: Identifiable<SentinelNode>[]) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
export default _default;
|
|
14
|
-
//# sourceMappingURL=SentinelNodes.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SentinelNodes.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SentinelNodes.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAG1D,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAmBF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,EAAE,KAAK,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,CAAC;CAC7C,CAAC;;;;;;AAwMF,wBAKG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAA;;;;AAG/B,wBAEC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { createI18n, i18nTComponent } from '@kong-ui-public/i18n';
|
|
2
|
-
import english from '../locales/en.json';
|
|
3
|
-
interface UseI18nReturn {
|
|
4
|
-
i18n: ReturnType<typeof createI18n<typeof english>>;
|
|
5
|
-
i18nT: ReturnType<typeof i18nTComponent<typeof english>>;
|
|
6
|
-
}
|
|
7
|
-
export default function useI18n(): UseI18nReturn;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=useI18n.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,OAAO,MAAM,oBAAoB,CAAA;AAExC,UAAU,aAAa;IACrB,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;IACnD,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;CACzD;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,aAAa,CAO/C"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type KongManagerConfig, type KonnectConfig } from '@kong-ui-public/entities-shared';
|
|
2
|
-
import type { RedisConfigurationLinkedPluginsResponse } from '../types';
|
|
3
|
-
type RequestParams = {
|
|
4
|
-
partialId: string;
|
|
5
|
-
size?: number;
|
|
6
|
-
offset?: string | null;
|
|
7
|
-
query?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare function buildLinksCacheKey(partialId: string): string;
|
|
10
|
-
export declare const useLinkedPluginsFetcher: (config: KonnectConfig | KongManagerConfig) => {
|
|
11
|
-
fetcher: (params: RequestParams) => Promise<RedisConfigurationLinkedPluginsResponse>;
|
|
12
|
-
};
|
|
13
|
-
export declare const useLinkedPlugins: (param: {
|
|
14
|
-
partialId: string;
|
|
15
|
-
config: KonnectConfig | KongManagerConfig;
|
|
16
|
-
requestParams?: RequestParams;
|
|
17
|
-
}) => import("vue").Ref<{
|
|
18
|
-
id: string;
|
|
19
|
-
name: string;
|
|
20
|
-
instance_name?: string | undefined;
|
|
21
|
-
}[], import("..").RedisConfigurationLinkedPlugin[] | {
|
|
22
|
-
id: string;
|
|
23
|
-
name: string;
|
|
24
|
-
instance_name?: string | undefined;
|
|
25
|
-
}[]>;
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=useLinkedPlugins.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLinkedPlugins.d.ts","sourceRoot":"","sources":["../../../src/composables/useLinkedPlugins.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,iBAAiB,EAAE,KAAK,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAMtG,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,UAAU,CAAA;AAEvE,KAAK,aAAa,GAAG;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,UAEnD;AAED,eAAO,MAAM,uBAAuB,GAAI,QAAQ,aAAa,GAAG,iBAAiB;sBAIrD,aAAa;CAwBxC,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,OAAO;IACtC,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,aAAa,GAAG,iBAAiB,CAAA;IACzC,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B;;;;;;;;IAkBA,CAAA"}
|
|
@@ -1,173 +0,0 @@
|
|
|
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
|
-
};
|
|
9
|
-
export declare const useRedisConfigurationForm: (options: Options) => {
|
|
10
|
-
form: {
|
|
11
|
-
fields: {
|
|
12
|
-
name: string;
|
|
13
|
-
type: import("..").PartialType;
|
|
14
|
-
tags: string;
|
|
15
|
-
config: {
|
|
16
|
-
cluster_max_redirections: number;
|
|
17
|
-
cluster_nodes: {
|
|
18
|
-
ip: string;
|
|
19
|
-
port: number;
|
|
20
|
-
id: string;
|
|
21
|
-
}[];
|
|
22
|
-
connect_timeout: number;
|
|
23
|
-
connection_is_proxied: boolean;
|
|
24
|
-
database: number;
|
|
25
|
-
host?: string | undefined;
|
|
26
|
-
keepalive_backlog: number;
|
|
27
|
-
keepalive_pool_size: number;
|
|
28
|
-
password: string;
|
|
29
|
-
port?: number | undefined;
|
|
30
|
-
read_timeout: number;
|
|
31
|
-
send_timeout: number;
|
|
32
|
-
sentinel_master?: string | undefined;
|
|
33
|
-
sentinel_nodes: {
|
|
34
|
-
host: string;
|
|
35
|
-
port: number;
|
|
36
|
-
id: string;
|
|
37
|
-
}[];
|
|
38
|
-
sentinel_password: string;
|
|
39
|
-
sentinel_role?: "master" | "slave" | "any" | undefined;
|
|
40
|
-
sentinel_username: string;
|
|
41
|
-
server_name?: string | undefined;
|
|
42
|
-
ssl_verify: boolean;
|
|
43
|
-
ssl: boolean;
|
|
44
|
-
timeout?: number | undefined;
|
|
45
|
-
username: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
readonly: boolean;
|
|
49
|
-
errorMessage: string;
|
|
50
|
-
};
|
|
51
|
-
canSubmit: import("vue").ComputedRef<boolean | undefined>;
|
|
52
|
-
payload: import("vue").ComputedRef<{
|
|
53
|
-
name: string;
|
|
54
|
-
type: import("..").PartialType;
|
|
55
|
-
tags: string[];
|
|
56
|
-
config: {
|
|
57
|
-
host: string | undefined;
|
|
58
|
-
port: unknown;
|
|
59
|
-
timeout: unknown;
|
|
60
|
-
username: string | null;
|
|
61
|
-
database: unknown;
|
|
62
|
-
password: string | null;
|
|
63
|
-
ssl: boolean;
|
|
64
|
-
ssl_verify: boolean;
|
|
65
|
-
server_name: string | null;
|
|
66
|
-
connect_timeout?: undefined;
|
|
67
|
-
connection_is_proxied?: undefined;
|
|
68
|
-
keepalive_backlog?: undefined;
|
|
69
|
-
keepalive_pool_size?: undefined;
|
|
70
|
-
read_timeout?: undefined;
|
|
71
|
-
send_timeout?: undefined;
|
|
72
|
-
cluster_nodes?: undefined;
|
|
73
|
-
cluster_max_redirections?: undefined;
|
|
74
|
-
sentinel_master?: undefined;
|
|
75
|
-
sentinel_role?: undefined;
|
|
76
|
-
sentinel_nodes?: undefined;
|
|
77
|
-
sentinel_username?: undefined;
|
|
78
|
-
sentinel_password?: undefined;
|
|
79
|
-
};
|
|
80
|
-
} | {
|
|
81
|
-
name: string;
|
|
82
|
-
type: import("..").PartialType;
|
|
83
|
-
tags: string[];
|
|
84
|
-
config: {
|
|
85
|
-
connect_timeout: unknown;
|
|
86
|
-
connection_is_proxied: boolean;
|
|
87
|
-
database: unknown;
|
|
88
|
-
host: string | undefined;
|
|
89
|
-
keepalive_backlog: unknown;
|
|
90
|
-
keepalive_pool_size: unknown;
|
|
91
|
-
password: string | null;
|
|
92
|
-
port: unknown;
|
|
93
|
-
read_timeout: unknown;
|
|
94
|
-
send_timeout: unknown;
|
|
95
|
-
server_name: string | null;
|
|
96
|
-
ssl_verify: boolean;
|
|
97
|
-
ssl: boolean;
|
|
98
|
-
username: string | null;
|
|
99
|
-
cluster_nodes: null;
|
|
100
|
-
cluster_max_redirections: null;
|
|
101
|
-
sentinel_master: null;
|
|
102
|
-
sentinel_role: null;
|
|
103
|
-
sentinel_nodes: null;
|
|
104
|
-
sentinel_username: null;
|
|
105
|
-
sentinel_password: null;
|
|
106
|
-
timeout?: undefined;
|
|
107
|
-
};
|
|
108
|
-
} | {
|
|
109
|
-
name: string;
|
|
110
|
-
type: import("..").PartialType;
|
|
111
|
-
tags: string[];
|
|
112
|
-
config: {
|
|
113
|
-
cluster_nodes: import("..").ClusterNode[];
|
|
114
|
-
cluster_max_redirections: unknown;
|
|
115
|
-
username: string | null;
|
|
116
|
-
password: string | null;
|
|
117
|
-
ssl: boolean;
|
|
118
|
-
ssl_verify: boolean;
|
|
119
|
-
server_name: string | null;
|
|
120
|
-
connect_timeout: unknown;
|
|
121
|
-
database: unknown;
|
|
122
|
-
send_timeout: unknown;
|
|
123
|
-
read_timeout: unknown;
|
|
124
|
-
keepalive_pool_size: unknown;
|
|
125
|
-
keepalive_backlog: unknown;
|
|
126
|
-
connection_is_proxied: null;
|
|
127
|
-
sentinel_master: null;
|
|
128
|
-
sentinel_role: null;
|
|
129
|
-
sentinel_nodes: null;
|
|
130
|
-
sentinel_username: null;
|
|
131
|
-
sentinel_password: null;
|
|
132
|
-
host: null;
|
|
133
|
-
port: null;
|
|
134
|
-
timeout?: undefined;
|
|
135
|
-
};
|
|
136
|
-
} | {
|
|
137
|
-
name: string;
|
|
138
|
-
type: import("..").PartialType;
|
|
139
|
-
tags: string[];
|
|
140
|
-
config: {
|
|
141
|
-
sentinel_master: string | null;
|
|
142
|
-
sentinel_nodes: import("..").SentinelNode[];
|
|
143
|
-
sentinel_role: string | null;
|
|
144
|
-
sentinel_username: string | null;
|
|
145
|
-
sentinel_password: string | null;
|
|
146
|
-
username: string | null;
|
|
147
|
-
password: string | null;
|
|
148
|
-
ssl: boolean;
|
|
149
|
-
ssl_verify: boolean;
|
|
150
|
-
server_name: string | null;
|
|
151
|
-
database: unknown;
|
|
152
|
-
connect_timeout: unknown;
|
|
153
|
-
send_timeout: unknown;
|
|
154
|
-
read_timeout: unknown;
|
|
155
|
-
keepalive_pool_size: unknown;
|
|
156
|
-
keepalive_backlog: unknown;
|
|
157
|
-
connection_is_proxied: null;
|
|
158
|
-
cluster_nodes: null;
|
|
159
|
-
cluster_max_redirections: null;
|
|
160
|
-
host: null;
|
|
161
|
-
port: null;
|
|
162
|
-
timeout?: undefined;
|
|
163
|
-
};
|
|
164
|
-
}>;
|
|
165
|
-
isEdit: boolean;
|
|
166
|
-
redisType: import("vue").Ref<RedisType, RedisType>;
|
|
167
|
-
redisTypeIsEnterprise: import("vue").ComputedRef<boolean>;
|
|
168
|
-
formType: import("vue").ComputedRef<EntityBaseFormType>;
|
|
169
|
-
fetchUrl: import("vue").ComputedRef<string>;
|
|
170
|
-
submit: () => Promise<import("axios").AxiosResponse<RedisConfigurationResponse, any, {}>>;
|
|
171
|
-
setInitialFormValues: (data: RedisConfigurationResponse) => void;
|
|
172
|
-
};
|
|
173
|
-
//# sourceMappingURL=useRedisConfigurationForm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;CACtF,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAI,SAAS,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAmOpB,0BAA0B;CA4B/D,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,CAsBpF,CAAA"}
|
package/dist/types/helpers.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,EAAE,MAAM,SAAS,CAAA;AAEnC,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"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|