@baseplate-dev/plugin-auth 0.6.3 → 0.6.4
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/dist/local-auth/core/components/local-auth-definition-editor.d.ts.map +1 -1
- package/dist/local-auth/core/components/local-auth-definition-editor.js +3 -2
- package/dist/local-auth/core/components/local-auth-definition-editor.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js +7 -1
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +3 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +6 -2
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +5 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +5 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts +2 -0
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +4 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +6 -1
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +4 -1
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +37 -4
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +6 -4
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +12 -8
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +5 -2
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +3 -10
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +1 -1
- package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +6 -10
- package/dist/local-auth/core/node.d.ts.map +1 -1
- package/dist/local-auth/core/node.js +6 -2
- package/dist/local-auth/core/node.js.map +1 -1
- package/dist/local-auth/core/schema/plugin-definition.d.ts +1 -0
- package/dist/local-auth/core/schema/plugin-definition.d.ts.map +1 -1
- package/dist/local-auth/core/schema/plugin-definition.js +1 -0
- package/dist/local-auth/core/schema/plugin-definition.js.map +1 -1
- package/dist/web/assets/{__federation_expose_authCoreCommon-CnNoa4tF.js → __federation_expose_authCoreCommon-D8SAyij-.js} +3 -3
- package/dist/web/assets/{__federation_expose_authCoreCommon-CnNoa4tF.js.map → __federation_expose_authCoreCommon-D8SAyij-.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreWeb-BL_U7yuj.js → __federation_expose_authCoreWeb-BSv8GVI2.js} +6 -6
- package/dist/web/assets/{__federation_expose_authCoreWeb-BL_U7yuj.js.map → __federation_expose_authCoreWeb-BSv8GVI2.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_better-authCoreCommon-D-mTcxYO.js → __federation_expose_better-authCoreCommon-BJhkN6zV.js} +3 -3
- package/dist/web/assets/{__federation_expose_better-authCoreCommon-D-mTcxYO.js.map → __federation_expose_better-authCoreCommon-BJhkN6zV.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_better-authCoreWeb-CXHL-Ghf.js → __federation_expose_better-authCoreWeb-2kA00dBg.js} +5 -5
- package/dist/web/assets/{__federation_expose_better-authCoreWeb-CXHL-Ghf.js.map → __federation_expose_better-authCoreWeb-2kA00dBg.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-LIsARRNU.js → __federation_expose_local-authAdminCommon-IuYupUXE.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-LIsARRNU.js.map → __federation_expose_local-authAdminCommon-IuYupUXE.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-DyYUDLm9.js → __federation_expose_local-authAdminWeb-BzhksqwO.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-DyYUDLm9.js.map → __federation_expose_local-authAdminWeb-BzhksqwO.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-p_UbExc7.js → __federation_expose_local-authCoreCommon-DO5xRAoM.js} +3 -3
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-p_UbExc7.js.map → __federation_expose_local-authCoreCommon-DO5xRAoM.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-8TcUJFT6.js → __federation_expose_local-authCoreWeb-QdXa2aao.js} +23 -7
- package/dist/web/assets/__federation_expose_local-authCoreWeb-QdXa2aao.js.map +1 -0
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CtZXaDUc.js → __federation_expose_placeholder-authCoreCommon-hGIPuBy3.js} +3 -3
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CtZXaDUc.js.map → __federation_expose_placeholder-authCoreCommon-hGIPuBy3.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-CZAKokTb.js → __federation_expose_placeholder-authCoreWeb-P4Qq8Zf6.js} +5 -5
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-CZAKokTb.js.map → __federation_expose_placeholder-authCoreWeb-P4Qq8Zf6.js.map} +1 -1
- package/dist/web/assets/{__federation_fn_import-3DENgil8.js → __federation_fn_import-CzLgVaFb.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-3DENgil8.js.map → __federation_fn_import-CzLgVaFb.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-B5bdbzFj.js → web-DA-fkeD5.js} +10 -8
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-DA-fkeD5.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-DCA3vO4J.js → project-builder-lib-zJirGIS1.js} +6 -6
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-zJirGIS1.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-BvL7RO9S.js → ui-components-Ds8y9Suz.js} +7 -7
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-BvL7RO9S.js.map → ui-components-Ds8y9Suz.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-0-N5BG4T.js → utils-DnBM79-7.js} +2 -2
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-0-N5BG4T.js.map → utils-DnBM79-7.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-DSniiJ6U.js → react-router-BoEohCHh.js} +2 -2
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-DSniiJ6U.js.map → react-router-BoEohCHh.js.map} +1 -1
- package/dist/web/assets/{get-auth-plugin-definition-DHcbFujw.js → get-auth-plugin-definition-DM6kosCC.js} +2 -2
- package/dist/web/assets/{get-auth-plugin-definition-DHcbFujw.js.map → get-auth-plugin-definition-DM6kosCC.js.map} +1 -1
- package/dist/web/assets/{index-DQKNnI1w.js → index-EshpyU4T.js} +2 -2
- package/dist/web/assets/{index-DQKNnI1w.js.map → index-EshpyU4T.js.map} +1 -1
- package/dist/web/assets/{index.esm-Dpqxgpya.js → index.esm-CYY7gyrG.js} +2 -2
- package/dist/web/assets/{index.esm-Dpqxgpya.js.map → index.esm-CYY7gyrG.js.map} +1 -1
- package/dist/web/assets/{model-utils-BFX3c3dn.js → model-utils-WWo9T1Zx.js} +30 -2
- package/dist/web/assets/{model-utils-BFX3c3dn.js.map → model-utils-WWo9T1Zx.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-CEQb6mWV.js → plugin-definition-BCrs3YSY.js} +2 -2
- package/dist/web/assets/{plugin-definition-CEQb6mWV.js.map → plugin-definition-BCrs3YSY.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-DrsKbcJc.js → plugin-definition-BwAJGzRn.js} +4 -3
- package/dist/web/assets/plugin-definition-BwAJGzRn.js.map +1 -0
- package/dist/web/assets/{plugin-definition-KEpaSB6p.js → plugin-definition-CqP9VmOQ.js} +2 -2
- package/dist/web/assets/{plugin-definition-KEpaSB6p.js.map → plugin-definition-CqP9VmOQ.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-B86WQ7Ni.js → plugin-definition-y6VVQ5_O.js} +2 -2
- package/dist/web/assets/{plugin-definition-B86WQ7Ni.js.map → plugin-definition-y6VVQ5_O.js.map} +1 -1
- package/dist/web/assets/{react-hu8Hx0R4.js → react-B6Fz4KB7.js} +2 -2
- package/dist/web/assets/{react-hu8Hx0R4.js.map → react-B6Fz4KB7.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +10 -10
- package/dist/web/assets/{styles-CpKtlIgU.js → styles-0yxEwdyo.js} +3 -3
- package/dist/web/assets/{styles-CpKtlIgU.js.map → styles-0yxEwdyo.js.map} +1 -1
- package/package.json +12 -12
- package/dist/web/assets/__federation_expose_local-authCoreWeb-8TcUJFT6.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-B5bdbzFj.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DCA3vO4J.js.map +0 -1
- package/dist/web/assets/plugin-definition-DrsKbcJc.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { importShared } from '../../__federation_fn_import-
|
|
1
|
+
import { importShared } from '../../__federation_fn_import-CzLgVaFb.js';
|
|
2
2
|
import { j as jsxRuntimeExports } from '../../jsx-runtime-XI9uIe3W.js';
|
|
3
|
-
import { F as FeatureUtils, M as ModelUtils, s as withPlaceholderSlots, c as createFieldMapSpec, l as createPluginSpec } from '../../model-utils-
|
|
4
|
-
import { c as create } from '../../react-
|
|
5
|
-
import { u as useFormState, a as useForm } from '../../index.esm-
|
|
3
|
+
import { F as FeatureUtils, M as ModelUtils, s as withPlaceholderSlots, c as createFieldMapSpec, l as createPluginSpec } from '../../model-utils-WWo9T1Zx.js';
|
|
4
|
+
import { c as create } from '../../react-B6Fz4KB7.js';
|
|
5
|
+
import { u as useFormState, a as useForm } from '../../index.esm-CYY7gyrG.js';
|
|
6
6
|
import { A as isEqual } from '../../isEqual-tnzoadW8.js';
|
|
7
7
|
|
|
8
8
|
const {Alert,AlertDescription,AlertTitle,Badge,Button,Dialog,DialogContent,DialogHeader,DialogTitle,DialogTrigger,JsonDiffViewer} = await importShared('@baseplate-dev/ui-components');
|
|
@@ -38,17 +38,19 @@ const {ComboboxField: ComboboxField$1,useControllerMerged: useControllerMerged$1
|
|
|
38
38
|
const {useMemo: useMemo$2,useState: useState$1} = await importShared('react');
|
|
39
39
|
function createCreateOption$1(value) {
|
|
40
40
|
return {
|
|
41
|
-
label:
|
|
41
|
+
label: value,
|
|
42
42
|
value,
|
|
43
|
+
isCreate: true,
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
function FeatureComboboxField({ canCreate, value, ...rest }) {
|
|
46
47
|
const { definition } = useProjectDefinition();
|
|
47
|
-
const [searchQuery, setSearchQuery] = useState$1('');
|
|
48
|
+
const [searchQuery, setSearchQuery] = useState$1(value ? FeatureUtils.getFeatureById(definition, value)?.name : '');
|
|
48
49
|
const featureOptions = useMemo$2(() => {
|
|
49
50
|
const baseFeatures = definition.features.map((feature) => ({
|
|
50
51
|
label: feature.name,
|
|
51
52
|
value: feature.id,
|
|
53
|
+
isCreate: false,
|
|
52
54
|
}));
|
|
53
55
|
if (!canCreate)
|
|
54
56
|
return baseFeatures;
|
|
@@ -60,7 +62,7 @@ function FeatureComboboxField({ canCreate, value, ...rest }) {
|
|
|
60
62
|
? [...baseFeatures, createCreateOption$1(newFeatureName)]
|
|
61
63
|
: baseFeatures;
|
|
62
64
|
}, [definition.features, searchQuery, value, canCreate]);
|
|
63
|
-
return (jsxRuntimeExports.jsx(ComboboxField$1, { placeholder: "Select a feature", ...rest,
|
|
65
|
+
return (jsxRuntimeExports.jsx(ComboboxField$1, { placeholder: "Select a feature", ...rest, inputValue: searchQuery, onInputValueChange: setSearchQuery, options: featureOptions, value: value, renderItemLabel: (item) => item.isCreate ? `Create "${item.label}"` : item.label }));
|
|
64
66
|
}
|
|
65
67
|
function FeatureComboboxFieldController({ name, control, ...rest }) {
|
|
66
68
|
const { field, fieldState: { error }, } = useControllerMerged$1({ name, control }, rest);
|
|
@@ -354,4 +356,4 @@ function setUndefinedIfEmpty(value) {
|
|
|
354
356
|
}
|
|
355
357
|
|
|
356
358
|
export { DefinitionDiffAlert, ErrorHandlerContext, FeatureComboboxField, FeatureComboboxFieldController, ModelComboboxField, ModelComboboxFieldController, ProjectDefinitionContext, adminCrudActionWebSpec, adminCrudColumnWebSpec, adminCrudInputWebSpec, createAdminCrudActionWebConfig, createAdminCrudColumnWebConfig, createAdminCrudInputWebConfig, createModelTransformerWebConfig, entityTypeUrlWebSpec, modelTransformerWebSpec, setUndefinedIfEmpty, useBlockBeforeContinue, useBlockDirtyFormNavigate, useBlockUnsavedChangesNavigate, useBlockerDialog, useBlockerDialogState, useDefinitionSchema, useErrorHandler, useProjectDefinition, useResettableForm };
|
|
357
|
-
//# sourceMappingURL=web-
|
|
359
|
+
//# sourceMappingURL=web-DA-fkeD5.js.map
|
package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-DA-fkeD5.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-DA-fkeD5.js","sources":["../../../../../../../packages/project-builder-lib/dist/web/components/definition-diff-alert.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-project-definition.js","../../../../../../../packages/project-builder-lib/dist/web/components/feature-combobox-field.js","../../../../../../../packages/project-builder-lib/dist/web/components/model-combobox-field.js","../../../../../../../packages/project-builder-lib/dist/web/contexts/error-handler.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-blocker-dialog.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-block-dirty-form-navigate.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-block-unsaved-changes-navigate.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-definition-schema.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-error-handler.js","../../../../../../../packages/project-builder-lib/dist/web/hooks/use-resettable-form.js","../../../../../../../packages/project-builder-lib/dist/web/specs/admin-crud-action-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/specs/admin-crud-column-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/specs/admin-crud-input-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/specs/entity-type-url-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/specs/model-transformer-web-spec.js","../../../../../../../packages/project-builder-lib/dist/web/utils/form.js"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Alert, AlertDescription, AlertTitle, Badge, Button, Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger, JsonDiffViewer, } from '@baseplate-dev/ui-components';\nconst CHANGE_TYPE_BADGE_VARIANT = {\n added: 'default',\n updated: 'secondary',\n removed: 'destructive',\n};\nfunction DefinitionDiffEntryRow({ entry, }) {\n return (_jsxs(\"div\", { className: \"flex w-full items-center justify-between rounded-md px-3 py-2 text-sm\", children: [_jsx(\"span\", { className: \"font-medium\", children: entry.label }), _jsxs(\"div\", { className: \"flex items-center gap-2\", children: [_jsx(Badge, { variant: CHANGE_TYPE_BADGE_VARIANT[entry.type], children: entry.type }), _jsxs(Dialog, { children: [_jsx(DialogTrigger, { render: _jsx(Button, { variant: \"ghost\", size: \"sm\" }), children: \"Details\" }), _jsxs(DialogContent, { width: \"xl\", children: [_jsx(DialogHeader, { children: _jsxs(DialogTitle, { children: [entry.label, \" \\u2014 \", entry.type] }) }), _jsx(\"div\", { className: \"max-h-[60vh] overflow-auto\", children: entry.type === 'added' ? (_jsx(\"pre\", { className: \"text-xs whitespace-pre-wrap\", children: JSON.stringify(entry.merged, null, 2) })) : entry.type === 'removed' ? (_jsx(\"pre\", { className: \"text-xs whitespace-pre-wrap\", children: JSON.stringify(entry.current, null, 2) })) : (_jsx(JsonDiffViewer, { oldValue: entry.current, newValue: entry.merged })) })] })] })] })] }));\n}\nexport function DefinitionDiffAlert({ diff, upToDateMessage = 'All changes are up to date. No changes needed.', }) {\n if (!diff.hasChanges) {\n return (_jsxs(Alert, { variant: \"default\", children: [_jsx(AlertTitle, { children: \"Up to Date\" }), _jsx(AlertDescription, { children: upToDateMessage })] }));\n }\n return (_jsxs(\"div\", { className: \"space-y-4\", children: [_jsxs(Alert, { variant: \"warning\", children: [_jsx(AlertTitle, { children: \"Pending Changes\" }), _jsx(AlertDescription, { children: \"The following changes will be applied when you save:\" })] }), _jsx(\"div\", { className: \"space-y-1\", children: diff.entries.map((entry) => (_jsx(DefinitionDiffEntryRow, { entry: entry }, `${entry.path}-${entry.label}`))) })] }));\n}\n//# sourceMappingURL=definition-diff-alert.js.map","import React from 'react';\nexport const ProjectDefinitionContext = React.createContext(null);\nexport function useProjectDefinition() {\n const result = React.useContext(ProjectDefinitionContext);\n if (!result) {\n throw new Error(`useProjectDefinition must be used within a <ProjectDefinitionProvider>`);\n }\n return result;\n}\n//# sourceMappingURL=use-project-definition.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { ComboboxField, useControllerMerged, } from '@baseplate-dev/ui-components';\nimport { useMemo, useState } from 'react';\nimport { FeatureUtils } from '#src/definition/index.js';\nimport { useProjectDefinition } from '../hooks/use-project-definition.js';\nfunction createCreateOption(value) {\n return {\n label: value,\n value,\n isCreate: true,\n };\n}\nfunction FeatureComboboxField({ canCreate, value, ...rest }) {\n const { definition } = useProjectDefinition();\n const [searchQuery, setSearchQuery] = useState(value ? FeatureUtils.getFeatureById(definition, value)?.name : '');\n const featureOptions = useMemo(() => {\n const baseFeatures = definition.features.map((feature) => ({\n label: feature.name,\n value: feature.id,\n isCreate: false,\n }));\n if (!canCreate)\n return baseFeatures;\n const newFeatureName = searchQuery ? searchQuery : value;\n const doesNewFeatureExist = baseFeatures.some((option) => option.label === newFeatureName || option.value === newFeatureName);\n return !doesNewFeatureExist &&\n newFeatureName &&\n FeatureUtils.validateFeatureName(newFeatureName)\n ? [...baseFeatures, createCreateOption(newFeatureName)]\n : baseFeatures;\n }, [definition.features, searchQuery, value, canCreate]);\n return (_jsx(ComboboxField, { placeholder: \"Select a feature\", ...rest, inputValue: searchQuery, onInputValueChange: setSearchQuery, options: featureOptions, value: value, renderItemLabel: (item) => item.isCreate ? `Create \"${item.label}\"` : item.label }));\n}\nfunction FeatureComboboxFieldController({ name, control, ...rest }) {\n const { field, fieldState: { error }, } = useControllerMerged({ name, control }, rest);\n const restProps = rest;\n return (_jsx(FeatureComboboxField, { error: error?.message, ...restProps, ...field, value: field.value ?? null }));\n}\nexport { FeatureComboboxField, FeatureComboboxFieldController };\n//# sourceMappingURL=feature-combobox-field.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { ComboboxField, useControllerMerged, } from '@baseplate-dev/ui-components';\nimport { useMemo, useState } from 'react';\nimport { ModelUtils } from '#src/definition/index.js';\nimport { useProjectDefinition } from '../hooks/use-project-definition.js';\nfunction createCreateOption(value) {\n return {\n label: `Create \"${value}\"`,\n value,\n };\n}\nfunction ModelComboboxField({ canCreate, value, ...rest }) {\n const { definition } = useProjectDefinition();\n const [searchQuery, setSearchQuery] = useState('');\n const modelOptions = useMemo(() => {\n const baseModels = definition.models.map((model) => ({\n label: model.name,\n value: model.id,\n }));\n if (!canCreate)\n return baseModels;\n const newModelName = searchQuery ? searchQuery : value;\n const doesNewModelExist = baseModels.some((option) => option.label === newModelName || option.value === newModelName);\n return !doesNewModelExist &&\n newModelName &&\n ModelUtils.validateModelName(newModelName)\n ? [...baseModels, createCreateOption(newModelName)]\n : baseModels;\n }, [definition.models, searchQuery, value, canCreate]);\n return (_jsx(ComboboxField, { placeholder: \"Select a model\", ...rest, onInputValueChange: canCreate ? setSearchQuery : undefined, options: modelOptions, value: value }));\n}\nfunction ModelComboboxFieldController({ name, control, ...rest }) {\n const { field, fieldState: { error }, } = useControllerMerged({ name, control }, rest);\n const restProps = rest;\n return (_jsx(ModelComboboxField, { error: error?.message, ...restProps, ...field, value: field.value ?? null }));\n}\nexport { ModelComboboxField, ModelComboboxFieldController };\n//# sourceMappingURL=model-combobox-field.js.map","import { createContext } from 'react';\nexport const ErrorHandlerContext = createContext(null);\n//# sourceMappingURL=error-handler.js.map","import { useEffect, useId } from 'react';\nimport { create } from 'zustand';\nexport const useBlockerDialogState = create((set) => ({\n activeBlockers: [],\n addBlocker: (options) => {\n set((state) => ({\n activeBlockers: [...state.activeBlockers, options],\n }));\n },\n removeBlocker: (id) => {\n set((state) => ({\n activeBlockers: state.activeBlockers.filter((blocker) => blocker.id !== id),\n }));\n },\n requestedBlockers: [],\n requestBlocker(options) {\n set((state) => ({\n requestedBlockers: [...state.requestedBlockers, options],\n }));\n },\n clearRequestedBlockers: () => {\n set(() => ({\n requestedBlockers: [],\n }));\n },\n}));\nexport function useBlockBeforeContinue() {\n const hasActiveBlockers = useBlockerDialogState((state) => state.activeBlockers.length > 0);\n const clearRequestedBlockers = useBlockerDialogState((state) => state.clearRequestedBlockers);\n // make sure we clear any blocker requests if we navigate away\n useEffect(() => () => {\n clearRequestedBlockers();\n }, [clearRequestedBlockers]);\n const requestBlocker = useBlockerDialogState((state) => state.requestBlocker);\n // if no blockers, continue immediately\n if (!hasActiveBlockers) {\n return ({ onContinue }) => {\n onContinue();\n };\n }\n return requestBlocker;\n}\nexport function useBlockerDialog(options) {\n const id = useId();\n const addBlocker = useBlockerDialogState((state) => state.addBlocker);\n const removeBlocker = useBlockerDialogState((state) => state.removeBlocker);\n useEffect(() => {\n if (options.disableBlock) {\n return;\n }\n addBlocker({\n disableBlock: options.disableBlock,\n title: options.title,\n content: options.content,\n buttonContinueWithoutSaveText: options.buttonContinueWithoutSaveText,\n onContinueWithoutSave: options.onContinueWithoutSave,\n buttonContinueText: options.buttonContinueText,\n onContinue: options.onContinue,\n id,\n });\n return () => {\n removeBlocker(id);\n };\n }, [\n addBlocker,\n removeBlocker,\n options.disableBlock,\n options.buttonContinueWithoutSaveText,\n options.onContinueWithoutSave,\n options.buttonContinueText,\n options.content,\n options.title,\n options.onContinue,\n id,\n ]);\n}\n//# sourceMappingURL=use-blocker-dialog.js.map","import { useBlockerDialog } from './use-blocker-dialog.js';\nexport function useBlockDirtyFormNavigate(formState, reset) {\n useBlockerDialog({\n disableBlock: !formState.isDirty,\n title: 'Unsaved Changes',\n content: 'You have unsaved changes. Are you sure you want to continue?',\n buttonContinueText: 'Discard Changes',\n onContinue: () => {\n reset();\n return true;\n },\n });\n}\n//# sourceMappingURL=use-block-dirty-form-navigate.js.map","import { toast } from '@baseplate-dev/ui-components';\nimport { flattenObject } from 'es-toolkit';\nimport { useEffect, useRef } from 'react';\nimport { useFormState } from 'react-hook-form';\nimport { useBlockerDialog } from './use-blocker-dialog.js';\nexport function useBlockUnsavedChangesNavigate({ control, reset, onSubmit, }) {\n const isDirtyRef = useRef(false);\n const formState = useFormState({ control });\n isDirtyRef.current = formState.isDirty;\n if (import.meta.env.DEV) {\n // eslint-disable-next-line react-hooks/rules-of-hooks -- only want to run this check in dev mode for performance/usability reasons\n useEffect(() => {\n if (Object.keys(formState.dirtyFields).length === 0 &&\n formState.isDirty) {\n // a bit of a hack to figure out what the issue is but OK since we only do this in dev mode\n const { _formValues, _defaultValues } = control;\n const formValueKeys = Object.keys(flattenObject(_formValues));\n const defaultValueKeys = Object.keys(flattenObject(_defaultValues));\n const missingKeys = formValueKeys.filter((key) => !defaultValueKeys.includes(key));\n toast.error(`Form is dirty but no fields are marked as dirty. This implies that there is likely a field ` +\n `is controlled but not set in defaultValues. This can be fixed by setting the default value to the field. ` +\n `Note: You will only see this error if you are running the app in dev mode. ` +\n `Missing fields: ${missingKeys.join(', ')}`);\n }\n }, [formState.dirtyFields, formState.isDirty, control]);\n }\n useBlockerDialog({\n disableBlock: !formState.isDirty,\n title: 'Unsaved Changes',\n content: 'You have unsaved changes. Do you want to save your changes?',\n buttonContinueWithoutSaveText: 'Discard Changes',\n onContinueWithoutSave: () => {\n reset();\n return true;\n },\n buttonContinueText: 'Save',\n onContinue: async () => {\n await onSubmit();\n // a bit of a hack to make sure we get the latest form state before continuing\n // there's not an easy way of figuring out if the submission was successful or not\n // so we wait for a React re-render and then check if the form is still dirty\n await new Promise((resolve) => setTimeout(resolve, 1));\n return !isDirtyRef.current;\n },\n });\n}\n//# sourceMappingURL=use-block-unsaved-changes-navigate.js.map","import { useMemo } from 'react';\nimport { withPlaceholderSlots } from '#src/schema/index.js';\nimport { useProjectDefinition } from './use-project-definition.js';\nexport function useDefinitionSchema(schemaCreator) {\n const { definitionSchemaParserContext } = useProjectDefinition();\n return useMemo(() => {\n if ('slotDefinition' in schemaCreator) {\n return withPlaceholderSlots(schemaCreator)(definitionSchemaParserContext);\n }\n return schemaCreator(definitionSchemaParserContext);\n }, [definitionSchemaParserContext, schemaCreator]);\n}\n//# sourceMappingURL=use-definition-schema.js.map","import { useContext } from 'react';\nimport { ErrorHandlerContext } from '../contexts/error-handler.js';\nexport function useErrorHandler() {\n const context = useContext(ErrorHandlerContext);\n if (!context) {\n throw new Error('useErrorHandler must be used within an ErrorHandlerContext');\n }\n return context;\n}\n//# sourceMappingURL=use-error-handler.js.map","import { toast } from '@baseplate-dev/ui-components';\nimport { isEqual } from 'es-toolkit';\nimport { useEffect, useRef } from 'react';\nimport { useForm } from 'react-hook-form';\nimport { useProjectDefinition } from './use-project-definition.js';\nexport function useResettableForm(props) {\n const formProps = useForm(props);\n const { reset, formState } = formProps;\n const { isDirty } = formState;\n const { updatedExternally } = useProjectDefinition();\n const oldValues = useRef(undefined);\n useEffect(() => {\n if (oldValues.current &&\n !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) {\n reset(props?.defaultValues);\n if (isDirty && updatedExternally) {\n toast.warning('Contents were updated externally so form was reset!');\n }\n }\n if (!oldValues.current ||\n !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) {\n oldValues.current = {\n oldDefaultValues: props?.defaultValues,\n };\n }\n }, [props?.defaultValues, reset, updatedExternally, isDirty]);\n return formProps;\n}\n//# sourceMappingURL=use-resettable-form.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\nexport function createAdminCrudActionWebConfig(config) {\n return config;\n}\n/**\n * Spec for registering admin CRUD action web configs\n */\nexport const adminCrudActionWebSpec = createFieldMapSpec('core/admin-crud-action-web', (t) => ({\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- plugins register varying action types at runtime\n actions: t.namedArrayToMap(),\n}));\n//# sourceMappingURL=admin-crud-action-web-spec.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\nexport function createAdminCrudColumnWebConfig(config) {\n return config;\n}\n/**\n * Spec for registering admin CRUD column web configs\n */\nexport const adminCrudColumnWebSpec = createFieldMapSpec('core/admin-crud-column-web', (t) => ({\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- plugins register varying column types at runtime\n columns: t.namedArrayToMap(),\n}));\n//# sourceMappingURL=admin-crud-column-web-spec.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\nexport function createAdminCrudInputWebConfig(config) {\n return config;\n}\n/**\n * Spec for registering admin CRUD input web configs\n */\nexport const adminCrudInputWebSpec = createFieldMapSpec('core/admin-crud-input-web', (t) => ({\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- plugins register varying input types at runtime\n inputs: t.namedArrayToMap(),\n}));\n//# sourceMappingURL=admin-crud-input-web-spec.js.map","import { createPluginSpec } from '#src/plugins/spec/types.js';\n/**\n * Spec for registering navigation builder functions for definition entity types.\n *\n * Use `register(entityType, builder)` during initialization. If the entity type\n * has a parent (THasParent = true), parentId and parentKey are required strings\n * in the builder's params. grandparentId/grandparentKey are always optional and\n * available for grandchild entity types.\n *\n * After initialization, use `getNavBuilder(entityType)` to retrieve the builder.\n */\nexport const entityTypeUrlWebSpec = createPluginSpec('core/entity-type-url-web', {\n initializer: () => {\n const builders = new Map();\n return {\n init: {\n register: (entityType, builder) => {\n builders.set(entityType.name, builder);\n },\n },\n use: () => ({\n getNavBuilder: (entityType) => builders.get(entityType.name),\n }),\n };\n },\n});\n//# sourceMappingURL=entity-type-url-web-spec.js.map","import { createFieldMapSpec } from '#src/plugins/utils/create-field-map-spec.js';\nexport function createModelTransformerWebConfig(config) {\n return config;\n}\n/**\n * Spec for adding web config for transformers\n */\nexport const modelTransformerWebSpec = createFieldMapSpec('core/model-transformer-web', (t) => ({\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- plugins register varying transformer types at runtime\n transformers: t.namedArrayToMap(),\n}), {\n use: (values) => ({\n getWebConfigOrThrow(name) {\n const transformer = values.transformers.get(name);\n if (!transformer) {\n throw new Error(`Transformer ${name} not found`);\n }\n return transformer;\n },\n getWebConfigs: () => [...values.transformers.values()],\n }),\n});\n//# sourceMappingURL=model-transformer-web-spec.js.map","export function setUndefinedIfEmpty(value) {\n if (value === '')\n return undefined;\n return value;\n}\n//# sourceMappingURL=form.js.map"],"names":["_jsxs","_jsx","ComboboxField","useControllerMerged","useMemo","useState","createCreateOption","useEffect","toast","useRef"],"mappings":";;;;;;;AACA,MAAA,CAAA,KAAA,CAAA,gBAAA,CAAA,UAAA,CAAA,KAAA,CAAA,MAAA,CAAA,MAAA,CAAA,aAAA,CAAA,YAAA,CAAA,WAAA,CAAA,aAAA,CAAA,cAAA,CAAA,GAAA,MAAA,YAAA,CAAA,8BAAA,CAAA;;AACA,MAAM,yBAAyB,GAAG;AAClC,IAAI,KAAK,EAAE,SAAS;AACpB,IAAI,OAAO,EAAE,WAAW;AACxB,IAAI,OAAO,EAAE,aAAa;AAC1B,CAAC;AACD,SAAS,sBAAsB,CAAC,EAAE,KAAK,GAAG,EAAE;AAC5C,IAAI,QAAQA,sBAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,uEAAuE,EAAE,QAAQ,EAAE,CAACC,qBAAI,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,EAAED,sBAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,yBAAyB,EAAE,QAAQ,EAAE,CAACC,qBAAI,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,yBAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,EAAED,sBAAK,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,CAACC,qBAAI,CAAC,aAAa,EAAE,EAAE,MAAM,EAAEA,qBAAI,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAA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Registry, f as definitionSchema, g as featureEntityType, w as withDefault, r as runInPluginContext, h as createFeaturesSchema, M as ModelUtils, i as createDefinitionSchemaParserContext } from '../model-utils-
|
|
2
|
-
export { D as DefinitionEntityType, F as FeatureUtils, j as createFeatureSchema, k as createPluginFieldMap, l as createPluginSpec, m as createRefContextSlot, n as createRefContextSlotMap, o as featureNameSchema, p as getPluginContext, q as withEnt, s as withPlaceholderSlots, t as withRef } from '../model-utils-
|
|
1
|
+
import { c as createFieldMapSpec, a as createEntityType, d as definitionSchemaWithSlots, b as definitionRefRegistry, e as definitionDefaultRegistry, f as definitionSchema, g as featureEntityType, w as withDefault, r as runInPluginContext, h as createFeaturesSchema, M as ModelUtils, i as createDefinitionSchemaParserContext } from '../model-utils-WWo9T1Zx.js';
|
|
2
|
+
export { D as DefinitionEntityType, F as FeatureUtils, j as createFeatureSchema, k as createPluginFieldMap, l as createPluginSpec, m as createRefContextSlot, n as createRefContextSlotMap, o as featureNameSchema, p as getPluginContext, q as withEnt, s as withPlaceholderSlots, t as withRef } from '../model-utils-WWo9T1Zx.js';
|
|
3
3
|
import { g as getSymbols, a as getTag, u as uint32ArrayTag, b as uint16ArrayTag, c as uint8ClampedArrayTag, d as uint8ArrayTag, s as symbolTag, e as stringTag, f as setTag, r as regexpTag, o as objectTag, n as numberTag, m as mapTag, i as int32ArrayTag, h as int16ArrayTag, j as int8ArrayTag, k as float64ArrayTag, l as float32ArrayTag, p as dateTag, q as booleanTag, t as dataViewTag, v as arrayBufferTag, w as arrayTag, x as argumentsTag, y as isPlainObject$1, z as isEqualsSameValueZero, A as isEqual } from '../isEqual-tnzoadW8.js';
|
|
4
|
-
import { importShared } from '../__federation_fn_import-
|
|
4
|
+
import { importShared } from '../__federation_fn_import-CzLgVaFb.js';
|
|
5
5
|
import { m as mergeWith, i as isUnsafeProperty, s as sortBy } from '../mergeWith-VagwCqUi.js';
|
|
6
6
|
|
|
7
7
|
const adminCrudActionCompilerSpec = createFieldMapSpec('core/admin-crud-action-compiler', (t) => ({
|
|
@@ -11145,7 +11145,7 @@ const createModelScalarFieldSchema = definitionSchemaWithSlots({ modelSlot: mode
|
|
|
11145
11145
|
isOptional: z$q.boolean().default(false),
|
|
11146
11146
|
};
|
|
11147
11147
|
const defaultOptionsSchema = z$q
|
|
11148
|
-
.object({ default: z$q.string().
|
|
11148
|
+
.object({ default: z$q.string().default('') })
|
|
11149
11149
|
.default({ default: '' });
|
|
11150
11150
|
const union = z$q.discriminatedUnion('type', [
|
|
11151
11151
|
z$q.object({
|
|
@@ -11158,7 +11158,7 @@ const createModelScalarFieldSchema = definitionSchemaWithSlots({ modelSlot: mode
|
|
|
11158
11158
|
type: z$q.literal('uuid'),
|
|
11159
11159
|
options: z$q
|
|
11160
11160
|
.object({
|
|
11161
|
-
default: z$q.string().
|
|
11161
|
+
default: z$q.string().default(''),
|
|
11162
11162
|
genUuid: z$q.boolean().optional(),
|
|
11163
11163
|
})
|
|
11164
11164
|
.default({ default: '' }),
|
|
@@ -21475,4 +21475,4 @@ function generateDefaultTheme() {
|
|
|
21475
21475
|
}
|
|
21476
21476
|
|
|
21477
21477
|
export { AVAILABLE_FLAGS, AppUtils, AuthorizerExpressionParseError, AuthorizerExpressionParser, BUILT_IN_ADMIN_CRUD_ACTIONS, BUILT_IN_ADMIN_CRUD_COLUMNS, BUILT_IN_ADMIN_CRUD_INPUTS, BUILT_IN_TRANSFORMERS, COLOR_PALETTES, DEFAULT_APPS_FOLDER, DEFAULT_LIBRARIES_FOLDER, DefinitionDiffArrayIncludesField, DefinitionDiffKeyedArrayField, DefinitionDiffReplacementField, EnumUtils, FIXED_COLOR_MAPPINGS, LibraryCompiler, LibraryUtils, ModelFieldUtils, ModelTransformerUtils, ModelUtils, PALETTE_SHADES, PackageCompiler, PluginSpecStore, PluginUtils, ProjectDefinitionContainer, REFERENTIAL_ACTIONS, RefExpressionParser, SCALAR_FIELD_TYPES, SCHEMA_MIGRATIONS, SchemaMigrationError, THEME_COLORS, THEME_COLOR_KEYS, VALIDATORS, adminCrudActionCompilerSpec, adminCrudActionEntityType, adminCrudActionSpec, adminCrudColumnCompilerSpec, adminCrudColumnEntityType, adminCrudColumnSpec, adminCrudEmbeddedFormEntityType, adminCrudEmbeddedInputType, adminCrudEmbeddedLocalInputType, adminCrudInputCompilerSpec, adminCrudInputEntityType, adminCrudInputSpec, adminCrudSectionColumnEntityType, adminSectionEntityType, appCompilerSpec, appEntityType, applyDefinitionDiff, applyDefinitionFixes, applyMergedDefinition, authConfigSpec, authModelsSpec, authRoleEntityType, authorizerExpressionParser, backendAppEntryType, baseAdminCrudActionSchema, baseAdminCrudColumnSchema, baseAdminCrudInputSchema, baseAppSchema, baseAppValidators, baseLibrarySchema, baseLibraryValidators, basePluginDefinitionSchema, baseTransformerFields, baseTransformerSchema, buildPackageName, buildRelationValidationInfo, checkUniqueField, cleanDefaultValues, collectDefinitionIssues, collectEntityArrays, collectEntityMetadata, collectExpressionIssues, collectFieldIssues, convertColorNameToOklch, convertHexToOklch, convertOklchToColorName, convertOklchToHex, createAdminAppSchema, createAdminCrudActionSchema, createAdminCrudActionType, createAdminCrudColumnCompiler, createAdminCrudColumnSchema, createAdminCrudColumnType, createAdminCrudDeleteActionSchema, createAdminCrudEditActionSchema, createAdminCrudEmbeddedFormSchema, createAdminCrudEmbeddedInputSchema, createAdminCrudEmbeddedLocalInputSchema, createAdminCrudEnumInputSchema, createAdminCrudForeignColumnSchema, createAdminCrudForeignInputSchema, createAdminCrudInputSchema, createAdminCrudInputType, createAdminCrudPasswordInputSchema, createAdminCrudSectionSchema, createAdminCrudTextColumnSchema, createAdminCrudTextInputSchema, createAppCompiler, createAppEntryType, createAppSchema, createAuthorizerRoleSchema, createBackendAppSchema, createBaseAdminSectionValidators, createDefinitionDiff, createDefinitionDiffConfig, createDefinitionEntityNameResolver, createDefinitionSchemaParserContext, createEmbeddedRelationTransformerSchema, createEntity, createEntityIssue, createEntityType, createEnumBaseSchema, createEnumSchema, createEnumValueSchema, createFeaturesSchema, createFieldMapSpec, createIssueFixSetter, createLibraryWebConfig, createModelAuthorizerSchema, createModelBaseSchema, createModelGraphqlSchema, createModelIndexSchema, createModelRelationFieldSchema, createModelScalarFieldSchema, createModelSchema, createModelServiceSchema, createModelTransformerType, createModelUniqueConstraintSchema, createModelValidationContext, createPluginImplementationStoreWithNewPlugins, createPluginModule, createPluginSpecStore, createPluginWithConfigSchema, createPluginsSchema, createProjectDefinitionSchema, createProjectDefinitionSchemaWithContext, createRefSchemaCollector, createRefSchemaVisitor, createSettingsSchema, createTemplateExtractorSchema, createThemeSchema, createTransformerSchema, createWebAdminSectionSchema, createWebAppSchema, definitionFieldIssueRegistry, definitionFixRegistry, definitionIssueCheckerSpec, definitionRefRegistry, definitionSchema, definitionSchemaWithSlots, deleteEntity, deserializeSchemaWithTransformedReferences, diffDefinition, diffSerializedDefinitions, extractDefinitionRefs, featureEntityType, findDiscriminatedUnionMatch, fixRefDeletions, generalSettingsSchema, generateCssFromThemeConfig, generateDefaultTheme, generateThemeColorsFromShade, getBackendRelativePath, getDefaultThemeColorFromShade, getEntity, getEntityName, getLatestMigrationVersion, getManagedPluginsForPlugin, getMergeRule, getPackageDirectory, getPluginMetadataByKey, getPluginMetadataByKeyOrThrow, infrastructureSettingsSchema, initializePlugins, isMigrateableProjectDefinition, libraryEntityType, libraryTypeSpec, listEntities, mergeDataWithSchema, mergeDefinition, mergeDefinitionContainer, modelAuthorizerRoleEntityType, modelEntityType, modelEnumEntityType, modelEnumValueEntityType, modelForeignRelationEntityType, modelIndexEntityType, modelLocalRelationEntityType, modelScalarFieldEntityType, modelTransformerCompilerSpec, modelTransformerEntityType, modelTransformerSpec, modelUniqueConstraintEntityType, monorepoSettingsSchema, nodeLibraryDefinitionSchemaEntry, oklchColor, paletteSchema, palettesSchema, parseAuthorizerExpression, parseOklch, parseProjectDefinitionWithContext, parseProjectDefinitionWithReferences, partitionIssuesBySeverity, pluginAppCompiler, pluginConfigSpec, pluginEntityType, pluginMetadataSchema, pluginSpecDependencySchema, pluginSpecSupportSchema, resolveIssuePath, runInPluginContext, runPluginMigrations, runSchemaMigrations, serializeSchema, serializeSchemaFromRefPayload, stripEmptyGeneratorChildren, stripUndefinedValues, themeColorSchema, transformDataWithSchema, undefinedIfEmpty, undefinedIfFalsy, updateEntity, validateAuthorizerExpression, walkDataWithSchema, webAppEntryType, webConfigSpec, withByKeyMergeRule, withDefault, withFix, withIssueChecker, withMergeRule };
|
|
21478
|
-
//# sourceMappingURL=project-builder-lib-
|
|
21478
|
+
//# sourceMappingURL=project-builder-lib-zJirGIS1.js.map
|