Skip to content

Commit 7db1ee5

Browse files
Merge pull request #48 from codedbychavez/switch-to-unified-sdk
Switch to unified JS SDK
2 parents 0b2ca61 + 70068a1 commit 7db1ee5

17 files changed

+2565
-2886
lines changed

dist/components/FeatureWrapper.vue.d.ts

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,23 @@
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-
}, {}, {}>, {
1+
import { User } from '@configcat/sdk';
2+
declare function __VLS_template(): {
233
default?(_: {}): any;
244
else?(_: {}): any;
255
loading?(_: {}): any;
26-
}>;
6+
};
7+
declare const __VLS_component: import('vue').DefineComponent<{
8+
featureKey: string;
9+
userObject?: User;
10+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11+
flagValueChanged: (newValue: boolean) => any;
12+
}, string, import('vue').PublicProps, Readonly<{
13+
featureKey: string;
14+
userObject?: User;
15+
}> & Readonly<{
16+
onFlagValueChanged?: ((newValue: boolean) => any) | undefined;
17+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
2719
export default _default;
20+
2821
type __VLS_WithTemplateSlots<T, S> = T & {
2922
new (): {
3023
$slots: S;

0 commit comments

Comments
 (0)