@baseplate-dev/plugin-auth 0.6.2 → 0.6.3
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/CHANGELOG.md +18 -0
- package/LICENSE +114 -123
- package/dist/auth/core/common.d.ts.map +1 -1
- package/dist/auth/core/common.js +1 -0
- package/dist/auth/core/common.js.map +1 -1
- package/dist/auth/core/components/role-editor-form/role-dialog.d.ts +1 -3
- package/dist/auth/core/components/role-editor-form/role-dialog.d.ts.map +1 -1
- package/dist/auth/core/components/role-editor-form/role-dialog.js +10 -10
- package/dist/auth/core/components/role-editor-form/role-dialog.js.map +1 -1
- package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/use-log-out.ts +2 -4
- package/dist/better-auth/generators/react/better-auth-hooks/templates/src/hooks/use-session.ts +1 -2
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +37 -25
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +111 -75
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +37 -25
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +148 -100
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js +2 -2
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.js.map +1 -1
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/{auth/login.tsx → login.tsx} +11 -13
- package/dist/better-auth/generators/react/better-auth-pages/templates/routes/{auth/register.tsx → register.tsx} +11 -13
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +74 -50
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts.map +1 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +37 -25
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts.map +1 -1
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +37 -25
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts.map +1 -1
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +37 -25
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts.map +1 -1
- package/dist/better-auth/generators/react/react-better-auth/templates/src/app/auth-loaded-gate.tsx +3 -6
- package/dist/better-auth/generators/react/react-better-auth/templates/src/services/auth-client.ts +0 -2
- package/dist/common/components/auth-config-tabs.d.ts.map +1 -1
- package/dist/common/components/auth-config-tabs.js +1 -1
- package/dist/common/components/auth-config-tabs.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +78 -64
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js +5 -3
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +78 -64
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +39 -32
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +39 -32
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts +2 -2
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +6 -6
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +9 -12
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +78 -64
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js +5 -3
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +78 -64
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +39 -32
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +78 -64
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts +2 -2
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +6 -6
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +1 -1
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +9 -12
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +37 -25
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +2 -7
- package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +6 -21
- package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +2 -7
- package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +8 -28
- package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +2 -2
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +3 -3
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +39 -32
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +234 -192
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +39 -32
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +351 -288
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +78 -64
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +39 -32
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +78 -64
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +39 -32
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -1
- package/dist/web/assets/{__federation_expose_authCoreCommon-CIVhaGqo.js → __federation_expose_authCoreCommon-CnNoa4tF.js} +4 -3
- package/dist/web/assets/__federation_expose_authCoreCommon-CnNoa4tF.js.map +1 -0
- package/dist/web/assets/{__federation_expose_authCoreWeb-N-mh42Bs.js → __federation_expose_authCoreWeb-BL_U7yuj.js} +60 -65
- package/dist/web/assets/__federation_expose_authCoreWeb-BL_U7yuj.js.map +1 -0
- package/dist/web/assets/{__federation_expose_better-authCoreCommon-BIU3Fg7K.js → __federation_expose_better-authCoreCommon-D-mTcxYO.js} +3 -3
- package/dist/web/assets/{__federation_expose_better-authCoreCommon-BIU3Fg7K.js.map → __federation_expose_better-authCoreCommon-D-mTcxYO.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_better-authCoreWeb-CMhPrXPA.js → __federation_expose_better-authCoreWeb-CXHL-Ghf.js} +5 -5
- package/dist/web/assets/{__federation_expose_better-authCoreWeb-CMhPrXPA.js.map → __federation_expose_better-authCoreWeb-CXHL-Ghf.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-DvHe9w29.js → __federation_expose_local-authAdminCommon-LIsARRNU.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-DvHe9w29.js.map → __federation_expose_local-authAdminCommon-LIsARRNU.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-CLU9aEy9.js → __federation_expose_local-authAdminWeb-DyYUDLm9.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-CLU9aEy9.js.map → __federation_expose_local-authAdminWeb-DyYUDLm9.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-DbuvGG7o.js → __federation_expose_local-authCoreCommon-p_UbExc7.js} +3 -3
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-DbuvGG7o.js.map → __federation_expose_local-authCoreCommon-p_UbExc7.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-BY-mP3uS.js → __federation_expose_local-authCoreWeb-8TcUJFT6.js} +5 -5
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-BY-mP3uS.js.map → __federation_expose_local-authCoreWeb-8TcUJFT6.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-BJBCuZvU.js → __federation_expose_placeholder-authCoreCommon-CtZXaDUc.js} +3 -3
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-BJBCuZvU.js.map → __federation_expose_placeholder-authCoreCommon-CtZXaDUc.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-BaV-Ko2C.js → __federation_expose_placeholder-authCoreWeb-CZAKokTb.js} +5 -5
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-BaV-Ko2C.js.map → __federation_expose_placeholder-authCoreWeb-CZAKokTb.js.map} +1 -1
- package/dist/web/assets/{__federation_fn_import-BLFDCY-V.js → __federation_fn_import-3DENgil8.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-BLFDCY-V.js.map → __federation_fn_import-3DENgil8.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-bRU6KpPk.js → web-B5bdbzFj.js} +8 -8
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-B5bdbzFj.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-CQKLkNsU.js → project-builder-lib-DCA3vO4J.js} +319 -34
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DCA3vO4J.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-DhyoEUTy.js → ui-components-BvL7RO9S.js} +49747 -33379
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BvL7RO9S.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-9w-0yxVZ.js → utils-0-N5BG4T.js} +3 -2
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-0-N5BG4T.js.map +1 -0
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-CbExBaoL.js → react-router-DSniiJ6U.js} +3 -200
- package/dist/web/assets/__federation_shared_@tanstack/react-router-DSniiJ6U.js.map +1 -0
- package/dist/web/assets/{get-auth-plugin-definition-BL50g0cJ.js → get-auth-plugin-definition-DHcbFujw.js} +2 -2
- package/dist/web/assets/{get-auth-plugin-definition-BL50g0cJ.js.map → get-auth-plugin-definition-DHcbFujw.js.map} +1 -1
- package/dist/web/assets/{index-B_A3cgiy.js → index-DQKNnI1w.js} +5 -5
- package/dist/web/assets/{index-B_A3cgiy.js.map → index-DQKNnI1w.js.map} +1 -1
- package/dist/web/assets/{index.esm-BraHxHLB.js → index.esm-Dpqxgpya.js} +2 -2
- package/dist/web/assets/{index.esm-BraHxHLB.js.map → index.esm-Dpqxgpya.js.map} +1 -1
- package/dist/web/assets/{model-utils-BfcjfzCn.js → model-utils-BFX3c3dn.js} +2 -2
- package/dist/web/assets/{model-utils-BfcjfzCn.js.map → model-utils-BFX3c3dn.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-DJzXScRp.js → plugin-definition-B86WQ7Ni.js} +2 -2
- package/dist/web/assets/{plugin-definition-DJzXScRp.js.map → plugin-definition-B86WQ7Ni.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-CXnKUJ1l.js → plugin-definition-CEQb6mWV.js} +2 -2
- package/dist/web/assets/{plugin-definition-CXnKUJ1l.js.map → plugin-definition-CEQb6mWV.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-Ckl5hjD1.js → plugin-definition-DrsKbcJc.js} +2 -2
- package/dist/web/assets/{plugin-definition-Ckl5hjD1.js.map → plugin-definition-DrsKbcJc.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-D26rR8AB.js → plugin-definition-KEpaSB6p.js} +2 -2
- package/dist/web/assets/{plugin-definition-D26rR8AB.js.map → plugin-definition-KEpaSB6p.js.map} +1 -1
- package/dist/web/assets/{react-CL9M_wyN.js → react-hu8Hx0R4.js} +2 -2
- package/dist/web/assets/{react-CL9M_wyN.js.map → react-hu8Hx0R4.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +10 -10
- package/dist/web/assets/{styles-tkrWV-ZE.js → styles-CpKtlIgU.js} +24 -14
- package/dist/web/assets/styles-CpKtlIgU.js.map +1 -0
- package/dist/web/assets/with-selector-DTXBONcE.js +201 -0
- package/dist/web/assets/with-selector-DTXBONcE.js.map +1 -0
- package/package.json +19 -22
- package/dist/web/assets/__federation_expose_authCoreCommon-CIVhaGqo.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreWeb-N-mh42Bs.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-bRU6KpPk.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CQKLkNsU.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-DhyoEUTy.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-9w-0yxVZ.js.map +0 -1
- package/dist/web/assets/__federation_shared_@tanstack/react-router-CbExBaoL.js.map +0 -1
- package/dist/web/assets/styles-tkrWV-ZE.js.map +0 -1
package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts
CHANGED
|
@@ -34,6 +34,20 @@ export declare const reactBetterAuthGenerator: import("@baseplate-dev/sync").Gen
|
|
|
34
34
|
Alert: {};
|
|
35
35
|
AlertDescription: {};
|
|
36
36
|
AlertTitle: {};
|
|
37
|
+
Autocomplete: {};
|
|
38
|
+
AutocompleteClear: {};
|
|
39
|
+
AutocompleteCollection: {};
|
|
40
|
+
AutocompleteContent: {};
|
|
41
|
+
AutocompleteEmpty: {};
|
|
42
|
+
AutocompleteGroup: {};
|
|
43
|
+
AutocompleteInput: {};
|
|
44
|
+
AutocompleteItem: {};
|
|
45
|
+
AutocompleteLabel: {};
|
|
46
|
+
AutocompleteList: {};
|
|
47
|
+
AutocompleteSeparator: {};
|
|
48
|
+
AutocompleteStatus: {};
|
|
49
|
+
AutocompleteTrigger: {};
|
|
50
|
+
AutocompleteValue: {};
|
|
37
51
|
Badge: {};
|
|
38
52
|
badgeVariants: {};
|
|
39
53
|
BadgeWithIcon: {};
|
|
@@ -62,18 +76,12 @@ export declare const reactBetterAuthGenerator: import("@baseplate-dev/sync").Gen
|
|
|
62
76
|
CheckedInput: {};
|
|
63
77
|
CircularProgress: {};
|
|
64
78
|
cn: {};
|
|
79
|
+
Collapsible: {};
|
|
80
|
+
CollapsibleContent: {};
|
|
81
|
+
CollapsibleTrigger: {};
|
|
65
82
|
Combobox: {};
|
|
66
83
|
ComboboxField: {};
|
|
67
84
|
ComboboxFieldController: {};
|
|
68
|
-
Command: {};
|
|
69
|
-
CommandDialog: {};
|
|
70
|
-
CommandEmpty: {};
|
|
71
|
-
CommandGroup: {};
|
|
72
|
-
CommandInput: {};
|
|
73
|
-
CommandItem: {};
|
|
74
|
-
CommandList: {};
|
|
75
|
-
CommandSeparator: {};
|
|
76
|
-
CommandShortcut: {};
|
|
77
85
|
ConfirmDialog: {};
|
|
78
86
|
DatePickerField: {};
|
|
79
87
|
DatePickerFieldController: {};
|
|
@@ -110,37 +118,43 @@ export declare const reactBetterAuthGenerator: import("@baseplate-dev/sync").Gen
|
|
|
110
118
|
EmptyDisplay: {};
|
|
111
119
|
ErrorableLoader: {};
|
|
112
120
|
ErrorDisplay: {};
|
|
113
|
-
|
|
114
|
-
|
|
121
|
+
Field: {};
|
|
122
|
+
FieldContent: {};
|
|
123
|
+
FieldDescription: {};
|
|
124
|
+
FieldError: {};
|
|
125
|
+
FieldGroup: {};
|
|
126
|
+
FieldLabel: {};
|
|
127
|
+
FieldLegend: {};
|
|
128
|
+
FieldSeparator: {};
|
|
129
|
+
FieldSet: {};
|
|
130
|
+
FieldTitle: {};
|
|
131
|
+
fieldVariants: {};
|
|
115
132
|
FormFieldProps: {
|
|
116
133
|
isTypeOnly: true;
|
|
117
134
|
};
|
|
118
|
-
FormItem: {};
|
|
119
|
-
FormLabel: {};
|
|
120
|
-
FormMessage: {};
|
|
121
135
|
IconElement: {
|
|
122
136
|
isTypeOnly: true;
|
|
123
137
|
};
|
|
124
138
|
Input: {};
|
|
125
139
|
InputField: {};
|
|
126
140
|
InputFieldController: {};
|
|
141
|
+
InputGroup: {};
|
|
142
|
+
InputGroupAddon: {};
|
|
143
|
+
InputGroupButton: {};
|
|
144
|
+
InputGroupInput: {};
|
|
145
|
+
InputGroupText: {};
|
|
146
|
+
InputGroupTextarea: {};
|
|
127
147
|
inputVariants: {};
|
|
128
148
|
Label: {};
|
|
129
149
|
LinkButton: {};
|
|
130
150
|
Loader: {};
|
|
131
151
|
mergeRefs: {};
|
|
132
152
|
Modal: {};
|
|
133
|
-
MultiCombobox: {};
|
|
134
|
-
MultiComboboxContent: {};
|
|
135
|
-
MultiComboboxEmpty: {};
|
|
136
153
|
MultiComboboxField: {};
|
|
137
154
|
MultiComboboxFieldController: {};
|
|
138
155
|
MultiComboboxFieldProps: {
|
|
139
156
|
isTypeOnly: true;
|
|
140
157
|
};
|
|
141
|
-
MultiComboboxGroup: {};
|
|
142
|
-
MultiComboboxInput: {};
|
|
143
|
-
MultiComboboxItem: {};
|
|
144
158
|
MultiSelectOptionProps: {
|
|
145
159
|
isTypeOnly: true;
|
|
146
160
|
};
|
|
@@ -163,16 +177,12 @@ export declare const reactBetterAuthGenerator: import("@baseplate-dev/sync").Gen
|
|
|
163
177
|
ReactSelectInput: {};
|
|
164
178
|
ScrollArea: {};
|
|
165
179
|
Select: {};
|
|
166
|
-
selectCheckVariants: {};
|
|
167
|
-
selectContentVariants: {};
|
|
168
180
|
SelectField: {};
|
|
169
181
|
SelectFieldController: {};
|
|
170
182
|
SelectInput: {};
|
|
171
|
-
selectItemVariants: {};
|
|
172
183
|
SelectOptionProps: {
|
|
173
184
|
isTypeOnly: true;
|
|
174
185
|
};
|
|
175
|
-
selectTriggerVariants: {};
|
|
176
186
|
Separator: {};
|
|
177
187
|
Sheet: {};
|
|
178
188
|
SheetClose: {};
|
|
@@ -206,6 +216,8 @@ export declare const reactBetterAuthGenerator: import("@baseplate-dev/sync").Gen
|
|
|
206
216
|
SidebarSeparator: {};
|
|
207
217
|
SidebarTrigger: {};
|
|
208
218
|
Skeleton: {};
|
|
219
|
+
Slider: {};
|
|
220
|
+
Spinner: {};
|
|
209
221
|
Switch: {};
|
|
210
222
|
SwitchField: {};
|
|
211
223
|
SwitchFieldController: {};
|
|
@@ -227,6 +239,7 @@ export declare const reactBetterAuthGenerator: import("@baseplate-dev/sync").Gen
|
|
|
227
239
|
TooltipContent: {};
|
|
228
240
|
TooltipProvider: {};
|
|
229
241
|
TooltipTrigger: {};
|
|
242
|
+
useAutocompleteFilter: {};
|
|
230
243
|
useConfirmDialog: {};
|
|
231
244
|
UseConfirmDialogRequestOptions: {
|
|
232
245
|
isTypeOnly: true;
|
|
@@ -235,7 +248,6 @@ export declare const reactBetterAuthGenerator: import("@baseplate-dev/sync").Gen
|
|
|
235
248
|
useControlledState: {};
|
|
236
249
|
useControllerMerged: {};
|
|
237
250
|
useIsMobile: {};
|
|
238
|
-
useMultiComboboxContext: {};
|
|
239
251
|
useSidebar: {};
|
|
240
252
|
}>>;
|
|
241
253
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-better-auth.generator.d.ts","sourceRoot":"","sources":["../../../../../src/better-auth/generators/react/react-better-auth/react-better-auth.generator.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"react-better-auth.generator.d.ts","sourceRoot":"","sources":["../../../../../src/better-auth/generators/react/react-better-auth/react-better-auth.generator.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkEnC,CAAC"}
|
package/dist/better-auth/generators/react/react-better-auth/templates/src/app/auth-loaded-gate.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { authClient } from '$authClient';
|
|
4
|
+
import { useLogOut } from '%authHooksImports';
|
|
5
5
|
import {
|
|
6
6
|
Alert,
|
|
7
7
|
AlertDescription,
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Loader,
|
|
12
12
|
} from '%reactComponentsImports';
|
|
13
13
|
import { logError } from '%reactErrorImports';
|
|
14
|
-
|
|
15
|
-
import { useLogOut } from '%authHooksImports';
|
|
16
|
-
|
|
17
|
-
import { authClient } from '$authClient';
|
|
14
|
+
import { useEffect } from 'react';
|
|
18
15
|
|
|
19
16
|
/**
|
|
20
17
|
* A component that waits for the Better Auth session to be loaded before rendering its children.
|
package/dist/better-auth/generators/react/react-better-auth/templates/src/services/auth-client.ts
CHANGED
|
@@ -4,8 +4,6 @@ import { inferAdditionalFields } from 'better-auth/client/plugins';
|
|
|
4
4
|
import { createAuthClient } from 'better-auth/react';
|
|
5
5
|
|
|
6
6
|
export const authClient = createAuthClient({
|
|
7
|
-
// The /api prefix is rewritten to / by the Vite dev proxy (and reverse proxy in production).
|
|
8
|
-
// The backend registers Better Auth routes at /auth/*.
|
|
9
7
|
basePath: '/api/auth',
|
|
10
8
|
plugins: [
|
|
11
9
|
inferAdditionalFields({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-config-tabs.d.ts","sourceRoot":"","sources":["../../../src/common/components/auth-config-tabs.tsx"],"names":[],"mappings":"AAUA,wBAAgB,cAAc,IAAI,KAAK,CAAC,YAAY,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"auth-config-tabs.d.ts","sourceRoot":"","sources":["../../../src/common/components/auth-config-tabs.tsx"],"names":[],"mappings":"AAUA,wBAAgB,cAAc,IAAI,KAAK,CAAC,YAAY,GAAG,IAAI,CAsD1D"}
|
|
@@ -16,6 +16,6 @@ export function AuthConfigTabs() {
|
|
|
16
16
|
if (!authImplementationPlugin) {
|
|
17
17
|
return null;
|
|
18
18
|
}
|
|
19
|
-
return (_jsxs(NavigationTabs, { children: [_jsx(NavigationTabsItem, {
|
|
19
|
+
return (_jsxs(NavigationTabs, { children: [_jsx(NavigationTabsItem, { render: _jsx(Link, { to: "/plugins/edit/$key", params: { key: authPlugin.metadata.key }, activeOptions: { exact: true } }), children: "Auth" }), _jsx(NavigationTabsItem, { render: _jsx(Link, { to: `/plugins/edit/${authImplementationPlugin.metadata.key}`, activeOptions: { exact: true } }), children: authImplementationPlugin.metadata.displayName })] }));
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=auth-config-tabs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-config-tabs.js","sourceRoot":"","sources":["../../../src/common/components/auth-config-tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EACL,cAAc,EACd,kBAAkB,GACnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAI9C,MAAM,UAAU,cAAc;IAC5B,MAAM,EAAE,UAAU,EAAE,mBAAmB,EAAE,GAAG,oBAAoB,EAAE,CAAC;IAEnE,MAAM,UAAU,GAAG,mBAAmB,CAAC,WAAW,CAAC,gBAAgB,CAAC,IAAI,CACtE,CAAC,CAAC,EAAE,EAAE,CACJ,CAAC,CAAC,QAAQ,CAAC,WAAW,KAAK,4BAA4B;QACvD,CAAC,CAAC,QAAQ,CAAC,IAAI,KAAK,MAAM,CAC7B,CAAC;IAEF,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,UAAU,GAAG,WAAW,CAAC,WAAW,CACxC,UAAU,EACV,UAAU,CAAC,QAAQ,CAAC,GAAG,CACY,CAAC;IAEtC,MAAM,uBAAuB,GAAG,UAAU,EAAE,uBAAuB,CAAC;IAEpE,MAAM,wBAAwB,GAC5B,mBAAmB,CAAC,WAAW,CAAC,gBAAgB,CAAC,IAAI,CACnD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,KAAK,uBAAuB,CAClD,CAAC;IAEJ,IAAI,CAAC,wBAAwB,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,MAAC,cAAc,eACb,KAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"auth-config-tabs.js","sourceRoot":"","sources":["../../../src/common/components/auth-config-tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,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,EAAE,EAAE,iBAAiB,wBAAwB,CAAC,QAAQ,CAAC,GAAG,EAAE,EAC5D,aAAa,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,GAC9B,YAGH,wBAAwB,CAAC,QAAQ,CAAC,WAAW,GAC3B,IACN,CAClB,CAAC;AACJ,CAAC"}
|
|
@@ -15,15 +15,10 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
15
15
|
localAuthAdminAdminCrudManageRolesActionRenderers: import("@baseplate-dev/sync").ProviderExport<import("./generated/template-renderers.js").LocalAuthAdminAdminCrudManageRolesActionRenderers>;
|
|
16
16
|
}, {
|
|
17
17
|
graphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
18
|
+
'*': {};
|
|
18
19
|
graphql: {};
|
|
19
20
|
readFragment: {};
|
|
20
|
-
|
|
21
|
-
isTypeOnly: true;
|
|
22
|
-
};
|
|
23
|
-
ResultOf: {
|
|
24
|
-
isTypeOnly: true;
|
|
25
|
-
};
|
|
26
|
-
VariablesOf: {
|
|
21
|
+
FragmentType: {
|
|
27
22
|
isTypeOnly: true;
|
|
28
23
|
};
|
|
29
24
|
}>>;
|
|
@@ -35,6 +30,20 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
35
30
|
Alert: {};
|
|
36
31
|
AlertDescription: {};
|
|
37
32
|
AlertTitle: {};
|
|
33
|
+
Autocomplete: {};
|
|
34
|
+
AutocompleteClear: {};
|
|
35
|
+
AutocompleteCollection: {};
|
|
36
|
+
AutocompleteContent: {};
|
|
37
|
+
AutocompleteEmpty: {};
|
|
38
|
+
AutocompleteGroup: {};
|
|
39
|
+
AutocompleteInput: {};
|
|
40
|
+
AutocompleteItem: {};
|
|
41
|
+
AutocompleteLabel: {};
|
|
42
|
+
AutocompleteList: {};
|
|
43
|
+
AutocompleteSeparator: {};
|
|
44
|
+
AutocompleteStatus: {};
|
|
45
|
+
AutocompleteTrigger: {};
|
|
46
|
+
AutocompleteValue: {};
|
|
38
47
|
Badge: {};
|
|
39
48
|
badgeVariants: {};
|
|
40
49
|
BadgeWithIcon: {};
|
|
@@ -63,18 +72,12 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
63
72
|
CheckedInput: {};
|
|
64
73
|
CircularProgress: {};
|
|
65
74
|
cn: {};
|
|
75
|
+
Collapsible: {};
|
|
76
|
+
CollapsibleContent: {};
|
|
77
|
+
CollapsibleTrigger: {};
|
|
66
78
|
Combobox: {};
|
|
67
79
|
ComboboxField: {};
|
|
68
80
|
ComboboxFieldController: {};
|
|
69
|
-
Command: {};
|
|
70
|
-
CommandDialog: {};
|
|
71
|
-
CommandEmpty: {};
|
|
72
|
-
CommandGroup: {};
|
|
73
|
-
CommandInput: {};
|
|
74
|
-
CommandItem: {};
|
|
75
|
-
CommandList: {};
|
|
76
|
-
CommandSeparator: {};
|
|
77
|
-
CommandShortcut: {};
|
|
78
81
|
ConfirmDialog: {};
|
|
79
82
|
DatePickerField: {};
|
|
80
83
|
DatePickerFieldController: {};
|
|
@@ -111,37 +114,43 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
111
114
|
EmptyDisplay: {};
|
|
112
115
|
ErrorableLoader: {};
|
|
113
116
|
ErrorDisplay: {};
|
|
114
|
-
|
|
115
|
-
|
|
117
|
+
Field: {};
|
|
118
|
+
FieldContent: {};
|
|
119
|
+
FieldDescription: {};
|
|
120
|
+
FieldError: {};
|
|
121
|
+
FieldGroup: {};
|
|
122
|
+
FieldLabel: {};
|
|
123
|
+
FieldLegend: {};
|
|
124
|
+
FieldSeparator: {};
|
|
125
|
+
FieldSet: {};
|
|
126
|
+
FieldTitle: {};
|
|
127
|
+
fieldVariants: {};
|
|
116
128
|
FormFieldProps: {
|
|
117
129
|
isTypeOnly: true;
|
|
118
130
|
};
|
|
119
|
-
FormItem: {};
|
|
120
|
-
FormLabel: {};
|
|
121
|
-
FormMessage: {};
|
|
122
131
|
IconElement: {
|
|
123
132
|
isTypeOnly: true;
|
|
124
133
|
};
|
|
125
134
|
Input: {};
|
|
126
135
|
InputField: {};
|
|
127
136
|
InputFieldController: {};
|
|
137
|
+
InputGroup: {};
|
|
138
|
+
InputGroupAddon: {};
|
|
139
|
+
InputGroupButton: {};
|
|
140
|
+
InputGroupInput: {};
|
|
141
|
+
InputGroupText: {};
|
|
142
|
+
InputGroupTextarea: {};
|
|
128
143
|
inputVariants: {};
|
|
129
144
|
Label: {};
|
|
130
145
|
LinkButton: {};
|
|
131
146
|
Loader: {};
|
|
132
147
|
mergeRefs: {};
|
|
133
148
|
Modal: {};
|
|
134
|
-
MultiCombobox: {};
|
|
135
|
-
MultiComboboxContent: {};
|
|
136
|
-
MultiComboboxEmpty: {};
|
|
137
149
|
MultiComboboxField: {};
|
|
138
150
|
MultiComboboxFieldController: {};
|
|
139
151
|
MultiComboboxFieldProps: {
|
|
140
152
|
isTypeOnly: true;
|
|
141
153
|
};
|
|
142
|
-
MultiComboboxGroup: {};
|
|
143
|
-
MultiComboboxInput: {};
|
|
144
|
-
MultiComboboxItem: {};
|
|
145
154
|
MultiSelectOptionProps: {
|
|
146
155
|
isTypeOnly: true;
|
|
147
156
|
};
|
|
@@ -164,16 +173,12 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
164
173
|
ReactSelectInput: {};
|
|
165
174
|
ScrollArea: {};
|
|
166
175
|
Select: {};
|
|
167
|
-
selectCheckVariants: {};
|
|
168
|
-
selectContentVariants: {};
|
|
169
176
|
SelectField: {};
|
|
170
177
|
SelectFieldController: {};
|
|
171
178
|
SelectInput: {};
|
|
172
|
-
selectItemVariants: {};
|
|
173
179
|
SelectOptionProps: {
|
|
174
180
|
isTypeOnly: true;
|
|
175
181
|
};
|
|
176
|
-
selectTriggerVariants: {};
|
|
177
182
|
Separator: {};
|
|
178
183
|
Sheet: {};
|
|
179
184
|
SheetClose: {};
|
|
@@ -207,6 +212,8 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
207
212
|
SidebarSeparator: {};
|
|
208
213
|
SidebarTrigger: {};
|
|
209
214
|
Skeleton: {};
|
|
215
|
+
Slider: {};
|
|
216
|
+
Spinner: {};
|
|
210
217
|
Switch: {};
|
|
211
218
|
SwitchField: {};
|
|
212
219
|
SwitchFieldController: {};
|
|
@@ -228,6 +235,7 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
228
235
|
TooltipContent: {};
|
|
229
236
|
TooltipProvider: {};
|
|
230
237
|
TooltipTrigger: {};
|
|
238
|
+
useAutocompleteFilter: {};
|
|
231
239
|
useConfirmDialog: {};
|
|
232
240
|
UseConfirmDialogRequestOptions: {
|
|
233
241
|
isTypeOnly: true;
|
|
@@ -236,7 +244,6 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
236
244
|
useControlledState: {};
|
|
237
245
|
useControllerMerged: {};
|
|
238
246
|
useIsMobile: {};
|
|
239
|
-
useMultiComboboxContext: {};
|
|
240
247
|
useSidebar: {};
|
|
241
248
|
}>>;
|
|
242
249
|
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
|
|
@@ -250,6 +257,20 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
250
257
|
Alert: {};
|
|
251
258
|
AlertDescription: {};
|
|
252
259
|
AlertTitle: {};
|
|
260
|
+
Autocomplete: {};
|
|
261
|
+
AutocompleteClear: {};
|
|
262
|
+
AutocompleteCollection: {};
|
|
263
|
+
AutocompleteContent: {};
|
|
264
|
+
AutocompleteEmpty: {};
|
|
265
|
+
AutocompleteGroup: {};
|
|
266
|
+
AutocompleteInput: {};
|
|
267
|
+
AutocompleteItem: {};
|
|
268
|
+
AutocompleteLabel: {};
|
|
269
|
+
AutocompleteList: {};
|
|
270
|
+
AutocompleteSeparator: {};
|
|
271
|
+
AutocompleteStatus: {};
|
|
272
|
+
AutocompleteTrigger: {};
|
|
273
|
+
AutocompleteValue: {};
|
|
253
274
|
Badge: {};
|
|
254
275
|
badgeVariants: {};
|
|
255
276
|
BadgeWithIcon: {};
|
|
@@ -278,18 +299,12 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
278
299
|
CheckedInput: {};
|
|
279
300
|
CircularProgress: {};
|
|
280
301
|
cn: {};
|
|
302
|
+
Collapsible: {};
|
|
303
|
+
CollapsibleContent: {};
|
|
304
|
+
CollapsibleTrigger: {};
|
|
281
305
|
Combobox: {};
|
|
282
306
|
ComboboxField: {};
|
|
283
307
|
ComboboxFieldController: {};
|
|
284
|
-
Command: {};
|
|
285
|
-
CommandDialog: {};
|
|
286
|
-
CommandEmpty: {};
|
|
287
|
-
CommandGroup: {};
|
|
288
|
-
CommandInput: {};
|
|
289
|
-
CommandItem: {};
|
|
290
|
-
CommandList: {};
|
|
291
|
-
CommandSeparator: {};
|
|
292
|
-
CommandShortcut: {};
|
|
293
308
|
ConfirmDialog: {};
|
|
294
309
|
DatePickerField: {};
|
|
295
310
|
DatePickerFieldController: {};
|
|
@@ -326,37 +341,43 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
326
341
|
EmptyDisplay: {};
|
|
327
342
|
ErrorableLoader: {};
|
|
328
343
|
ErrorDisplay: {};
|
|
329
|
-
|
|
330
|
-
|
|
344
|
+
Field: {};
|
|
345
|
+
FieldContent: {};
|
|
346
|
+
FieldDescription: {};
|
|
347
|
+
FieldError: {};
|
|
348
|
+
FieldGroup: {};
|
|
349
|
+
FieldLabel: {};
|
|
350
|
+
FieldLegend: {};
|
|
351
|
+
FieldSeparator: {};
|
|
352
|
+
FieldSet: {};
|
|
353
|
+
FieldTitle: {};
|
|
354
|
+
fieldVariants: {};
|
|
331
355
|
FormFieldProps: {
|
|
332
356
|
isTypeOnly: true;
|
|
333
357
|
};
|
|
334
|
-
FormItem: {};
|
|
335
|
-
FormLabel: {};
|
|
336
|
-
FormMessage: {};
|
|
337
358
|
IconElement: {
|
|
338
359
|
isTypeOnly: true;
|
|
339
360
|
};
|
|
340
361
|
Input: {};
|
|
341
362
|
InputField: {};
|
|
342
363
|
InputFieldController: {};
|
|
364
|
+
InputGroup: {};
|
|
365
|
+
InputGroupAddon: {};
|
|
366
|
+
InputGroupButton: {};
|
|
367
|
+
InputGroupInput: {};
|
|
368
|
+
InputGroupText: {};
|
|
369
|
+
InputGroupTextarea: {};
|
|
343
370
|
inputVariants: {};
|
|
344
371
|
Label: {};
|
|
345
372
|
LinkButton: {};
|
|
346
373
|
Loader: {};
|
|
347
374
|
mergeRefs: {};
|
|
348
375
|
Modal: {};
|
|
349
|
-
MultiCombobox: {};
|
|
350
|
-
MultiComboboxContent: {};
|
|
351
|
-
MultiComboboxEmpty: {};
|
|
352
376
|
MultiComboboxField: {};
|
|
353
377
|
MultiComboboxFieldController: {};
|
|
354
378
|
MultiComboboxFieldProps: {
|
|
355
379
|
isTypeOnly: true;
|
|
356
380
|
};
|
|
357
|
-
MultiComboboxGroup: {};
|
|
358
|
-
MultiComboboxInput: {};
|
|
359
|
-
MultiComboboxItem: {};
|
|
360
381
|
MultiSelectOptionProps: {
|
|
361
382
|
isTypeOnly: true;
|
|
362
383
|
};
|
|
@@ -379,16 +400,12 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
379
400
|
ReactSelectInput: {};
|
|
380
401
|
ScrollArea: {};
|
|
381
402
|
Select: {};
|
|
382
|
-
selectCheckVariants: {};
|
|
383
|
-
selectContentVariants: {};
|
|
384
403
|
SelectField: {};
|
|
385
404
|
SelectFieldController: {};
|
|
386
405
|
SelectInput: {};
|
|
387
|
-
selectItemVariants: {};
|
|
388
406
|
SelectOptionProps: {
|
|
389
407
|
isTypeOnly: true;
|
|
390
408
|
};
|
|
391
|
-
selectTriggerVariants: {};
|
|
392
409
|
Separator: {};
|
|
393
410
|
Sheet: {};
|
|
394
411
|
SheetClose: {};
|
|
@@ -422,6 +439,8 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
422
439
|
SidebarSeparator: {};
|
|
423
440
|
SidebarTrigger: {};
|
|
424
441
|
Skeleton: {};
|
|
442
|
+
Slider: {};
|
|
443
|
+
Spinner: {};
|
|
425
444
|
Switch: {};
|
|
426
445
|
SwitchField: {};
|
|
427
446
|
SwitchFieldController: {};
|
|
@@ -443,6 +462,7 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
443
462
|
TooltipContent: {};
|
|
444
463
|
TooltipProvider: {};
|
|
445
464
|
TooltipTrigger: {};
|
|
465
|
+
useAutocompleteFilter: {};
|
|
446
466
|
useConfirmDialog: {};
|
|
447
467
|
UseConfirmDialogRequestOptions: {
|
|
448
468
|
isTypeOnly: true;
|
|
@@ -451,21 +471,15 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
|
|
|
451
471
|
useControlledState: {};
|
|
452
472
|
useControllerMerged: {};
|
|
453
473
|
useIsMobile: {};
|
|
454
|
-
useMultiComboboxContext: {};
|
|
455
474
|
useSidebar: {};
|
|
456
475
|
}>>;
|
|
457
476
|
renderers: import("@baseplate-dev/sync").ProviderType<import("./generated/template-renderers.js").LocalAuthAdminAdminCrudManageRolesActionRenderers>;
|
|
458
477
|
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").LocalAuthAdminAdminCrudManageRolesActionPaths>;
|
|
459
478
|
graphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
479
|
+
'*': {};
|
|
460
480
|
graphql: {};
|
|
461
481
|
readFragment: {};
|
|
462
|
-
|
|
463
|
-
isTypeOnly: true;
|
|
464
|
-
};
|
|
465
|
-
ResultOf: {
|
|
466
|
-
isTypeOnly: true;
|
|
467
|
-
};
|
|
468
|
-
VariablesOf: {
|
|
482
|
+
FragmentType: {
|
|
469
483
|
isTypeOnly: true;
|
|
470
484
|
};
|
|
471
485
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-crud-manage-roles-action.generator.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.ts"],"names":[],"mappings":"AA2BA,eAAO,MAAM,mCAAmC
|
|
1
|
+
{"version":3,"file":"admin-crud-manage-roles-action.generator.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.ts"],"names":[],"mappings":"AA2BA,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgI9C,CAAC"}
|
|
@@ -61,10 +61,12 @@ export const adminCrudManageRolesActionGenerator = createGenerator({
|
|
|
61
61
|
// Hook content for managing the role dialog state
|
|
62
62
|
const hookContent = tsTemplateWithImports([
|
|
63
63
|
tsImportBuilder(['useState']).from('react'),
|
|
64
|
-
graphqlImports.
|
|
65
|
-
tsImportBuilder(['roleManagerDialogUserFragment'])
|
|
64
|
+
graphqlImports.FragmentType.typeDeclaration(),
|
|
65
|
+
tsImportBuilder(['roleManagerDialogUserFragment'])
|
|
66
|
+
.typeOnly()
|
|
67
|
+
.from(paths.roleManagerDialog),
|
|
66
68
|
]) `
|
|
67
|
-
const [roleDialogUser, setRoleDialogUser] = useState<
|
|
69
|
+
const [roleDialogUser, setRoleDialogUser] = useState<FragmentType<typeof roleManagerDialogUserFragment> | null>(
|
|
68
70
|
null,
|
|
69
71
|
);
|
|
70
72
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-crud-manage-roles-action.generator.js","sourceRoot":"","sources":["../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,gCAAgC,EAChC,sBAAsB,EACtB,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,yDAAyD,IAAI,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAExH,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC5B,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC5D,cAAc,EAAE,CAAC,CAAC,KAAK,CACrB,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mCAAmC,GAAG,eAAe,C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C,OAAO,CAAC;oBAC3C,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"admin-crud-manage-roles-action.generator.js","sourceRoot":"","sources":["../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,gCAAgC,EAChC,sBAAsB,EACtB,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,yDAAyD,IAAI,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAExH,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC5B,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC5D,cAAc,EAAE,CAAC,CAAC,KAAK,CACrB,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mCAAmC,GAAG,eAAe,CAAC;IACjE,IAAI,EAAE,iDAAiD;IACvD,gBAAgB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG;IACjC,gBAAgB;IAChB,eAAe,EAAE,GAAG,EAAE,CAAC,cAAc;IACrC,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CAAC;QACpD,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC,IAA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