@easy-cms/core 1.32.0 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-J4NASOMO.js → chunk-KUEGUD2X.js} +790 -225
- package/dist/{config-Dr_NZGm6.d.ts → config-BZ4fsHL4.d.ts} +766 -527
- package/dist/{handler-B0m4VOAy.d.ts → handler-CMTJ99sx.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -1
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +1 -1
- package/dist/{plugin-DBHFjM-r.d.ts → plugin-GcNICm6a.d.ts} +1 -1
- package/dist/plugin.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as ID, C as Config, E as EasyCMS, L as LocalizationConfig, F as Field, e as FieldError, f as FilterOptions, g as CreateEasyCMSOptions, R as ResolvedConfig } from './config-
|
|
1
|
+
import { I as ID, C as Config, E as EasyCMS, L as LocalizationConfig, F as Field, e as FieldError, f as FilterOptions, g as CreateEasyCMSOptions, R as ResolvedConfig } from './config-BZ4fsHL4.js';
|
|
2
2
|
|
|
3
3
|
/** Decrypts a file from `encryptBackup`; throws for another key or a changed file. */
|
|
4
4
|
declare function decryptBackup(data: Uint8Array, encryptionKey: string): Uint8Array;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as PaginatedDocs, I as ID, h as EmailSetting, i as WebhookPayload } from './config-
|
|
2
|
-
export { A as ADAPTER_API_VERSION, j as ADMIN_ICONS, k as Access, l as AccessArgs, m as AccessOptions, n as
|
|
3
|
-
export { A as ADMIN_API_VERSION, a as AdminCollection, b as AdminComponentRef, c as AdminElementProps, d as AdminField, e as AdminGlobal, f as AdminLayoutNode, g as AdminNavGroup, h as AdminNavItem, i as AdminNavNode, j as AdminPageRef, k as AdminPageRoute, l as AdminSchema, m as AdminWidgetRef, S as SetFieldDetail, w as warnDeprecated } from './plugin-
|
|
4
|
-
export { A as AdminBackup, a as AdminBackups, b as ApiHandlerOptions, B as BackupState, L as LoadConfigOptions, R as RestHandler, c as RestHandlerOptions, d as createApiHandler, e as createRestHandler, l as loadConfig, r as resolveConfig, s as sharedEasyCMS, f as slugify } from './handler-
|
|
1
|
+
import { P as PaginatedDocs, I as ID, h as EmailSetting, i as WebhookPayload } from './config-BZ4fsHL4.js';
|
|
2
|
+
export { A as ADAPTER_API_VERSION, j as ADMIN_ICONS, k as Access, l as AccessArgs, m as AccessOptions, n as AdminAi, o as AdminBrand, p as AdminCommand, q as AdminComponent, r as AdminConfig, s as AdminFieldArgs, t as AdminIcon, u as AdminLocale, v as AdminPage, w as AdminRole, x as AdminRoleChange, y as AdminRoleField, z as AdminRoleTarget, B as AdminRoleView, D as AdminRoles, H as AdminSso, J as AdminSwitcher, K as AdminViewAccess, M as AfterChangeHook, N as AfterDeleteHook, O as AfterReadHook, Q as Ai, S as AiConfig, T as AiFeatureConfig, V as AiImage, X as AiProvider, Y as AiProviderError, Z as AiProviderRequest, _ as AiProviderResult, $ as AiRequest, a0 as AiResult, a1 as ApiKeyContext, a2 as ApiKeyGlobalOperation, a3 as ApiKeyOperation, a4 as ApiKeyPermissions, a5 as ArrayField, a6 as AuditChange, a7 as AuditConfig, a8 as AuditEntry, a9 as AuditLog, aa as AuditPage, ab as AuditVerification, ac as Auth, ad as AuthConfig, ae as AuthProvider, af as AuthProviderProfile, ag as AuthProviderRequest, ah as AuthUser, ai as BackupsConfig, aj as BeforeChangeHook, ak as BeforeDeleteHook, al as BeforeValidateHook, am as Block, an as BlockSummaryArgs, ao as BlocksField, ap as BooleanField, aq as BuiltinApiKeysCollection, ar as BuiltinMediaCollection, as as BuiltinMediaFoldersCollection, at as BuiltinUsersCollection, au as BundleHints, av as CliCommand, aw as CollectionAccess, ax as CollectionAdmin, ay as CollectionCalendarAdmin, az as CollectionConfig, b as CollectionDocument, aA as CollectionHooks, aB as CollectionListAdmin, aC as CollectionSearch, a as CollectionSlug, aD as CollectionView, C as Config, aE as ConfigError, aF as ConfigIssue, aG as ContainerAdmin, g as CreateEasyCMSOptions, aH as CreateInput, aI as CreateMigrationResult, c as CursorDocs, aJ as CustomField, aK as CustomFieldTypes, aL as DashboardWidget, aM as Database, aN as DatabaseAdapter, aO as DatabaseInitArgs, aP as DatabaseTransfer, aQ as DateField, aR as DepthOptions, aS as DirectUpload, aT as DiskStorageOptions, aU as DocumentOf, E as EasyCMS, aV as EasyCMSError, aW as EmailAdapter, aX as EmailField, aY as EmailMessage, aZ as Endpoint, a_ as EndpointRequest, a$ as ErrorCode, b0 as EventListener, b1 as EventMessage, b2 as FIELD_TYPES, F as Field, b3 as FieldAccess, b4 as FieldAccessFn, b5 as FieldAdmin, e as FieldError, b6 as FieldRule, b7 as FieldType, b8 as FieldTypeBase, b9 as FieldTypeDefinition, ba as FieldTypeValidateContext, bb as FieldValidate, bc as FieldValidateContext, bd as FieldValue, be as FieldsInput, bf as FieldsValue, f as FilterOptions, bg as FilterOptionsArgs, bh as FindAfterArgs, bi as FindArgs, bj as FindOptions, bk as FolderLevel, bl as FolderPermissions, bm as ForbiddenError, bn as GlobalAccess, bo as GlobalConfig, d as GlobalDocument, bp as GlobalHooks, bq as GlobalInput, G as GlobalSlug, br as GroupField, bs as ImageSize, bt as IncrementOptions, bu as InferCollection, bv as InferGlobal, bw as IntegrationCategory, bx as IntegrationConfig, by as IntegrationConnection, bz as IntegrationField, bA as IntegrationLogo, bB as IntegrationOAuthResult, bC as IntegrationTestResult, bD as JobConfig, bE as JsonField, bF as KeysetPage, bG as Label, bH as LayoutNode, bI as LivePreview, bJ as LocaleOf, L as LocalizationConfig, bK as LogDetails, bL as Logger, bM as LoginArgs, bN as LogsConfig, bO as MediaDocument, bP as MediaSize, bQ as MembersConfig, bR as MembersSignup, bS as MigrationInfo, bT as NavGroup, bU as NotFoundError, bV as NumberField, bW as OnRequest, bX as OnRequestArgs, bY as Operation, bZ as OutboxRow, b_ as PLUGIN_API_VERSION, b$ as PasswordEmail, c0 as PasswordEmailArgs, c1 as PasswordEmailFn, c2 as PasswordLinkOptions, c3 as PayloadTooLargeError, c4 as Plugin, c5 as PluginInfo, c6 as PluginTypes, c7 as PreviewTarget, c8 as PreviewURL, c9 as QueryError, ca as ROLE_OPERATIONS, cb as RawDocument, cc as ReadOptions, cd as RelationshipField, ce as RequestContext, R as ResolvedConfig, cf as RichTextBlock, cg as RichTextBlocks, ch as RichTextDocument, ci as RichTextField, cj as Role, ck as RoleOperation, cl as RolePermissions, cm as Roles, cn as RoutesConfig, co as ScheduledPublish, cp as SchemaError, cq as SchemaMode, cr as SearchAdapter, cs as SearchEntry, ct as SearchHits, cu as SearchOptions, cv as SearchQuery, cw as SearchResults, cx as SearchSetting, cy as SelectField, cz as SelectOption, cA as Session, cB as SidebarPanel, cC as SignupArgs, cD as SignupResult, cE as SingleSignOn, cF as SlugField, cG as SlugOf, cH as SsoOutcome, cI as SsoProviderRef, cJ as StorageAdapter, cK as StoredFile, cL as TRIGRAM_LIKE_MIN, cM as TelemetryConfig, cN as TextField, cO as TextareaField, cP as TooManyRequestsError, cQ as TypedPlugin, cR as UiField, cS as UnauthorizedError, U as UncountedDocs, cT as UpdateInput, cU as UpdateOptions, cV as UploadConfig, cW as UploadField, cX as UploadFromURLConfig, cY as UserIdentity, cZ as ValidationError, c_ as Version, c$ as VersionSummary, d0 as VersionsConfig, d1 as WEBHOOK_EVENTS, d2 as WebhookConfig, d3 as WebhookEvent, W as Where, d4 as WhereOperators, d5 as anyone, d6 as consoleEmail, d7 as consoleLogger, d8 as createEasyCMS, d9 as defineConfig, da as defineFieldType, db as definePlugin, dc as diskStorage, dd as hasRows, de as isAdmin, df as isHasMany, dg as isPolymorphic, dh as isSignedIn, di as isStaff, dj as isSystemAdmin, dk as jsonLogger, dl as memorySearch, dm as mimeAllowedBy, dn as polymorphicValue, dp as relationTargets, dq as rowFields, dr as silentLogger, ds as uniqueWithinOf } from './config-BZ4fsHL4.js';
|
|
3
|
+
export { A as ADMIN_API_VERSION, a as AdminCollection, b as AdminComponentRef, c as AdminElementProps, d as AdminField, e as AdminGlobal, f as AdminLayoutNode, g as AdminNavGroup, h as AdminNavItem, i as AdminNavNode, j as AdminPageRef, k as AdminPageRoute, l as AdminSchema, m as AdminWidgetRef, S as SetFieldDetail, w as warnDeprecated } from './plugin-GcNICm6a.js';
|
|
4
|
+
export { A as AdminBackup, a as AdminBackups, b as ApiHandlerOptions, B as BackupState, L as LoadConfigOptions, R as RestHandler, c as RestHandlerOptions, d as createApiHandler, e as createRestHandler, l as loadConfig, r as resolveConfig, s as sharedEasyCMS, f as slugify } from './handler-CMTJ99sx.js';
|
|
5
5
|
export { FieldCondition, matchesCondition } from './conditions.js';
|
|
6
6
|
|
|
7
7
|
type DeliveryKind = 'webhook' | 'email';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ADAPTER_API_VERSION,
|
|
3
|
+
AiProviderError,
|
|
3
4
|
AuditLog,
|
|
4
5
|
Auth,
|
|
5
6
|
EasyCMS,
|
|
@@ -28,7 +29,7 @@ import {
|
|
|
28
29
|
silentLogger,
|
|
29
30
|
slugify,
|
|
30
31
|
verifyWebhook
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-KUEGUD2X.js";
|
|
32
33
|
import {
|
|
33
34
|
matchesCondition
|
|
34
35
|
} from "./chunk-U266LV4M.js";
|
|
@@ -58,6 +59,7 @@ export {
|
|
|
58
59
|
ADAPTER_API_VERSION,
|
|
59
60
|
ADMIN_API_VERSION,
|
|
60
61
|
ADMIN_ICONS,
|
|
62
|
+
AiProviderError,
|
|
61
63
|
AuditLog,
|
|
62
64
|
Auth,
|
|
63
65
|
ConfigError,
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Config, Database, EasyCMS, NavGroup, CollectionConfig, ID, RawDocument, Field, ResolvedConfig, ConfigIssue } from './index.js';
|
|
2
|
-
export {
|
|
3
|
-
export { C as CONFIG_FILE_NAMES, g as CSRF_COOKIE, h as CSRF_HEADER, D as DEFAULT_ADMIN_PATH, i as DEFAULT_API_PATH, j as DEFAULT_MAX_FILE_SIZE, k as DEFAULT_TOKEN_EXPIRATION, m as applyDefaults, n as applyPlugins, o as createRootEndpointHandler, p as decryptBackup, q as fillMissing, t as findConfigFile, u as forwardedClientIp, v as generateSlugs, w as importConfig, x as isEmail, y as mergeForUpdate, z as parseId, E as platformClientIp, F as readCookie, G as validateFields, H as writeBackupFile } from './handler-
|
|
2
|
+
export { dt as API_KEYS, du as API_KEY_GLOBAL_OPERATIONS, dv as API_KEY_OPERATIONS, dw as DEFAULT_MAX_VERSIONS, dx as DEFAULT_PASSWORD_EMAILS, dy as FIELD_TYPE_BASES, dz as FOLDER_LEVELS, dA as MediaFolders, dB as SSO_COOKIE, dC as Secrets, cL as TRIGRAM_LIKE_MIN, dD as codeOfStatus, dd as hasRows, df as isHasMany, dE as isJsonLogger, dg as isPolymorphic, dF as keyAllows, dG as logFormat, dm as mimeAllowedBy, dn as polymorphicValue, dp as relationTargets, dq as rowFields, dH as secretsOf, ds as uniqueWithinOf } from './config-BZ4fsHL4.js';
|
|
3
|
+
export { C as CONFIG_FILE_NAMES, g as CSRF_COOKIE, h as CSRF_HEADER, D as DEFAULT_ADMIN_PATH, i as DEFAULT_API_PATH, j as DEFAULT_MAX_FILE_SIZE, k as DEFAULT_TOKEN_EXPIRATION, m as applyDefaults, n as applyPlugins, o as createRootEndpointHandler, p as decryptBackup, q as fillMissing, t as findConfigFile, u as forwardedClientIp, v as generateSlugs, w as importConfig, x as isEmail, y as mergeForUpdate, z as parseId, E as platformClientIp, F as readCookie, G as validateFields, H as writeBackupFile } from './handler-CMTJ99sx.js';
|
|
4
4
|
export { conditionIssues } from './conditions.js';
|
|
5
5
|
|
|
6
6
|
/** The session cookie the REST API sets at login. */
|
package/dist/internal.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bG as Label, F as Field, I as ID, aD as CollectionView, u as AdminLocale, J as AdminSwitcher, cI as SsoProviderRef } from './config-BZ4fsHL4.js';
|
|
2
2
|
import { FieldCondition } from './conditions.js';
|
|
3
3
|
|
|
4
4
|
/** A Web Component from an admin module, with its `props` (plain JSON). */
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { j as ADMIN_ICONS,
|
|
2
|
-
export { A as ADMIN_API_VERSION, c as AdminElementProps, k as AdminPageRoute, S as SetFieldDetail, w as warnDeprecated } from './plugin-
|
|
1
|
+
export { j as ADMIN_ICONS, q as AdminComponent, t as AdminIcon, ah as AuthUser, av as CliCommand, aw as CollectionAccess, az as CollectionConfig, C as Config, aE as ConfigError, aL as DashboardWidget, aV as EasyCMSError, aZ as Endpoint, a_ as EndpointRequest, a$ as ErrorCode, F as Field, b3 as FieldAccess, e as FieldError, b8 as FieldTypeBase, b9 as FieldTypeDefinition, ba as FieldTypeValidateContext, bm as ForbiddenError, bo as GlobalConfig, I as ID, bD as JobConfig, bG as Label, bT as NavGroup, bU as NotFoundError, bW as OnRequest, bX as OnRequestArgs, b_ as PLUGIN_API_VERSION, c3 as PayloadTooLargeError, c4 as Plugin, c5 as PluginInfo, c6 as PluginTypes, c9 as QueryError, ce as RequestContext, cP as TooManyRequestsError, cQ as TypedPlugin, cS as UnauthorizedError, cZ as ValidationError, W as Where, da as defineFieldType, db as definePlugin } from './config-BZ4fsHL4.js';
|
|
2
|
+
export { A as ADMIN_API_VERSION, c as AdminElementProps, k as AdminPageRoute, S as SetFieldDetail, w as warnDeprecated } from './plugin-GcNICm6a.js';
|
|
3
3
|
import './conditions.js';
|