configcat-vue 1.3.0 → 2.0.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/README.md +1 -1
- package/dist/components/FeatureWrapper.vue.d.ts +32 -0
- package/dist/configcat-vue.js +1831 -1699
- package/dist/configcat-vue.umd.cjs +6 -6
- package/dist/index.d.ts +9 -0
- package/dist/plugins/ConfigCatPlugin.d.ts +20 -0
- package/dist/plugins/ConfigFetcher.d.ts +5 -0
- package/dist/plugins/LocalStorageCache.d.ts +5 -0
- package/dist/plugins/Version.d.ts +2 -0
- package/package.json +43 -18
package/README.md
CHANGED
|
@@ -32,4 +32,4 @@ Please note that the provided link is subject to ConfigCat's website and may cha
|
|
|
32
32
|
|
|
33
33
|
## Want to contribute?
|
|
34
34
|
|
|
35
|
-
Whether your strengths lie in coding, documentation, testing, or bug reporting, your expertise is highly valued. Visit the [configcat-vue GitHub repository](https://github.com/codedbychavez/configcat-vue), explore the codebase, and embark on your journey to make a meaningful impact. Let's unite our efforts to create something extraordinary and leave a lasting impression.
|
|
35
|
+
Whether your strengths lie in coding, documentation, testing, or bug reporting, your expertise is highly valued. Visit the [configcat-vue GitHub repository](https://github.com/codedbychavez/configcat-vue), explore the codebase, and embark on your journey to make a meaningful impact. Let's unite our efforts to create something extraordinary and leave a lasting impression.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type User } from "configcat-common";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
featureKey: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
userObject: {
|
|
8
|
+
type: import("vue").PropType<User>;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
flagValueChanged: (newValue: boolean) => void;
|
|
12
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
featureKey: {
|
|
14
|
+
type: import("vue").PropType<string>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
userObject: {
|
|
18
|
+
type: import("vue").PropType<User>;
|
|
19
|
+
};
|
|
20
|
+
}>> & {
|
|
21
|
+
onFlagValueChanged?: ((newValue: boolean) => any) | undefined;
|
|
22
|
+
}, {}, {}>, {
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
else?(_: {}): any;
|
|
25
|
+
loading?(_: {}): any;
|
|
26
|
+
}>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|