@velocity-astro/cms-admin 0.0.0-stage → 0.1.0-beta.1
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/LICENSE +21 -0
- package/README.md +12 -2
- package/app-directory.d.mts +2 -0
- package/app-directory.mjs +8 -0
- package/app-dist/assets/RichTextEditor-Ci93Tlgw.js +135 -0
- package/app-dist/assets/index-CczBKhBz.css +2 -0
- package/app-dist/assets/index-DOIcFJow.js +80 -0
- package/app-dist/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
- package/app-dist/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
- package/app-dist/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
- package/app-dist/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
- package/app-dist/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
- package/app-dist/assets/manrope-cyrillic-wght-normal-Dvxsihut.woff2 +0 -0
- package/app-dist/assets/manrope-greek-wght-normal-DL7QRZyv.woff2 +0 -0
- package/app-dist/assets/manrope-latin-ext-wght-normal-Ch3YOpNY.woff2 +0 -0
- package/app-dist/assets/manrope-latin-wght-normal-DHIcAJRg.woff2 +0 -0
- package/app-dist/assets/manrope-vietnamese-wght-normal-usUDDRr7.woff2 +0 -0
- package/app-dist/assets/outfit-latin-ext-wght-normal-DdQaqQDo.woff2 +0 -0
- package/app-dist/assets/outfit-latin-wght-normal-Bc-8i84L.woff2 +0 -0
- package/app-dist/index.html +15 -0
- package/dist/app/AdminApp.d.ts +34 -0
- package/dist/app/AdminApp.d.ts.map +1 -0
- package/dist/app/AdminApp.js +26 -0
- package/dist/app/AdminApp.js.map +1 -0
- package/dist/app/AdminLayout.d.ts +7 -0
- package/dist/app/AdminLayout.d.ts.map +1 -0
- package/dist/app/AdminLayout.js +128 -0
- package/dist/app/AdminLayout.js.map +1 -0
- package/dist/app/NavigationBridge.d.ts +6 -0
- package/dist/app/NavigationBridge.d.ts.map +1 -0
- package/dist/app/NavigationBridge.js +15 -0
- package/dist/app/NavigationBridge.js.map +1 -0
- package/dist/app/PasskeysDialog.d.ts +5 -0
- package/dist/app/PasskeysDialog.d.ts.map +1 -0
- package/dist/app/PasskeysDialog.js +51 -0
- package/dist/app/PasskeysDialog.js.map +1 -0
- package/dist/app/RequestState.d.ts +20 -0
- package/dist/app/RequestState.d.ts.map +1 -0
- package/dist/app/RequestState.js +33 -0
- package/dist/app/RequestState.js.map +1 -0
- package/dist/app/paths.d.ts +29 -0
- package/dist/app/paths.d.ts.map +1 -0
- package/dist/app/paths.js +29 -0
- package/dist/app/paths.js.map +1 -0
- package/dist/app/routes.d.ts +4 -0
- package/dist/app/routes.d.ts.map +1 -0
- package/dist/app/routes.js +53 -0
- package/dist/app/routes.js.map +1 -0
- package/dist/app/use-go.d.ts +7 -0
- package/dist/app/use-go.d.ts.map +1 -0
- package/dist/app/use-go.js +11 -0
- package/dist/app/use-go.js.map +1 -0
- package/dist/client/admin-client.d.ts +317 -0
- package/dist/client/admin-client.d.ts.map +1 -0
- package/dist/client/admin-client.js +2 -0
- package/dist/client/admin-client.js.map +1 -0
- package/dist/client/client-context.d.ts +10 -0
- package/dist/client/client-context.d.ts.map +1 -0
- package/dist/client/client-context.js +14 -0
- package/dist/client/client-context.js.map +1 -0
- package/dist/client/errors.d.ts +22 -0
- package/dist/client/errors.d.ts.map +1 -0
- package/dist/client/errors.js +17 -0
- package/dist/client/errors.js.map +1 -0
- package/dist/client/http-client.d.ts +122 -0
- package/dist/client/http-client.d.ts.map +1 -0
- package/dist/client/http-client.js +366 -0
- package/dist/client/http-client.js.map +1 -0
- package/dist/client/queries.d.ts +213 -0
- package/dist/client/queries.d.ts.map +1 -0
- package/dist/client/queries.js +672 -0
- package/dist/client/queries.js.map +1 -0
- package/dist/fields/BlocksControl.d.ts +8 -0
- package/dist/fields/BlocksControl.d.ts.map +1 -0
- package/dist/fields/BlocksControl.js +154 -0
- package/dist/fields/BlocksControl.js.map +1 -0
- package/dist/fields/CustomFieldsDialog.d.ts +7 -0
- package/dist/fields/CustomFieldsDialog.d.ts.map +1 -0
- package/dist/fields/CustomFieldsDialog.js +29 -0
- package/dist/fields/CustomFieldsDialog.js.map +1 -0
- package/dist/fields/FieldEditor.d.ts +17 -0
- package/dist/fields/FieldEditor.d.ts.map +1 -0
- package/dist/fields/FieldEditor.js +25 -0
- package/dist/fields/FieldEditor.js.map +1 -0
- package/dist/fields/FieldGrid.d.ts +19 -0
- package/dist/fields/FieldGrid.d.ts.map +1 -0
- package/dist/fields/FieldGrid.js +36 -0
- package/dist/fields/FieldGrid.js.map +1 -0
- package/dist/fields/FieldSetDialog.d.ts +11 -0
- package/dist/fields/FieldSetDialog.d.ts.map +1 -0
- package/dist/fields/FieldSetDialog.js +73 -0
- package/dist/fields/FieldSetDialog.js.map +1 -0
- package/dist/fields/FieldSetEditor.d.ts +9 -0
- package/dist/fields/FieldSetEditor.d.ts.map +1 -0
- package/dist/fields/FieldSetEditor.js +49 -0
- package/dist/fields/FieldSetEditor.js.map +1 -0
- package/dist/fields/FieldSummary.d.ts +9 -0
- package/dist/fields/FieldSummary.d.ts.map +1 -0
- package/dist/fields/FieldSummary.js +28 -0
- package/dist/fields/FieldSummary.js.map +1 -0
- package/dist/fields/LinkControl.d.ts +8 -0
- package/dist/fields/LinkControl.d.ts.map +1 -0
- package/dist/fields/LinkControl.js +54 -0
- package/dist/fields/LinkControl.js.map +1 -0
- package/dist/fields/block-icons.d.ts +4 -0
- package/dist/fields/block-icons.d.ts.map +1 -0
- package/dist/fields/block-icons.js +51 -0
- package/dist/fields/block-icons.js.map +1 -0
- package/dist/fields/controls.d.ts +4 -0
- package/dist/fields/controls.d.ts.map +1 -0
- package/dist/fields/controls.js +292 -0
- package/dist/fields/controls.js.map +1 -0
- package/dist/fields/custom-values.d.ts +23 -0
- package/dist/fields/custom-values.d.ts.map +1 -0
- package/dist/fields/custom-values.js +30 -0
- package/dist/fields/custom-values.js.map +1 -0
- package/dist/fields/field-control.d.ts +72 -0
- package/dist/fields/field-control.d.ts.map +1 -0
- package/dist/fields/field-control.js +19 -0
- package/dist/fields/field-control.js.map +1 -0
- package/dist/fields/field-set.d.ts +39 -0
- package/dist/fields/field-set.d.ts.map +1 -0
- package/dist/fields/field-set.js +24 -0
- package/dist/fields/field-set.js.map +1 -0
- package/dist/fields/index.d.ts +7 -0
- package/dist/fields/index.d.ts.map +1 -0
- package/dist/fields/index.js +7 -0
- package/dist/fields/index.js.map +1 -0
- package/dist/fields/page-focus.d.ts +23 -0
- package/dist/fields/page-focus.d.ts.map +1 -0
- package/dist/fields/page-focus.js +14 -0
- package/dist/fields/page-focus.js.map +1 -0
- package/dist/fields/settings.d.ts +40 -0
- package/dist/fields/settings.d.ts.map +1 -0
- package/dist/fields/settings.js +92 -0
- package/dist/fields/settings.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/arrangement.d.ts +20 -0
- package/dist/lib/arrangement.d.ts.map +1 -0
- package/dist/lib/arrangement.js +52 -0
- package/dist/lib/arrangement.js.map +1 -0
- package/dist/lib/content.d.ts +45 -0
- package/dist/lib/content.d.ts.map +1 -0
- package/dist/lib/content.js +99 -0
- package/dist/lib/content.js.map +1 -0
- package/dist/lib/csv.d.ts +10 -0
- package/dist/lib/csv.d.ts.map +1 -0
- package/dist/lib/csv.js +54 -0
- package/dist/lib/csv.js.map +1 -0
- package/dist/lib/day-part.d.ts +5 -0
- package/dist/lib/day-part.d.ts.map +1 -0
- package/dist/lib/day-part.js +10 -0
- package/dist/lib/day-part.js.map +1 -0
- package/dist/lib/download.d.ts +6 -0
- package/dist/lib/download.d.ts.map +1 -0
- package/dist/lib/download.js +13 -0
- package/dist/lib/download.js.map +1 -0
- package/dist/lib/keys.d.ts +5 -0
- package/dist/lib/keys.d.ts.map +1 -0
- package/dist/lib/keys.js +26 -0
- package/dist/lib/keys.js.map +1 -0
- package/dist/lib/prepare-image.d.ts +11 -0
- package/dist/lib/prepare-image.d.ts.map +1 -0
- package/dist/lib/prepare-image.js +52 -0
- package/dist/lib/prepare-image.js.map +1 -0
- package/dist/lib/preview-tab.d.ts +14 -0
- package/dist/lib/preview-tab.d.ts.map +1 -0
- package/dist/lib/preview-tab.js +24 -0
- package/dist/lib/preview-tab.js.map +1 -0
- package/dist/lib/relative-time.d.ts +3 -0
- package/dist/lib/relative-time.d.ts.map +1 -0
- package/dist/lib/relative-time.js +18 -0
- package/dist/lib/relative-time.js.map +1 -0
- package/dist/lib/slug.d.ts +3 -0
- package/dist/lib/slug.d.ts.map +1 -0
- package/dist/lib/slug.js +10 -0
- package/dist/lib/slug.js.map +1 -0
- package/dist/lib/type-icon.d.ts +3 -0
- package/dist/lib/type-icon.d.ts.map +1 -0
- package/dist/lib/type-icon.js +27 -0
- package/dist/lib/type-icon.js.map +1 -0
- package/dist/lib/use-closing.d.ts +19 -0
- package/dist/lib/use-closing.d.ts.map +1 -0
- package/dist/lib/use-closing.js +24 -0
- package/dist/lib/use-closing.js.map +1 -0
- package/dist/lib/use-leave-guard.d.ts +16 -0
- package/dist/lib/use-leave-guard.d.ts.map +1 -0
- package/dist/lib/use-leave-guard.js +29 -0
- package/dist/lib/use-leave-guard.js.map +1 -0
- package/dist/messages/en.d.ts +1068 -0
- package/dist/messages/en.d.ts.map +1 -0
- package/dist/messages/en.js +1041 -0
- package/dist/messages/en.js.map +1 -0
- package/dist/messages/messages-context.d.ts +17 -0
- package/dist/messages/messages-context.d.ts.map +1 -0
- package/dist/messages/messages-context.js +16 -0
- package/dist/messages/messages-context.js.map +1 -0
- package/dist/plugins/PluginBoundary.d.ts +21 -0
- package/dist/plugins/PluginBoundary.d.ts.map +1 -0
- package/dist/plugins/PluginBoundary.js +20 -0
- package/dist/plugins/PluginBoundary.js.map +1 -0
- package/dist/plugins/plugin-editor.d.ts +112 -0
- package/dist/plugins/plugin-editor.d.ts.map +1 -0
- package/dist/plugins/plugin-editor.js +142 -0
- package/dist/plugins/plugin-editor.js.map +1 -0
- package/dist/plugins/plugin-ui.d.ts +45 -0
- package/dist/plugins/plugin-ui.d.ts.map +1 -0
- package/dist/plugins/plugin-ui.js +44 -0
- package/dist/plugins/plugin-ui.js.map +1 -0
- package/dist/screens/Contact/ContactDeals.d.ts +6 -0
- package/dist/screens/Contact/ContactDeals.d.ts.map +1 -0
- package/dist/screens/Contact/ContactDeals.js +41 -0
- package/dist/screens/Contact/ContactDeals.js.map +1 -0
- package/dist/screens/Contact/ContactScreen.d.ts +3 -0
- package/dist/screens/Contact/ContactScreen.d.ts.map +1 -0
- package/dist/screens/Contact/ContactScreen.js +153 -0
- package/dist/screens/Contact/ContactScreen.js.map +1 -0
- package/dist/screens/Contact/ContactWork.d.ts +6 -0
- package/dist/screens/Contact/ContactWork.d.ts.map +1 -0
- package/dist/screens/Contact/ContactWork.js +50 -0
- package/dist/screens/Contact/ContactWork.js.map +1 -0
- package/dist/screens/Contacts/ContactsScreen.d.ts +3 -0
- package/dist/screens/Contacts/ContactsScreen.d.ts.map +1 -0
- package/dist/screens/Contacts/ContactsScreen.js +127 -0
- package/dist/screens/Contacts/ContactsScreen.js.map +1 -0
- package/dist/screens/Contacts/ImportDialog.d.ts +5 -0
- package/dist/screens/Contacts/ImportDialog.d.ts.map +1 -0
- package/dist/screens/Contacts/ImportDialog.js +90 -0
- package/dist/screens/Contacts/ImportDialog.js.map +1 -0
- package/dist/screens/Contacts/PipelineBoard.d.ts +11 -0
- package/dist/screens/Contacts/PipelineBoard.d.ts.map +1 -0
- package/dist/screens/Contacts/PipelineBoard.js +74 -0
- package/dist/screens/Contacts/PipelineBoard.js.map +1 -0
- package/dist/screens/Contacts/StagesDialog.d.ts +8 -0
- package/dist/screens/Contacts/StagesDialog.d.ts.map +1 -0
- package/dist/screens/Contacts/StagesDialog.js +58 -0
- package/dist/screens/Contacts/StagesDialog.js.map +1 -0
- package/dist/screens/Contacts/contact-source.d.ts +4 -0
- package/dist/screens/Contacts/contact-source.d.ts.map +1 -0
- package/dist/screens/Contacts/contact-source.js +18 -0
- package/dist/screens/Contacts/contact-source.js.map +1 -0
- package/dist/screens/Contacts/pipeline.d.ts +23 -0
- package/dist/screens/Contacts/pipeline.d.ts.map +1 -0
- package/dist/screens/Contacts/pipeline.js +57 -0
- package/dist/screens/Contacts/pipeline.js.map +1 -0
- package/dist/screens/ContentList/ContentListScreen.d.ts +3 -0
- package/dist/screens/ContentList/ContentListScreen.d.ts.map +1 -0
- package/dist/screens/ContentList/ContentListScreen.js +105 -0
- package/dist/screens/ContentList/ContentListScreen.js.map +1 -0
- package/dist/screens/ContentType/ContentTypeScreen.d.ts +3 -0
- package/dist/screens/ContentType/ContentTypeScreen.d.ts.map +1 -0
- package/dist/screens/ContentType/ContentTypeScreen.js +133 -0
- package/dist/screens/ContentType/ContentTypeScreen.js.map +1 -0
- package/dist/screens/ContentType/FieldDialog.d.ts +12 -0
- package/dist/screens/ContentType/FieldDialog.d.ts.map +1 -0
- package/dist/screens/ContentType/FieldDialog.js +110 -0
- package/dist/screens/ContentType/FieldDialog.js.map +1 -0
- package/dist/screens/ContentType/SectionsDialog.d.ts +7 -0
- package/dist/screens/ContentType/SectionsDialog.d.ts.map +1 -0
- package/dist/screens/ContentType/SectionsDialog.js +67 -0
- package/dist/screens/ContentType/SectionsDialog.js.map +1 -0
- package/dist/screens/ContentType/SettingsDialog.d.ts +7 -0
- package/dist/screens/ContentType/SettingsDialog.d.ts.map +1 -0
- package/dist/screens/ContentType/SettingsDialog.js +75 -0
- package/dist/screens/ContentType/SettingsDialog.js.map +1 -0
- package/dist/screens/ContentTypes/ContentTypesScreen.d.ts +3 -0
- package/dist/screens/ContentTypes/ContentTypesScreen.d.ts.map +1 -0
- package/dist/screens/ContentTypes/ContentTypesScreen.js +103 -0
- package/dist/screens/ContentTypes/ContentTypesScreen.js.map +1 -0
- package/dist/screens/Deals/DealDialog.d.ts +16 -0
- package/dist/screens/Deals/DealDialog.d.ts.map +1 -0
- package/dist/screens/Deals/DealDialog.js +84 -0
- package/dist/screens/Deals/DealDialog.js.map +1 -0
- package/dist/screens/Deals/DealsScreen.d.ts +3 -0
- package/dist/screens/Deals/DealsScreen.d.ts.map +1 -0
- package/dist/screens/Deals/DealsScreen.js +93 -0
- package/dist/screens/Deals/DealsScreen.js.map +1 -0
- package/dist/screens/Deals/deal-subject.d.ts +30 -0
- package/dist/screens/Deals/deal-subject.d.ts.map +1 -0
- package/dist/screens/Deals/deal-subject.js +57 -0
- package/dist/screens/Deals/deal-subject.js.map +1 -0
- package/dist/screens/EntryEditor/EntryDeals.d.ts +11 -0
- package/dist/screens/EntryEditor/EntryDeals.d.ts.map +1 -0
- package/dist/screens/EntryEditor/EntryDeals.js +45 -0
- package/dist/screens/EntryEditor/EntryDeals.js.map +1 -0
- package/dist/screens/EntryEditor/EntryEditorScreen.d.ts +3 -0
- package/dist/screens/EntryEditor/EntryEditorScreen.d.ts.map +1 -0
- package/dist/screens/EntryEditor/EntryEditorScreen.js +65 -0
- package/dist/screens/EntryEditor/EntryEditorScreen.js.map +1 -0
- package/dist/screens/EntryEditor/EntryForm.d.ts +22 -0
- package/dist/screens/EntryEditor/EntryForm.d.ts.map +1 -0
- package/dist/screens/EntryEditor/EntryForm.js +279 -0
- package/dist/screens/EntryEditor/EntryForm.js.map +1 -0
- package/dist/screens/EntryEditor/HistoryDialog.d.ts +16 -0
- package/dist/screens/EntryEditor/HistoryDialog.d.ts.map +1 -0
- package/dist/screens/EntryEditor/HistoryDialog.js +52 -0
- package/dist/screens/EntryEditor/HistoryDialog.js.map +1 -0
- package/dist/screens/EntryEditor/PagePane.d.ts +15 -0
- package/dist/screens/EntryEditor/PagePane.d.ts.map +1 -0
- package/dist/screens/EntryEditor/PagePane.js +25 -0
- package/dist/screens/EntryEditor/PagePane.js.map +1 -0
- package/dist/screens/EntryEditor/ScheduleDialog.d.ts +15 -0
- package/dist/screens/EntryEditor/ScheduleDialog.d.ts.map +1 -0
- package/dist/screens/EntryEditor/ScheduleDialog.js +70 -0
- package/dist/screens/EntryEditor/ScheduleDialog.js.map +1 -0
- package/dist/screens/Form/FormFields.d.ts +9 -0
- package/dist/screens/Form/FormFields.d.ts.map +1 -0
- package/dist/screens/Form/FormFields.js +26 -0
- package/dist/screens/Form/FormFields.js.map +1 -0
- package/dist/screens/Form/FormScreen.d.ts +3 -0
- package/dist/screens/Form/FormScreen.d.ts.map +1 -0
- package/dist/screens/Form/FormScreen.js +58 -0
- package/dist/screens/Form/FormScreen.js.map +1 -0
- package/dist/screens/Form/FormSettingsDialog.d.ts +8 -0
- package/dist/screens/Form/FormSettingsDialog.d.ts.map +1 -0
- package/dist/screens/Form/FormSettingsDialog.js +78 -0
- package/dist/screens/Form/FormSettingsDialog.js.map +1 -0
- package/dist/screens/Form/Submissions.d.ts +6 -0
- package/dist/screens/Form/Submissions.d.ts.map +1 -0
- package/dist/screens/Form/Submissions.js +98 -0
- package/dist/screens/Form/Submissions.js.map +1 -0
- package/dist/screens/Form/form-fields.d.ts +3 -0
- package/dist/screens/Form/form-fields.d.ts.map +1 -0
- package/dist/screens/Form/form-fields.js +9 -0
- package/dist/screens/Form/form-fields.js.map +1 -0
- package/dist/screens/Forms/FormsScreen.d.ts +3 -0
- package/dist/screens/Forms/FormsScreen.d.ts.map +1 -0
- package/dist/screens/Forms/FormsScreen.js +139 -0
- package/dist/screens/Forms/FormsScreen.js.map +1 -0
- package/dist/screens/Home/FollowUps.d.ts +8 -0
- package/dist/screens/Home/FollowUps.d.ts.map +1 -0
- package/dist/screens/Home/FollowUps.js +43 -0
- package/dist/screens/Home/FollowUps.js.map +1 -0
- package/dist/screens/Home/HomeScreen.d.ts +6 -0
- package/dist/screens/Home/HomeScreen.d.ts.map +1 -0
- package/dist/screens/Home/HomeScreen.js +67 -0
- package/dist/screens/Home/HomeScreen.js.map +1 -0
- package/dist/screens/Media/MediaScreen.d.ts +3 -0
- package/dist/screens/Media/MediaScreen.d.ts.map +1 -0
- package/dist/screens/Media/MediaScreen.js +71 -0
- package/dist/screens/Media/MediaScreen.js.map +1 -0
- package/dist/screens/People/PeopleScreen.d.ts +3 -0
- package/dist/screens/People/PeopleScreen.d.ts.map +1 -0
- package/dist/screens/People/PeopleScreen.js +78 -0
- package/dist/screens/People/PeopleScreen.js.map +1 -0
- package/dist/screens/PluginScreen/PluginScreenScreen.d.ts +3 -0
- package/dist/screens/PluginScreen/PluginScreenScreen.d.ts.map +1 -0
- package/dist/screens/PluginScreen/PluginScreenScreen.js +16 -0
- package/dist/screens/PluginScreen/PluginScreenScreen.js.map +1 -0
- package/dist/screens/Plugins/PluginActivityDialog.d.ts +7 -0
- package/dist/screens/Plugins/PluginActivityDialog.d.ts.map +1 -0
- package/dist/screens/Plugins/PluginActivityDialog.js +49 -0
- package/dist/screens/Plugins/PluginActivityDialog.js.map +1 -0
- package/dist/screens/Plugins/PluginSecrets.d.ts +7 -0
- package/dist/screens/Plugins/PluginSecrets.d.ts.map +1 -0
- package/dist/screens/Plugins/PluginSecrets.js +44 -0
- package/dist/screens/Plugins/PluginSecrets.js.map +1 -0
- package/dist/screens/Plugins/PluginSettingsDialog.d.ts +7 -0
- package/dist/screens/Plugins/PluginSettingsDialog.d.ts.map +1 -0
- package/dist/screens/Plugins/PluginSettingsDialog.js +46 -0
- package/dist/screens/Plugins/PluginSettingsDialog.js.map +1 -0
- package/dist/screens/Plugins/PluginsScreen.d.ts +3 -0
- package/dist/screens/Plugins/PluginsScreen.d.ts.map +1 -0
- package/dist/screens/Plugins/PluginsScreen.js +68 -0
- package/dist/screens/Plugins/PluginsScreen.js.map +1 -0
- package/dist/screens/SignIn/SignInScreen.d.ts +6 -0
- package/dist/screens/SignIn/SignInScreen.d.ts.map +1 -0
- package/dist/screens/SignIn/SignInScreen.js +52 -0
- package/dist/screens/SignIn/SignInScreen.js.map +1 -0
- package/dist/screens/Trash/TrashScreen.d.ts +3 -0
- package/dist/screens/Trash/TrashScreen.d.ts.map +1 -0
- package/dist/screens/Trash/TrashScreen.js +73 -0
- package/dist/screens/Trash/TrashScreen.js.map +1 -0
- package/dist/standalone/config.d.ts +19 -0
- package/dist/standalone/config.d.ts.map +1 -0
- package/dist/standalone/config.js +20 -0
- package/dist/standalone/config.js.map +1 -0
- package/dist/standalone/main.d.ts +7 -0
- package/dist/standalone/main.d.ts.map +1 -0
- package/dist/standalone/main.js +26 -0
- package/dist/standalone/main.js.map +1 -0
- package/dist/testing/admin-client-contract.d.ts +24 -0
- package/dist/testing/admin-client-contract.d.ts.map +1 -0
- package/dist/testing/admin-client-contract.js +571 -0
- package/dist/testing/admin-client-contract.js.map +1 -0
- package/dist/testing/http-server.d.ts +18 -0
- package/dist/testing/http-server.d.ts.map +1 -0
- package/dist/testing/http-server.js +51 -0
- package/dist/testing/http-server.js.map +1 -0
- package/dist/testing/index.d.ts +3 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +3 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/memory-client.d.ts +142 -0
- package/dist/testing/memory-client.d.ts.map +1 -0
- package/dist/testing/memory-client.js +401 -0
- package/dist/testing/memory-client.js.map +1 -0
- package/dist/testing/memory-people.d.ts +18 -0
- package/dist/testing/memory-people.d.ts.map +1 -0
- package/dist/testing/memory-people.js +70 -0
- package/dist/testing/memory-people.js.map +1 -0
- package/dist/testing/render-app.d.ts +8 -0
- package/dist/testing/render-app.d.ts.map +1 -0
- package/dist/testing/render-app.js +10 -0
- package/dist/testing/render-app.js.map +1 -0
- package/dist/testing/sample-content.d.ts +23 -0
- package/dist/testing/sample-content.d.ts.map +1 -0
- package/dist/testing/sample-content.js +225 -0
- package/dist/testing/sample-content.js.map +1 -0
- package/package.json +70 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-go.d.ts","sourceRoot":"","sources":["../../src/app/use-go.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEjE;;;GAGG;AACH,wBAAgB,KAAK,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,eAAe,KAAK,IAAI,CAMvE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useCallback } from "react";
|
|
2
|
+
import { useNavigate } from "react-router";
|
|
3
|
+
/**
|
|
4
|
+
* Goes to another screen. Every screen changes the same way: where the browser can, the old
|
|
5
|
+
* screen fades as the new one comes in, and where it can't, the new one is simply shown.
|
|
6
|
+
*/
|
|
7
|
+
export function useGo() {
|
|
8
|
+
const navigate = useNavigate();
|
|
9
|
+
return useCallback((to, options) => void navigate(to, { viewTransition: true, ...options }), [navigate]);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=use-go.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-go.js","sourceRoot":"","sources":["../../src/app/use-go.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,WAAW,EAAwB,MAAM,cAAc,CAAC;AAEjE;;;GAGG;AACH,MAAM,UAAU,KAAK;IACnB,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,OAAO,WAAW,CAChB,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,CAAC,KAAK,QAAQ,CAAC,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,EACxE,CAAC,QAAQ,CAAC,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import type { ContactImportReport, ContactImportRow, CustomFields, CustomFieldsChanges, Contact, ContactChanges, Deal, DealChanges, DealSubject, Forecast, NewDeal, Pipeline, PipelineChanges, TeamMember, ContactNote, NewContact, TimelineItem, PluginSettings, PluginTask, PluginInfo, PluginEditorInfo, PluginRouteMethod, ContentTypeChanges, ContentTypeDef, ContentTypeKind, Entry, EntryData, FieldArrangement, FieldChanges, FieldSection, FormChanges, FormDef, LocalizedText, NewForm, Submission, SubmissionStatus, NewField, NewUpload, Page, PreviewLink, Revision, Role, SiteImage } from '@velocity-astro/cms-core';
|
|
2
|
+
/** The person who is signed in. */
|
|
3
|
+
export interface SessionUser {
|
|
4
|
+
readonly id: string;
|
|
5
|
+
readonly email: string;
|
|
6
|
+
readonly name: string;
|
|
7
|
+
/** What they may do. The screens use it to leave out what the server would refuse anyway. */
|
|
8
|
+
readonly role: Role;
|
|
9
|
+
}
|
|
10
|
+
/** Someone who can sign in to the editor. */
|
|
11
|
+
export interface Person extends SessionUser {
|
|
12
|
+
/** Whether they have ever signed in. `false` for someone invited who has not yet; left out where the site cannot tell. */
|
|
13
|
+
readonly hasSignedIn?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/** One of the signed-in person's own passkeys, by the name they gave it. */
|
|
16
|
+
export interface Passkey {
|
|
17
|
+
readonly id: string;
|
|
18
|
+
readonly name: string;
|
|
19
|
+
/** When it was added, as an ISO date, where the site knows. */
|
|
20
|
+
readonly createdAt?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface NewPerson {
|
|
23
|
+
readonly email: string;
|
|
24
|
+
readonly name: string;
|
|
25
|
+
readonly role: Role;
|
|
26
|
+
}
|
|
27
|
+
/** A content type as someone starts it: fields are added afterwards, one at a time. */
|
|
28
|
+
export interface NewType {
|
|
29
|
+
/** The name code and addresses use, e.g. `testimonials`. It cannot be changed later. */
|
|
30
|
+
readonly key: string;
|
|
31
|
+
readonly kind: ContentTypeKind;
|
|
32
|
+
readonly label: LocalizedText;
|
|
33
|
+
/** Where its entries live on the site, e.g. `/news/[slug]`. Left out, it has no page of its own. */
|
|
34
|
+
readonly urlPattern?: string;
|
|
35
|
+
}
|
|
36
|
+
/** A field as someone adds it, and the section that shows it, by key. */
|
|
37
|
+
export interface NewTypeField extends NewField {
|
|
38
|
+
readonly section?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface EntryListQuery {
|
|
41
|
+
/** The content type's key, e.g. `listings`. */
|
|
42
|
+
readonly type: string;
|
|
43
|
+
readonly locale?: string;
|
|
44
|
+
/** Defaults to 50. */
|
|
45
|
+
readonly limit?: number;
|
|
46
|
+
readonly offset?: number;
|
|
47
|
+
}
|
|
48
|
+
export interface TrashQuery {
|
|
49
|
+
/** Defaults to 50. */
|
|
50
|
+
readonly limit?: number;
|
|
51
|
+
readonly offset?: number;
|
|
52
|
+
}
|
|
53
|
+
/** Which editor control a field type is filled in with. */
|
|
54
|
+
export interface FieldTypeInfo {
|
|
55
|
+
/** The field type's name, as a `FieldDef` refers to it: `text`. */
|
|
56
|
+
readonly type: string;
|
|
57
|
+
/** The name of its control: `text-input`. */
|
|
58
|
+
readonly editor: string;
|
|
59
|
+
/** Whether a visitor can fill one in, so a form can ask for it. */
|
|
60
|
+
readonly takesSubmissions: boolean;
|
|
61
|
+
}
|
|
62
|
+
export interface SubmissionListQuery {
|
|
63
|
+
readonly formId: string;
|
|
64
|
+
/** Left out, submissions of every status. */
|
|
65
|
+
readonly status?: SubmissionStatus;
|
|
66
|
+
/** Defaults to 50. */
|
|
67
|
+
readonly limit?: number;
|
|
68
|
+
readonly offset?: number;
|
|
69
|
+
}
|
|
70
|
+
/** How many of a form's submissions have each status. */
|
|
71
|
+
export interface ContactListQuery {
|
|
72
|
+
/** Words to find in the name, email or phone. */
|
|
73
|
+
readonly search?: string;
|
|
74
|
+
/** Only contacts in this stage of the pipeline. */
|
|
75
|
+
readonly stage?: string;
|
|
76
|
+
/** Only contacts this person looks after, or with `null`, the ones nobody does. */
|
|
77
|
+
readonly ownerId?: string | null;
|
|
78
|
+
/** Only contacts to get back to on or before this day (`2026-03-14`), soonest first. */
|
|
79
|
+
readonly followUpBy?: string;
|
|
80
|
+
/** Defaults to 50. */
|
|
81
|
+
readonly limit?: number;
|
|
82
|
+
readonly offset?: number;
|
|
83
|
+
}
|
|
84
|
+
export interface DealListQuery {
|
|
85
|
+
readonly contactId?: string;
|
|
86
|
+
readonly stage?: string;
|
|
87
|
+
/** Only deals this person looks after, or with `null`, the ones nobody does. */
|
|
88
|
+
readonly ownerId?: string | null;
|
|
89
|
+
/** Only deals about this entry. */
|
|
90
|
+
readonly about?: DealSubject;
|
|
91
|
+
/** Defaults to 50. */
|
|
92
|
+
readonly limit?: number;
|
|
93
|
+
readonly offset?: number;
|
|
94
|
+
}
|
|
95
|
+
export type SubmissionCounts = Readonly<Record<SubmissionStatus, number>>;
|
|
96
|
+
export interface NewEntry {
|
|
97
|
+
/** The content type's key, e.g. `listings`. */
|
|
98
|
+
readonly type: string;
|
|
99
|
+
/** Left out, the entry is written in the site's default language. */
|
|
100
|
+
readonly locale?: string;
|
|
101
|
+
readonly slug: string;
|
|
102
|
+
/** Field values keyed by field id. */
|
|
103
|
+
readonly data: EntryData;
|
|
104
|
+
}
|
|
105
|
+
export interface EntryChanges {
|
|
106
|
+
readonly slug: string;
|
|
107
|
+
/** Every field value, keyed by field id. A field left out is emptied. */
|
|
108
|
+
readonly data: EntryData;
|
|
109
|
+
/** The revision that was loaded. The save is refused if someone else saved in between. */
|
|
110
|
+
readonly expectedRevision: number;
|
|
111
|
+
}
|
|
112
|
+
/** The images an image field chooses from, and whether the site takes new ones. */
|
|
113
|
+
export interface ImageList {
|
|
114
|
+
/** Ordered by name. */
|
|
115
|
+
readonly items: readonly SiteImage[];
|
|
116
|
+
/** `null` when the site has nowhere to keep uploads. */
|
|
117
|
+
readonly upload: {
|
|
118
|
+
readonly maxBytes: number;
|
|
119
|
+
} | null;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Everything the editor asks of the server. The screens know only this interface: the real
|
|
123
|
+
* implementation talks to the CMS over HTTP, and `MemoryAdminClient` in `./testing` stands in
|
|
124
|
+
* for it in tests and in the development preview.
|
|
125
|
+
*
|
|
126
|
+
* A method that fails rejects with an `Error` whose message can be shown to the person. When the
|
|
127
|
+
* server refused the request, it is an `AdminRequestError`, which also says why.
|
|
128
|
+
*/
|
|
129
|
+
export interface AdminClient {
|
|
130
|
+
/** Who is signed in, or `null`. */
|
|
131
|
+
getSession(): Promise<SessionUser | null>;
|
|
132
|
+
/**
|
|
133
|
+
* Emails a sign-in link. Resolves the same way whether or not the address belongs to someone,
|
|
134
|
+
* so the screen cannot be used to find out who has an account.
|
|
135
|
+
*/
|
|
136
|
+
requestSignInLink(email: string): Promise<void>;
|
|
137
|
+
/** Asks the browser for a passkey and signs in with it. */
|
|
138
|
+
signInWithPasskey(): Promise<SessionUser>;
|
|
139
|
+
signOut(): Promise<void>;
|
|
140
|
+
/** Content types ordered by key. */
|
|
141
|
+
listContentTypes(): Promise<readonly ContentTypeDef[]>;
|
|
142
|
+
/** Starts a content type with no fields. Owners only, like every change to a content type. */
|
|
143
|
+
createContentType(type: NewType): Promise<ContentTypeDef>;
|
|
144
|
+
/** Changes what a content type is called, or where its entries live. */
|
|
145
|
+
updateContentType(id: string, changes: ContentTypeChanges): Promise<ContentTypeDef>;
|
|
146
|
+
/** The content types that were archived, ordered by key. Owners only. */
|
|
147
|
+
listArchivedContentTypes(): Promise<readonly ContentTypeDef[]>;
|
|
148
|
+
/** Takes a content type out of the editor and its pages off the site. Its fields and entries are kept. */
|
|
149
|
+
archiveContentType(id: string): Promise<ContentTypeDef>;
|
|
150
|
+
/** Brings an archived content type back, with its entries as they were. */
|
|
151
|
+
restoreContentType(id: string): Promise<ContentTypeDef>;
|
|
152
|
+
/**
|
|
153
|
+
* Adds a field to a content type. Refused when a field already has its key. `within` leads to
|
|
154
|
+
* the field that holds it, by id from the top down, for a field inside a group.
|
|
155
|
+
*/
|
|
156
|
+
addField(typeId: string, field: NewTypeField, within?: readonly string[]): Promise<ContentTypeDef>;
|
|
157
|
+
/** Changes a field in place. Its content stays. */
|
|
158
|
+
changeField(typeId: string, fieldId: string, changes: FieldChanges, within?: readonly string[]): Promise<ContentTypeDef>;
|
|
159
|
+
/** Hides a field from the editor and the site. Its content is kept, so it can be restored. */
|
|
160
|
+
removeField(typeId: string, fieldId: string, within?: readonly string[]): Promise<ContentTypeDef>;
|
|
161
|
+
/** Brings a removed field back, with its content. */
|
|
162
|
+
restoreField(typeId: string, fieldId: string, within?: readonly string[]): Promise<ContentTypeDef>;
|
|
163
|
+
/** Puts fields in order: a type's own, saying which section shows which, or those a group holds. */
|
|
164
|
+
arrangeFields(typeId: string, arrangement: FieldArrangement): Promise<ContentTypeDef>;
|
|
165
|
+
/** Says which sections the editor shows for a type, in order, and which fields each shows. */
|
|
166
|
+
setSections(typeId: string, sections: readonly FieldSection[]): Promise<ContentTypeDef>;
|
|
167
|
+
/** The working versions of a type's entries, newest first. */
|
|
168
|
+
listEntries(query: EntryListQuery): Promise<Page<Entry>>;
|
|
169
|
+
/** Every field type the site has, built in or from a plugin, with the control that edits it. */
|
|
170
|
+
listFieldTypes(): Promise<readonly FieldTypeInfo[]>;
|
|
171
|
+
/** The site's images, for an image field to choose from, and whether more can be uploaded. */
|
|
172
|
+
listImages(): Promise<ImageList>;
|
|
173
|
+
/** Adds an image. Refused unless the file is a JPEG, PNG or WebP the site has room for. */
|
|
174
|
+
uploadImage(upload: NewUpload): Promise<SiteImage>;
|
|
175
|
+
/** Removes an uploaded image for good. Refused for an image the site came with. */
|
|
176
|
+
removeImage(name: string): Promise<void>;
|
|
177
|
+
getEntry(id: string): Promise<Entry>;
|
|
178
|
+
/** Creates a draft. Required fields may still be empty: they are checked on publish. */
|
|
179
|
+
createEntry(entry: NewEntry): Promise<Entry>;
|
|
180
|
+
/** Saves the version being worked on. What visitors see does not change. */
|
|
181
|
+
updateEntry(id: string, changes: EntryChanges): Promise<Entry>;
|
|
182
|
+
/** Makes the saved version the one visitors see. Refused while a required field is empty. */
|
|
183
|
+
publishEntry(id: string, expectedRevision: number): Promise<Entry>;
|
|
184
|
+
/** Takes the entry off the site. Its content is kept as a draft. */
|
|
185
|
+
unpublishEntry(id: string): Promise<Entry>;
|
|
186
|
+
/** A copy of an entry as a new draft of its own, under the entry's slug with `-copy` after it. */
|
|
187
|
+
duplicateEntry(id: string): Promise<Entry>;
|
|
188
|
+
/** Sets the working version to go on the site at a time to come (`at`, an ISO time). It must be fit to publish now. */
|
|
189
|
+
scheduleEntry(id: string, input: {
|
|
190
|
+
readonly at: string;
|
|
191
|
+
readonly expectedRevision: number;
|
|
192
|
+
}): Promise<Entry>;
|
|
193
|
+
/** Takes an entry off the schedule. It stays as it is. */
|
|
194
|
+
unscheduleEntry(id: string): Promise<Entry>;
|
|
195
|
+
/** Every save of an entry, the latest first. */
|
|
196
|
+
entryHistory(id: string): Promise<Revision[]>;
|
|
197
|
+
/** Brings back what the entry held at an earlier revision, as a new save. What visitors see stays. */
|
|
198
|
+
revertEntry(id: string, input: {
|
|
199
|
+
readonly revision: number;
|
|
200
|
+
readonly expectedRevision: number;
|
|
201
|
+
}): Promise<Entry>;
|
|
202
|
+
/** Moves an entry to the trash: off the site and out of the lists, with nothing lost. */
|
|
203
|
+
trashEntry(id: string): Promise<Entry>;
|
|
204
|
+
/** Brings an entry back from the trash, as a draft. */
|
|
205
|
+
restoreEntry(id: string): Promise<Entry>;
|
|
206
|
+
/** The entries in the trash, of every content type, the latest to go there first. */
|
|
207
|
+
listTrash(query?: TrashQuery): Promise<Page<Entry>>;
|
|
208
|
+
/** Deletes an entry in the trash for good, with its history. */
|
|
209
|
+
deleteEntry(id: string): Promise<void>;
|
|
210
|
+
/** The site's forms, by key. */
|
|
211
|
+
listForms(): Promise<readonly FormDef[]>;
|
|
212
|
+
/** Starts a form. Refused when another form has its key. */
|
|
213
|
+
createForm(form: NewForm): Promise<FormDef>;
|
|
214
|
+
/** Changes a form: its fields all at once, in order, or its settings. Refused if someone saved in between. */
|
|
215
|
+
updateForm(id: string, changes: FormChanges): Promise<FormDef>;
|
|
216
|
+
/** Moves a form to the trash: it takes no more submissions, and what was sent is kept. */
|
|
217
|
+
trashForm(id: string): Promise<FormDef>;
|
|
218
|
+
restoreForm(id: string): Promise<FormDef>;
|
|
219
|
+
/** The forms in the trash, by key. */
|
|
220
|
+
listTrashedForms(): Promise<readonly FormDef[]>;
|
|
221
|
+
/** Deletes a form in the trash for good, and with it everything that was sent through it. */
|
|
222
|
+
deleteForm(id: string): Promise<void>;
|
|
223
|
+
/** What a form was sent, newest first. Only for those who may read submissions. */
|
|
224
|
+
listSubmissions(query: SubmissionListQuery): Promise<Page<Submission>>;
|
|
225
|
+
countSubmissions(formId: string): Promise<SubmissionCounts>;
|
|
226
|
+
/** Marks a submission new, handled or spam. */
|
|
227
|
+
markSubmission(id: string, status: SubmissionStatus): Promise<Submission>;
|
|
228
|
+
/** Deletes a submission for good. */
|
|
229
|
+
deleteSubmission(id: string): Promise<void>;
|
|
230
|
+
/** Everything a form was sent, as the text of a CSV file. */
|
|
231
|
+
exportSubmissions(formId: string): Promise<string>;
|
|
232
|
+
/** Deletes everything one person sent, through every form, for good. Answers with how many went. */
|
|
233
|
+
forgetSender(email: string): Promise<number>;
|
|
234
|
+
/** The people who wrote to the site, newest first. Only for those who may read contacts. */
|
|
235
|
+
listContacts(query?: ContactListQuery): Promise<Page<Contact>>;
|
|
236
|
+
/** The stages a contact moves through, in order. */
|
|
237
|
+
getPipeline(): Promise<Pipeline>;
|
|
238
|
+
/** Replaces the stages. Contacts in a stage that is removed move to the first. */
|
|
239
|
+
savePipeline(changes: PipelineChanges): Promise<Pipeline>;
|
|
240
|
+
/** The fields this site adds to its contacts and its deals. For those who may read contacts. */
|
|
241
|
+
getCustomFields(): Promise<CustomFields>;
|
|
242
|
+
/** Replaces the custom fields named. A field left out is removed, and what it held is kept. */
|
|
243
|
+
saveCustomFields(changes: CustomFieldsChanges): Promise<CustomFields>;
|
|
244
|
+
/** Who a contact can be given to, by name. For those who may read contacts. */
|
|
245
|
+
listTeam(): Promise<readonly TeamMember[]>;
|
|
246
|
+
/** What contacts may buy, newest first. Only for those who may read contacts. */
|
|
247
|
+
listDeals(query?: DealListQuery): Promise<Page<Deal>>;
|
|
248
|
+
createDeal(input: NewDeal): Promise<Deal>;
|
|
249
|
+
updateDeal(id: string, changes: DealChanges): Promise<Deal>;
|
|
250
|
+
deleteDeal(id: string): Promise<void>;
|
|
251
|
+
/** Where the deals stand, stage by stage. */
|
|
252
|
+
getForecast(): Promise<Forecast>;
|
|
253
|
+
getContact(id: string): Promise<Contact>;
|
|
254
|
+
/** Adds a contact by hand. An email a contact already has is refused, naming the field. */
|
|
255
|
+
createContact(input: NewContact): Promise<Contact>;
|
|
256
|
+
/** Adds the contacts of a file, up to 200 rows at a time. Someone already here only gains what they lack. */
|
|
257
|
+
importContacts(rows: readonly ContactImportRow[]): Promise<ContactImportReport>;
|
|
258
|
+
updateContact(id: string, changes: ContactChanges): Promise<Contact>;
|
|
259
|
+
/** Deletes a contact for good, with their notes and everything they sent. Answers with how many submissions went. */
|
|
260
|
+
eraseContact(id: string): Promise<number>;
|
|
261
|
+
/** What happened with a contact, newest first: what they sent and what the team noted. */
|
|
262
|
+
contactTimeline(id: string): Promise<readonly TimelineItem[]>;
|
|
263
|
+
addContactNote(id: string, text: string): Promise<ContactNote>;
|
|
264
|
+
deleteContactNote(id: string, noteId: string): Promise<void>;
|
|
265
|
+
/** Everything held about one person, as the text of a JSON file. */
|
|
266
|
+
exportContact(id: string): Promise<string>;
|
|
267
|
+
/**
|
|
268
|
+
* A link to the entry's page showing the saved draft, good for a while. Refused when its type
|
|
269
|
+
* has no page of its own, or the site makes no previews.
|
|
270
|
+
*/
|
|
271
|
+
previewEntry(id: string): Promise<PreviewLink>;
|
|
272
|
+
/** Everyone who can sign in, by name. Owners only, like every method about people. */
|
|
273
|
+
listPeople(): Promise<readonly Person[]>;
|
|
274
|
+
/** Lets someone in, and emails them a link. Refused for an address that is already here. */
|
|
275
|
+
invitePerson(person: NewPerson): Promise<Person>;
|
|
276
|
+
/** Changes what someone may do. Refused when it would leave the site without an owner. */
|
|
277
|
+
changePersonRole(id: string, role: Role): Promise<Person>;
|
|
278
|
+
/** Takes away someone's access at once. Refused for yourself and for the last owner. */
|
|
279
|
+
removePerson(id: string): Promise<void>;
|
|
280
|
+
/** Asks the browser to make a passkey for the signed-in person, called `name` in their list. */
|
|
281
|
+
addPasskey(name: string): Promise<void>;
|
|
282
|
+
/** The plugins the site named in its config, running or not, by name. Owners only. */
|
|
283
|
+
listPlugins(): Promise<readonly PluginInfo[]>;
|
|
284
|
+
/** The running plugins that add to the editor, for anyone signed in. */
|
|
285
|
+
listPluginEditors(): Promise<readonly PluginEditorInfo[]>;
|
|
286
|
+
/**
|
|
287
|
+
* Asks one of a plugin's own addresses, as the person signed in. `path` starts with a slash.
|
|
288
|
+
* A plugin's screens reach their server side this way and no other.
|
|
289
|
+
*/
|
|
290
|
+
callPlugin(name: string, method: PluginRouteMethod, path: string, input?: PluginCall): Promise<unknown>;
|
|
291
|
+
/** Switches a plugin on or off, for the whole site. Owners only. */
|
|
292
|
+
setPluginEnabled(name: string, enabled: boolean): Promise<PluginInfo>;
|
|
293
|
+
/** A plugin's settings: the fields to draw, and what is set, by field id. Owners only. */
|
|
294
|
+
getPluginSettings(name: string): Promise<PluginSettings>;
|
|
295
|
+
/** Saves a plugin's settings. Refused, with the settings to look at, when one is not filled in correctly. */
|
|
296
|
+
savePluginSettings(name: string, values: EntryData): Promise<PluginSettings>;
|
|
297
|
+
/**
|
|
298
|
+
* Saves one of a plugin's keys or passwords, or with `null` takes the saved one away. What was
|
|
299
|
+
* saved never comes back: the settings only say that one is there. Owners only.
|
|
300
|
+
*/
|
|
301
|
+
setPluginSecret(name: string, key: string, value: string | null): Promise<PluginSettings>;
|
|
302
|
+
/** What a plugin was asked to do that is tried again when it fails, newest first. Owners only. */
|
|
303
|
+
listPluginTasks(name: string): Promise<readonly PluginTask[]>;
|
|
304
|
+
/** Has a piece of a plugin's work that was given up on tried again, now. */
|
|
305
|
+
retryPluginTask(name: string, id: string): Promise<PluginTask>;
|
|
306
|
+
/** The signed-in person's own passkeys, oldest first. */
|
|
307
|
+
listPasskeys(): Promise<readonly Passkey[]>;
|
|
308
|
+
/** Removes one of the signed-in person's own passkeys. That device then signs in with a link. */
|
|
309
|
+
removePasskey(id: string): Promise<void>;
|
|
310
|
+
}
|
|
311
|
+
/** What goes with a request to a plugin's own address. */
|
|
312
|
+
export interface PluginCall {
|
|
313
|
+
readonly query?: Readonly<Record<string, string>>;
|
|
314
|
+
/** Sent as JSON. Left out for a `GET`. */
|
|
315
|
+
readonly body?: unknown;
|
|
316
|
+
}
|
|
317
|
+
//# sourceMappingURL=admin-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-client.d.ts","sourceRoot":"","sources":["../../src/client/admin-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,YAAY,EAAE,mBAAmB,EAAE,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,cAAc,EAAE,eAAe,EAAE,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAEpmB,mCAAmC;AACnC,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,6FAA6F;IAC7F,QAAQ,CAAC,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G,OAAO,CAAC,cAAc,CAAC,CAAC;IAC7E;;;OAGG;IACH,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;IAC1F,kGAAkG;IAClG,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,UAAU,EAAE,CAAC,CAAC;IAC9D,4EAA4E;IAC5E,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAC/D,yDAAyD;IACzD,YAAY,IAAI,OAAO,CAAC,SAAS,OAAO,EAAE,CAAC,CAAC;IAC5C,iGAAiG;IACjG,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1C;AAED,0DAA0D;AAC1D,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAClD,0CAA0C;IAC1C,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-client.js","sourceRoot":"","sources":["../../src/client/admin-client.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { AdminClient } from './admin-client.js';
|
|
3
|
+
export interface ClientProviderProps {
|
|
4
|
+
readonly client: AdminClient;
|
|
5
|
+
readonly children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function ClientProvider({ client, children }: ClientProviderProps): import("react").JSX.Element;
|
|
8
|
+
/** The connection to the server. */
|
|
9
|
+
export declare function useClient(): AdminClient;
|
|
10
|
+
//# sourceMappingURL=client-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-context.d.ts","sourceRoot":"","sources":["../../src/client/client-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIrD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;CAC9B;AAED,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,mBAAmB,+BAEvE;AAED,oCAAoC;AACpC,wBAAgB,SAAS,IAAI,WAAW,CAIvC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createContext, useContext } from 'react';
|
|
3
|
+
const ClientContext = createContext(null);
|
|
4
|
+
export function ClientProvider({ client, children }) {
|
|
5
|
+
return _jsx(ClientContext, { value: client, children: children });
|
|
6
|
+
}
|
|
7
|
+
/** The connection to the server. */
|
|
8
|
+
export function useClient() {
|
|
9
|
+
const client = useContext(ClientContext);
|
|
10
|
+
if (!client)
|
|
11
|
+
throw new Error('useClient() was called outside <AdminApp>. Render the screen inside it.');
|
|
12
|
+
return client;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=client-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-context.js","sourceRoot":"","sources":["../../src/client/client-context.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAC;AAGlE,MAAM,aAAa,GAAG,aAAa,CAAqB,IAAI,CAAC,CAAC;AAO9D,MAAM,UAAU,cAAc,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAuB;IACtE,OAAO,KAAC,aAAa,IAAC,KAAK,EAAE,MAAM,YAAG,QAAQ,GAAiB,CAAC;AAClE,CAAC;AAED,oCAAoC;AACpC,MAAM,UAAU,SAAS;IACvB,MAAM,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IACzC,IAAI,CAAC,MAAM;QAAE,MAAM,IAAI,KAAK,CAAC,yEAAyE,CAAC,CAAC;IACxG,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** One problem with one field, as the server reports it. */
|
|
2
|
+
export interface RequestIssue {
|
|
3
|
+
/** Where the problem is, as field keys and list positions: `['address', 'city']`. */
|
|
4
|
+
readonly path: readonly (string | number)[];
|
|
5
|
+
readonly message: string;
|
|
6
|
+
}
|
|
7
|
+
export type RequestErrorCode = 'validation_failed' | 'conflict' | 'not_found' | 'forbidden'
|
|
8
|
+
/** Nobody is signed in, or the session has ended. */
|
|
9
|
+
| 'unauthenticated' | 'unknown';
|
|
10
|
+
/**
|
|
11
|
+
* A request the server refused. The message is written for the person and can be shown as it
|
|
12
|
+
* is; the code lets a screen react to what kind of refusal it was.
|
|
13
|
+
*/
|
|
14
|
+
export declare class AdminRequestError extends Error {
|
|
15
|
+
readonly code: RequestErrorCode;
|
|
16
|
+
/** Set when `code` is `validation_failed`: each field that needs attention. */
|
|
17
|
+
readonly issues: readonly RequestIssue[];
|
|
18
|
+
constructor(message: string, code: RequestErrorCode,
|
|
19
|
+
/** Set when `code` is `validation_failed`: each field that needs attention. */
|
|
20
|
+
issues?: readonly RequestIssue[]);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/client/errors.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,MAAM,WAAW,YAAY;IAC3B,qFAAqF;IACrF,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAC5C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,MAAM,gBAAgB,GACxB,mBAAmB,GACnB,UAAU,GACV,WAAW,GACX,WAAW;AACb,qDAAqD;GACnD,iBAAiB,GACjB,SAAS,CAAC;AAEd;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,KAAK;IAGxC,QAAQ,CAAC,IAAI,EAAE,gBAAgB;IAC/B,+EAA+E;IAC/E,QAAQ,CAAC,MAAM,EAAE,SAAS,YAAY,EAAE;gBAHxC,OAAO,EAAE,MAAM,EACN,IAAI,EAAE,gBAAgB;IAC/B,+EAA+E;IACtE,MAAM,GAAE,SAAS,YAAY,EAAO;CAKhD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A request the server refused. The message is written for the person and can be shown as it
|
|
3
|
+
* is; the code lets a screen react to what kind of refusal it was.
|
|
4
|
+
*/
|
|
5
|
+
export class AdminRequestError extends Error {
|
|
6
|
+
code;
|
|
7
|
+
issues;
|
|
8
|
+
constructor(message, code,
|
|
9
|
+
/** Set when `code` is `validation_failed`: each field that needs attention. */
|
|
10
|
+
issues = []) {
|
|
11
|
+
super(message);
|
|
12
|
+
this.code = code;
|
|
13
|
+
this.issues = issues;
|
|
14
|
+
this.name = 'AdminRequestError';
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/client/errors.ts"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,MAAM,OAAO,iBAAkB,SAAQ,KAAK;IAG/B;IAEA;IAJX,YACE,OAAe,EACN,IAAsB;IAC/B,+EAA+E;IACtE,SAAkC,EAAE;QAE7C,KAAK,CAAC,OAAO,CAAC,CAAC;QAJN,SAAI,GAAJ,IAAI,CAAkB;QAEtB,WAAM,GAAN,MAAM,CAA8B;QAG7C,IAAI,CAAC,IAAI,GAAG,mBAAmB,CAAC;IAClC,CAAC;CACF"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { type ContactImportReport, type ContactImportRow, type CustomFields, type CustomFieldsChanges, type Contact, type ContactChanges, type Deal, type DealChanges, type Forecast, type NewDeal, type Pipeline, type PipelineChanges, type TeamMember, type ContactNote, type NewContact, type TimelineItem, type Role, type ContentTypeChanges, type ContentTypeDef, type FieldArrangement, type FieldChanges, type FieldSection, type Entry, type NewUpload, type Page, type PluginInfo, type PluginSettings, type PluginTask, type PluginEditorInfo, type PluginRouteMethod, type EntryData, type FormChanges, type FormDef, type NewForm, type PreviewLink, type Revision, type SiteImage, type Submission, type SubmissionStatus } from '@velocity-astro/cms-core';
|
|
2
|
+
import type { AdminClient, ContactListQuery, DealListQuery, EntryChanges, EntryListQuery, FieldTypeInfo, ImageList, NewEntry, NewPerson, NewType, NewTypeField, Passkey, Person, PluginCall, SessionUser, SubmissionCounts, SubmissionListQuery, TrashQuery } from './admin-client.js';
|
|
3
|
+
/**
|
|
4
|
+
* Signing in and out. This is `cms-auth`'s side of the server, which has its own addresses and,
|
|
5
|
+
* for passkeys, its own conversation with the browser, so the client is handed it ready-made.
|
|
6
|
+
*/
|
|
7
|
+
export interface AuthClient {
|
|
8
|
+
requestSignInLink(email: string): Promise<void>;
|
|
9
|
+
/** Resolves once the browser holds a session. Who it is for is then asked of the API. */
|
|
10
|
+
signInWithPasskey(): Promise<unknown>;
|
|
11
|
+
signOut(): Promise<void>;
|
|
12
|
+
/** Makes a passkey for the signed-in person. */
|
|
13
|
+
registerPasskey(name: string): Promise<void>;
|
|
14
|
+
/** The signed-in person's own passkeys. */
|
|
15
|
+
listPasskeys(): Promise<readonly Passkey[]>;
|
|
16
|
+
/** Removes one of the signed-in person's own passkeys. */
|
|
17
|
+
removePasskey(id: string): Promise<void>;
|
|
18
|
+
}
|
|
19
|
+
export interface HttpAdminClientOptions {
|
|
20
|
+
readonly auth: AuthClient;
|
|
21
|
+
/** Where the API is mounted. Defaults to `/api/cms`, on the site the editor is served from. */
|
|
22
|
+
readonly baseUrl?: string;
|
|
23
|
+
/** Defaults to the browser's own `fetch`. */
|
|
24
|
+
readonly fetch?: typeof globalThis.fetch;
|
|
25
|
+
}
|
|
26
|
+
/** The `AdminClient` the editor uses on a real site: each method is one request to `cms-api`. */
|
|
27
|
+
export declare class HttpAdminClient implements AdminClient {
|
|
28
|
+
#private;
|
|
29
|
+
constructor(options: HttpAdminClientOptions);
|
|
30
|
+
getSession(): Promise<SessionUser | null>;
|
|
31
|
+
requestSignInLink(email: string): Promise<void>;
|
|
32
|
+
signInWithPasskey(): Promise<SessionUser>;
|
|
33
|
+
signOut(): Promise<void>;
|
|
34
|
+
listContentTypes(): Promise<readonly ContentTypeDef[]>;
|
|
35
|
+
listArchivedContentTypes(): Promise<readonly ContentTypeDef[]>;
|
|
36
|
+
archiveContentType(id: string): Promise<ContentTypeDef>;
|
|
37
|
+
restoreContentType(id: string): Promise<ContentTypeDef>;
|
|
38
|
+
createContentType(type: NewType): Promise<ContentTypeDef>;
|
|
39
|
+
updateContentType(id: string, changes: ContentTypeChanges): Promise<ContentTypeDef>;
|
|
40
|
+
addField(typeId: string, field: NewTypeField, within?: readonly string[]): Promise<ContentTypeDef>;
|
|
41
|
+
changeField(typeId: string, fieldId: string, changes: FieldChanges, within?: readonly string[]): Promise<ContentTypeDef>;
|
|
42
|
+
removeField(typeId: string, fieldId: string, within?: readonly string[]): Promise<ContentTypeDef>;
|
|
43
|
+
restoreField(typeId: string, fieldId: string, within?: readonly string[]): Promise<ContentTypeDef>;
|
|
44
|
+
arrangeFields(typeId: string, arrangement: FieldArrangement): Promise<ContentTypeDef>;
|
|
45
|
+
setSections(typeId: string, sections: readonly FieldSection[]): Promise<ContentTypeDef>;
|
|
46
|
+
listFieldTypes(): Promise<readonly FieldTypeInfo[]>;
|
|
47
|
+
listImages(): Promise<ImageList>;
|
|
48
|
+
uploadImage(upload: NewUpload): Promise<SiteImage>;
|
|
49
|
+
removeImage(name: string): Promise<void>;
|
|
50
|
+
listEntries(query: EntryListQuery): Promise<Page<Entry>>;
|
|
51
|
+
getEntry(id: string): Promise<Entry>;
|
|
52
|
+
createEntry(entry: NewEntry): Promise<Entry>;
|
|
53
|
+
updateEntry(id: string, changes: EntryChanges): Promise<Entry>;
|
|
54
|
+
publishEntry(id: string, expectedRevision: number): Promise<Entry>;
|
|
55
|
+
unpublishEntry(id: string): Promise<Entry>;
|
|
56
|
+
duplicateEntry(id: string): Promise<Entry>;
|
|
57
|
+
scheduleEntry(id: string, input: {
|
|
58
|
+
readonly at: string;
|
|
59
|
+
readonly expectedRevision: number;
|
|
60
|
+
}): Promise<Entry>;
|
|
61
|
+
unscheduleEntry(id: string): Promise<Entry>;
|
|
62
|
+
entryHistory(id: string): Promise<Revision[]>;
|
|
63
|
+
revertEntry(id: string, input: {
|
|
64
|
+
readonly revision: number;
|
|
65
|
+
readonly expectedRevision: number;
|
|
66
|
+
}): Promise<Entry>;
|
|
67
|
+
trashEntry(id: string): Promise<Entry>;
|
|
68
|
+
restoreEntry(id: string): Promise<Entry>;
|
|
69
|
+
listTrash(query?: TrashQuery): Promise<Page<Entry>>;
|
|
70
|
+
deleteEntry(id: string): Promise<void>;
|
|
71
|
+
listForms(): Promise<readonly FormDef[]>;
|
|
72
|
+
createForm(form: NewForm): Promise<FormDef>;
|
|
73
|
+
updateForm(id: string, changes: FormChanges): Promise<FormDef>;
|
|
74
|
+
trashForm(id: string): Promise<FormDef>;
|
|
75
|
+
restoreForm(id: string): Promise<FormDef>;
|
|
76
|
+
listTrashedForms(): Promise<readonly FormDef[]>;
|
|
77
|
+
deleteForm(id: string): Promise<void>;
|
|
78
|
+
listSubmissions(query: SubmissionListQuery): Promise<Page<Submission>>;
|
|
79
|
+
countSubmissions(formId: string): Promise<SubmissionCounts>;
|
|
80
|
+
markSubmission(id: string, status: SubmissionStatus): Promise<Submission>;
|
|
81
|
+
deleteSubmission(id: string): Promise<void>;
|
|
82
|
+
exportSubmissions(formId: string): Promise<string>;
|
|
83
|
+
forgetSender(email: string): Promise<number>;
|
|
84
|
+
listContacts(query?: ContactListQuery): Promise<Page<Contact>>;
|
|
85
|
+
listDeals(query?: DealListQuery): Promise<Page<Deal>>;
|
|
86
|
+
createDeal(input: NewDeal): Promise<Deal>;
|
|
87
|
+
updateDeal(id: string, changes: DealChanges): Promise<Deal>;
|
|
88
|
+
deleteDeal(id: string): Promise<void>;
|
|
89
|
+
getForecast(): Promise<Forecast>;
|
|
90
|
+
getPipeline(): Promise<Pipeline>;
|
|
91
|
+
savePipeline(changes: PipelineChanges): Promise<Pipeline>;
|
|
92
|
+
getCustomFields(): Promise<CustomFields>;
|
|
93
|
+
saveCustomFields(changes: CustomFieldsChanges): Promise<CustomFields>;
|
|
94
|
+
listTeam(): Promise<readonly TeamMember[]>;
|
|
95
|
+
getContact(id: string): Promise<Contact>;
|
|
96
|
+
createContact(input: NewContact): Promise<Contact>;
|
|
97
|
+
importContacts(rows: readonly ContactImportRow[]): Promise<ContactImportReport>;
|
|
98
|
+
updateContact(id: string, changes: ContactChanges): Promise<Contact>;
|
|
99
|
+
eraseContact(id: string): Promise<number>;
|
|
100
|
+
contactTimeline(id: string): Promise<readonly TimelineItem[]>;
|
|
101
|
+
addContactNote(id: string, text: string): Promise<ContactNote>;
|
|
102
|
+
deleteContactNote(id: string, noteId: string): Promise<void>;
|
|
103
|
+
exportContact(id: string): Promise<string>;
|
|
104
|
+
previewEntry(id: string): Promise<PreviewLink>;
|
|
105
|
+
listPeople(): Promise<readonly Person[]>;
|
|
106
|
+
invitePerson(person: NewPerson): Promise<Person>;
|
|
107
|
+
changePersonRole(id: string, role: Role): Promise<Person>;
|
|
108
|
+
removePerson(id: string): Promise<void>;
|
|
109
|
+
addPasskey(name: string): Promise<void>;
|
|
110
|
+
listPlugins(): Promise<readonly PluginInfo[]>;
|
|
111
|
+
listPluginEditors(): Promise<readonly PluginEditorInfo[]>;
|
|
112
|
+
callPlugin(name: string, method: PluginRouteMethod, path: string, input?: PluginCall): Promise<unknown>;
|
|
113
|
+
setPluginEnabled(name: string, enabled: boolean): Promise<PluginInfo>;
|
|
114
|
+
getPluginSettings(name: string): Promise<PluginSettings>;
|
|
115
|
+
savePluginSettings(name: string, values: EntryData): Promise<PluginSettings>;
|
|
116
|
+
setPluginSecret(name: string, key: string, value: string | null): Promise<PluginSettings>;
|
|
117
|
+
listPluginTasks(name: string): Promise<readonly PluginTask[]>;
|
|
118
|
+
retryPluginTask(name: string, id: string): Promise<PluginTask>;
|
|
119
|
+
listPasskeys(): Promise<readonly Passkey[]>;
|
|
120
|
+
removePasskey(id: string): Promise<void>;
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=http-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-client.d.ts","sourceRoot":"","sources":["../../src/client/http-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,mBAAmB,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAE,KAAK,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,IAAI,EAAE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,KAAK,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,eAAe,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,KAAK,IAAI,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,KAAK,KAAK,EAAE,KAAK,SAAS,EAAE,KAAK,IAAI,EAAE,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,Q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