@zuplo/zudoku-plugin-monetization 0.0.8 → 0.0.10
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/index.d.mts +1 -43
- package/dist/index.mjs +2543 -89
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,54 +1,12 @@
|
|
|
1
1
|
import * as zudoku0 from "zudoku";
|
|
2
|
-
import * as zudoku_icons0 from "zudoku/icons";
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
import * as react0 from "react";
|
|
5
|
-
import * as zudoku_plugins0 from "zudoku/plugins";
|
|
6
2
|
|
|
7
3
|
//#region src/ZuploMonetizationPlugin.d.ts
|
|
8
4
|
type ZudokuMonetizationPluginOptions = {
|
|
9
|
-
environmentName: string;
|
|
10
5
|
pricing?: {
|
|
11
6
|
subtitle?: string;
|
|
12
7
|
title?: string;
|
|
13
8
|
};
|
|
14
9
|
};
|
|
15
|
-
declare const zuploMonetizationPlugin: (options
|
|
16
|
-
transformConfig: (config: zudoku0.ZudokuConfig) => {
|
|
17
|
-
slots: {
|
|
18
|
-
"head-navigation-start": () => react_jsx_runtime0.JSX.Element;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
getIdentities: (context: zudoku0.ZudokuContext) => Promise<{
|
|
22
|
-
label: string;
|
|
23
|
-
id: string;
|
|
24
|
-
authorizeRequest: (request: Request) => Promise<Request>;
|
|
25
|
-
authorizationFields: {
|
|
26
|
-
headers: string[];
|
|
27
|
-
};
|
|
28
|
-
}[]>;
|
|
29
|
-
getProfileMenuItems: () => {
|
|
30
|
-
label: string;
|
|
31
|
-
path: string;
|
|
32
|
-
icon: react0.ForwardRefExoticComponent<Omit<zudoku_icons0.LucideProps, "ref"> & react0.RefAttributes<SVGSVGElement>>;
|
|
33
|
-
}[];
|
|
34
|
-
getRoutes: () => ({
|
|
35
|
-
Component: () => react_jsx_runtime0.JSX.Element;
|
|
36
|
-
handle: {
|
|
37
|
-
layout: string;
|
|
38
|
-
};
|
|
39
|
-
children: {
|
|
40
|
-
path: string;
|
|
41
|
-
element: react_jsx_runtime0.JSX.Element;
|
|
42
|
-
}[];
|
|
43
|
-
} | {
|
|
44
|
-
Component: () => react_jsx_runtime0.JSX.Element;
|
|
45
|
-
children: {
|
|
46
|
-
path: string;
|
|
47
|
-
element: react_jsx_runtime0.JSX.Element;
|
|
48
|
-
}[];
|
|
49
|
-
handle?: undefined;
|
|
50
|
-
})[];
|
|
51
|
-
getProtectedRoutes: () => string[];
|
|
52
|
-
} & zudoku_plugins0.TransformConfigPlugin;
|
|
10
|
+
declare const zuploMonetizationPlugin: (options?: ZudokuMonetizationPluginOptions | undefined) => zudoku0.ZudokuPlugin;
|
|
53
11
|
//#endregion
|
|
54
12
|
export { zuploMonetizationPlugin };
|