@c8y/client 1023.30.0 → 1023.37.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/lib/cjs/src/feature/FeatureService.d.ts +62 -0
- package/lib/cjs/src/feature/FeatureService.d.ts.map +1 -1
- package/lib/cjs/src/feature/FeatureService.js +82 -0
- package/lib/cjs/src/feature/FeatureService.js.map +1 -1
- package/lib/esm2015/src/feature/FeatureService.d.ts +62 -0
- package/lib/esm2015/src/feature/FeatureService.d.ts.map +1 -1
- package/lib/esm2015/src/feature/FeatureService.js +90 -0
- package/lib/esm2015/src/feature/FeatureService.js.map +1 -1
- package/lib/src/feature/FeatureService.d.ts +62 -0
- package/lib/src/feature/FeatureService.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -36,6 +36,22 @@ export declare class FeatureService extends Service<IFeatureToggle> {
|
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
detail(key: string): Promise<IResult<IFeatureToggle>>;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieve the feature toggle state for the provided key grouped by tenant.
|
|
41
|
+
*
|
|
42
|
+
* **Example**
|
|
43
|
+
* ```typescript
|
|
44
|
+
*
|
|
45
|
+
* (async () => {
|
|
46
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
47
|
+
* const {data, res} = await featureService.detailByTenant(featureToggleKey);
|
|
48
|
+
* })();
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
detailByTenant(key: string, filter?: FeatureToggleQueryFilter): Promise<IResultList<{
|
|
52
|
+
tenantId: string;
|
|
53
|
+
active: boolean;
|
|
54
|
+
}>>;
|
|
39
55
|
/**
|
|
40
56
|
* Update a specific feature toggle value for current tenant.
|
|
41
57
|
*
|
|
@@ -50,5 +66,51 @@ export declare class FeatureService extends Service<IFeatureToggle> {
|
|
|
50
66
|
* ```
|
|
51
67
|
*/
|
|
52
68
|
updateFeature(feature: Partial<Omit<IFeatureToggle, 'key'>> & Pick<IFeatureToggle, 'key'>): Promise<IResult<IFeatureToggle>>;
|
|
69
|
+
/**
|
|
70
|
+
* Update a specific feature toggle value for the provided tenant.
|
|
71
|
+
*
|
|
72
|
+
* **Example**
|
|
73
|
+
* ```typescript
|
|
74
|
+
* (async () => {
|
|
75
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
76
|
+
* const {data, res} = await featureService.updateFeatureByTenant({
|
|
77
|
+
* key: featureToggleKey,
|
|
78
|
+
* active: true,
|
|
79
|
+
* }, 't123456');
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
updateFeatureByTenant(feature: Partial<Omit<IFeatureToggle, 'key'>> & Pick<IFeatureToggle, 'key'>, tenantId: string): Promise<IResult<IFeatureToggle>>;
|
|
83
|
+
/**
|
|
84
|
+
* Removes the feature toggle override for current tenant.
|
|
85
|
+
*
|
|
86
|
+
* Removal of the override will cause the tenant to use the feature toggle value based on the phase of the feature toggle.
|
|
87
|
+
*
|
|
88
|
+
* **Example**
|
|
89
|
+
* ```typescript
|
|
90
|
+
* (async () => {
|
|
91
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
92
|
+
* const {data, res} = await featureService.removeTenantOverride({
|
|
93
|
+
* key: featureToggleKey,
|
|
94
|
+
* active: true,
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
removeTenantOverride(feature: Partial<Omit<IFeatureToggle, 'key'>> & Pick<IFeatureToggle, 'key'>): Promise<IResult<IFeatureToggle>>;
|
|
99
|
+
/**
|
|
100
|
+
* Removes the feature toggle override for the provided tenant.
|
|
101
|
+
*
|
|
102
|
+
* Removal of the override will cause the tenant to use the feature toggle value based on the phase of the feature toggle.
|
|
103
|
+
*
|
|
104
|
+
* **Example**
|
|
105
|
+
* ```typescript
|
|
106
|
+
* (async () => {
|
|
107
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
108
|
+
* const {data, res} = await featureService.removeTenantOverrideByTenant({
|
|
109
|
+
* key: featureToggleKey,
|
|
110
|
+
* active: true,
|
|
111
|
+
* }, 't123456');
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
removeTenantOverrideByTenant(feature: Partial<Omit<IFeatureToggle, 'key'>> & Pick<IFeatureToggle, 'key'>, tenantId: string): Promise<IResult<IFeatureToggle>>;
|
|
53
115
|
}
|
|
54
116
|
//# sourceMappingURL=FeatureService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureService.d.ts","sourceRoot":"","sources":["../../../../src/feature/FeatureService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE/E;;GAEG;AACH,qBAAa,cAAe,SAAQ,OAAO,CAAC,cAAc,CAAC;IACzD,SAAS,CAAC,OAAO,SAAM;IACvB,SAAS,CAAC,OAAO,SAAc;IAE/B;;;;;;;;;;;;;;;OAeG;IACG,IAAI,CAAC,MAAM,GAAE,wBAA6B,GAAG,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;IAIvF;;;;;;;;;;;OAWG;IACG,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IAI3D;;;;;;;;;;;;OAYG;IACG,aAAa,CACjB,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,GAC1E,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"FeatureService.d.ts","sourceRoot":"","sources":["../../../../src/feature/FeatureService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,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C;;;;;;;;;;;;;;OAcG;IACG,4BAA4B,CAChC,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,EAC3E,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;CAMpC"}
|
|
@@ -45,6 +45,25 @@ class FeatureService extends index_js_1.Service {
|
|
|
45
45
|
async detail(key) {
|
|
46
46
|
return super.detail(key);
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Retrieve the feature toggle state for the provided key grouped by tenant.
|
|
50
|
+
*
|
|
51
|
+
* **Example**
|
|
52
|
+
* ```typescript
|
|
53
|
+
*
|
|
54
|
+
* (async () => {
|
|
55
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
56
|
+
* const {data, res} = await featureService.detailByTenant(featureToggleKey);
|
|
57
|
+
* })();
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
async detailByTenant(key, filter = {}) {
|
|
61
|
+
const headers = { accept: 'application/json' };
|
|
62
|
+
const url = this.getDetailUrl(key) + '/by-tenant';
|
|
63
|
+
const res = await this.fetch(url, this.changeFetchOptions({ headers, params: { ...filter } }, url));
|
|
64
|
+
const data = await res.json();
|
|
65
|
+
return { res, data };
|
|
66
|
+
}
|
|
48
67
|
/**
|
|
49
68
|
* Update a specific feature toggle value for current tenant.
|
|
50
69
|
*
|
|
@@ -66,6 +85,69 @@ class FeatureService extends index_js_1.Service {
|
|
|
66
85
|
const res = await this.fetch(url, this.changeFetchOptions({ method, body, headers }, url));
|
|
67
86
|
return { res, data: null };
|
|
68
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* Update a specific feature toggle value for the provided tenant.
|
|
90
|
+
*
|
|
91
|
+
* **Example**
|
|
92
|
+
* ```typescript
|
|
93
|
+
* (async () => {
|
|
94
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
95
|
+
* const {data, res} = await featureService.updateFeatureByTenant({
|
|
96
|
+
* key: featureToggleKey,
|
|
97
|
+
* active: true,
|
|
98
|
+
* }, 't123456');
|
|
99
|
+
* ```
|
|
100
|
+
*/
|
|
101
|
+
async updateFeatureByTenant(feature, tenantId) {
|
|
102
|
+
const url = `${this.listUrl}/${feature['key']}/by-tenant/${tenantId}`;
|
|
103
|
+
const method = 'PUT';
|
|
104
|
+
const body = JSON.stringify(feature);
|
|
105
|
+
const headers = { 'content-type': 'application/json', accept: 'application/json' };
|
|
106
|
+
const res = await this.fetch(url, this.changeFetchOptions({ method, body, headers }, url));
|
|
107
|
+
return { res, data: null };
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Removes the feature toggle override for current tenant.
|
|
111
|
+
*
|
|
112
|
+
* Removal of the override will cause the tenant to use the feature toggle value based on the phase of the feature toggle.
|
|
113
|
+
*
|
|
114
|
+
* **Example**
|
|
115
|
+
* ```typescript
|
|
116
|
+
* (async () => {
|
|
117
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
118
|
+
* const {data, res} = await featureService.removeTenantOverride({
|
|
119
|
+
* key: featureToggleKey,
|
|
120
|
+
* active: true,
|
|
121
|
+
* });
|
|
122
|
+
* ```
|
|
123
|
+
*/
|
|
124
|
+
async removeTenantOverride(feature) {
|
|
125
|
+
const url = `${this.listUrl}/${feature['key']}/by-tenant`;
|
|
126
|
+
const method = 'DELETE';
|
|
127
|
+
const res = await this.fetch(url, this.changeFetchOptions({ method }, url));
|
|
128
|
+
return { res, data: null };
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Removes the feature toggle override for the provided tenant.
|
|
132
|
+
*
|
|
133
|
+
* Removal of the override will cause the tenant to use the feature toggle value based on the phase of the feature toggle.
|
|
134
|
+
*
|
|
135
|
+
* **Example**
|
|
136
|
+
* ```typescript
|
|
137
|
+
* (async () => {
|
|
138
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
139
|
+
* const {data, res} = await featureService.removeTenantOverrideByTenant({
|
|
140
|
+
* key: featureToggleKey,
|
|
141
|
+
* active: true,
|
|
142
|
+
* }, 't123456');
|
|
143
|
+
* ```
|
|
144
|
+
*/
|
|
145
|
+
async removeTenantOverrideByTenant(feature, tenantId) {
|
|
146
|
+
const url = `${this.listUrl}/${feature['key']}/by-tenant/${tenantId}`;
|
|
147
|
+
const method = 'DELETE';
|
|
148
|
+
const res = await this.fetch(url, this.changeFetchOptions({ method }, url));
|
|
149
|
+
return { res, data: null };
|
|
150
|
+
}
|
|
69
151
|
}
|
|
70
152
|
exports.FeatureService = FeatureService;
|
|
71
153
|
//# sourceMappingURL=FeatureService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureService.js","sourceRoot":"","sources":["../../../../src/feature/FeatureService.ts"],"names":[],"mappings":";;;AAAA,+CAAiE;AAGjE;;GAEG;AACH,MAAa,cAAe,SAAQ,kBAAuB;IAA3D;;QACY,YAAO,GAAG,EAAE,CAAC;QACb,YAAO,GAAG,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"FeatureService.js","sourceRoot":"","sources":["../../../../src/feature/FeatureService.ts"],"names":[],"mappings":";;;AAAA,+CAAiE;AAGjE;;GAEG;AACH,MAAa,cAAe,SAAQ,kBAAuB;IAA3D;;QACY,YAAO,GAAG,EAAE,CAAC;QACb,YAAO,GAAG,UAAU,CAAC;IAiKjC,CAAC;IA/JC;;;;;;;;;;;;;;;OAeG;IACH,KAAK,CAAC,IAAI,CAAC,SAAmC,EAAE;QAC9C,OAAO,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC5B,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,MAAM,CAAC,GAAW;QACtB,OAAO,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,cAAc,CAClB,GAAW,EACX,SAAmC,EAAE;QAErC,MAAM,O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C7B,CAAC;CACF;AAnKD,wCAmKC"}
|
|
@@ -36,6 +36,22 @@ export declare class FeatureService extends Service<IFeatureToggle> {
|
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
detail(key: string): Promise<IResult<IFeatureToggle>>;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieve the feature toggle state for the provided key grouped by tenant.
|
|
41
|
+
*
|
|
42
|
+
* **Example**
|
|
43
|
+
* ```typescript
|
|
44
|
+
*
|
|
45
|
+
* (async () => {
|
|
46
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
47
|
+
* const {data, res} = await featureService.detailByTenant(featureToggleKey);
|
|
48
|
+
* })();
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
detailByTenant(key: string, filter?: FeatureToggleQueryFilter): Promise<IResultList<{
|
|
52
|
+
tenantId: string;
|
|
53
|
+
active: boolean;
|
|
54
|
+
}>>;
|
|
39
55
|
/**
|
|
40
56
|
* Update a specific feature toggle value for current tenant.
|
|
41
57
|
*
|
|
@@ -50,5 +66,51 @@ export declare class FeatureService extends Service<IFeatureToggle> {
|
|
|
50
66
|
* ```
|
|
51
67
|
*/
|
|
52
68
|
updateFeature(feature: Partial<Omit<IFeatureToggle, 'key'>> & Pick<IFeatureToggle, 'key'>): Promise<IResult<IFeatureToggle>>;
|
|
69
|
+
/**
|
|
70
|
+
* Update a specific feature toggle value for the provided tenant.
|
|
71
|
+
*
|
|
72
|
+
* **Example**
|
|
73
|
+
* ```typescript
|
|
74
|
+
* (async () => {
|
|
75
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
76
|
+
* const {data, res} = await featureService.updateFeatureByTenant({
|
|
77
|
+
* key: featureToggleKey,
|
|
78
|
+
* active: true,
|
|
79
|
+
* }, 't123456');
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
updateFeatureByTenant(feature: Partial<Omit<IFeatureToggle, 'key'>> & Pick<IFeatureToggle, 'key'>, tenantId: string): Promise<IResult<IFeatureToggle>>;
|
|
83
|
+
/**
|
|
84
|
+
* Removes the feature toggle override for current tenant.
|
|
85
|
+
*
|
|
86
|
+
* Removal of the override will cause the tenant to use the feature toggle value based on the phase of the feature toggle.
|
|
87
|
+
*
|
|
88
|
+
* **Example**
|
|
89
|
+
* ```typescript
|
|
90
|
+
* (async () => {
|
|
91
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
92
|
+
* const {data, res} = await featureService.removeTenantOverride({
|
|
93
|
+
* key: featureToggleKey,
|
|
94
|
+
* active: true,
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
removeTenantOverride(feature: Partial<Omit<IFeatureToggle, 'key'>> & Pick<IFeatureToggle, 'key'>): Promise<IResult<IFeatureToggle>>;
|
|
99
|
+
/**
|
|
100
|
+
* Removes the feature toggle override for the provided tenant.
|
|
101
|
+
*
|
|
102
|
+
* Removal of the override will cause the tenant to use the feature toggle value based on the phase of the feature toggle.
|
|
103
|
+
*
|
|
104
|
+
* **Example**
|
|
105
|
+
* ```typescript
|
|
106
|
+
* (async () => {
|
|
107
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
108
|
+
* const {data, res} = await featureService.removeTenantOverrideByTenant({
|
|
109
|
+
* key: featureToggleKey,
|
|
110
|
+
* active: true,
|
|
111
|
+
* }, 't123456');
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
removeTenantOverrideByTenant(feature: Partial<Omit<IFeatureToggle, 'key'>> & Pick<IFeatureToggle, 'key'>, tenantId: string): Promise<IResult<IFeatureToggle>>;
|
|
53
115
|
}
|
|
54
116
|
//# sourceMappingURL=FeatureService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureService.d.ts","sourceRoot":"","sources":["../../../../src/feature/FeatureService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,E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MAAM,EACX,MAAM,GAAE,wBAA6B,GACpC,OAAO,CAAC,WAAW,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAW9D;;;;;;;;;;;;OAYG;IACG,aAAa,CACjB,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,GAC1E,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IASnC;;;;;;;;;;;;OAYG;IACG,qBAAqB,CACzB,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,EAC3E,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IASnC;;;;;;;;;;;;;;OAcG;IACG,oBAAoB,CACxB,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,GAC1E,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IAOnC;;;;;;;;;;;;;;OAcG;IACG,4BAA4B,CAChC,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,EAC3E,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;CAMpC"}
|
|
@@ -53,6 +53,27 @@ export class FeatureService extends Service {
|
|
|
53
53
|
return _super.detail.call(this, key);
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Retrieve the feature toggle state for the provided key grouped by tenant.
|
|
58
|
+
*
|
|
59
|
+
* **Example**
|
|
60
|
+
* ```typescript
|
|
61
|
+
*
|
|
62
|
+
* (async () => {
|
|
63
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
64
|
+
* const {data, res} = await featureService.detailByTenant(featureToggleKey);
|
|
65
|
+
* })();
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
detailByTenant(key_1) {
|
|
69
|
+
return __awaiter(this, arguments, void 0, function* (key, filter = {}) {
|
|
70
|
+
const headers = { accept: 'application/json' };
|
|
71
|
+
const url = this.getDetailUrl(key) + '/by-tenant';
|
|
72
|
+
const res = yield this.fetch(url, this.changeFetchOptions({ headers, params: Object.assign({}, filter) }, url));
|
|
73
|
+
const data = yield res.json();
|
|
74
|
+
return { res, data };
|
|
75
|
+
});
|
|
76
|
+
}
|
|
56
77
|
/**
|
|
57
78
|
* Update a specific feature toggle value for current tenant.
|
|
58
79
|
*
|
|
@@ -76,5 +97,74 @@ export class FeatureService extends Service {
|
|
|
76
97
|
return { res, data: null };
|
|
77
98
|
});
|
|
78
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* Update a specific feature toggle value for the provided tenant.
|
|
102
|
+
*
|
|
103
|
+
* **Example**
|
|
104
|
+
* ```typescript
|
|
105
|
+
* (async () => {
|
|
106
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
107
|
+
* const {data, res} = await featureService.updateFeatureByTenant({
|
|
108
|
+
* key: featureToggleKey,
|
|
109
|
+
* active: true,
|
|
110
|
+
* }, 't123456');
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
updateFeatureByTenant(feature, tenantId) {
|
|
114
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
115
|
+
const url = `${this.listUrl}/${feature['key']}/by-tenant/${tenantId}`;
|
|
116
|
+
const method = 'PUT';
|
|
117
|
+
const body = JSON.stringify(feature);
|
|
118
|
+
const headers = { 'content-type': 'application/json', accept: 'application/json' };
|
|
119
|
+
const res = yield this.fetch(url, this.changeFetchOptions({ method, body, headers }, url));
|
|
120
|
+
return { res, data: null };
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Removes the feature toggle override for current tenant.
|
|
125
|
+
*
|
|
126
|
+
* Removal of the override will cause the tenant to use the feature toggle value based on the phase of the feature toggle.
|
|
127
|
+
*
|
|
128
|
+
* **Example**
|
|
129
|
+
* ```typescript
|
|
130
|
+
* (async () => {
|
|
131
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
132
|
+
* const {data, res} = await featureService.removeTenantOverride({
|
|
133
|
+
* key: featureToggleKey,
|
|
134
|
+
* active: true,
|
|
135
|
+
* });
|
|
136
|
+
* ```
|
|
137
|
+
*/
|
|
138
|
+
removeTenantOverride(feature) {
|
|
139
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
const url = `${this.listUrl}/${feature['key']}/by-tenant`;
|
|
141
|
+
const method = 'DELETE';
|
|
142
|
+
const res = yield this.fetch(url, this.changeFetchOptions({ method }, url));
|
|
143
|
+
return { res, data: null };
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Removes the feature toggle override for the provided tenant.
|
|
148
|
+
*
|
|
149
|
+
* Removal of the override will cause the tenant to use the feature toggle value based on the phase of the feature toggle.
|
|
150
|
+
*
|
|
151
|
+
* **Example**
|
|
152
|
+
* ```typescript
|
|
153
|
+
* (async () => {
|
|
154
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
155
|
+
* const {data, res} = await featureService.removeTenantOverrideByTenant({
|
|
156
|
+
* key: featureToggleKey,
|
|
157
|
+
* active: true,
|
|
158
|
+
* }, 't123456');
|
|
159
|
+
* ```
|
|
160
|
+
*/
|
|
161
|
+
removeTenantOverrideByTenant(feature, tenantId) {
|
|
162
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
163
|
+
const url = `${this.listUrl}/${feature['key']}/by-tenant/${tenantId}`;
|
|
164
|
+
const method = 'DELETE';
|
|
165
|
+
const res = yield this.fetch(url, this.changeFetchOptions({ method }, url));
|
|
166
|
+
return { res, data: null };
|
|
167
|
+
});
|
|
168
|
+
}
|
|
79
169
|
}
|
|
80
170
|
//# sourceMappingURL=FeatureService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureService.js","sourceRoot":"","sources":["../../../../src/feature/FeatureService.ts"],"names":[],"mappings":";AAAA,OAAO,EAAwB,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGjE;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,OAAuB;IAA3D;;QACY,YAAO,GAAG,EAAE,CAAC;QACb,YAAO,GAAG,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"FeatureService.js","sourceRoot":"","sources":["../../../../src/feature/FeatureService.ts"],"names":[],"mappings":";AAAA,OAAO,EAAwB,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGjE;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,OAAuB;IAA3D;;QACY,YAAO,GAAG,EAAE,CAAC;QACb,YAAO,GAAG,UAAU,CAAC;IAiKjC,CAAC;IA/JC;;;;;;;;;;;;;;;OAeG;IACG,IAAI;;;;6DAAC,SAAmC,EAAE;YAC9C,OAAO,OAAM,IAAI,YAAC,MAAM,EAAE;QAC5B,CAAC;KAAA;IAED;;;;;;;;;;;OAWG;IACG,MAAM,CAAC,GAAW;;;;;YACtB,OAAO,OAAM,MAAM,YAAC,GAAG,EAAE;QAC3B,CAAC;KAAA;IAED;;;;;;;;;;;OAWG;IACG,cAAc;6DAClB,GAAW,EACX,SAAmC,EAAE;YAErC,MAAM,OAAO,GAAG,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC;YAC/C,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,YAAY,CAAC;YAClD,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,KAAK,CAC1B,GAAG,EACH,IAAI,CAAC,kBAAkB,CAAC,EAAE,OAAO,EAAE,MAAM,oBAAO,MAAM,CAAE,EAAE,EA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AE,GAAG,CAAC,CAAC,CAAC;YAC3F,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;QAC7B,CAAC;KAAA;IAED;;;;;;;;;;;;;;OAcG;IACG,oBAAoB,CACxB,OAA2E;;YAE3E,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC;YAC1D,MAAM,MAAM,GAAG,QAAQ,CAAC;YACxB,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC;YAC5E,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;QAC7B,CAAC;KAAA;IAED;;;;;;;;;;;;;;OAcG;IACG,4BAA4B,CAChC,OAA2E,EAC3E,QAAgB;;YAEhB,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,cAAc,QAAQ,EAAE,CAAC;YACtE,MAAM,MAAM,GAAG,QAAQ,CAAC;YACxB,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC;YAC5E,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;QAC7B,CAAC;KAAA;CACF"}
|
|
@@ -36,6 +36,22 @@ export declare class FeatureService extends Service<IFeatureToggle> {
|
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
detail(key: string): Promise<IResult<IFeatureToggle>>;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieve the feature toggle state for the provided key grouped by tenant.
|
|
41
|
+
*
|
|
42
|
+
* **Example**
|
|
43
|
+
* ```typescript
|
|
44
|
+
*
|
|
45
|
+
* (async () => {
|
|
46
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
47
|
+
* const {data, res} = await featureService.detailByTenant(featureToggleKey);
|
|
48
|
+
* })();
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
detailByTenant(key: string, filter?: FeatureToggleQueryFilter): Promise<IResultList<{
|
|
52
|
+
tenantId: string;
|
|
53
|
+
active: boolean;
|
|
54
|
+
}>>;
|
|
39
55
|
/**
|
|
40
56
|
* Update a specific feature toggle value for current tenant.
|
|
41
57
|
*
|
|
@@ -50,5 +66,51 @@ export declare class FeatureService extends Service<IFeatureToggle> {
|
|
|
50
66
|
* ```
|
|
51
67
|
*/
|
|
52
68
|
updateFeature(feature: Partial<Omit<IFeatureToggle, 'key'>> & Pick<IFeatureToggle, 'key'>): Promise<IResult<IFeatureToggle>>;
|
|
69
|
+
/**
|
|
70
|
+
* Update a specific feature toggle value for the provided tenant.
|
|
71
|
+
*
|
|
72
|
+
* **Example**
|
|
73
|
+
* ```typescript
|
|
74
|
+
* (async () => {
|
|
75
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
76
|
+
* const {data, res} = await featureService.updateFeatureByTenant({
|
|
77
|
+
* key: featureToggleKey,
|
|
78
|
+
* active: true,
|
|
79
|
+
* }, 't123456');
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
updateFeatureByTenant(feature: Partial<Omit<IFeatureToggle, 'key'>> & Pick<IFeatureToggle, 'key'>, tenantId: string): Promise<IResult<IFeatureToggle>>;
|
|
83
|
+
/**
|
|
84
|
+
* Removes the feature toggle override for current tenant.
|
|
85
|
+
*
|
|
86
|
+
* Removal of the override will cause the tenant to use the feature toggle value based on the phase of the feature toggle.
|
|
87
|
+
*
|
|
88
|
+
* **Example**
|
|
89
|
+
* ```typescript
|
|
90
|
+
* (async () => {
|
|
91
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
92
|
+
* const {data, res} = await featureService.removeTenantOverride({
|
|
93
|
+
* key: featureToggleKey,
|
|
94
|
+
* active: true,
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
removeTenantOverride(feature: Partial<Omit<IFeatureToggle, 'key'>> & Pick<IFeatureToggle, 'key'>): Promise<IResult<IFeatureToggle>>;
|
|
99
|
+
/**
|
|
100
|
+
* Removes the feature toggle override for the provided tenant.
|
|
101
|
+
*
|
|
102
|
+
* Removal of the override will cause the tenant to use the feature toggle value based on the phase of the feature toggle.
|
|
103
|
+
*
|
|
104
|
+
* **Example**
|
|
105
|
+
* ```typescript
|
|
106
|
+
* (async () => {
|
|
107
|
+
* const featureToggleKey = 'my-custom-feature';
|
|
108
|
+
* const {data, res} = await featureService.removeTenantOverrideByTenant({
|
|
109
|
+
* key: featureToggleKey,
|
|
110
|
+
* active: true,
|
|
111
|
+
* }, 't123456');
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
removeTenantOverrideByTenant(feature: Partial<Omit<IFeatureToggle, 'key'>> & Pick<IFeatureToggle, 'key'>, tenantId: string): Promise<IResult<IFeatureToggle>>;
|
|
53
115
|
}
|
|
54
116
|
//# sourceMappingURL=FeatureService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureService.d.ts","sourceRoot":"","sources":["../../../src/feature/FeatureService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE/E;;GAEG;AACH,qBAAa,cAAe,SAAQ,OAAO,CAAC,cAAc,CAAC;IACzD,SAAS,CAAC,OAAO,SAAM;IACvB,SAAS,CAAC,OAAO,SAAc;IAE/B;;;;;;;;;;;;;;;OAeG;IACG,IAAI,CAAC,MAAM,GAAE,wBAA6B,GAAG,OAAO,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;IAIvF;;;;;;;;;;;OAW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