@nextlyhq/plugin-sdk 0.0.2-alpha.66 → 0.0.2-alpha.67
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/README.md +3 -2
- package/dist/admin.d.ts +4 -2
- package/dist/admin.mjs +1 -1
- package/dist/db.d.ts +1 -0
- package/dist/db.mjs +3 -0
- package/dist/db.mjs.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/schema.d.ts +1 -0
- package/dist/schema.mjs +3 -0
- package/dist/schema.mjs.map +1 -0
- package/package.json +20 -10
package/README.md
CHANGED
|
@@ -101,7 +101,8 @@ export default defineConfig({
|
|
|
101
101
|
plus imperative **`setup` → `init` → `destroy`** lifecycle functions. All plugins'
|
|
102
102
|
`setup`s run before any `init`; load order is a topological sort over `dependsOn`.
|
|
103
103
|
- **`ctx` (in `init`/`destroy`)** gives you: `services` (managed, secure-by-default
|
|
104
|
-
data access — pass `{ as: "system" }` to elevate), `db` (
|
|
104
|
+
data access — pass `{ as: "system" }` to elevate), `db` (typed, owner-checked access to your own tables;
|
|
105
|
+
`db.raw` is the Drizzle builder),
|
|
105
106
|
`hooks` (in-transaction, modify/abort), `events` (post-commit, observe-only),
|
|
106
107
|
`filters`/`actions` (typed seams), `self` (your entities' resolved slugs after any
|
|
107
108
|
host `.rename()`), `logger`, `config`, and `nextlyVersion`.
|
|
@@ -121,7 +122,7 @@ The authoritative ledger of what is `@public` (stable) vs `@experimental` lives
|
|
|
121
122
|
(menu/pages/views), `ctx.events` + the event-name constants, the collection
|
|
122
123
|
`HookContext`, and `@nextlyhq/plugin-sdk/testing`. Breaking a `@public` export
|
|
123
124
|
requires a Nextly **major** (D40).
|
|
124
|
-
- **Still `@experimental`** —
|
|
125
|
+
- **Still `@experimental`** — `ctx.db` (typed) and its `ctx.db.raw` escape hatch, `ctx.hooks` plugin
|
|
125
126
|
registration, filters/actions (D63), `secret()`, `useCan`/`<Can>`, and admin
|
|
126
127
|
dashboard widgets (D22). No compatibility guarantee yet — each graduates once a
|
|
127
128
|
first-party plugin exercises it (D55).
|
package/dist/admin.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export { AdminChromeLayer, ApiError, AutosaveStatus, BulkAction, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardProps, CardTitle, CellContext, CellRenderer, CellRendererDefinition, Checkbox, ColumnProvider, ColumnTransform, ComponentPath, ConditionOperatorName, ConditionRange, ConditionRow, ConditionRowProps, ConditionSource, ConditionSourceOption, ConditionValue, CustomEditViewProps, DataTable, DataTableContext, DataTableProps, DataTableSelection, DataTableTarget, DataTableView, DataTableViewProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocumentIdentity, DocumentLocale, DocumentLockGates, DocumentStatus, EDITABLE_VALIDATION_RULES, FieldDefaultOption, FieldDefaultValueInput, FieldDefaultValueInputProps, FieldOption, FieldOptionsEditor, FieldOptionsEditorProps, FieldShell, FieldShellProps, FieldShellRenderProps, FieldTypePicker, FieldTypePickerProps, FieldWidth, FormActions, FormActionsProps, FormSection, FormSectionProps, Grid, GridProps, InlineRichTextAttachment, InlineRichTextEditor, InlineRichTextRefusal, InlineRichTextSession, Input, Label, NextlyColumn, NextlyFieldSchema, NextlyFieldType, PILL_LABEL, PillState, PluginRouteInvalidation, PluginRouteMethod, PluginRouteRead, PluginRouteRequest, PluginRouteWrite, PluginRouteWriter, RichTextEditorKit, RowAction, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, SingleDocument, Stack, StackProps, Stat, StatProps, Switch, Textarea, UseDocumentCheckpointOptions, UseDocumentCheckpointResult, ValidationIssue, ValidationNumberField, ValidationNumberFieldProps, ValidationRuleValues, ValidationRulesEditor, ValidationRulesEditorProps, apiErrorMessage, drawsAnyValidationRule, isApiError, loadInlineRichTextEditor, loadRichTextEditorKit, operatorTakesValue, operatorsForType, pillStateFromForm, registerBulkAction, registerCellRenderer, registerColumns, registerComponent, registerComponents, registerKnownPlugin, registerRowAction, toastMutationResult, transformColumns, useDocumentCheckpoint, useDocumentIdentity, useDocumentLocale, useDocumentStatus, useEntryFieldsPanel, usePluginClientConfig, usePluginFieldTypeEntries, usePluginRoute, usePluginRouteMutation, useReportUnsavedWork, useSingleDocument, useSuppressAdminChrome, useUpdateSingleDocument, useUploadMedia, validationIssues, withOptionIds } from '@nextlyhq/admin';
|
|
2
|
-
export { JsonObject, JsonValue, PluginAdminContributions, PluginAdminPage, PluginCollectionView, PluginMenuItem } from 'nextly';
|
|
1
|
+
export { AdminChromeLayer, ApiError, AutosaveStatus, BulkAction, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardProps, CardTitle, CellContext, CellRenderer, CellRendererDefinition, ChallengeResolveResult, ChallengeViewProps, Checkbox, ColumnProvider, ColumnTransform, ComponentPath, ConditionOperatorName, ConditionRange, ConditionRow, ConditionRowProps, ConditionSource, ConditionSourceOption, ConditionValue, CustomEditViewProps, DataTable, DataTableContext, DataTableProps, DataTableSelection, DataTableTarget, DataTableView, DataTableViewProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocumentIdentity, DocumentLocale, DocumentLockGates, DocumentStatus, DocumentViewProps, EDITABLE_VALIDATION_RULES, FieldDefaultOption, FieldDefaultValueInput, FieldDefaultValueInputProps, FieldOption, FieldOptionsEditor, FieldOptionsEditorProps, FieldShell, FieldShellProps, FieldShellRenderProps, FieldTypePicker, FieldTypePickerProps, FieldWidth, FormActions, FormActionsProps, FormSection, FormSectionProps, Grid, GridProps, InlineRichTextAttachment, InlineRichTextEditor, InlineRichTextRefusal, InlineRichTextSession, Input, Label, NextlyColumn, NextlyFieldSchema, NextlyFieldType, PILL_LABEL, PillState, PluginRouteInvalidation, PluginRouteMethod, PluginRouteRead, PluginRouteRequest, PluginRouteWrite, PluginRouteWriter, RichTextEditorKit, RowAction, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, SingleDocument, Stack, StackProps, Stat, StatProps, Switch, Textarea, UseDocumentCheckpointOptions, UseDocumentCheckpointResult, ValidationIssue, ValidationNumberField, ValidationNumberFieldProps, ValidationRuleValues, ValidationRulesEditor, ValidationRulesEditorProps, apiErrorMessage, drawsAnyValidationRule, isApiError, loadInlineRichTextEditor, loadRichTextEditorKit, navigateWithinAdmin as navigateTo, operatorTakesValue, operatorsForType, pillStateFromForm, registerBulkAction, registerCellRenderer, registerColumns, registerComponent, registerComponents, registerKnownPlugin, registerRowAction, toastMutationResult, transformColumns, useDocumentCheckpoint, useDocumentIdentity, useDocumentLocale, useDocumentStatus, useEntryFieldsPanel, usePluginClientConfig, usePluginFieldTypeEntries, usePluginRoute, usePluginRouteMutation, useReportUnsavedWork, useSingleDocument, useSuppressAdminChrome, useUpdateSingleDocument, useUploadMedia, validationIssues, withOptionIds } from '@nextlyhq/admin';
|
|
2
|
+
export { JsonObject, JsonValue, PluginAdminContributions, PluginAdminPage, PluginCollectionView, PluginDocumentView, PluginFieldTypeDocumentView, PluginMenuItem } from 'nextly';
|
|
3
|
+
import 'nextly/db-operators';
|
|
3
4
|
import 'nextly/route-path';
|
|
5
|
+
import 'nextly/schema-extension';
|
|
4
6
|
import 'nextly/testing';
|
|
5
7
|
import 'nextly/widget-result';
|
package/dist/admin.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ConditionRow, DataTable, DataTableView, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, EDITABLE_VALIDATION_RULES, FieldDefaultValueInput, FieldOptionsEditor, FieldShell, FieldTypePicker, FormActions, FormSection, Grid, Input, Label, PILL_LABEL, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Stack, Stat, Switch, Textarea, ValidationNumberField, ValidationRulesEditor, apiErrorMessage, drawsAnyValidationRule, isApiError, loadInlineRichTextEditor, loadRichTextEditorKit, operatorTakesValue, operatorsForType, pillStateFromForm, registerBulkAction, registerCellRenderer, registerColumns, registerComponent, registerComponents, registerKnownPlugin, registerRowAction, toastMutationResult, transformColumns, useDocumentCheckpoint, useDocumentIdentity, useDocumentLocale, useDocumentStatus, useEntryFieldsPanel, usePluginClientConfig, usePluginFieldTypeEntries, usePluginRoute, usePluginRouteMutation, useReportUnsavedWork, useSingleDocument, useSuppressAdminChrome, useUpdateSingleDocument, useUploadMedia, validationIssues, withOptionIds } from '@nextlyhq/admin';
|
|
1
|
+
export { Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ConditionRow, DataTable, DataTableView, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, EDITABLE_VALIDATION_RULES, FieldDefaultValueInput, FieldOptionsEditor, FieldShell, FieldTypePicker, FormActions, FormSection, Grid, Input, Label, PILL_LABEL, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Stack, Stat, Switch, Textarea, ValidationNumberField, ValidationRulesEditor, apiErrorMessage, drawsAnyValidationRule, isApiError, loadInlineRichTextEditor, loadRichTextEditorKit, navigateWithinAdmin as navigateTo, operatorTakesValue, operatorsForType, pillStateFromForm, registerBulkAction, registerCellRenderer, registerColumns, registerComponent, registerComponents, registerKnownPlugin, registerRowAction, toastMutationResult, transformColumns, useDocumentCheckpoint, useDocumentIdentity, useDocumentLocale, useDocumentStatus, useEntryFieldsPanel, usePluginClientConfig, usePluginFieldTypeEntries, usePluginRoute, usePluginRouteMutation, useReportUnsavedWork, useSingleDocument, useSuppressAdminChrome, useUpdateSingleDocument, useUploadMedia, validationIssues, withOptionIds } from '@nextlyhq/admin';
|
|
2
2
|
//# sourceMappingURL=admin.mjs.map
|
|
3
3
|
//# sourceMappingURL=admin.mjs.map
|
package/dist/db.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { and, asc, count, desc, eq, gt, gte, inArray, isNotNull, isNull, like, lt, lte, ne, not, or } from 'nextly/db-operators';
|
package/dist/db.mjs
ADDED
package/dist/db.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"db.mjs","sourcesContent":[]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Action, AddressableField, AddressableFieldsOptions, AuthEventName, AuthEvents, AuthHookName, AuthHooks, AuthInput, AuthOutcome, AuthStrategy, AuthUser, AuthenticatedScope, AuthorableFieldConfig, AuthoredDraftSplitCollection, BatchOperationResult, BeforeOperationArgs, BeforeOperationContext, BeforeOperationHandler, BulkUpdateEntry, Challenge, ChallengeDefinition, ComponentPath, CoreFilterSeam, DataWidgetArchetype, DeclarativeWidgetArchetype, DocumentEventName, DocumentEvents, DraftSplitDisabledReason, DraftSplitEligibility, EmailAfterSendValue, EmailFilterContext, EmailPayloadFilterValue, EmailProviderCapabilities, EmailProviderConfigField, EmailProviderDefinition, EmailProviderDescriptor, EventBus, EventEnvelope, EventHandler, EventName, FieldAdminOptions, FieldConfig, FieldValueDeclaration, FieldValueDeclarationInput, Filter, FilterSeams, GrantedPermission, HookContext, HookContextPhase, HookHandler, HookType, JobContext, JobDefinition, JobDefinitionInput, JobInputFor, JobRetryPolicy, JobSlug, JsonObject, JsonValue, ListQueryFilterContext, ListQueryWhere, MAX_EMAIL_PROVIDER_TYPE_LENGTH, MAX_JOB_SLUG_LENGTH, MediaEventName, MediaEvents, Middleware, NavCollectionItem, NavFilterContext, NextlyError, PLUGIN_CATEGORIES, PaginatedResult, PaginationMeta, PermissionSlug, PluginActionRegistry, PluginAdminContributions, PluginAdminCustomWidget, PluginAdminDataWidget, PluginAdminDeclarativeWidget, PluginAdminPage, PluginAdminQuerylessWidget, PluginAdminStatsWidget, PluginAdminWidget, PluginCategory, PluginCollectionService, PluginCollectionView, PluginContext, PluginContributions, PluginDataFieldConfig, PluginDeclaration, PluginDefinition, PluginEmailProvider, PluginEmailTemplate, PluginFieldCodegen, PluginFieldCodegenImport, PluginFieldInput, PluginFieldInstance, PluginFieldIssue, PluginFieldType, PluginFieldValidateArgs, PluginFieldValidationResult, PluginFilterRegistry, PluginHookRegistry, PluginMenuItem, PluginNavSection, PluginPermission, PluginRole, PluginRoute, PluginRouteCaller, PluginRouteContext, PluginRouteHandler, PluginRouteIdentity, PluginRouteMount, PluginRoutePermissionResolver, PluginRoutePermissionScope, PluginSingleRecord, PluginSinglesResult, PluginSinglesService, PluginSourceResolver, PluginWidgetSource, ProviderAvailability, QueryOptions, QuerylessWidgetArchetype, QueueJobArgs, QueueJobResult, ReadCaller, ReadableContent, ReadableContentCaller, ReadableContentEntity, RegisteredEmailProvider, RequestContext, ResolvedDraftSplitCollection, ResolverOptions, RouteMethod, ScheduledTask, SerializedFieldConfig, ServiceOpts, TIMESERIES_INTERVALS, TimeseriesInterval, UnvalidatedAddressableField, ValidateFieldValuesOptions, ValidationIssue, WIDGET_ARCHETYPES, WIDGET_CHROME, WIDGET_CONDITIONS, WIDGET_HEIGHTS, WIDGET_LIFECYCLES, WIDGET_OPS, WIDGET_SIZES, WIDGET_SOURCE_FIELD_TYPES, WIDGET_SOURCE_KINDS, WidgetAction, WidgetArchetype, WidgetChrome, WidgetCondition, WidgetDefinition, WidgetHeight, WidgetLifecycle, WidgetOp, WidgetQuery, WidgetSetting, WidgetSize, WidgetSource, WidgetSourceField, WidgetSourceFieldType, WidgetSourceKind, WidgetSourceResolver, addressableFields, callerReadOptions, checkbox, collectionDraftSplit, defineEmailProvider, defineJob, definePlugin, getCachedNextly, group, isLocaleSelector, isPluginCategory, isTimeseriesInterval, narrowScope, pluginAdminSlug, pluginField, readableContent, registerSource, registerWidget, resolvedCollectionDraftSplit, resolvedCollectionView, respondAction, respondDoc, respondList, respondMutation, routePathIsLiteral, text, textarea, trustedClientIp, upload, validateFieldValues } from 'nextly';
|
|
1
|
+
export { Action, AddressableField, AddressableFieldsOptions, AdmittedReservation, AuthEventName, AuthEvents, AuthHookName, AuthHooks, AuthInput, AuthOutcome, AuthStrategy, AuthUser, AuthenticatedScope, AuthorableFieldConfig, AuthoredDraftSplitCollection, BatchOperationResult, BeforeOperationArgs, BeforeOperationContext, BeforeOperationHandler, BreachedPasswordsConfig, BulkUpdateEntry, Challenge, ChallengeDefinition, CompleteLoginOptions, ComponentPath, CoreFilterSeam, DEFAULT_ADMIN_PATH, DataWidgetArchetype, Decision, DeclarativeWidgetArchetype, DocumentEventName, DocumentEvents, DraftSplitDisabledReason, DraftSplitEligibility, EmailAfterSendValue, EmailFilterContext, EmailPayloadFilterValue, EmailProviderCapabilities, EmailProviderConfigField, EmailProviderDefinition, EmailProviderDescriptor, EntryVerdict, EventBus, EventEnvelope, EventHandler, EventName, FieldAdminOptions, FieldConfig, FieldValueDeclaration, FieldValueDeclarationInput, Filter, FilterSeams, FrozenCopy, FrozenValue, GrantedPermission, HookContext, HookContextPhase, HookHandler, HookPointContext, HookPointNameOf, HookPointPayload, HookPointPayloads, HookPointValue, HookType, JobContext, JobDefinition, JobDefinitionInput, JobInputFor, JobRetryPolicy, JobSlug, JsonObject, JsonValue, LimitCheck, LimitEntry, LimitOutcome, LimitReservation, LimitRule, LimitTarget, ListQueryFilterContext, ListQueryWhere, MAX_EMAIL_PROVIDER_TYPE_LENGTH, MAX_JOB_SLUG_LENGTH, MediaEventName, MediaEvents, Middleware, NavCollectionItem, NavFilterContext, NextlyError, NextlyPrincipals, OneTimeSecrets, OpaqueSecrets, PLUGIN_CATEGORIES, PaginatedResult, PaginationMeta, PasswordCheck, PasswordHelper, PasswordRules, PasswordTooLongError, PermissionSlug, PluginActionRegistry, PluginAdminContributions, PluginAdminCustomWidget, PluginAdminDataWidget, PluginAdminDeclarativeWidget, PluginAdminPage, PluginAdminQuerylessWidget, PluginAdminStatsWidget, PluginAdminWidget, PluginAuditApi, PluginAuditDeclaration, PluginAuthApi, PluginCapabilities, PluginCategory, PluginCollectionService, PluginCollectionTransaction, PluginCollectionView, PluginConfig, PluginContext, PluginContributions, PluginDataFieldConfig, PluginDatabase, PluginDeclaration, PluginDefinition, PluginEmailProvider, PluginEmailService, PluginEmailSettings, PluginEmailTemplate, PluginFieldCodegen, PluginFieldCodegenImport, PluginFieldInput, PluginFieldInstance, PluginFieldIssue, PluginFieldType, PluginFieldValidateArgs, PluginFieldValidationResult, PluginFieldWrite, PluginFilterRegistry, PluginHookPointDeclaration, PluginHookRegistry, PluginInsert, PluginLimiter, PluginMediaService, PluginMenuItem, PluginNavSection, PluginPermission, PluginPrincipalsApi, PluginRawDatabase, PluginRole, PluginRoute, PluginRouteCaller, PluginRouteContext, PluginRouteHandler, PluginRouteIdentity, PluginRouteMount, PluginRoutePermissionResolver, PluginRoutePermissionScope, PluginRoutePrincipal, PluginRouteRateLimit, PluginSecurityApi, PluginSettingsApi, PluginSingleRecord, PluginSinglesResult, PluginSinglesService, PluginSourceResolver, PluginStoredValue, PluginStoredValueTarget, PluginSummary, PluginTransaction, PluginUserService, PluginVersionsService, PluginWidgetSource, Principal, PrincipalAnswer, PrincipalAttributeDescriptors, PrincipalAttributeType, PrincipalAttributeTypeOf, PrincipalAttributeValue, PrincipalAttributes, PrincipalAttributesOf, PrincipalKindContribution, PrincipalKindDefinition, PrincipalRecord, PrincipalRef, PrincipalReportOptions, ProviderAvailability, QueryOptions, QuerylessWidgetArchetype, QueueJobArgs, QueueJobResult, ReadCaller, ReadableContent, ReadableContentCaller, ReadableContentEntity, RegisteredEmailProvider, RequestContext, ResolvedDraftSplitCollection, ResolverOptions, RouteMethod, RunAsPrincipal, ScheduledTask, SecretData, SerializedFieldConfig, ServiceOpts, TIMESERIES_INTERVALS, TimeseriesInterval, TxOption, UnvalidatedAddressableField, UserCreatedPayload, UserDeletedPayload, UserEventName, UserEvents, ValidateFieldValuesOptions, ValidationIssue, WIDGET_ARCHETYPES, WIDGET_CHROME, WIDGET_CONDITIONS, WIDGET_HEIGHTS, WIDGET_LIFECYCLES, WIDGET_OPS, WIDGET_SIZES, WIDGET_SOURCE_FIELD_TYPES, WIDGET_SOURCE_KINDS, WidgetAction, WidgetArchetype, WidgetChrome, WidgetCondition, WidgetDefinition, WidgetFieldChoice, WidgetHeight, WidgetLifecycle, WidgetOp, WidgetQuery, WidgetSetting, WidgetSize, WidgetSource, WidgetSourceField, WidgetSourceFieldType, WidgetSourceKind, WidgetSourceResolver, addressableFields, callerReadOptions, checkbox, collectDeclarations, collectionDraftSplit, defineEmailProvider, defineJob, definePlugin, getCachedNextly, group, isLocaleSelector, isPluginCategory, isTimeseriesInterval, narrowScope, pluginAdminSlug, pluginField, readableContent, registerSource, registerWidget, resolvedCollectionDraftSplit, resolvedCollectionView, respondAction, respondDoc, respondList, respondMutation, routePathIsLiteral, sanitizeAdminPath, text, textarea, trustedClientIp, upload, validateFieldValues } from 'nextly';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @experimental A secret value that auto-redacts at every common leak vector —
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AuthEvents, DocumentEvents, FilterSeams, MAX_EMAIL_PROVIDER_TYPE_LENGTH, MAX_JOB_SLUG_LENGTH, MediaEvents, NextlyError, PLUGIN_CATEGORIES, TIMESERIES_INTERVALS, WIDGET_ARCHETYPES, WIDGET_CHROME, WIDGET_CONDITIONS, WIDGET_HEIGHTS, WIDGET_LIFECYCLES, WIDGET_OPS, WIDGET_SIZES, WIDGET_SOURCE_FIELD_TYPES, WIDGET_SOURCE_KINDS, addressableFields, callerReadOptions, checkbox, collectionDraftSplit, defineEmailProvider, defineJob, definePlugin, getCachedNextly, group, isLocaleSelector, isPluginCategory, isTimeseriesInterval, narrowScope, pluginAdminSlug, pluginField, readableContent, registerSource, registerWidget, resolvedCollectionDraftSplit, resolvedCollectionView, respondAction, respondDoc, respondList, respondMutation, routePathIsLiteral, text, textarea, trustedClientIp, upload, validateFieldValues } from 'nextly';
|
|
1
|
+
export { AuthEvents, DEFAULT_ADMIN_PATH, DocumentEvents, FilterSeams, MAX_EMAIL_PROVIDER_TYPE_LENGTH, MAX_JOB_SLUG_LENGTH, MediaEvents, NextlyError, PLUGIN_CATEGORIES, PasswordTooLongError, TIMESERIES_INTERVALS, UserEvents, WIDGET_ARCHETYPES, WIDGET_CHROME, WIDGET_CONDITIONS, WIDGET_HEIGHTS, WIDGET_LIFECYCLES, WIDGET_OPS, WIDGET_SIZES, WIDGET_SOURCE_FIELD_TYPES, WIDGET_SOURCE_KINDS, addressableFields, callerReadOptions, checkbox, collectDeclarations, collectionDraftSplit, defineEmailProvider, defineJob, definePlugin, getCachedNextly, group, isLocaleSelector, isPluginCategory, isTimeseriesInterval, narrowScope, pluginAdminSlug, pluginField, readableContent, registerSource, registerWidget, resolvedCollectionDraftSplit, resolvedCollectionView, respondAction, respondDoc, respondList, respondMutation, routePathIsLiteral, sanitizeAdminPath, text, textarea, trustedClientIp, upload, validateFieldValues } from 'nextly';
|
|
2
2
|
|
|
3
3
|
// src/index.ts
|
|
4
4
|
|
package/dist/schema.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ColumnBuilder, ContributedElements, DialectStatements, DraftTableView, DrizzleSchemaHook, ExtensionColumn, ExtensionIndex, ExtensionTable, InferInsert, InferRow, PluginDatabase, PluginInsert, PluginMigration, PluginMigrationSnapshot, PluginTransaction, PortableSelect, PortableWhere, SchemaDraft, SchemaHook, SchemaOwner, TableDefinition, col, defineTable, isUniqueViolation, migrationChecksum } from 'nextly/schema-extension';
|
package/dist/schema.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"schema.mjs","sourcesContent":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextlyhq/plugin-sdk",
|
|
3
|
-
"version": "0.0.2-alpha.
|
|
3
|
+
"version": "0.0.2-alpha.67",
|
|
4
4
|
"description": "Nextly Plugin SDK — the author-facing surface for building Nextly plugins; the plugin API stability boundary (see STABILITY.md).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -42,6 +42,11 @@
|
|
|
42
42
|
"import": "./dist/admin.mjs",
|
|
43
43
|
"default": "./dist/admin.mjs"
|
|
44
44
|
},
|
|
45
|
+
"./db": {
|
|
46
|
+
"types": "./dist/db.d.ts",
|
|
47
|
+
"import": "./dist/db.mjs",
|
|
48
|
+
"default": "./dist/db.mjs"
|
|
49
|
+
},
|
|
45
50
|
"./routing": {
|
|
46
51
|
"types": "./dist/routing.d.ts",
|
|
47
52
|
"import": "./dist/routing.mjs",
|
|
@@ -51,6 +56,11 @@
|
|
|
51
56
|
"types": "./dist/widgets.d.ts",
|
|
52
57
|
"import": "./dist/widgets.mjs",
|
|
53
58
|
"default": "./dist/widgets.mjs"
|
|
59
|
+
},
|
|
60
|
+
"./schema": {
|
|
61
|
+
"types": "./dist/schema.d.ts",
|
|
62
|
+
"import": "./dist/schema.mjs",
|
|
63
|
+
"default": "./dist/schema.mjs"
|
|
54
64
|
}
|
|
55
65
|
},
|
|
56
66
|
"files": [
|
|
@@ -60,13 +70,13 @@
|
|
|
60
70
|
"node": "^20.19.0 || ^22.12.0 || >=24.0.0"
|
|
61
71
|
},
|
|
62
72
|
"dependencies": {
|
|
63
|
-
"@nextlyhq/blocks-engine": "0.0.2-alpha.
|
|
73
|
+
"@nextlyhq/blocks-engine": "0.0.2-alpha.67"
|
|
64
74
|
},
|
|
65
75
|
"peerDependencies": {
|
|
76
|
+
"@nextlyhq/admin": "0.0.2-alpha.67",
|
|
77
|
+
"nextly": "0.0.2-alpha.67",
|
|
66
78
|
"react": "^18.0.0 || ^19.0.0",
|
|
67
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
68
|
-
"@nextlyhq/admin": "0.0.2-alpha.66",
|
|
69
|
-
"nextly": "0.0.2-alpha.66"
|
|
79
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
70
80
|
},
|
|
71
81
|
"peerDependenciesMeta": {
|
|
72
82
|
"@nextlyhq/admin": {
|
|
@@ -80,17 +90,17 @@
|
|
|
80
90
|
}
|
|
81
91
|
},
|
|
82
92
|
"devDependencies": {
|
|
93
|
+
"@nextlyhq/admin": "0.0.2-alpha.67",
|
|
94
|
+
"@nextlyhq/eslint-config": "0.0.2-alpha.67",
|
|
95
|
+
"@nextlyhq/tsconfig": "0.0.2-alpha.67",
|
|
83
96
|
"@types/node": "^20.19.17",
|
|
84
97
|
"@types/react": "19.2.0",
|
|
98
|
+
"nextly": "0.0.2-alpha.67",
|
|
85
99
|
"react": "19.2.0",
|
|
86
100
|
"react-dom": "19.2.0",
|
|
87
101
|
"tsup": "^8.5.0",
|
|
88
102
|
"typescript": "^5.9.3",
|
|
89
|
-
"vitest": "^4.1.0"
|
|
90
|
-
"@nextlyhq/admin": "0.0.2-alpha.66",
|
|
91
|
-
"@nextlyhq/eslint-config": "0.0.2-alpha.66",
|
|
92
|
-
"@nextlyhq/tsconfig": "0.0.2-alpha.66",
|
|
93
|
-
"nextly": "0.0.2-alpha.66"
|
|
103
|
+
"vitest": "^4.1.0"
|
|
94
104
|
},
|
|
95
105
|
"publishConfig": {
|
|
96
106
|
"access": "public",
|