@donotdev/core 0.1.1 → 0.1.42
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.md +21 -242
- package/README.md +2 -20
- package/empty.cjs +0 -0
- package/empty.js +0 -0
- package/functions/index.js +20 -10
- package/i18n/locales/eager/dndev_ar.json +35 -0
- package/i18n/locales/eager/dndev_da.json +63 -8
- package/i18n/locales/eager/dndev_de.json +35 -0
- package/i18n/locales/eager/dndev_en.json +52 -1
- package/i18n/locales/eager/dndev_es.json +35 -0
- package/i18n/locales/eager/dndev_fr.json +52 -1
- package/i18n/locales/eager/dndev_it.json +35 -0
- package/i18n/locales/eager/dndev_ja.json +35 -0
- package/i18n/locales/eager/dndev_ko.json +35 -0
- package/i18n/locales/eager/dndev_nl.json +59 -7
- package/i18n/locales/eager/dndev_pt.json +35 -0
- package/i18n/locales/eager/dndev_zh.json +36 -1
- package/i18n/locales/lazy/ai_en.json +0 -0
- package/i18n/locales/lazy/ai_pt.json +0 -0
- package/i18n/locales/lazy/ai_zh.json +0 -0
- package/i18n/locales/lazy/auth_ar.json +0 -0
- package/i18n/locales/lazy/auth_da.json +0 -0
- package/i18n/locales/lazy/auth_de.json +0 -0
- package/i18n/locales/lazy/auth_en.json +0 -0
- package/i18n/locales/lazy/auth_es.json +0 -0
- package/i18n/locales/lazy/auth_fr.json +0 -0
- package/i18n/locales/lazy/auth_it.json +0 -0
- package/i18n/locales/lazy/auth_ja.json +0 -0
- package/i18n/locales/lazy/auth_ko.json +0 -0
- package/i18n/locales/lazy/auth_nl.json +0 -0
- package/i18n/locales/lazy/auth_pt.json +0 -0
- package/i18n/locales/lazy/auth_zh.json +0 -0
- package/i18n/locales/lazy/billing_ar.json +0 -0
- package/i18n/locales/lazy/billing_da.json +0 -0
- package/i18n/locales/lazy/billing_de.json +0 -0
- package/i18n/locales/lazy/billing_en.json +0 -0
- package/i18n/locales/lazy/billing_es.json +0 -0
- package/i18n/locales/lazy/billing_fr.json +0 -0
- package/i18n/locales/lazy/billing_it.json +0 -0
- package/i18n/locales/lazy/billing_ja.json +0 -0
- package/i18n/locales/lazy/billing_ko.json +0 -0
- package/i18n/locales/lazy/billing_nl.json +0 -0
- package/i18n/locales/lazy/billing_pt.json +0 -0
- package/i18n/locales/lazy/billing_zh.json +0 -0
- package/i18n/locales/lazy/blog_ar.json +0 -0
- package/i18n/locales/lazy/blog_da.json +0 -0
- package/i18n/locales/lazy/blog_de.json +0 -0
- package/i18n/locales/lazy/blog_en.json +0 -0
- package/i18n/locales/lazy/blog_es.json +0 -0
- package/i18n/locales/lazy/blog_fr.json +0 -0
- package/i18n/locales/lazy/blog_it.json +0 -0
- package/i18n/locales/lazy/blog_ja.json +0 -0
- package/i18n/locales/lazy/blog_ko.json +0 -0
- package/i18n/locales/lazy/blog_nl.json +0 -0
- package/i18n/locales/lazy/blog_pt.json +0 -0
- package/i18n/locales/lazy/blog_zh.json +0 -0
- package/i18n/locales/lazy/cookies_ar.json +0 -0
- package/i18n/locales/lazy/cookies_da.json +0 -0
- package/i18n/locales/lazy/cookies_de.json +0 -0
- package/i18n/locales/lazy/cookies_en.json +0 -0
- package/i18n/locales/lazy/cookies_es.json +0 -0
- package/i18n/locales/lazy/cookies_fr.json +0 -0
- package/i18n/locales/lazy/cookies_it.json +0 -0
- package/i18n/locales/lazy/cookies_ja.json +0 -0
- package/i18n/locales/lazy/cookies_ko.json +0 -0
- package/i18n/locales/lazy/cookies_nl.json +0 -0
- package/i18n/locales/lazy/cookies_pt.json +0 -0
- package/i18n/locales/lazy/cookies_zh.json +0 -0
- package/i18n/locales/lazy/crud_ar.json +6 -5
- package/i18n/locales/lazy/crud_da.json +6 -5
- package/i18n/locales/lazy/crud_de.json +6 -5
- package/i18n/locales/lazy/crud_en.json +7 -5
- package/i18n/locales/lazy/crud_es.json +6 -5
- package/i18n/locales/lazy/crud_fr.json +7 -5
- package/i18n/locales/lazy/crud_it.json +6 -5
- package/i18n/locales/lazy/crud_ja.json +6 -5
- package/i18n/locales/lazy/crud_ko.json +6 -5
- package/i18n/locales/lazy/crud_nl.json +6 -5
- package/i18n/locales/lazy/crud_pt.json +6 -5
- package/i18n/locales/lazy/crud_zh.json +6 -5
- package/i18n/locales/lazy/homeTemplate_ar.json +0 -0
- package/i18n/locales/lazy/homeTemplate_da.json +0 -0
- package/i18n/locales/lazy/homeTemplate_de.json +0 -0
- package/i18n/locales/lazy/homeTemplate_en.json +0 -0
- package/i18n/locales/lazy/homeTemplate_es.json +0 -0
- package/i18n/locales/lazy/homeTemplate_fr.json +0 -0
- package/i18n/locales/lazy/homeTemplate_it.json +0 -0
- package/i18n/locales/lazy/homeTemplate_ja.json +0 -0
- package/i18n/locales/lazy/homeTemplate_ko.json +0 -0
- package/i18n/locales/lazy/homeTemplate_nl.json +0 -0
- package/i18n/locales/lazy/homeTemplate_pt.json +0 -0
- package/i18n/locales/lazy/homeTemplate_zh.json +0 -0
- package/i18n/locales/lazy/legalNotice_en.json +0 -0
- package/i18n/locales/lazy/legalNotice_fr.json +0 -0
- package/i18n/locales/lazy/legalNotice_pt.json +0 -0
- package/i18n/locales/lazy/legalNotice_zh.json +0 -0
- package/i18n/locales/lazy/oauth_ar.json +0 -0
- package/i18n/locales/lazy/oauth_da.json +0 -0
- package/i18n/locales/lazy/oauth_de.json +0 -0
- package/i18n/locales/lazy/oauth_en.json +0 -0
- package/i18n/locales/lazy/oauth_es.json +0 -0
- package/i18n/locales/lazy/oauth_fr.json +0 -0
- package/i18n/locales/lazy/oauth_it.json +0 -0
- package/i18n/locales/lazy/oauth_ja.json +0 -0
- package/i18n/locales/lazy/oauth_ko.json +0 -0
- package/i18n/locales/lazy/oauth_nl.json +0 -0
- package/i18n/locales/lazy/oauth_pt.json +0 -0
- package/i18n/locales/lazy/oauth_zh.json +0 -0
- package/i18n/locales/lazy/privacy_ar.json +0 -0
- package/i18n/locales/lazy/privacy_da.json +0 -0
- package/i18n/locales/lazy/privacy_de.json +0 -0
- package/i18n/locales/lazy/privacy_en.json +0 -0
- package/i18n/locales/lazy/privacy_es.json +0 -0
- package/i18n/locales/lazy/privacy_fr.json +0 -0
- package/i18n/locales/lazy/privacy_it.json +0 -0
- package/i18n/locales/lazy/privacy_ja.json +0 -0
- package/i18n/locales/lazy/privacy_ko.json +0 -0
- package/i18n/locales/lazy/privacy_nl.json +0 -0
- package/i18n/locales/lazy/privacy_pt.json +0 -0
- package/i18n/locales/lazy/privacy_zh.json +1 -1
- package/i18n/locales/lazy/terms_ar.json +0 -0
- package/i18n/locales/lazy/terms_da.json +0 -0
- package/i18n/locales/lazy/terms_de.json +0 -0
- package/i18n/locales/lazy/terms_en.json +0 -0
- package/i18n/locales/lazy/terms_es.json +0 -0
- package/i18n/locales/lazy/terms_fr.json +0 -0
- package/i18n/locales/lazy/terms_it.json +0 -0
- package/i18n/locales/lazy/terms_ja.json +0 -0
- package/i18n/locales/lazy/terms_ko.json +0 -0
- package/i18n/locales/lazy/terms_nl.json +0 -0
- package/i18n/locales/lazy/terms_pt.json +0 -0
- package/i18n/locales/lazy/terms_zh.json +0 -0
- package/index.d.ts +928 -215
- package/index.js +44 -44
- package/next/index.js +256 -66
- package/package.json +7 -7
- package/server.d.ts +866 -119
- package/server.js +1 -1
- package/vite/index.d.ts +8 -0
- package/vite/index.js +66 -58
package/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { ComponentType, ReactNode, ReactElement } from 'react';
|
|
4
4
|
import { FieldValues } from 'react-hook-form';
|
|
5
|
-
import {
|
|
6
|
-
import { useTranslation as useTranslation$1
|
|
5
|
+
import { TFunction, i18n, InitOptions } from 'i18next';
|
|
6
|
+
import { TransProps, useTranslation as useTranslation$1 } from 'react-i18next';
|
|
7
7
|
import * as zustand from 'zustand';
|
|
8
8
|
import { StoreApi, UseBoundStore } from 'zustand';
|
|
9
9
|
import { PersistOptions } from 'zustand/middleware';
|
|
10
|
-
import {
|
|
10
|
+
import { MutationOptions, QueryClient, QueryClientProvider, QueryClientProviderProps, QueryFunction, QueryKey, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, useQueryClient } from '@tanstack/react-query';
|
|
11
11
|
export { MutationOptions, QueryClient, QueryClientProvider, QueryClientProviderProps, QueryFunction, QueryKey, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, useQueryClient } from '@tanstack/react-query';
|
|
12
12
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
13
13
|
import { DISPLAY, BUTTON_VARIANT } from '@donotdev/components';
|
|
@@ -3254,6 +3254,23 @@ interface PageMeta {
|
|
|
3254
3254
|
* ```
|
|
3255
3255
|
*/
|
|
3256
3256
|
seo?: SeoMeta;
|
|
3257
|
+
/**
|
|
3258
|
+
* User-facing category for sidebar/menu grouping
|
|
3259
|
+
* @description Groups routes into collapsible sections in navigation. Unlike
|
|
3260
|
+
* auto-discovered `entity` (parent-dir name), `category` is author-declared
|
|
3261
|
+
* and typically maps to a higher-level folder (e.g., `Analyzers`, `Tools`).
|
|
3262
|
+
* Routes without `category` render ungrouped at the top of the menu.
|
|
3263
|
+
*
|
|
3264
|
+
* @example
|
|
3265
|
+
* ```tsx
|
|
3266
|
+
* export const meta: PageMeta = {
|
|
3267
|
+
* namespace: 'budgetPlanner',
|
|
3268
|
+
* category: 'Analyzers',
|
|
3269
|
+
* icon: <WalletIcon />,
|
|
3270
|
+
* };
|
|
3271
|
+
* ```
|
|
3272
|
+
*/
|
|
3273
|
+
category?: string;
|
|
3257
3274
|
}
|
|
3258
3275
|
/**
|
|
3259
3276
|
* Route metadata (discovery-generated)
|
|
@@ -5948,6 +5965,18 @@ interface RemoveCustomClaimsResponse {
|
|
|
5948
5965
|
* @author AMBROISE PARK Consulting
|
|
5949
5966
|
*/
|
|
5950
5967
|
type UnsubscribeFn = () => void;
|
|
5968
|
+
/**
|
|
5969
|
+
* Optional metadata passed to signup methods.
|
|
5970
|
+
* Stored in provider-specific user metadata (Supabase `raw_user_meta_data`, Firebase user doc).
|
|
5971
|
+
*/
|
|
5972
|
+
interface SignUpMetadata {
|
|
5973
|
+
/** ISO-8601 timestamp of GDPR consent acceptance */
|
|
5974
|
+
gdpr_consent_at?: string;
|
|
5975
|
+
/** Version identifier of the ToS document accepted */
|
|
5976
|
+
gdpr_tos_version?: string;
|
|
5977
|
+
/** Extensible for consumer-specific fields */
|
|
5978
|
+
[key: string]: unknown;
|
|
5979
|
+
}
|
|
5951
5980
|
/**
|
|
5952
5981
|
* Authentication provider interface
|
|
5953
5982
|
*
|
|
@@ -5971,7 +6000,7 @@ interface AuthProvider {
|
|
|
5971
6000
|
/**
|
|
5972
6001
|
* Sign up with email and password
|
|
5973
6002
|
*/
|
|
5974
|
-
createUserWithEmailAndPassword(email: string, password: string): Promise<AuthUser>;
|
|
6003
|
+
createUserWithEmailAndPassword(email: string, password: string, metadata?: SignUpMetadata): Promise<AuthUser>;
|
|
5975
6004
|
/**
|
|
5976
6005
|
* Sign out the current user
|
|
5977
6006
|
*/
|
|
@@ -6009,7 +6038,7 @@ interface AuthProvider {
|
|
|
6009
6038
|
*/
|
|
6010
6039
|
hasTier(requiredTier: string): Promise<boolean>;
|
|
6011
6040
|
signInWithEmail(email: string, password: string): Promise<AuthResult | null>;
|
|
6012
|
-
createUserWithEmail(email: string, password: string): Promise<AuthResult | null>;
|
|
6041
|
+
createUserWithEmail(email: string, password: string, metadata?: SignUpMetadata): Promise<AuthResult | null>;
|
|
6013
6042
|
signInWithPartner(partnerId: AuthPartnerId, method?: AuthMethod): Promise<AuthResult | null>;
|
|
6014
6043
|
linkWithPartner(partnerId: AuthPartnerId, method?: AuthMethod): Promise<AuthResult | null>;
|
|
6015
6044
|
signInWithGoogleCredential(credential: string): Promise<AuthResult | null>;
|
|
@@ -6114,7 +6143,7 @@ interface AuthAPI {
|
|
|
6114
6143
|
getCustomClaims: () => Record<string, unknown>;
|
|
6115
6144
|
getCustomClaim: (claim: string) => unknown;
|
|
6116
6145
|
signInWithEmail: (email: string, password: string) => Promise<AuthResult | null>;
|
|
6117
|
-
createUserWithEmail: (email: string, password: string) => Promise<AuthResult | null>;
|
|
6146
|
+
createUserWithEmail: (email: string, password: string, metadata?: SignUpMetadata) => Promise<AuthResult | null>;
|
|
6118
6147
|
signInWithPartner: (partnerId: AuthPartnerId, method?: string) => Promise<AuthResult | null>;
|
|
6119
6148
|
linkWithPartner: (partnerId: AuthPartnerId, method?: string) => Promise<AuthResult | null>;
|
|
6120
6149
|
signInWithGoogleCredential: (credential: string) => Promise<AuthResult | null>;
|
|
@@ -6395,13 +6424,16 @@ type Visibility = (typeof VISIBILITY)[keyof typeof VISIBILITY];
|
|
|
6395
6424
|
* - 'generated': DB-generated — hidden from forms, stripped from writes
|
|
6396
6425
|
* - 'computed': UI-computed (derived from other fields) — hidden from forms, included in writes
|
|
6397
6426
|
*
|
|
6398
|
-
*
|
|
6427
|
+
* Custom role strings (e.g. future hierarchy keys) are accepted the same way as
|
|
6428
|
+
* {@link FieldType}: `(string & {})` keeps known literals distinguishable for
|
|
6429
|
+
* narrowing; plain `| string` would collapse to `boolean | string` and break
|
|
6430
|
+
* comparisons to `EDITABLE.GENERATED` / `EDITABLE.COMPUTED`.
|
|
6399
6431
|
*
|
|
6400
6432
|
* @version 0.1.0
|
|
6401
6433
|
* @since 0.0.1
|
|
6402
6434
|
* @author AMBROISE PARK Consulting
|
|
6403
6435
|
*/
|
|
6404
|
-
type Editable = (typeof EDITABLE)[keyof typeof EDITABLE] | string;
|
|
6436
|
+
type Editable = (typeof EDITABLE)[keyof typeof EDITABLE] | (string & {});
|
|
6405
6437
|
/**
|
|
6406
6438
|
* Entity-level access configuration
|
|
6407
6439
|
* Controls who can perform CRUD operations on the entity
|
|
@@ -7083,6 +7115,40 @@ interface BaseEntityFields {
|
|
|
7083
7115
|
*/
|
|
7084
7116
|
status: EntityField<'select'>;
|
|
7085
7117
|
}
|
|
7118
|
+
/**
|
|
7119
|
+
* Consumer `fields` merged with {@link BaseEntityFields} — same keys {@link defineEntity} returns.
|
|
7120
|
+
*
|
|
7121
|
+
* @version 0.1.0
|
|
7122
|
+
* @since 0.2.0
|
|
7123
|
+
*/
|
|
7124
|
+
type MergedEntityFieldMap<F extends Record<string, EntityField>> = F & BaseEntityFields;
|
|
7125
|
+
/**
|
|
7126
|
+
* Merged field map with `readonly` stripped from keys — improves assignability of
|
|
7127
|
+
* `defineEntity` results to widened {@link AnyEntity} props.
|
|
7128
|
+
*
|
|
7129
|
+
* @version 0.1.0
|
|
7130
|
+
* @since 0.2.0
|
|
7131
|
+
*/
|
|
7132
|
+
type MutableMergedEntityFieldMap<F extends Record<string, EntityField>> = {
|
|
7133
|
+
-readonly [K in keyof MergedEntityFieldMap<F>]: MergedEntityFieldMap<F>[K];
|
|
7134
|
+
};
|
|
7135
|
+
/**
|
|
7136
|
+
* Default merged field map when an entity is not parameterized with a literal field map.
|
|
7137
|
+
*
|
|
7138
|
+
* @version 0.1.0
|
|
7139
|
+
* @since 0.2.0
|
|
7140
|
+
*/
|
|
7141
|
+
type EntityFieldMapDefault = Record<string, EntityField> & BaseEntityFields;
|
|
7142
|
+
/**
|
|
7143
|
+
* CRUD/cache document row inferred from an entity `fields` map (SSOT with `defineEntity` literals).
|
|
7144
|
+
* Intersects {@link Record} so rows satisfy `T extends Record<string, unknown>` (bulk, PII, adapters).
|
|
7145
|
+
*
|
|
7146
|
+
* @version 0.1.0
|
|
7147
|
+
* @since 0.2.0
|
|
7148
|
+
*/
|
|
7149
|
+
type EntityRowFromFields<F extends Record<string, EntityField>> = {
|
|
7150
|
+
[K in keyof F]: F[K] extends EntityField<infer FT> ? FT extends keyof FieldTypeToValue ? FieldTypeToValue[FT] : unknown : unknown;
|
|
7151
|
+
} & Record<string, unknown>;
|
|
7086
7152
|
/**
|
|
7087
7153
|
* Unique key constraint definition for entity deduplication
|
|
7088
7154
|
* Enables automatic checking for duplicates on create/update operations
|
|
@@ -7239,7 +7305,7 @@ interface ListCardLayout {
|
|
|
7239
7305
|
* @since 0.0.1
|
|
7240
7306
|
* @author AMBROISE PARK Consulting
|
|
7241
7307
|
*/
|
|
7242
|
-
interface BusinessEntity {
|
|
7308
|
+
interface BusinessEntity<out F extends Record<string, EntityField> = Record<string, EntityField>> {
|
|
7243
7309
|
/** Name of the entity */
|
|
7244
7310
|
name: string;
|
|
7245
7311
|
/** Firestore collection name */
|
|
@@ -7276,7 +7342,7 @@ interface BusinessEntity {
|
|
|
7276
7342
|
*/
|
|
7277
7343
|
ownership?: EntityOwnershipConfig;
|
|
7278
7344
|
/** Field definitions - name and label are required */
|
|
7279
|
-
fields:
|
|
7345
|
+
fields: F;
|
|
7280
7346
|
/** Form configuration for advanced forms */
|
|
7281
7347
|
form?: FormConfig;
|
|
7282
7348
|
/**
|
|
@@ -7415,9 +7481,9 @@ interface BusinessEntity {
|
|
|
7415
7481
|
* @since 0.0.1
|
|
7416
7482
|
* @author AMBROISE PARK Consulting
|
|
7417
7483
|
*/
|
|
7418
|
-
interface Entity extends BusinessEntity {
|
|
7484
|
+
interface Entity<out F extends Record<string, EntityField> = EntityFieldMapDefault> extends Omit<BusinessEntity<F>, 'access' | 'namespace'> {
|
|
7419
7485
|
/** Field definitions including base fields */
|
|
7420
|
-
fields:
|
|
7486
|
+
fields: F;
|
|
7421
7487
|
/** Access configuration with defaults applied (always present after defineEntity) */
|
|
7422
7488
|
access: Required<EntityAccessConfig>;
|
|
7423
7489
|
/** i18n namespace for translations (always present after defineEntity, defaults to `entity-${name.toLowerCase()}`) */
|
|
@@ -7425,6 +7491,28 @@ interface Entity extends BusinessEntity {
|
|
|
7425
7491
|
/** Multi-tenancy scope configuration (preserved from BusinessEntity if provided) */
|
|
7426
7492
|
scope?: ScopeConfig;
|
|
7427
7493
|
}
|
|
7494
|
+
/**
|
|
7495
|
+
* Document row type for an entity from {@link defineEntity} — use with `useCrud`, `bulk`, and list hooks.
|
|
7496
|
+
*
|
|
7497
|
+
* @version 0.1.0
|
|
7498
|
+
* @since 0.2.0
|
|
7499
|
+
*/
|
|
7500
|
+
/**
|
|
7501
|
+
* Widened entity type for props and APIs that accept any `defineEntity()` result
|
|
7502
|
+
* without casting to default {@link Entity}.
|
|
7503
|
+
*
|
|
7504
|
+
* @version 0.1.0
|
|
7505
|
+
* @since 0.2.0
|
|
7506
|
+
*/
|
|
7507
|
+
type AnyEntity = Entity<Record<string, EntityField>>;
|
|
7508
|
+
/**
|
|
7509
|
+
* Inferred document row for an entity. Always includes `id` so rows are valid for
|
|
7510
|
+
* lists, keys, and `Record<string, any>`-shaped component props even when `E` is
|
|
7511
|
+
* the widened {@link AnyEntity} (`fields` is only a string index signature).
|
|
7512
|
+
*/
|
|
7513
|
+
type InferEntityRow<E extends AnyEntity> = EntityRowFromFields<E['fields']> & {
|
|
7514
|
+
id: string;
|
|
7515
|
+
};
|
|
7428
7516
|
/**
|
|
7429
7517
|
* Unified metadata structure for all schemas (CRUD, Functions, etc.)
|
|
7430
7518
|
* Consolidates different metadata patterns into one DRY interface
|
|
@@ -7665,14 +7753,241 @@ interface ListEntitiesResponse {
|
|
|
7665
7753
|
}
|
|
7666
7754
|
|
|
7667
7755
|
/**
|
|
7668
|
-
* @fileoverview CRUD
|
|
7669
|
-
* @description
|
|
7670
|
-
*
|
|
7756
|
+
* @fileoverview CRUD Types
|
|
7757
|
+
* @description Type definitions for CRUD domain. Defines entity types, field types, and CRUD-related interfaces.
|
|
7758
|
+
* Uses unified FeatureStatus enum for feature state management.
|
|
7671
7759
|
*
|
|
7672
7760
|
* @version 0.1.0
|
|
7673
|
-
* @since 0.
|
|
7761
|
+
* @since 0.0.1
|
|
7762
|
+
* @author AMBROISE PARK Consulting
|
|
7763
|
+
*/
|
|
7764
|
+
|
|
7765
|
+
/**
|
|
7766
|
+
* Payload for create flows (`add`, bulk `inserts`) before the document has a
|
|
7767
|
+
* stable `id` (server- or client-generated). Matches runtime: optimistic add
|
|
7768
|
+
* mints a temp id; the create schema validates this shape.
|
|
7769
|
+
*
|
|
7770
|
+
* @version 0.1.0
|
|
7771
|
+
* @since 0.2.0
|
|
7772
|
+
*/
|
|
7773
|
+
type CrudCreateInput<T> = T extends Record<string, unknown> ? Omit<T, 'id'> : Record<string, unknown>;
|
|
7774
|
+
/**
|
|
7775
|
+
* CRUD API type - complete interface for useCrud hook
|
|
7776
|
+
*
|
|
7777
|
+
* @version 0.1.0
|
|
7778
|
+
* @since 0.0.1
|
|
7779
|
+
* @author AMBROISE PARK Consulting
|
|
7780
|
+
*/
|
|
7781
|
+
interface CrudAPI<T = unknown> {
|
|
7782
|
+
/**
|
|
7783
|
+
* Unified feature status - single source of truth for CRUD state.
|
|
7784
|
+
* - `initializing`: CRUD is loading/initializing
|
|
7785
|
+
* - `ready`: CRUD fully operational
|
|
7786
|
+
* - `degraded`: CRUD unavailable (feature not installed/consent not given)
|
|
7787
|
+
* - `error`: CRUD encountered error
|
|
7788
|
+
*/
|
|
7789
|
+
status: FeatureStatus;
|
|
7790
|
+
/** Current data (from get/subscribe) */
|
|
7791
|
+
data: T | null;
|
|
7792
|
+
/** Loading state for async operations */
|
|
7793
|
+
loading: boolean;
|
|
7794
|
+
/** Last error encountered */
|
|
7795
|
+
error: Error | null;
|
|
7796
|
+
/** Fetch single document by ID */
|
|
7797
|
+
get: (id: string) => Promise<T | null>;
|
|
7798
|
+
/** Set/replace document by ID */
|
|
7799
|
+
set: (id: string, data: T, options?: {
|
|
7800
|
+
showSuccessToast?: boolean;
|
|
7801
|
+
}) => Promise<void>;
|
|
7802
|
+
/** Partial update document by ID */
|
|
7803
|
+
update: (id: string, data: Partial<T>, options?: {
|
|
7804
|
+
showSuccessToast?: boolean;
|
|
7805
|
+
}) => Promise<void>;
|
|
7806
|
+
/** Delete document by ID */
|
|
7807
|
+
delete: (id: string, options?: {
|
|
7808
|
+
showSuccessToast?: boolean;
|
|
7809
|
+
}) => Promise<void>;
|
|
7810
|
+
/** Add new document (auto-generated ID) */
|
|
7811
|
+
add: (data: CrudCreateInput<T>, options?: {
|
|
7812
|
+
showSuccessToast?: boolean;
|
|
7813
|
+
}) => Promise<string>;
|
|
7814
|
+
/** Query collection with filters */
|
|
7815
|
+
query: (options: QueryOptions) => Promise<T[]>;
|
|
7816
|
+
/** Subscribe to document changes */
|
|
7817
|
+
subscribe: (id: string, callback: (data: T | null, error?: Error) => void) => () => void;
|
|
7818
|
+
/** Subscribe to collection changes */
|
|
7819
|
+
subscribeToCollection: (options: QueryOptions, callback: (data: T[], error?: Error) => void) => () => void;
|
|
7820
|
+
/** Invalidate cache for this collection (TanStack Query) */
|
|
7821
|
+
invalidate: () => Promise<void>;
|
|
7822
|
+
/** Whether CRUD is available and operational */
|
|
7823
|
+
isAvailable: boolean;
|
|
7824
|
+
/**
|
|
7825
|
+
* Cross-collection atomic bulk write. One optimistic pass, one toast,
|
|
7826
|
+
* coordinated rollback. Batches with `dependsOn` run after their
|
|
7827
|
+
* dependencies; independent batches run in parallel.
|
|
7828
|
+
*/
|
|
7829
|
+
bulkAcross?: (batches: BulkAcrossBatch[], options?: {
|
|
7830
|
+
showSuccessToast?: boolean;
|
|
7831
|
+
}) => Promise<BulkAcrossResult>;
|
|
7832
|
+
}
|
|
7833
|
+
/**
|
|
7834
|
+
* Base props for entity templates
|
|
7835
|
+
* @template T - The form values type
|
|
7836
|
+
*
|
|
7837
|
+
* @version 0.1.0
|
|
7838
|
+
* @since 0.0.1
|
|
7839
|
+
* @author AMBROISE PARK Consulting
|
|
7840
|
+
*/
|
|
7841
|
+
interface EntityTemplateProps<T extends FieldValues> {
|
|
7842
|
+
/** The DoNotDev schema for the entity */
|
|
7843
|
+
schema: dndevSchema<T>;
|
|
7844
|
+
/** Optional overrides for field configuration */
|
|
7845
|
+
fieldOverrides?: Partial<Record<keyof T, Partial<EntityField>>>;
|
|
7846
|
+
}
|
|
7847
|
+
/**
|
|
7848
|
+
* Column definition for list views
|
|
7849
|
+
* @template T - The item type
|
|
7850
|
+
*
|
|
7851
|
+
* @version 0.1.0
|
|
7852
|
+
* @since 0.0.1
|
|
7853
|
+
* @author AMBROISE PARK Consulting
|
|
7854
|
+
*/
|
|
7855
|
+
interface ColumnDef<T extends FieldValues> {
|
|
7856
|
+
/** Key in the data object */
|
|
7857
|
+
key: keyof T;
|
|
7858
|
+
/** Display label */
|
|
7859
|
+
label: string;
|
|
7860
|
+
/** Optional custom render function */
|
|
7861
|
+
render?: (value: T[keyof T], row: T) => ReactNode;
|
|
7862
|
+
}
|
|
7863
|
+
/**
|
|
7864
|
+
* Input shape for a bulk CRUD operation. All three fields are optional — callers
|
|
7865
|
+
* include only the buckets they need. Items are processed in input order per
|
|
7866
|
+
* bucket and returned in the same order in {@link BulkResult}.
|
|
7867
|
+
*
|
|
7868
|
+
* Semantics (enforced by the service, not the adapter):
|
|
7869
|
+
* - Atomic: all ops succeed or none do.
|
|
7870
|
+
* - Collision rejection: an id appearing in both `updates` and `deletes`, or both
|
|
7871
|
+
* `inserts` and `updates`, fails up-front with {@link BulkCollisionError}.
|
|
7872
|
+
* - Empty bulk (`{}`) is a no-op that returns a zeroed {@link BulkResult}
|
|
7873
|
+
* without hitting the adapter.
|
|
7874
|
+
*
|
|
7875
|
+
* @template T - Entity type for the collection. Must be an object so PII
|
|
7876
|
+
* encryption, cache merging and adapter mapping can treat each row as a
|
|
7877
|
+
* `Record<string, unknown>`.
|
|
7878
|
+
*
|
|
7879
|
+
* @example
|
|
7880
|
+
* const ops: BulkOperations<Event> = {
|
|
7881
|
+
* inserts: [{ title: 'A' }, { title: 'B' }],
|
|
7882
|
+
* updates: [{ id: 'e1', patch: { title: 'renamed' } }],
|
|
7883
|
+
* deletes: ['e2', 'e3'],
|
|
7884
|
+
* };
|
|
7885
|
+
*
|
|
7886
|
+
* @version 0.1.0
|
|
7887
|
+
* @since 0.2.0
|
|
7888
|
+
* @author AMBROISE PARK Consulting
|
|
7889
|
+
*/
|
|
7890
|
+
interface BulkOperations<T extends Record<string, unknown>> {
|
|
7891
|
+
/** New rows to insert. IDs are server-assigned and returned in {@link BulkResult.insertedIds}. */
|
|
7892
|
+
inserts?: CrudCreateInput<T>[];
|
|
7893
|
+
/** Partial updates keyed by id. `patch` is a shallow merge on top of the stored row. */
|
|
7894
|
+
updates?: Array<{
|
|
7895
|
+
id: string;
|
|
7896
|
+
patch: Partial<T>;
|
|
7897
|
+
}>;
|
|
7898
|
+
/** IDs to delete. */
|
|
7899
|
+
deletes?: string[];
|
|
7900
|
+
}
|
|
7901
|
+
/**
|
|
7902
|
+
* Result of a bulk CRUD operation. Each id list preserves the input order of the
|
|
7903
|
+
* corresponding bucket in {@link BulkOperations}.
|
|
7904
|
+
*
|
|
7905
|
+
* @example
|
|
7906
|
+
* const r: BulkResult = await adapter.bulk('events', {
|
|
7907
|
+
* inserts: [{ title: 'A' }],
|
|
7908
|
+
* deletes: ['x'],
|
|
7909
|
+
* });
|
|
7910
|
+
* r.insertedIds; // ['evt_123']
|
|
7911
|
+
* r.deletedIds; // ['x']
|
|
7912
|
+
*
|
|
7913
|
+
* @version 0.1.0
|
|
7914
|
+
* @since 0.2.0
|
|
7915
|
+
* @author AMBROISE PARK Consulting
|
|
7916
|
+
*/
|
|
7917
|
+
interface BulkResult {
|
|
7918
|
+
/** Server-assigned IDs for `inserts`, in input order. */
|
|
7919
|
+
insertedIds: string[];
|
|
7920
|
+
/** IDs that were updated, in input order. */
|
|
7921
|
+
updatedIds: string[];
|
|
7922
|
+
/** IDs that were deleted, in input order. */
|
|
7923
|
+
deletedIds: string[];
|
|
7924
|
+
}
|
|
7925
|
+
/**
|
|
7926
|
+
* One collection's worth of operations inside a {@link bulkAcross} call.
|
|
7927
|
+
*
|
|
7928
|
+
* Inserts may include a caller-provided `id` for cross-collection pre-minting:
|
|
7929
|
+
* mint the ID client-side, use it in both collections, and pass `dependsOn` to
|
|
7930
|
+
* ensure write order.
|
|
7931
|
+
*
|
|
7932
|
+
* @template T - Entity type for this batch's collection.
|
|
7933
|
+
*
|
|
7934
|
+
* @example
|
|
7935
|
+
* const customerId = generateUUID();
|
|
7936
|
+
* await bulkAcross([
|
|
7937
|
+
* {
|
|
7938
|
+
* collection: 'customers',
|
|
7939
|
+
* inserts: [{ id: customerId, ...customerData }],
|
|
7940
|
+
* schemas: { create: customerCreateSchema },
|
|
7941
|
+
* },
|
|
7942
|
+
* {
|
|
7943
|
+
* collection: 'inquiries',
|
|
7944
|
+
* inserts: [{ customerId, ...inquiryData }],
|
|
7945
|
+
* schemas: { create: inquiryCreateSchema },
|
|
7946
|
+
* dependsOn: ['customers'],
|
|
7947
|
+
* },
|
|
7948
|
+
* ]);
|
|
7949
|
+
*
|
|
7950
|
+
* @version 0.1.0
|
|
7951
|
+
* @since 0.3.0
|
|
7952
|
+
* @author AMBROISE PARK Consulting
|
|
7953
|
+
*/
|
|
7954
|
+
interface BulkAcrossBatch<T extends Record<string, unknown> = Record<string, unknown>> {
|
|
7955
|
+
/** Target collection name. */
|
|
7956
|
+
collection: string;
|
|
7957
|
+
/** Rows to insert. May include a caller-provided `id` for pre-minting. */
|
|
7958
|
+
inserts?: Array<CrudCreateInput<T> & {
|
|
7959
|
+
id?: string;
|
|
7960
|
+
}>;
|
|
7961
|
+
/** Rows to update (partial patches). */
|
|
7962
|
+
updates?: Array<{
|
|
7963
|
+
id: string;
|
|
7964
|
+
patch: Partial<T>;
|
|
7965
|
+
}>;
|
|
7966
|
+
/** Document IDs to delete. */
|
|
7967
|
+
deletes?: string[];
|
|
7968
|
+
/** Schemas for insert validation + PII resolution. */
|
|
7969
|
+
schemas: {
|
|
7970
|
+
create?: dndevSchema<T>;
|
|
7971
|
+
draft?: dndevSchema<T>;
|
|
7972
|
+
update?: dndevSchema<T>;
|
|
7973
|
+
};
|
|
7974
|
+
/**
|
|
7975
|
+
* Collections that must be written first.
|
|
7976
|
+
* Batches with no `dependsOn` run in parallel with other dependency-free batches.
|
|
7977
|
+
*/
|
|
7978
|
+
dependsOn?: string[];
|
|
7979
|
+
}
|
|
7980
|
+
/**
|
|
7981
|
+
* Result of a {@link bulkAcross} call. Per-collection results keyed by collection name.
|
|
7982
|
+
*
|
|
7983
|
+
* @version 0.1.0
|
|
7984
|
+
* @since 0.3.0
|
|
7674
7985
|
* @author AMBROISE PARK Consulting
|
|
7675
7986
|
*/
|
|
7987
|
+
interface BulkAcrossResult {
|
|
7988
|
+
/** Per-collection {@link BulkResult}, keyed by collection name. */
|
|
7989
|
+
results: Record<string, BulkResult>;
|
|
7990
|
+
}
|
|
7676
7991
|
|
|
7677
7992
|
/** Single where clause for a query. operator accepts CrudOperator or string so consumer code can use variables or literals ('in', '==', etc.) without importing CRUD_OPERATORS. */
|
|
7678
7993
|
interface QueryWhereClause {
|
|
@@ -7719,6 +8034,40 @@ interface PaginatedQueryResult<T> {
|
|
|
7719
8034
|
/** Opaque cursor for the next page */
|
|
7720
8035
|
lastVisible?: string | null;
|
|
7721
8036
|
}
|
|
8037
|
+
/**
|
|
8038
|
+
* Return shape of the CRUD list-query option builder
|
|
8039
|
+
* (`CrudService.getListQueryOptions` / `getListQueryOptionsImpl`).
|
|
8040
|
+
*
|
|
8041
|
+
* This is the TanStack-compatible descriptor handed to `useQuery()`. Lifted
|
|
8042
|
+
* into `@donotdev/core` so the CRUD facade and its impl can both annotate
|
|
8043
|
+
* their return types against a single source — the inferred-only shape
|
|
8044
|
+
* caused circular type inference (TS7023) after the 1949-LOC CrudService
|
|
8045
|
+
* split.
|
|
8046
|
+
*
|
|
8047
|
+
* **Invariant:** `queryKey[3]` is `JSON.stringify(queryOptions)` — list and
|
|
8048
|
+
* listCard views share the same key, yielding one network read.
|
|
8049
|
+
*
|
|
8050
|
+
* @template T - The entity type in list items
|
|
8051
|
+
*/
|
|
8052
|
+
interface CrudListQuery<T> {
|
|
8053
|
+
readonly queryKey: readonly ['crud', string, 'query', string];
|
|
8054
|
+
readonly queryFn: () => Promise<PaginatedQueryResult<T>>;
|
|
8055
|
+
readonly staleTime: number;
|
|
8056
|
+
}
|
|
8057
|
+
/**
|
|
8058
|
+
* Return shape of the CRUD single-document query option builder
|
|
8059
|
+
* (`CrudService.getDocQueryOptions` / `getDocQueryOptionsImpl`).
|
|
8060
|
+
*
|
|
8061
|
+
* TanStack-compatible descriptor for `useQuery()`. See `CrudListQuery` for
|
|
8062
|
+
* the rationale behind promoting this shape into core types.
|
|
8063
|
+
*
|
|
8064
|
+
* @template T - The document entity type
|
|
8065
|
+
*/
|
|
8066
|
+
interface CrudDocQuery<T> {
|
|
8067
|
+
readonly queryKey: readonly ['crud', string, 'get', string];
|
|
8068
|
+
readonly queryFn: () => Promise<T | null>;
|
|
8069
|
+
readonly staleTime: number;
|
|
8070
|
+
}
|
|
7722
8071
|
/** Callback for single-document subscriptions */
|
|
7723
8072
|
type DocumentSubscriptionCallback<T> = (data: T | null, error?: Error) => void;
|
|
7724
8073
|
/** Callback for collection subscriptions */
|
|
@@ -7728,6 +8077,17 @@ interface CrudOperationOptions {
|
|
|
7728
8077
|
/** AbortSignal to cancel the operation */
|
|
7729
8078
|
signal?: AbortSignal;
|
|
7730
8079
|
}
|
|
8080
|
+
|
|
8081
|
+
/**
|
|
8082
|
+
* @fileoverview CRUD Adapter Interface
|
|
8083
|
+
* @description Provider-agnostic interface for CRUD data access.
|
|
8084
|
+
* Any backend (Firestore, Supabase, REST, Postgres) must implement this contract.
|
|
8085
|
+
*
|
|
8086
|
+
* @version 0.1.0
|
|
8087
|
+
* @since 0.5.0
|
|
8088
|
+
* @author AMBROISE PARK Consulting
|
|
8089
|
+
*/
|
|
8090
|
+
|
|
7731
8091
|
/**
|
|
7732
8092
|
* Provider-agnostic CRUD adapter interface.
|
|
7733
8093
|
*
|
|
@@ -7765,6 +8125,18 @@ interface ICrudAdapter {
|
|
|
7765
8125
|
id: string;
|
|
7766
8126
|
data: Record<string, unknown>;
|
|
7767
8127
|
}>;
|
|
8128
|
+
/**
|
|
8129
|
+
* Execute a bulk transactional operation.
|
|
8130
|
+
* - All ops commit atomically. One transaction/writeBatch.
|
|
8131
|
+
* - One round-trip where the transport supports it.
|
|
8132
|
+
* - Empty ops returns a zeroed BulkResult without wire contact.
|
|
8133
|
+
* - Throws on partial failure; never leaves store in mixed state.
|
|
8134
|
+
*
|
|
8135
|
+
* @example
|
|
8136
|
+
* const r = await adapter.bulk('events', { inserts: [{ title: 'A' }], deletes: ['x'] });
|
|
8137
|
+
* r.insertedIds; r.deletedIds;
|
|
8138
|
+
*/
|
|
8139
|
+
bulk<T extends Record<string, unknown>>(collection: string, ops: BulkOperations<T>, schema?: dndevSchema<T>, options?: CrudOperationOptions): Promise<BulkResult>;
|
|
7768
8140
|
/** Set/replace a document by ID (upsert semantics). */
|
|
7769
8141
|
set<T>(collection: string, id: string, data: T, schema?: dndevSchema<T>, options?: CrudOperationOptions): Promise<void>;
|
|
7770
8142
|
/** Partial update a document by ID. */
|
|
@@ -7936,7 +8308,7 @@ interface AggregateResponse {
|
|
|
7936
8308
|
*/
|
|
7937
8309
|
interface EntityBrowseBaseProps {
|
|
7938
8310
|
/** The entity definition */
|
|
7939
|
-
entity:
|
|
8311
|
+
entity: AnyEntity;
|
|
7940
8312
|
/**
|
|
7941
8313
|
* Base path for view. Default: `/${collection}`. View = `${basePath}/${id}`.
|
|
7942
8314
|
*/
|
|
@@ -8055,7 +8427,7 @@ interface CrudCardProps {
|
|
|
8055
8427
|
id: string;
|
|
8056
8428
|
};
|
|
8057
8429
|
/** The entity definition (for entity.fields and formatting) */
|
|
8058
|
-
entity:
|
|
8430
|
+
entity: AnyEntity;
|
|
8059
8431
|
/**
|
|
8060
8432
|
* Called when card is clicked (e.g. open sheet instead of navigating).
|
|
8061
8433
|
* Navigation via Link is handled by the parent wrapper (CrudCardLink), not by CrudCard itself.
|
|
@@ -8081,7 +8453,7 @@ interface CrudCardProps {
|
|
|
8081
8453
|
/** Props for the entity form renderer with create/edit modes, validation, and navigation. */
|
|
8082
8454
|
interface EntityFormRendererProps<T extends EntityRecord = EntityRecord> {
|
|
8083
8455
|
/** Entity definition - pass the full entity from defineEntity() */
|
|
8084
|
-
entity:
|
|
8456
|
+
entity: AnyEntity;
|
|
8085
8457
|
/** Form submission handler */
|
|
8086
8458
|
onSubmit: (data: T) => void | Promise<void>;
|
|
8087
8459
|
/** Translation function */
|
|
@@ -8143,26 +8515,31 @@ interface EntityFormRendererProps<T extends EntityRecord = EntityRecord> {
|
|
|
8143
8515
|
* If provided, cancel button will show (with cancelText or default "Cancel").
|
|
8144
8516
|
*/
|
|
8145
8517
|
onCancel?: () => void;
|
|
8146
|
-
/**
|
|
8147
|
-
* Whether to show unsaved changes warning when navigating away.
|
|
8148
|
-
* @default true
|
|
8149
|
-
*/
|
|
8150
|
-
warnOnUnsavedChanges?: boolean;
|
|
8151
|
-
/**
|
|
8152
|
-
* Custom message for unsaved changes confirmation.
|
|
8153
|
-
*/
|
|
8154
|
-
unsavedChangesMessage?: string;
|
|
8155
8518
|
/**
|
|
8156
8519
|
* Hide visibility indicators (badges + View As toggle).
|
|
8157
8520
|
* When false (default), shows badge next to non-guest fields and View As role selector.
|
|
8158
8521
|
* @default false
|
|
8159
8522
|
*/
|
|
8160
8523
|
hideVisibilityInfo?: boolean;
|
|
8524
|
+
/**
|
|
8525
|
+
* Explicit form instance key for isolation between records.
|
|
8526
|
+
* When provided, React remounts the form whenever this value changes —
|
|
8527
|
+
* ensuring clean state when navigating between entities (e.g. `/cars/:id`).
|
|
8528
|
+
*
|
|
8529
|
+
* Pass the route ID: `instanceKey={id}`
|
|
8530
|
+
*
|
|
8531
|
+
* @example
|
|
8532
|
+
* ```tsx
|
|
8533
|
+
* // Automatically isolates form state per car — no manual reset needed
|
|
8534
|
+
* <EntityFormRenderer entity={carEntity} instanceKey={id} defaultValues={carData} />
|
|
8535
|
+
* ```
|
|
8536
|
+
*/
|
|
8537
|
+
instanceKey?: string;
|
|
8161
8538
|
}
|
|
8162
8539
|
/** Props for the entity recommendations section (e.g. "Similar items"). */
|
|
8163
8540
|
interface EntityRecommendationsProps {
|
|
8164
8541
|
/** The entity definition */
|
|
8165
|
-
entity:
|
|
8542
|
+
entity: AnyEntity;
|
|
8166
8543
|
/** Query constraints — caller defines "related by what" (where, limit, etc.) */
|
|
8167
8544
|
queryOptions: QueryOptions;
|
|
8168
8545
|
/** Section title (e.g. "Similar apartments") */
|
|
@@ -8183,7 +8560,7 @@ interface EntityRecommendationsProps {
|
|
|
8183
8560
|
/** Props for the read-only entity detail renderer with role-based visibility. */
|
|
8184
8561
|
interface EntityDisplayRendererProps<T extends EntityRecord = EntityRecord> {
|
|
8185
8562
|
/** Entity definition - pass the full entity from defineEntity() */
|
|
8186
|
-
entity:
|
|
8563
|
+
entity: AnyEntity;
|
|
8187
8564
|
/** Entity ID to fetch. Not required when `preview` is provided. */
|
|
8188
8565
|
id?: string;
|
|
8189
8566
|
/** Translation function (optional - auto-generated if not provided) */
|
|
@@ -8219,95 +8596,92 @@ interface EntityDisplayRendererProps<T extends EntityRecord = EntityRecord> {
|
|
|
8219
8596
|
}
|
|
8220
8597
|
|
|
8221
8598
|
/**
|
|
8222
|
-
* @fileoverview CRUD
|
|
8223
|
-
* @description
|
|
8224
|
-
*
|
|
8599
|
+
* @fileoverview CRUD Error Classes
|
|
8600
|
+
* @description Error classes raised by the CRUD service and adapters.
|
|
8601
|
+
* Each error is a plain {@link Error} subclass so consumers can `instanceof` them.
|
|
8225
8602
|
*
|
|
8226
8603
|
* @version 0.1.0
|
|
8227
|
-
* @since 0.0
|
|
8604
|
+
* @since 0.2.0
|
|
8228
8605
|
* @author AMBROISE PARK Consulting
|
|
8229
8606
|
*/
|
|
8230
|
-
|
|
8231
8607
|
/**
|
|
8232
|
-
*
|
|
8608
|
+
* Thrown when a {@link BulkOperations} payload contains the same id in two
|
|
8609
|
+
* mutually-exclusive buckets. The service rejects these up-front, before any
|
|
8610
|
+
* write is attempted, so partial state is impossible.
|
|
8611
|
+
*
|
|
8612
|
+
* @example
|
|
8613
|
+
* try {
|
|
8614
|
+
* await crud.bulk({
|
|
8615
|
+
* updates: [{ id: 'a', patch: {} }],
|
|
8616
|
+
* deletes: ['a'],
|
|
8617
|
+
* });
|
|
8618
|
+
* } catch (err) {
|
|
8619
|
+
* if (err instanceof BulkCollisionError) {
|
|
8620
|
+
* // err.collidingIds === ['a']
|
|
8621
|
+
* // err.where === 'updates-deletes'
|
|
8622
|
+
* }
|
|
8623
|
+
* }
|
|
8233
8624
|
*
|
|
8234
8625
|
* @version 0.1.0
|
|
8235
|
-
* @since 0.0
|
|
8236
|
-
* @author AMBROISE PARK Consulting
|
|
8626
|
+
* @since 0.2.0
|
|
8237
8627
|
*/
|
|
8238
|
-
|
|
8628
|
+
declare class BulkCollisionError extends Error {
|
|
8629
|
+
/** IDs that appear in both buckets. Preserves the order they were detected. */
|
|
8630
|
+
readonly collidingIds: string[];
|
|
8631
|
+
/** Which two buckets collided. */
|
|
8632
|
+
readonly where: 'updates-deletes' | 'inserts-updates';
|
|
8239
8633
|
/**
|
|
8240
|
-
*
|
|
8241
|
-
* -
|
|
8242
|
-
* - `ready`: CRUD fully operational
|
|
8243
|
-
* - `degraded`: CRUD unavailable (feature not installed/consent not given)
|
|
8244
|
-
* - `error`: CRUD encountered error
|
|
8634
|
+
* @param collidingIds - IDs present in both buckets.
|
|
8635
|
+
* @param where - The pair of buckets that produced the collision.
|
|
8245
8636
|
*/
|
|
8246
|
-
|
|
8247
|
-
/** Current data (from get/subscribe) */
|
|
8248
|
-
data: T | null;
|
|
8249
|
-
/** Loading state for async operations */
|
|
8250
|
-
loading: boolean;
|
|
8251
|
-
/** Last error encountered */
|
|
8252
|
-
error: Error | null;
|
|
8253
|
-
/** Fetch single document by ID */
|
|
8254
|
-
get: (id: string) => Promise<T | null>;
|
|
8255
|
-
/** Set/replace document by ID */
|
|
8256
|
-
set: (id: string, data: T, options?: {
|
|
8257
|
-
showSuccessToast?: boolean;
|
|
8258
|
-
}) => Promise<void>;
|
|
8259
|
-
/** Partial update document by ID */
|
|
8260
|
-
update: (id: string, data: Partial<T>, options?: {
|
|
8261
|
-
showSuccessToast?: boolean;
|
|
8262
|
-
}) => Promise<void>;
|
|
8263
|
-
/** Delete document by ID */
|
|
8264
|
-
delete: (id: string, options?: {
|
|
8265
|
-
showSuccessToast?: boolean;
|
|
8266
|
-
}) => Promise<void>;
|
|
8267
|
-
/** Add new document (auto-generated ID) */
|
|
8268
|
-
add: (data: T, options?: {
|
|
8269
|
-
showSuccessToast?: boolean;
|
|
8270
|
-
}) => Promise<string>;
|
|
8271
|
-
/** Query collection with filters */
|
|
8272
|
-
query: (options: QueryOptions) => Promise<T[]>;
|
|
8273
|
-
/** Subscribe to document changes */
|
|
8274
|
-
subscribe: (id: string, callback: (data: T | null, error?: Error) => void) => () => void;
|
|
8275
|
-
/** Subscribe to collection changes */
|
|
8276
|
-
subscribeToCollection: (options: QueryOptions, callback: (data: T[], error?: Error) => void) => () => void;
|
|
8277
|
-
/** Invalidate cache for this collection (TanStack Query) */
|
|
8278
|
-
invalidate: () => Promise<void>;
|
|
8279
|
-
/** Whether CRUD is available and operational */
|
|
8280
|
-
isAvailable: boolean;
|
|
8637
|
+
constructor(collidingIds: string[], where: 'updates-deletes' | 'inserts-updates');
|
|
8281
8638
|
}
|
|
8282
8639
|
/**
|
|
8283
|
-
*
|
|
8284
|
-
*
|
|
8640
|
+
* Thrown by {@link bulkAcross} before any side effect when `dependsOn`
|
|
8641
|
+
* relationships form a cycle. The `cycle` array lists the collection names
|
|
8642
|
+
* that form the circular dependency chain.
|
|
8643
|
+
*
|
|
8644
|
+
* @example
|
|
8645
|
+
* try {
|
|
8646
|
+
* await crud.bulkAcross([
|
|
8647
|
+
* { collection: 'a', dependsOn: ['b'], ... },
|
|
8648
|
+
* { collection: 'b', dependsOn: ['a'], ... },
|
|
8649
|
+
* ]);
|
|
8650
|
+
* } catch (err) {
|
|
8651
|
+
* if (err instanceof BulkAcrossCycleError) {
|
|
8652
|
+
* console.error(err.cycle); // ['a', 'b']
|
|
8653
|
+
* }
|
|
8654
|
+
* }
|
|
8285
8655
|
*
|
|
8286
8656
|
* @version 0.1.0
|
|
8287
|
-
* @since 0.0
|
|
8288
|
-
* @author AMBROISE PARK Consulting
|
|
8657
|
+
* @since 0.3.0
|
|
8289
8658
|
*/
|
|
8290
|
-
|
|
8291
|
-
/**
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
fieldOverrides?: Partial<Record<keyof T, Partial<EntityField>>>;
|
|
8659
|
+
declare class BulkAcrossCycleError extends Error {
|
|
8660
|
+
/** Collection names that form the cycle. */
|
|
8661
|
+
readonly cycle: string[];
|
|
8662
|
+
constructor(cycle: string[]);
|
|
8295
8663
|
}
|
|
8296
8664
|
/**
|
|
8297
|
-
*
|
|
8298
|
-
*
|
|
8665
|
+
* Thrown by an adapter whose `bulk()` method has not yet been implemented.
|
|
8666
|
+
* Lets the interface stay required across all providers while individual
|
|
8667
|
+
* adapters can land their implementation incrementally.
|
|
8668
|
+
*
|
|
8669
|
+
* @example
|
|
8670
|
+
* // Inside an adapter stub:
|
|
8671
|
+
* async bulk() {
|
|
8672
|
+
* throw new BulkNotImplementedError('restcrud');
|
|
8673
|
+
* }
|
|
8299
8674
|
*
|
|
8300
8675
|
* @version 0.1.0
|
|
8301
|
-
* @since 0.0
|
|
8302
|
-
* @author AMBROISE PARK Consulting
|
|
8676
|
+
* @since 0.2.0
|
|
8303
8677
|
*/
|
|
8304
|
-
|
|
8305
|
-
/**
|
|
8306
|
-
|
|
8307
|
-
/**
|
|
8308
|
-
|
|
8309
|
-
|
|
8310
|
-
|
|
8678
|
+
declare class BulkNotImplementedError extends Error {
|
|
8679
|
+
/** Adapter identifier (e.g. `'firebase-firestore'`, `'supabase'`). */
|
|
8680
|
+
readonly adapterName: string;
|
|
8681
|
+
/**
|
|
8682
|
+
* @param adapterName - Name of the adapter that has not implemented `bulk()`.
|
|
8683
|
+
*/
|
|
8684
|
+
constructor(adapterName: string);
|
|
8311
8685
|
}
|
|
8312
8686
|
|
|
8313
8687
|
/**
|
|
@@ -8593,7 +8967,7 @@ declare class DoNotDevError extends Error {
|
|
|
8593
8967
|
* @since 0.0.1
|
|
8594
8968
|
* @author AMBROISE PARK Consulting
|
|
8595
8969
|
*/
|
|
8596
|
-
type AuditEventType = 'auth.login.success' | 'auth.login.failure' | 'auth.logout' | 'auth.locked' | 'auth.unlocked' | 'auth.mfa.enrolled' | 'auth.mfa.challenged' | 'auth.session.expired' | 'auth.password.reset' | 'auth.role.changed' | 'crud.create' | 'crud.read' | 'crud.update' | 'crud.delete' | 'pii.access' | 'pii.export' | 'pii.erase' | 'rate_limit.exceeded' | 'anomaly.detected' | 'config.changed';
|
|
8970
|
+
type AuditEventType = 'auth.login.success' | 'auth.login.failure' | 'auth.logout' | 'auth.locked' | 'auth.unlocked' | 'auth.mfa.enrolled' | 'auth.mfa.challenged' | 'auth.session.expired' | 'auth.password.reset' | 'auth.signup.consent' | 'auth.role.changed' | 'crud.create' | 'crud.read' | 'crud.update' | 'crud.delete' | 'crud.bulk' | 'pii.access' | 'pii.export' | 'pii.erase' | 'rate_limit.exceeded' | 'anomaly.detected' | 'config.changed';
|
|
8597
8971
|
/**
|
|
8598
8972
|
* A single structured audit log entry.
|
|
8599
8973
|
*
|
|
@@ -9485,13 +9859,13 @@ interface Reference {
|
|
|
9485
9859
|
*/
|
|
9486
9860
|
interface EntityMetadata {
|
|
9487
9861
|
/** ISO 8601 timestamp when the entity was created */
|
|
9488
|
-
|
|
9862
|
+
createdAt: string;
|
|
9489
9863
|
/** ISO 8601 timestamp when the entity was last updated */
|
|
9490
|
-
|
|
9864
|
+
updatedAt: string;
|
|
9491
9865
|
/** ID of the user who created the entity */
|
|
9492
|
-
|
|
9866
|
+
createdById: string;
|
|
9493
9867
|
/** ID of the user who last updated the entity */
|
|
9494
|
-
|
|
9868
|
+
updatedById: string;
|
|
9495
9869
|
}
|
|
9496
9870
|
/**
|
|
9497
9871
|
* Utility type that adds metadata to a document.
|
|
@@ -11298,7 +11672,7 @@ interface ICallableProvider {
|
|
|
11298
11672
|
type UploadProgressCallback = (percent: number) => void;
|
|
11299
11673
|
/** Options for file upload */
|
|
11300
11674
|
interface UploadOptions {
|
|
11301
|
-
/**
|
|
11675
|
+
/** Folder path within the storage bucket (e.g. 'photos/2024'). Omit to upload to bucket root. */
|
|
11302
11676
|
storagePath?: string;
|
|
11303
11677
|
/** Custom filename override */
|
|
11304
11678
|
filename?: string;
|
|
@@ -11369,7 +11743,7 @@ interface IStorageAdapter {
|
|
|
11369
11743
|
* configureProviders({
|
|
11370
11744
|
* crud: new SupabaseCrudAdapter(supabase),
|
|
11371
11745
|
* auth: new SupabaseAuth(supabase),
|
|
11372
|
-
* storage: new SupabaseStorageAdapter(supabase),
|
|
11746
|
+
* storage: new SupabaseStorageAdapter(supabase, 'your-bucket'),
|
|
11373
11747
|
* });
|
|
11374
11748
|
* ```
|
|
11375
11749
|
*
|
|
@@ -12425,6 +12799,121 @@ type FeaturesWithoutConsent = {
|
|
|
12425
12799
|
[K in FeatureName]: FeatureConsentRequirement<K> extends null ? K : never;
|
|
12426
12800
|
}[FeatureName];
|
|
12427
12801
|
|
|
12802
|
+
/**
|
|
12803
|
+
* @fileoverview Canvas catalog types
|
|
12804
|
+
* @description TypeScript-only types describing widget definitions and the
|
|
12805
|
+
* shape stored in the catalog registry. Runtime validation lives in
|
|
12806
|
+
* `@donotdev/schemas` (see `schemas/common/canvas.ts`). This file is
|
|
12807
|
+
* purely structural and isomorphic (no React imports).
|
|
12808
|
+
*
|
|
12809
|
+
* The React component side of the registered widget is a concern of
|
|
12810
|
+
* `@donotdev/canvas` (the UI package). Server-side consumers (validators,
|
|
12811
|
+
* brokers) only need the definition shape, not the rendered component.
|
|
12812
|
+
*
|
|
12813
|
+
* @version 0.1.0
|
|
12814
|
+
* @since 0.1.0
|
|
12815
|
+
* @author AMBROISE PARK Consulting
|
|
12816
|
+
*/
|
|
12817
|
+
|
|
12818
|
+
/**
|
|
12819
|
+
* Which surface a widget is allowed to render on.
|
|
12820
|
+
*
|
|
12821
|
+
* - `household` — any authenticated member.
|
|
12822
|
+
* - `private` — member-scoped (mail, 2nd-brain, homework).
|
|
12823
|
+
* - `meta` — framing widgets (TextBlock, Composite, ProgressCanvas, Confirmation).
|
|
12824
|
+
*/
|
|
12825
|
+
type CanvasSurface = 'household' | 'private' | 'meta';
|
|
12826
|
+
/**
|
|
12827
|
+
* A valibot schema with an inferable output type. Accepts the generic base
|
|
12828
|
+
* schema shape used across the monorepo without locking to a specific issue type.
|
|
12829
|
+
*/
|
|
12830
|
+
type AnyValibotSchema = v.BaseSchema<unknown, unknown, v.BaseIssue<unknown>>;
|
|
12831
|
+
/**
|
|
12832
|
+
* Declarative widget definition — the static metadata a widget module
|
|
12833
|
+
* exports before it is paired with its React component for registration.
|
|
12834
|
+
*
|
|
12835
|
+
* Discriminator: `kind` (string literal, unique in the catalog).
|
|
12836
|
+
*
|
|
12837
|
+
* - `schema` validates the block `payload` for this kind.
|
|
12838
|
+
* - `actions` is a record of action-name -> schema validating that action's event payload.
|
|
12839
|
+
* - `surface` controls policy-layer gating.
|
|
12840
|
+
* - `defaultLifetime` is used by the agent-side emitter when the agent does not override it.
|
|
12841
|
+
*/
|
|
12842
|
+
interface WidgetDef<Kind extends string = string, PayloadSchema extends AnyValibotSchema = AnyValibotSchema, Actions extends Record<string, AnyValibotSchema> = Record<string, AnyValibotSchema>> {
|
|
12843
|
+
readonly kind: Kind;
|
|
12844
|
+
readonly schema: PayloadSchema;
|
|
12845
|
+
readonly actions: Actions;
|
|
12846
|
+
readonly surface: CanvasSurface;
|
|
12847
|
+
readonly defaultLifetime?: CanvasLifetime;
|
|
12848
|
+
}
|
|
12849
|
+
/**
|
|
12850
|
+
* Canvas block lifetime. Kept as a type alias here — the runtime schema
|
|
12851
|
+
* `CanvasLifetimeSchema` lives in `@donotdev/schemas`.
|
|
12852
|
+
*
|
|
12853
|
+
* - `ephemeral` — vanishes with the current turn (default).
|
|
12854
|
+
* - `session` — pinned to the current chat thread.
|
|
12855
|
+
* - `persistent` — lives on the PWA dashboard until manually removed.
|
|
12856
|
+
*/
|
|
12857
|
+
type CanvasLifetime = 'ephemeral' | 'session' | 'persistent';
|
|
12858
|
+
/**
|
|
12859
|
+
* Optional display hints attached to a canvas block.
|
|
12860
|
+
*/
|
|
12861
|
+
interface CanvasWidgetMetadata {
|
|
12862
|
+
readonly title?: string;
|
|
12863
|
+
readonly pinnable?: boolean;
|
|
12864
|
+
readonly preferredHeight?: number;
|
|
12865
|
+
}
|
|
12866
|
+
/**
|
|
12867
|
+
* Envelope for a single canvas block emitted by the agent.
|
|
12868
|
+
*
|
|
12869
|
+
* `payload` is intentionally `unknown` at the envelope level — it is
|
|
12870
|
+
* validated against the registered widget's payload schema inside
|
|
12871
|
+
* `validateBlock`. Do not trust `payload` without that check.
|
|
12872
|
+
*/
|
|
12873
|
+
interface CanvasBlock {
|
|
12874
|
+
readonly id: string;
|
|
12875
|
+
readonly kind: string;
|
|
12876
|
+
readonly lifetime: CanvasLifetime;
|
|
12877
|
+
readonly metadata?: CanvasWidgetMetadata;
|
|
12878
|
+
readonly payload: unknown;
|
|
12879
|
+
}
|
|
12880
|
+
/**
|
|
12881
|
+
* Envelope for a user interaction event emitted back to the agent.
|
|
12882
|
+
*
|
|
12883
|
+
* `payload` is validated against the widget's per-action schema inside
|
|
12884
|
+
* `validateEvent`.
|
|
12885
|
+
*/
|
|
12886
|
+
interface CanvasEvent {
|
|
12887
|
+
readonly widgetId: string;
|
|
12888
|
+
readonly action: string;
|
|
12889
|
+
readonly payload: unknown;
|
|
12890
|
+
}
|
|
12891
|
+
/**
|
|
12892
|
+
* Caller access tier passed to `validateBlock` for surface gating.
|
|
12893
|
+
*
|
|
12894
|
+
* Mirrors the gontrand access model. `kid` and `null` fail closed for any
|
|
12895
|
+
* non-`meta` surface at the canvas boundary.
|
|
12896
|
+
*/
|
|
12897
|
+
type CanvasCallerAccess = 'admin' | 'member' | 'kid' | null;
|
|
12898
|
+
/**
|
|
12899
|
+
* Optional options for `validateBlock`. When `caller` is present, the
|
|
12900
|
+
* widget's `surface` is matched against the caller's access tier after
|
|
12901
|
+
* envelope / kind / payload checks pass.
|
|
12902
|
+
*/
|
|
12903
|
+
interface ValidateBlockOptions {
|
|
12904
|
+
readonly caller?: {
|
|
12905
|
+
readonly access: CanvasCallerAccess;
|
|
12906
|
+
};
|
|
12907
|
+
}
|
|
12908
|
+
/**
|
|
12909
|
+
* Props every widget component receives from `CanvasHost`. The React
|
|
12910
|
+
* component shape itself lives in `@donotdev/canvas` (UI package).
|
|
12911
|
+
*/
|
|
12912
|
+
interface CanvasWidgetProps {
|
|
12913
|
+
readonly payload: unknown;
|
|
12914
|
+
readonly emit: (action: string, payload: unknown) => void;
|
|
12915
|
+
}
|
|
12916
|
+
|
|
12428
12917
|
/**
|
|
12429
12918
|
* @fileoverview Types package exports
|
|
12430
12919
|
* @description Centralized type definitions for DoNotDev framework
|
|
@@ -12482,7 +12971,9 @@ type index_d$5_AggregateFilterOperator = AggregateFilterOperator;
|
|
|
12482
12971
|
type index_d$5_AggregateOperation = AggregateOperation;
|
|
12483
12972
|
type index_d$5_AggregateRequest = AggregateRequest;
|
|
12484
12973
|
type index_d$5_AggregateResponse = AggregateResponse;
|
|
12974
|
+
type index_d$5_AnyEntity = AnyEntity;
|
|
12485
12975
|
type index_d$5_AnyFieldValue = AnyFieldValue;
|
|
12976
|
+
type index_d$5_AnyValibotSchema = AnyValibotSchema;
|
|
12486
12977
|
type index_d$5_ApiResponse<T> = ApiResponse<T>;
|
|
12487
12978
|
type index_d$5_AppConfig = AppConfig;
|
|
12488
12979
|
type index_d$5_AppCookieCategories = AppCookieCategories;
|
|
@@ -12548,7 +13039,17 @@ type index_d$5_BillingRedirectOperation = BillingRedirectOperation;
|
|
|
12548
13039
|
type index_d$5_Breakpoint = Breakpoint;
|
|
12549
13040
|
type index_d$5_BreakpointUtils = BreakpointUtils;
|
|
12550
13041
|
type index_d$5_BuiltInFieldType = BuiltInFieldType;
|
|
12551
|
-
type index_d$
|
|
13042
|
+
type index_d$5_BulkAcrossBatch<T extends Record<string, unknown> = Record<string, unknown>> = BulkAcrossBatch<T>;
|
|
13043
|
+
type index_d$5_BulkAcrossCycleError = BulkAcrossCycleError;
|
|
13044
|
+
declare const index_d$5_BulkAcrossCycleError: typeof BulkAcrossCycleError;
|
|
13045
|
+
type index_d$5_BulkAcrossResult = BulkAcrossResult;
|
|
13046
|
+
type index_d$5_BulkCollisionError = BulkCollisionError;
|
|
13047
|
+
declare const index_d$5_BulkCollisionError: typeof BulkCollisionError;
|
|
13048
|
+
type index_d$5_BulkNotImplementedError = BulkNotImplementedError;
|
|
13049
|
+
declare const index_d$5_BulkNotImplementedError: typeof BulkNotImplementedError;
|
|
13050
|
+
type index_d$5_BulkOperations<T extends Record<string, unknown>> = BulkOperations<T>;
|
|
13051
|
+
type index_d$5_BulkResult = BulkResult;
|
|
13052
|
+
type index_d$5_BusinessEntity<out F extends Record<string, EntityField> = Record<string, EntityField>> = BusinessEntity<F>;
|
|
12552
13053
|
declare const index_d$5_COMMON_TIER_CONFIGS: typeof COMMON_TIER_CONFIGS;
|
|
12553
13054
|
declare const index_d$5_CONFIDENCE_LEVELS: typeof CONFIDENCE_LEVELS;
|
|
12554
13055
|
declare const index_d$5_CONSENT_CATEGORY: typeof CONSENT_CATEGORY;
|
|
@@ -12556,6 +13057,13 @@ declare const index_d$5_CONTEXTS: typeof CONTEXTS;
|
|
|
12556
13057
|
declare const index_d$5_CRUD_OPERATORS: typeof CRUD_OPERATORS;
|
|
12557
13058
|
type index_d$5_CachedError = CachedError;
|
|
12558
13059
|
type index_d$5_CanAPI = CanAPI;
|
|
13060
|
+
type index_d$5_CanvasBlock = CanvasBlock;
|
|
13061
|
+
type index_d$5_CanvasCallerAccess = CanvasCallerAccess;
|
|
13062
|
+
type index_d$5_CanvasEvent = CanvasEvent;
|
|
13063
|
+
type index_d$5_CanvasLifetime = CanvasLifetime;
|
|
13064
|
+
type index_d$5_CanvasSurface = CanvasSurface;
|
|
13065
|
+
type index_d$5_CanvasWidgetMetadata = CanvasWidgetMetadata;
|
|
13066
|
+
type index_d$5_CanvasWidgetProps = CanvasWidgetProps;
|
|
12559
13067
|
type index_d$5_CheckGitHubAccessRequest = CheckGitHubAccessRequest;
|
|
12560
13068
|
type index_d$5_CheckoutMode = CheckoutMode;
|
|
12561
13069
|
type index_d$5_CheckoutOptions = CheckoutOptions;
|
|
@@ -12591,6 +13099,9 @@ type index_d$5_CreateEntityResponse = CreateEntityResponse;
|
|
|
12591
13099
|
type index_d$5_CrudAPI<T = unknown> = CrudAPI<T>;
|
|
12592
13100
|
type index_d$5_CrudCardProps = CrudCardProps;
|
|
12593
13101
|
type index_d$5_CrudConfig = CrudConfig;
|
|
13102
|
+
type index_d$5_CrudCreateInput<T> = CrudCreateInput<T>;
|
|
13103
|
+
type index_d$5_CrudDocQuery<T> = CrudDocQuery<T>;
|
|
13104
|
+
type index_d$5_CrudListQuery<T> = CrudListQuery<T>;
|
|
12594
13105
|
type index_d$5_CrudOperationOptions = CrudOperationOptions;
|
|
12595
13106
|
type index_d$5_CrudOperator = CrudOperator;
|
|
12596
13107
|
type index_d$5_CustomClaims = CustomClaims;
|
|
@@ -12636,13 +13147,14 @@ type index_d$5_EmailTemplate<TData extends Record<string, unknown> = Record<stri
|
|
|
12636
13147
|
type index_d$5_EmailTemplateRegistry = EmailTemplateRegistry;
|
|
12637
13148
|
type index_d$5_EmailVerificationHookResult = EmailVerificationHookResult;
|
|
12638
13149
|
type index_d$5_EmailVerificationStatus = EmailVerificationStatus;
|
|
12639
|
-
type index_d$5_Entity = Entity
|
|
13150
|
+
type index_d$5_Entity<out F extends Record<string, EntityField> = EntityFieldMapDefault> = Entity<F>;
|
|
12640
13151
|
type index_d$5_EntityAccessConfig = EntityAccessConfig;
|
|
12641
13152
|
type index_d$5_EntityAccessDefaults = EntityAccessDefaults;
|
|
12642
13153
|
type index_d$5_EntityBrowseBaseProps = EntityBrowseBaseProps;
|
|
12643
13154
|
type index_d$5_EntityCardListProps = EntityCardListProps;
|
|
12644
13155
|
type index_d$5_EntityDisplayRendererProps<T extends EntityRecord = EntityRecord> = EntityDisplayRendererProps<T>;
|
|
12645
13156
|
type index_d$5_EntityField<T extends string = FieldType> = EntityField<T>;
|
|
13157
|
+
type index_d$5_EntityFieldMapDefault = EntityFieldMapDefault;
|
|
12646
13158
|
type index_d$5_EntityFormRendererProps<T extends EntityRecord = EntityRecord> = EntityFormRendererProps<T>;
|
|
12647
13159
|
type index_d$5_EntityHookError = EntityHookError;
|
|
12648
13160
|
declare const index_d$5_EntityHookError: typeof EntityHookError;
|
|
@@ -12653,6 +13165,7 @@ type index_d$5_EntityOwnershipConfig = EntityOwnershipConfig;
|
|
|
12653
13165
|
type index_d$5_EntityOwnershipPublicCondition = EntityOwnershipPublicCondition;
|
|
12654
13166
|
type index_d$5_EntityRecommendationsProps = EntityRecommendationsProps;
|
|
12655
13167
|
type index_d$5_EntityRecord = EntityRecord;
|
|
13168
|
+
type index_d$5_EntityRowFromFields<F extends Record<string, EntityField>> = EntityRowFromFields<F>;
|
|
12656
13169
|
type index_d$5_EntityTemplateProps<T extends FieldValues> = EntityTemplateProps<T>;
|
|
12657
13170
|
type index_d$5_EntityTranslations = EntityTranslations;
|
|
12658
13171
|
type index_d$5_EnvironmentMode = EnvironmentMode;
|
|
@@ -12735,6 +13248,7 @@ type index_d$5_IServerAuthAdapter = IServerAuthAdapter;
|
|
|
12735
13248
|
type index_d$5_IStorageAdapter = IStorageAdapter;
|
|
12736
13249
|
type index_d$5_IStorageManager = IStorageManager;
|
|
12737
13250
|
type index_d$5_IStorageStrategy = IStorageStrategy;
|
|
13251
|
+
type index_d$5_InferEntityRow<E extends AnyEntity> = InferEntityRow<E>;
|
|
12738
13252
|
type index_d$5_Invoice = Invoice;
|
|
12739
13253
|
type index_d$5_InvoiceItem = InvoiceItem;
|
|
12740
13254
|
declare const index_d$5_LAYOUT_PRESET: typeof LAYOUT_PRESET;
|
|
@@ -12760,10 +13274,12 @@ type index_d$5_ListSchemaType = ListSchemaType;
|
|
|
12760
13274
|
type index_d$5_LoadingActions = LoadingActions;
|
|
12761
13275
|
type index_d$5_LoadingState = LoadingState;
|
|
12762
13276
|
type index_d$5_MergedBarConfig = MergedBarConfig;
|
|
13277
|
+
type index_d$5_MergedEntityFieldMap<F extends Record<string, EntityField>> = MergedEntityFieldMap<F>;
|
|
12763
13278
|
type index_d$5_MetricDefinition = MetricDefinition;
|
|
12764
13279
|
type index_d$5_MobileBehaviorConfig = MobileBehaviorConfig;
|
|
12765
13280
|
type index_d$5_ModalActions = ModalActions;
|
|
12766
13281
|
type index_d$5_ModalState = ModalState;
|
|
13282
|
+
type index_d$5_MutableMergedEntityFieldMap<F extends Record<string, EntityField>> = MutableMergedEntityFieldMap<F>;
|
|
12767
13283
|
type index_d$5_MutationResponse = MutationResponse;
|
|
12768
13284
|
type index_d$5_NavigationRoute = NavigationRoute;
|
|
12769
13285
|
type index_d$5_NetworkCheckConfig = NetworkCheckConfig;
|
|
@@ -12891,6 +13407,7 @@ type index_d$5_ServerRateLimitResult = ServerRateLimitResult;
|
|
|
12891
13407
|
type index_d$5_ServerUserRecord = ServerUserRecord;
|
|
12892
13408
|
type index_d$5_SetCustomClaimsResponse = SetCustomClaimsResponse;
|
|
12893
13409
|
type index_d$5_SidebarZoneConfig = SidebarZoneConfig;
|
|
13410
|
+
type index_d$5_SignUpMetadata = SignUpMetadata;
|
|
12894
13411
|
type index_d$5_SlotContent = SlotContent;
|
|
12895
13412
|
type index_d$5_StorageOptions = StorageOptions;
|
|
12896
13413
|
type index_d$5_StorageScope = StorageScope;
|
|
@@ -12973,6 +13490,7 @@ type index_d$5_UserRole = UserRole;
|
|
|
12973
13490
|
type index_d$5_UserSubscription = UserSubscription;
|
|
12974
13491
|
declare const index_d$5_UserSubscriptionSchema: typeof UserSubscriptionSchema;
|
|
12975
13492
|
declare const index_d$5_VISIBILITY: typeof VISIBILITY;
|
|
13493
|
+
type index_d$5_ValidateBlockOptions = ValidateBlockOptions;
|
|
12976
13494
|
type index_d$5_ValidationRules<T extends string = FieldType> = ValidationRules<T>;
|
|
12977
13495
|
type index_d$5_ValueTypeForField<T extends string> = ValueTypeForField<T>;
|
|
12978
13496
|
type index_d$5_VerifiedToken = VerifiedToken;
|
|
@@ -12982,6 +13500,7 @@ type index_d$5_WebhookEventData = WebhookEventData;
|
|
|
12982
13500
|
declare const index_d$5_WebhookEventSchema: typeof WebhookEventSchema;
|
|
12983
13501
|
type index_d$5_WhereClause = WhereClause;
|
|
12984
13502
|
type index_d$5_WhereOperator = WhereOperator;
|
|
13503
|
+
type index_d$5_WidgetDef<Kind extends string = string, PayloadSchema extends AnyValibotSchema = AnyValibotSchema, Actions extends Record<string, AnyValibotSchema> = Record<string, AnyValibotSchema>> = WidgetDef<Kind, PayloadSchema, Actions>;
|
|
12985
13504
|
type index_d$5_WithMetadata<T> = WithMetadata<T>;
|
|
12986
13505
|
declare const index_d$5_checkGitHubAccessSchema: typeof checkGitHubAccessSchema;
|
|
12987
13506
|
declare const index_d$5_createDefaultSubscriptionClaims: typeof createDefaultSubscriptionClaims;
|
|
@@ -13031,8 +13550,8 @@ declare const index_d$5_validateSubscriptionData: typeof validateSubscriptionDat
|
|
|
13031
13550
|
declare const index_d$5_validateUserSubscription: typeof validateUserSubscription;
|
|
13032
13551
|
declare const index_d$5_validateWebhookEvent: typeof validateWebhookEvent;
|
|
13033
13552
|
declare namespace index_d$5 {
|
|
13034
|
-
export { index_d$5_AGGREGATE_FILTER_OPERATORS as AGGREGATE_FILTER_OPERATORS, index_d$5_AGGREGATE_OPERATIONS as AGGREGATE_OPERATIONS, index_d$5_AIChatRequestSchema as AIChatRequestSchema, index_d$5_AIChatResponseSchema as AIChatResponseSchema, index_d$5_AIMessageSchema as AIMessageSchema, index_d$5_AIProviderConfigSchema as AIProviderConfigSchema, index_d$5_AIToolCallSchema as AIToolCallSchema, index_d$5_AIToolDefinitionSchema as AIToolDefinitionSchema, index_d$5_AIUsageSchema as AIUsageSchema, index_d$5_AI_ERROR_CODES as AI_ERROR_CODES, index_d$5_AI_MODELS as AI_MODELS, index_d$5_AI_PROVIDERS as AI_PROVIDERS, index_d$5_AI_ROLES as AI_ROLES, index_d$5_AI_TIERS as AI_TIERS, index_d$5_AI_TOKEN_PRICING as AI_TOKEN_PRICING, index_d$5_AUTH_EVENTS as AUTH_EVENTS, index_d$5_AUTH_PARTNERS as AUTH_PARTNERS, index_d$5_AUTH_PARTNER_STATE as AUTH_PARTNER_STATE, index_d$5_AuthUserSchema as AuthUserSchema, index_d$5_BILLING_EVENTS as BILLING_EVENTS, index_d$5_BREAKPOINT_RANGES as BREAKPOINT_RANGES, index_d$5_BREAKPOINT_THRESHOLDS as BREAKPOINT_THRESHOLDS, index_d$5_COMMON_TIER_CONFIGS as COMMON_TIER_CONFIGS, index_d$5_CONFIDENCE_LEVELS as CONFIDENCE_LEVELS, index_d$5_CONSENT_CATEGORY as CONSENT_CATEGORY, index_d$5_CONTEXTS as CONTEXTS, index_d$5_CRUD_OPERATORS as CRUD_OPERATORS, index_d$5_CheckoutSessionMetadataSchema as CheckoutSessionMetadataSchema, index_d$5_CreateCheckoutSessionRequestSchema as CreateCheckoutSessionRequestSchema, index_d$5_CreateCheckoutSessionResponseSchema as CreateCheckoutSessionResponseSchema, index_d$5_CustomClaimsSchema as CustomClaimsSchema, index_d$5_DEFAULT_AI_CONFIG as DEFAULT_AI_CONFIG, index_d$5_DEFAULT_AI_MARKUP as DEFAULT_AI_MARKUP, index_d$5_DEFAULT_ENTITY_ACCESS as DEFAULT_ENTITY_ACCESS, index_d$5_DEFAULT_LAYOUT_PRESET as DEFAULT_LAYOUT_PRESET, index_d$5_DEFAULT_SUBSCRIPTION as DEFAULT_SUBSCRIPTION, index_d$5_DENSITY as DENSITY, index_d$5_DoNotDevError as DoNotDevError, index_d$5_EDITABLE as EDITABLE, index_d$5_EMAIL_ERROR_CODES as EMAIL_ERROR_CODES, index_d$5_EMAIL_PROVIDERS as EMAIL_PROVIDERS, index_d$5_EMAIL_VERIFICATION_STATUS as EMAIL_VERIFICATION_STATUS, index_d$5_ENTITY_HOOK_ERRORS as ENTITY_HOOK_ERRORS, index_d$5_ENVIRONMENTS as ENVIRONMENTS, index_d$5_ERROR_CODES as ERROR_CODES, index_d$5_ERROR_SEVERITY as ERROR_SEVERITY, index_d$5_ERROR_SOURCE as ERROR_SOURCE, index_d$5_EntityHookError as EntityHookError, index_d$5_FEATURES as FEATURES, index_d$5_FEATURE_CONSENT_MATRIX as FEATURE_CONSENT_MATRIX, index_d$5_FEATURE_STATUS as FEATURE_STATUS, index_d$5_FIELD_TYPES as FIELD_TYPES, index_d$5_FIREBASE_ERROR_MAP as FIREBASE_ERROR_MAP, index_d$5_FOOTER_MODE as FOOTER_MODE, index_d$5_GITHUB_PERMISSION_LEVELS as GITHUB_PERMISSION_LEVELS, index_d$5_LAYOUT_PRESET as LAYOUT_PRESET, index_d$5_LIST_SCHEMA_TYPE as LIST_SCHEMA_TYPE, index_d$5_OAUTH_EVENTS as OAUTH_EVENTS, index_d$5_OAUTH_PARTNERS as OAUTH_PARTNERS, index_d$5_ORDER_DIRECTION as ORDER_DIRECTION, index_d$5_PARTNER_ICONS as PARTNER_ICONS, index_d$5_PAYLOAD_EVENTS as PAYLOAD_EVENTS, index_d$5_PERMISSIONS as PERMISSIONS, index_d$5_PLATFORMS as PLATFORMS, index_d$5_PWA_ASSET_TYPES as PWA_ASSET_TYPES, index_d$5_PWA_DISPLAY_MODES as PWA_DISPLAY_MODES, index_d$5_ProductDeclarationSchema as ProductDeclarationSchema, index_d$5_ProductDeclarationsSchema as ProductDeclarationsSchema, index_d$5_ROUTE_SOURCES as ROUTE_SOURCES, index_d$5_STORAGE_SCOPES as STORAGE_SCOPES, index_d$5_STORAGE_TYPES as STORAGE_TYPES, index_d$5_STRIPE_EVENTS as STRIPE_EVENTS, index_d$5_STRIPE_MODES as STRIPE_MODES, index_d$5_SUBSCRIPTION_DURATIONS as SUBSCRIPTION_DURATIONS, index_d$5_SUBSCRIPTION_STATUS as SUBSCRIPTION_STATUS, index_d$5_SUBSCRIPTION_TIERS as SUBSCRIPTION_TIERS, index_d$5_SendEmailRequestSchema as SendEmailRequestSchema, index_d$5_SendEmailResponseSchema as SendEmailResponseSchema, index_d$5_StripeBackConfigSchema as StripeBackConfigSchema, index_d$5_StripeFrontConfigSchema as StripeFrontConfigSchema, index_d$5_StripePaymentSchema as StripePaymentSchema, index_d$5_StripeSubscriptionSchema as StripeSubscriptionSchema, index_d$5_SubscriptionClaimsSchema as SubscriptionClaimsSchema, index_d$5_SubscriptionDataSchema as SubscriptionDataSchema, index_d$5_USER_ROLES as USER_ROLES, index_d$5_UserSubscriptionSchema as UserSubscriptionSchema, index_d$5_VISIBILITY as VISIBILITY, index_d$5_WebhookEventSchema as WebhookEventSchema, index_d$5_checkGitHubAccessSchema as checkGitHubAccessSchema, index_d$5_createDefaultSubscriptionClaims as createDefaultSubscriptionClaims, index_d$5_createDefaultUserProfile as createDefaultUserProfile, index_d$5_createEntitySchema as createEntitySchema, index_d$5_deleteEntitySchema as deleteEntitySchema, index_d$5_disconnectOAuthSchema as disconnectOAuthSchema, index_d$5_exchangeTokenSchema as exchangeTokenSchema, index_d$5_getBreakpointFromWidth as getBreakpointFromWidth, index_d$5_getBreakpointUtils as getBreakpointUtils, index_d$5_getConnectionsSchema as getConnectionsSchema, index_d$5_getEntitySchema as getEntitySchema, index_d$5_githubPermissionSchema as githubPermissionSchema, index_d$5_githubRepoConfigSchema as githubRepoConfigSchema, index_d$5_grantGitHubAccessSchema as grantGitHubAccessSchema, index_d$5_isAuthPartnerId as isAuthPartnerId, index_d$5_isBreakpoint as isBreakpoint, index_d$5_isOAuthPartnerId as isOAuthPartnerId, index_d$5_listEntitiesSchema as listEntitiesSchema, index_d$5_overrideFeatures as overrideFeatures, index_d$5_overridePaymentModes as overridePaymentModes, index_d$5_overridePermissions as overridePermissions, index_d$5_overrideSubscriptionStatus as overrideSubscriptionStatus, index_d$5_overrideSubscriptionTiers as overrideSubscriptionTiers, index_d$5_overrideUserRoles as overrideUserRoles, index_d$5_refreshTokenSchema as refreshTokenSchema, index_d$5_revokeGitHubAccessSchema as revokeGitHubAccessSchema, index_d$5_updateEntitySchema as updateEntitySchema, index_d$5_validateAIChatRequest as validateAIChatRequest, index_d$5_validateAIChatResponse as validateAIChatResponse, index_d$5_validateAuthPartners as validateAuthPartners, index_d$5_validateAuthSchemas as validateAuthSchemas, index_d$5_validateAuthUser as validateAuthUser, index_d$5_validateBillingSchemas as validateBillingSchemas, index_d$5_validateCheckoutSessionMetadata as validateCheckoutSessionMetadata, index_d$5_validateCreateCheckoutSessionRequest as validateCreateCheckoutSessionRequest, index_d$5_validateCreateCheckoutSessionResponse as validateCreateCheckoutSessionResponse, index_d$5_validateCustomClaims as validateCustomClaims, index_d$5_validateOAuthPartners as validateOAuthPartners, index_d$5_validateSendEmailRequest as validateSendEmailRequest, index_d$5_validateSendEmailResponse as validateSendEmailResponse, index_d$5_validateStripeBackConfig as validateStripeBackConfig, index_d$5_validateStripeFrontConfig as validateStripeFrontConfig, index_d$5_validateSubscriptionClaims as validateSubscriptionClaims, index_d$5_validateSubscriptionData as validateSubscriptionData, index_d$5_validateUserSubscription as validateUserSubscription, index_d$5_validateWebhookEvent as validateWebhookEvent };
|
|
13035
|
-
export type { index_d$5_AIAPI as AIAPI, index_d$5_AIChatRequest as AIChatRequest, index_d$5_AIChatResponse as AIChatResponse, index_d$5_AIConfig as AIConfig, index_d$5_AICostConfig as AICostConfig, index_d$5_AICostEvent as AICostEvent, index_d$5_AICostRecord as AICostRecord, index_d$5_AICostResult as AICostResult, index_d$5_AIErrorCode as AIErrorCode, index_d$5_AIMessage as AIMessage, index_d$5_AIModelPricing as AIModelPricing, index_d$5_AIProvider as AIProvider, index_d$5_AIProviderConfig as AIProviderConfig, index_d$5_AIRateLimitConfig as AIRateLimitConfig, index_d$5_AIRouteConfig as AIRouteConfig, index_d$5_AITierId as AITierId, index_d$5_AIToolCall as AIToolCall, index_d$5_AIToolDefinition as AIToolDefinition, index_d$5_AIToolParameter as AIToolParameter, index_d$5_AIUsage as AIUsage, index_d$5_AccountLinkResult as AccountLinkResult, index_d$5_AccountLinkingInfo as AccountLinkingInfo, index_d$5_AdminCheckHookResult as AdminCheckHookResult, index_d$5_AdminClaims as AdminClaims, index_d$5_AggregateConfig as AggregateConfig, index_d$5_AggregateFilterOperator as AggregateFilterOperator, index_d$5_AggregateOperation as AggregateOperation, index_d$5_AggregateRequest as AggregateRequest, index_d$5_AggregateResponse as AggregateResponse, index_d$5_AnyFieldValue as AnyFieldValue, index_d$5_ApiResponse as ApiResponse, index_d$5_AppConfig as AppConfig, index_d$5_AppCookieCategories as AppCookieCategories, index_d$5_AppMetadata as AppMetadata, index_d$5_AppProvidersProps as AppProvidersProps, index_d$5_AssetsPluginConfig as AssetsPluginConfig, index_d$5_AttemptRecord as AttemptRecord, index_d$5_AuditEvent as AuditEvent, index_d$5_AuditEventType as AuditEventType, index_d$5_AuthAPI as AuthAPI, index_d$5_AuthActions as AuthActions, index_d$5_AuthConfig as AuthConfig, index_d$5_AuthContextValue as AuthContextValue, index_d$5_AuthCoreHookResult as AuthCoreHookResult, index_d$5_AuthError as AuthError, index_d$5_AuthEventData as AuthEventData, index_d$5_AuthEventKey as AuthEventKey, index_d$5_AuthEventName as AuthEventName, index_d$5_AuthHardeningContext as AuthHardeningContext, index_d$5_AuthMethod as AuthMethod, index_d$5_AuthPartner as AuthPartner, index_d$5_AuthPartnerHookResult as AuthPartnerHookResult, index_d$5_AuthPartnerId as AuthPartnerId, index_d$5_AuthPartnerResult as AuthPartnerResult, index_d$5_AuthPartnerState as AuthPartnerState, index_d$5_AuthProvider as AuthProvider, index_d$5_AuthProviderProps as AuthProviderProps, index_d$5_AuthRedirectHookResult as AuthRedirectHookResult, index_d$5_AuthRedirectOperation as AuthRedirectOperation, index_d$5_AuthRedirectOptions as AuthRedirectOptions, index_d$5_AuthResult as AuthResult, index_d$5_AuthState as AuthState, index_d$5_AuthStateStore as AuthStateStore, index_d$5_AuthStatus as AuthStatus, index_d$5_AuthTokenHookResult as AuthTokenHookResult, index_d$5_AuthUser as AuthUser, index_d$5_BaseActions as BaseActions, index_d$5_BaseCredentials as BaseCredentials, index_d$5_BaseDocument as BaseDocument, index_d$5_BaseEntityFields as BaseEntityFields, index_d$5_BasePartnerState as BasePartnerState, index_d$5_BaseState as BaseState, index_d$5_BaseStoreActions as BaseStoreActions, index_d$5_BaseStoreState as BaseStoreState, index_d$5_BaseUserProfile as BaseUserProfile, index_d$5_BasicUserInfo as BasicUserInfo, index_d$5_BeforeCheckoutHook as BeforeCheckoutHook, index_d$5_BeforeCheckoutResult as BeforeCheckoutResult, index_d$5_BillingAPI as BillingAPI, index_d$5_BillingAdapter as BillingAdapter, index_d$5_BillingErrorCode as BillingErrorCode, index_d$5_BillingEvent as BillingEvent, index_d$5_BillingEventData as BillingEventData, index_d$5_BillingEventKey as BillingEventKey, index_d$5_BillingEventName as BillingEventName, index_d$5_BillingProvider as BillingProvider, index_d$5_BillingProviderConfig as BillingProviderConfig, index_d$5_BillingRedirectOperation as BillingRedirectOperation, index_d$5_Breakpoint as Breakpoint, index_d$5_BreakpointUtils as BreakpointUtils, index_d$5_BuiltInFieldType as BuiltInFieldType, index_d$5_BusinessEntity as BusinessEntity, index_d$5_CachedError as CachedError, index_d$5_CanAPI as CanAPI, index_d$5_CheckGitHubAccessRequest as CheckGitHubAccessRequest, index_d$5_CheckoutMode as CheckoutMode, index_d$5_CheckoutOptions as CheckoutOptions, index_d$5_CheckoutSessionMetadata as CheckoutSessionMetadata, index_d$5_CollectionSubscriptionCallback as CollectionSubscriptionCallback, index_d$5_ColumnDef as ColumnDef, index_d$5_CommonSubscriptionFeatures as CommonSubscriptionFeatures, index_d$5_CommonTranslations as CommonTranslations, index_d$5_ConditionBuilderLike as ConditionBuilderLike, index_d$5_ConditionExpression as ConditionExpression, index_d$5_ConditionGroup as ConditionGroup, index_d$5_ConditionInput as ConditionInput, index_d$5_ConditionNode as ConditionNode, index_d$5_ConditionOperator as ConditionOperator, index_d$5_ConditionResult as ConditionResult, index_d$5_ConditionalBehavior as ConditionalBehavior, index_d$5_ConfidenceLevel as ConfidenceLevel, index_d$5_ConnectOptions as ConnectOptions, index_d$5_ConsentAPI as ConsentAPI, index_d$5_ConsentActions as ConsentActions, index_d$5_ConsentCategory as ConsentCategory, index_d$5_ConsentState as ConsentState, index_d$5_Context as Context, index_d$5_CookieOptions as CookieOptions, index_d$5_CreateCheckoutSessionRequest as CreateCheckoutSessionRequest, index_d$5_CreateCheckoutSessionResponse as CreateCheckoutSessionResponse, index_d$5_CreateEntityData as CreateEntityData, index_d$5_CreateEntityRequest as CreateEntityRequest, index_d$5_CreateEntityResponse as CreateEntityResponse, index_d$5_CrudAPI as CrudAPI, index_d$5_CrudCardProps as CrudCardProps, index_d$5_CrudConfig as CrudConfig, index_d$5_CrudOperationOptions as CrudOperationOptions, index_d$5_CrudOperator as CrudOperator, index_d$5_CustomClaims as CustomClaims, index_d$5_CustomFieldOptionsMap as CustomFieldOptionsMap, index_d$5_CustomStoreConfig as CustomStoreConfig, index_d$5_DateValue as DateValue, index_d$5_DeleteEntityRequest as DeleteEntityRequest, index_d$5_DeleteEntityResponse as DeleteEntityResponse, index_d$5_Density as Density, index_d$5_DnDevOverride as DnDevOverride, index_d$5_DnDevWrapper as DnDevWrapper, index_d$5_DndevFrameworkConfig as DndevFrameworkConfig, index_d$5_DndevProviders as DndevProviders, index_d$5_DndevStoreApi as DndevStoreApi, index_d$5_DoNotDevCookieCategories as DoNotDevCookieCategories, index_d$5_DocumentSubscriptionCallback as DocumentSubscriptionCallback, index_d$5_DynamicFormRule as DynamicFormRule, index_d$5_Editable as Editable, index_d$5_EffectiveConnectionType as EffectiveConnectionType, index_d$5_EmailConfig as EmailConfig, index_d$5_EmailErrorCode as EmailErrorCode, index_d$5_EmailProvider as EmailProvider, index_d$5_EmailRouteConfig as EmailRouteConfig, index_d$5_EmailTemplate as EmailTemplate, index_d$5_EmailTemplateRegistry as EmailTemplateRegistry, index_d$5_EmailVerificationHookResult as EmailVerificationHookResult, index_d$5_EmailVerificationStatus as EmailVerificationStatus, index_d$5_Entity as Entity, index_d$5_EntityAccessConfig as EntityAccessConfig, index_d$5_EntityAccessDefaults as EntityAccessDefaults, index_d$5_EntityBrowseBaseProps as EntityBrowseBaseProps, index_d$5_EntityCardListProps as EntityCardListProps, index_d$5_EntityDisplayRendererProps as EntityDisplayRendererProps, index_d$5_EntityField as EntityField, index_d$5_EntityFormRendererProps as EntityFormRendererProps, index_d$5_EntityHookErrors as EntityHookErrors, index_d$5_EntityListProps as EntityListProps, index_d$5_EntityMetadata as EntityMetadata, index_d$5_EntityOwnershipConfig as EntityOwnershipConfig, index_d$5_EntityOwnershipPublicCondition as EntityOwnershipPublicCondition, index_d$5_EntityRecommendationsProps as EntityRecommendationsProps, index_d$5_EntityRecord as EntityRecord, index_d$5_EntityTemplateProps as EntityTemplateProps, index_d$5_EntityTranslations as EntityTranslations, index_d$5_EnvironmentMode as EnvironmentMode, index_d$5_ErrorCode as ErrorCode, index_d$5_ErrorSeverity as ErrorSeverity, index_d$5_ErrorSource as ErrorSource, index_d$5_ExchangeTokenParams as ExchangeTokenParams, index_d$5_ExchangeTokenRequest as ExchangeTokenRequest, index_d$5_ExchangeTokenResponse as ExchangeTokenResponse, index_d$5_FaviconConfig as FaviconConfig, index_d$5_Feature as Feature, index_d$5_FeatureAccessHookResult as FeatureAccessHookResult, index_d$5_FeatureConsentRequirement as FeatureConsentRequirement, index_d$5_FeatureHookResult as FeatureHookResult, index_d$5_FeatureId as FeatureId, index_d$5_FeatureName as FeatureName, index_d$5_FeatureStatus as FeatureStatus, index_d$5_FeaturesConfig as FeaturesConfig, index_d$5_FeaturesPluginConfig as FeaturesPluginConfig, index_d$5_FeaturesRequiringAnyConsent as FeaturesRequiringAnyConsent, index_d$5_FeaturesRequiringConsent as FeaturesRequiringConsent, index_d$5_FeaturesWithoutConsent as FeaturesWithoutConsent, index_d$5_FieldCondition as FieldCondition, index_d$5_FieldType as FieldType, index_d$5_FieldTypeToValue as FieldTypeToValue, index_d$5_FileAsset as FileAsset, index_d$5_FirebaseCallOptions as FirebaseCallOptions, index_d$5_FirebaseConfig as FirebaseConfig, index_d$5_FirestoreTimestamp as FirestoreTimestamp, index_d$5_FirestoreUniqueConstraintValidator as FirestoreUniqueConstraintValidator, index_d$5_FooterConfig as FooterConfig, index_d$5_FooterMode as FooterMode, index_d$5_FooterZoneConfig as FooterZoneConfig, index_d$5_FormConfig as FormConfig, index_d$5_FormStep as FormStep, index_d$5_FunctionCallConfig as FunctionCallConfig, index_d$5_FunctionCallContext as FunctionCallContext, index_d$5_FunctionCallOptions as FunctionCallOptions, index_d$5_FunctionCallResult as FunctionCallResult, index_d$5_FunctionClient as FunctionClient, index_d$5_FunctionClientFactoryOptions as FunctionClientFactoryOptions, index_d$5_FunctionDefaults as FunctionDefaults, index_d$5_FunctionEndpoint as FunctionEndpoint, index_d$5_FunctionError as FunctionError, index_d$5_FunctionLoader as FunctionLoader, index_d$5_FunctionMemory as FunctionMemory, index_d$5_FunctionMeta as FunctionMeta, index_d$5_FunctionPlatform as FunctionPlatform, index_d$5_FunctionResponse as FunctionResponse, index_d$5_FunctionSchema as FunctionSchema, index_d$5_FunctionSchemas as FunctionSchemas, index_d$5_FunctionSystem as FunctionSystem, index_d$5_FunctionTrigger as FunctionTrigger, index_d$5_FunctionsConfig as FunctionsConfig, index_d$5_GetCustomClaimsResponse as GetCustomClaimsResponse, index_d$5_GetEntityData as GetEntityData, index_d$5_GetEntityRequest as GetEntityRequest, index_d$5_GetEntityResponse as GetEntityResponse, index_d$5_GetUserAuthStatusResponse as GetUserAuthStatusResponse, index_d$5_GitHubPermission as GitHubPermission, index_d$5_GitHubRepoConfig as GitHubRepoConfig, index_d$5_GrantGitHubAccessRequest as GrantGitHubAccessRequest, index_d$5_GroupByDefinition as GroupByDefinition, index_d$5_HeaderZoneConfig as HeaderZoneConfig, index_d$5_I18nConfig as I18nConfig, index_d$5_I18nPluginConfig as I18nPluginConfig, index_d$5_I18nProviderProps as I18nProviderProps, index_d$5_ICallableProvider as ICallableProvider, index_d$5_ICrudAdapter as ICrudAdapter, index_d$5_ID as ID, index_d$5_INetworkManager as INetworkManager, index_d$5_IServerAuthAdapter as IServerAuthAdapter, index_d$5_IStorageAdapter as IStorageAdapter, index_d$5_IStorageManager as IStorageManager, index_d$5_IStorageStrategy as IStorageStrategy, index_d$5_Invoice as Invoice, index_d$5_InvoiceItem as InvoiceItem, index_d$5_LanguageData as LanguageData, LanguageInfo$1 as LanguageInfo, index_d$5_LayoutConfig as LayoutConfig, index_d$5_LayoutPreset as LayoutPreset, index_d$5_LegalCompanyInfo as LegalCompanyInfo, index_d$5_LegalConfig as LegalConfig, index_d$5_LegalContactInfo as LegalContactInfo, index_d$5_LegalDirectorInfo as LegalDirectorInfo, index_d$5_LegalHostingInfo as LegalHostingInfo, index_d$5_LegalJurisdictionInfo as LegalJurisdictionInfo, index_d$5_LegalSectionsConfig as LegalSectionsConfig, index_d$5_LegalWebsiteInfo as LegalWebsiteInfo, index_d$5_ListCardLayout as ListCardLayout, index_d$5_ListEntitiesRequest as ListEntitiesRequest, index_d$5_ListEntitiesResponse as ListEntitiesResponse, index_d$5_ListEntityData as ListEntityData, index_d$5_ListOptions as ListOptions, index_d$5_ListResponse as ListResponse, index_d$5_ListSchemaType as ListSchemaType, index_d$5_LoadingActions as LoadingActions, index_d$5_LoadingState as LoadingState, index_d$5_MergedBarConfig as MergedBarConfig, index_d$5_MetricDefinition as MetricDefinition, index_d$5_MobileBehaviorConfig as MobileBehaviorConfig, index_d$5_ModalActions as ModalActions, index_d$5_ModalState as ModalState, index_d$5_MutationResponse as MutationResponse, index_d$5_NavigationRoute as NavigationRoute, index_d$5_NetworkCheckConfig as NetworkCheckConfig, index_d$5_NetworkConnectionType as NetworkConnectionType, index_d$5_NetworkReconnectCallback as NetworkReconnectCallback, NetworkState$1 as NetworkState, index_d$5_NetworkStatus as NetworkStatus, index_d$5_NetworkStatusHookResult as NetworkStatusHookResult, index_d$5_OAuthAPI as OAuthAPI, index_d$5_OAuthApiRequestOptions as OAuthApiRequestOptions, index_d$5_OAuthCallbackHookResult as OAuthCallbackHookResult, index_d$5_OAuthConnection as OAuthConnection, index_d$5_OAuthConnectionInfo as OAuthConnectionInfo, index_d$5_OAuthConnectionRequest as OAuthConnectionRequest, index_d$5_OAuthConnectionStatus as OAuthConnectionStatus, index_d$5_OAuthCredentials as OAuthCredentials, index_d$5_OAuthEventData as OAuthEventData, index_d$5_OAuthEventKey as OAuthEventKey, index_d$5_OAuthEventName as OAuthEventName, index_d$5_OAuthPartner as OAuthPartner, index_d$5_OAuthPartnerHookResult as OAuthPartnerHookResult, index_d$5_OAuthPartnerId as OAuthPartnerId, index_d$5_OAuthPartnerResult as OAuthPartnerResult, index_d$5_OAuthPartnerState as OAuthPartnerState, index_d$5_OAuthPurpose as OAuthPurpose, index_d$5_OAuthRedirectOperation as OAuthRedirectOperation, index_d$5_OAuthRefreshRequest as OAuthRefreshRequest, index_d$5_OAuthRefreshResponse as OAuthRefreshResponse, index_d$5_OAuthResult as OAuthResult, index_d$5_OAuthStoreActions as OAuthStoreActions, index_d$5_OAuthStoreState as OAuthStoreState, index_d$5_Observable as Observable, index_d$5_OrderByClause as OrderByClause, index_d$5_OrderDirection as OrderDirection, index_d$5_PWAAssetType as PWAAssetType, index_d$5_PWADisplayMode as PWADisplayMode, index_d$5_PWAPluginConfig as PWAPluginConfig, index_d$5_PageAuth as PageAuth, index_d$5_PageMeta as PageMeta, index_d$5_PaginatedQueryResult as PaginatedQueryResult, index_d$5_PaginationOptions as PaginationOptions, index_d$5_PartnerConnectionState as PartnerConnectionState, index_d$5_PartnerIconId as PartnerIconId, index_d$5_PartnerId as PartnerId, index_d$5_PartnerResult as PartnerResult, index_d$5_PartnerType as PartnerType, index_d$5_PayloadCacheEventData as PayloadCacheEventData, index_d$5_PayloadDocument as PayloadDocument, index_d$5_PayloadDocumentEventData as PayloadDocumentEventData, index_d$5_PayloadEventKey as PayloadEventKey, index_d$5_PayloadEventName as PayloadEventName, index_d$5_PayloadGlobalEventData as PayloadGlobalEventData, index_d$5_PayloadMediaEventData as PayloadMediaEventData, index_d$5_PayloadPageRegenerationEventData as PayloadPageRegenerationEventData, index_d$5_PayloadRequest as PayloadRequest, index_d$5_PayloadUserEventData as PayloadUserEventData, index_d$5_PaymentEventData as PaymentEventData, index_d$5_PaymentMethod as PaymentMethod, index_d$5_PaymentMethodType as PaymentMethodType, index_d$5_PaymentMode as PaymentMode, index_d$5_Permission as Permission, index_d$5_Picture as Picture, index_d$5_Platform as Platform, index_d$5_PresetConfig as PresetConfig, index_d$5_PresetRegistry as PresetRegistry, index_d$5_ProcessPaymentSuccessRequest as ProcessPaymentSuccessRequest, index_d$5_ProcessPaymentSuccessResponse as ProcessPaymentSuccessResponse, index_d$5_ProductDeclaration as ProductDeclaration, index_d$5_ProviderInstances as ProviderInstances, index_d$5_QueryConfig as QueryConfig, index_d$5_QueryOptions as QueryOptions, index_d$5_QueryOrderBy as QueryOrderBy, index_d$5_QueryWhereClause as QueryWhereClause, index_d$5_RateLimitBackend as RateLimitBackend, index_d$5_RateLimitConfig as RateLimitConfig, index_d$5_RateLimitManager as RateLimitManager, index_d$5_RateLimitResult as RateLimitResult, index_d$5_RateLimitState as RateLimitState, index_d$5_RateLimiter as RateLimiter, index_d$5_ReadCallback as ReadCallback, index_d$5_RedirectOperation as RedirectOperation, index_d$5_RedirectOverlayActions as RedirectOverlayActions, index_d$5_RedirectOverlayConfig as RedirectOverlayConfig, index_d$5_RedirectOverlayPhase as RedirectOverlayPhase, index_d$5_RedirectOverlayState as RedirectOverlayState, index_d$5_Reference as Reference, index_d$5_RefreshSubscriptionRequest as RefreshSubscriptionRequest, index_d$5_RefreshSubscriptionResponse as RefreshSubscriptionResponse, index_d$5_RemoveCustomClaimsResponse as RemoveCustomClaimsResponse, index_d$5_ResolvedLayoutConfig as ResolvedLayoutConfig, index_d$5_RevokeGitHubAccessRequest as RevokeGitHubAccessRequest, index_d$5_RouteMeta as RouteMeta, index_d$5_RouteSource as RouteSource, index_d$5_RoutesPluginConfig as RoutesPluginConfig, index_d$5_SEOConfig as SEOConfig, index_d$5_SchemaMetadata as SchemaMetadata, index_d$5_ScopeConfig as ScopeConfig, index_d$5_SecurityContext as SecurityContext, index_d$5_SecurityEntityConfig as SecurityEntityConfig, index_d$5_SendEmailRequest as SendEmailRequest, index_d$5_SendEmailResponse as SendEmailResponse, index_d$5_SeoMeta as SeoMeta, index_d$5_ServerRateLimitConfig as ServerRateLimitConfig, index_d$5_ServerRateLimitResult as ServerRateLimitResult, index_d$5_ServerUserRecord as ServerUserRecord, index_d$5_SetCustomClaimsResponse as SetCustomClaimsResponse, index_d$5_SidebarZoneConfig as SidebarZoneConfig, index_d$5_SlotContent as SlotContent, index_d$5_StorageOptions as StorageOptions, index_d$5_StorageScope as StorageScope, index_d$5_StorageType as StorageType, index_d$5_Store as Store, index_d$5_StripeBackConfig as StripeBackConfig, index_d$5_StripeCheckoutRequest as StripeCheckoutRequest, index_d$5_StripeCheckoutResponse as StripeCheckoutResponse, index_d$5_StripeCheckoutSessionEventData as StripeCheckoutSessionEventData, index_d$5_StripeConfig as StripeConfig, index_d$5_StripeCustomer as StripeCustomer, index_d$5_StripeCustomerEventData as StripeCustomerEventData, index_d$5_StripeEventData as StripeEventData, index_d$5_StripeEventKey as StripeEventKey, index_d$5_StripeEventName as StripeEventName, index_d$5_StripeFrontConfig as StripeFrontConfig, index_d$5_StripeInvoice as StripeInvoice, index_d$5_StripeInvoiceEventData as StripeInvoiceEventData, index_d$5_StripePayment as StripePayment, index_d$5_StripePaymentIntentEventData as StripePaymentIntentEventData, index_d$5_StripePaymentMethod as StripePaymentMethod, index_d$5_StripePrice as StripePrice, index_d$5_StripeProduct as StripeProduct, index_d$5_StripeProvider as StripeProvider, index_d$5_StripeSubscription as StripeSubscription, index_d$5_StripeSubscriptionData as StripeSubscriptionData, index_d$5_StripeWebhookEvent as StripeWebhookEvent, index_d$5_StripeWebhookEventData as StripeWebhookEventData, index_d$5_Subscription as Subscription, index_d$5_SubscriptionClaims as SubscriptionClaims, index_d$5_SubscriptionConfig as SubscriptionConfig, index_d$5_SubscriptionData as SubscriptionData, index_d$5_SubscriptionDuration as SubscriptionDuration, index_d$5_SubscriptionEventData as SubscriptionEventData, index_d$5_SubscriptionHookResult as SubscriptionHookResult, index_d$5_SubscriptionInfo as SubscriptionInfo, index_d$5_SubscriptionStatus as SubscriptionStatus, index_d$5_SubscriptionTier as SubscriptionTier, index_d$5_SupportedLanguage as SupportedLanguage, index_d$5_ThemeActions as ThemeActions, index_d$5_ThemeInfo as ThemeInfo, index_d$5_ThemeMode as ThemeMode, index_d$5_ThemeState as ThemeState, index_d$5_ThemesPluginConfig as ThemesPluginConfig, index_d$5_TierAccessHookResult as TierAccessHookResult, index_d$5_Timestamp as Timestamp, index_d$5_TokenInfo as TokenInfo, index_d$5_TokenResponse as TokenResponse, index_d$5_TokenState as TokenState, index_d$5_TokenStatus as TokenStatus, index_d$5_TranslationOptions as TranslationOptions, index_d$5_TranslationResource as TranslationResource, index_d$5_UIFieldOptions as UIFieldOptions, index_d$5_UniqueConstraintValidator as UniqueConstraintValidator, index_d$5_UniqueKeyDefinition as UniqueKeyDefinition, index_d$5_UnsubscribeFn as UnsubscribeFn, index_d$5_UpdateEntityData as UpdateEntityData, index_d$5_UpdateEntityRequest as UpdateEntityRequest, index_d$5_UpdateEntityResponse as UpdateEntityResponse, index_d$5_UploadOptions as UploadOptions, index_d$5_UploadProgressCallback as UploadProgressCallback, index_d$5_UploadResult as UploadResult, index_d$5_UseFunctionsCallResult as UseFunctionsCallResult, index_d$5_UseFunctionsMutationOptions as UseFunctionsMutationOptions, index_d$5_UseFunctionsMutationResult as UseFunctionsMutationResult, index_d$5_UseFunctionsQueryOptions as UseFunctionsQueryOptions, index_d$5_UseFunctionsQueryResult as UseFunctionsQueryResult, index_d$5_UseTranslationOptionsEnhanced as UseTranslationOptionsEnhanced, index_d$5_UserContext as UserContext, index_d$5_UserProfile as UserProfile, index_d$5_UserProviderData as UserProviderData, index_d$5_UserRole as UserRole, index_d$5_UserSubscription as UserSubscription, index_d$5_ValidationRules as ValidationRules, index_d$5_ValueTypeForField as ValueTypeForField, index_d$5_VerifiedToken as VerifiedToken, index_d$5_Visibility as Visibility, index_d$5_WebhookEvent as WebhookEvent, index_d$5_WebhookEventData as WebhookEventData, index_d$5_WhereClause as WhereClause, index_d$5_WhereOperator as WhereOperator, index_d$5_WithMetadata as WithMetadata, index_d$5_dndevSchema as dndevSchema };
|
|
13553
|
+
export { index_d$5_AGGREGATE_FILTER_OPERATORS as AGGREGATE_FILTER_OPERATORS, index_d$5_AGGREGATE_OPERATIONS as AGGREGATE_OPERATIONS, index_d$5_AIChatRequestSchema as AIChatRequestSchema, index_d$5_AIChatResponseSchema as AIChatResponseSchema, index_d$5_AIMessageSchema as AIMessageSchema, index_d$5_AIProviderConfigSchema as AIProviderConfigSchema, index_d$5_AIToolCallSchema as AIToolCallSchema, index_d$5_AIToolDefinitionSchema as AIToolDefinitionSchema, index_d$5_AIUsageSchema as AIUsageSchema, index_d$5_AI_ERROR_CODES as AI_ERROR_CODES, index_d$5_AI_MODELS as AI_MODELS, index_d$5_AI_PROVIDERS as AI_PROVIDERS, index_d$5_AI_ROLES as AI_ROLES, index_d$5_AI_TIERS as AI_TIERS, index_d$5_AI_TOKEN_PRICING as AI_TOKEN_PRICING, index_d$5_AUTH_EVENTS as AUTH_EVENTS, index_d$5_AUTH_PARTNERS as AUTH_PARTNERS, index_d$5_AUTH_PARTNER_STATE as AUTH_PARTNER_STATE, index_d$5_AuthUserSchema as AuthUserSchema, index_d$5_BILLING_EVENTS as BILLING_EVENTS, index_d$5_BREAKPOINT_RANGES as BREAKPOINT_RANGES, index_d$5_BREAKPOINT_THRESHOLDS as BREAKPOINT_THRESHOLDS, index_d$5_BulkAcrossCycleError as BulkAcrossCycleError, index_d$5_BulkCollisionError as BulkCollisionError, index_d$5_BulkNotImplementedError as BulkNotImplementedError, index_d$5_COMMON_TIER_CONFIGS as COMMON_TIER_CONFIGS, index_d$5_CONFIDENCE_LEVELS as CONFIDENCE_LEVELS, index_d$5_CONSENT_CATEGORY as CONSENT_CATEGORY, index_d$5_CONTEXTS as CONTEXTS, index_d$5_CRUD_OPERATORS as CRUD_OPERATORS, index_d$5_CheckoutSessionMetadataSchema as CheckoutSessionMetadataSchema, index_d$5_CreateCheckoutSessionRequestSchema as CreateCheckoutSessionRequestSchema, index_d$5_CreateCheckoutSessionResponseSchema as CreateCheckoutSessionResponseSchema, index_d$5_CustomClaimsSchema as CustomClaimsSchema, index_d$5_DEFAULT_AI_CONFIG as DEFAULT_AI_CONFIG, index_d$5_DEFAULT_AI_MARKUP as DEFAULT_AI_MARKUP, index_d$5_DEFAULT_ENTITY_ACCESS as DEFAULT_ENTITY_ACCESS, index_d$5_DEFAULT_LAYOUT_PRESET as DEFAULT_LAYOUT_PRESET, index_d$5_DEFAULT_SUBSCRIPTION as DEFAULT_SUBSCRIPTION, index_d$5_DENSITY as DENSITY, index_d$5_DoNotDevError as DoNotDevError, index_d$5_EDITABLE as EDITABLE, index_d$5_EMAIL_ERROR_CODES as EMAIL_ERROR_CODES, index_d$5_EMAIL_PROVIDERS as EMAIL_PROVIDERS, index_d$5_EMAIL_VERIFICATION_STATUS as EMAIL_VERIFICATION_STATUS, index_d$5_ENTITY_HOOK_ERRORS as ENTITY_HOOK_ERRORS, index_d$5_ENVIRONMENTS as ENVIRONMENTS, index_d$5_ERROR_CODES as ERROR_CODES, index_d$5_ERROR_SEVERITY as ERROR_SEVERITY, index_d$5_ERROR_SOURCE as ERROR_SOURCE, index_d$5_EntityHookError as EntityHookError, index_d$5_FEATURES as FEATURES, index_d$5_FEATURE_CONSENT_MATRIX as FEATURE_CONSENT_MATRIX, index_d$5_FEATURE_STATUS as FEATURE_STATUS, index_d$5_FIELD_TYPES as FIELD_TYPES, index_d$5_FIREBASE_ERROR_MAP as FIREBASE_ERROR_MAP, index_d$5_FOOTER_MODE as FOOTER_MODE, index_d$5_GITHUB_PERMISSION_LEVELS as GITHUB_PERMISSION_LEVELS, index_d$5_LAYOUT_PRESET as LAYOUT_PRESET, index_d$5_LIST_SCHEMA_TYPE as LIST_SCHEMA_TYPE, index_d$5_OAUTH_EVENTS as OAUTH_EVENTS, index_d$5_OAUTH_PARTNERS as OAUTH_PARTNERS, index_d$5_ORDER_DIRECTION as ORDER_DIRECTION, index_d$5_PARTNER_ICONS as PARTNER_ICONS, index_d$5_PAYLOAD_EVENTS as PAYLOAD_EVENTS, index_d$5_PERMISSIONS as PERMISSIONS, index_d$5_PLATFORMS as PLATFORMS, index_d$5_PWA_ASSET_TYPES as PWA_ASSET_TYPES, index_d$5_PWA_DISPLAY_MODES as PWA_DISPLAY_MODES, index_d$5_ProductDeclarationSchema as ProductDeclarationSchema, index_d$5_ProductDeclarationsSchema as ProductDeclarationsSchema, index_d$5_ROUTE_SOURCES as ROUTE_SOURCES, index_d$5_STORAGE_SCOPES as STORAGE_SCOPES, index_d$5_STORAGE_TYPES as STORAGE_TYPES, index_d$5_STRIPE_EVENTS as STRIPE_EVENTS, index_d$5_STRIPE_MODES as STRIPE_MODES, index_d$5_SUBSCRIPTION_DURATIONS as SUBSCRIPTION_DURATIONS, index_d$5_SUBSCRIPTION_STATUS as SUBSCRIPTION_STATUS, index_d$5_SUBSCRIPTION_TIERS as SUBSCRIPTION_TIERS, index_d$5_SendEmailRequestSchema as SendEmailRequestSchema, index_d$5_SendEmailResponseSchema as SendEmailResponseSchema, index_d$5_StripeBackConfigSchema as StripeBackConfigSchema, index_d$5_StripeFrontConfigSchema as StripeFrontConfigSchema, index_d$5_StripePaymentSchema as StripePaymentSchema, index_d$5_StripeSubscriptionSchema as StripeSubscriptionSchema, index_d$5_SubscriptionClaimsSchema as SubscriptionClaimsSchema, index_d$5_SubscriptionDataSchema as SubscriptionDataSchema, index_d$5_USER_ROLES as USER_ROLES, index_d$5_UserSubscriptionSchema as UserSubscriptionSchema, index_d$5_VISIBILITY as VISIBILITY, index_d$5_WebhookEventSchema as WebhookEventSchema, index_d$5_checkGitHubAccessSchema as checkGitHubAccessSchema, index_d$5_createDefaultSubscriptionClaims as createDefaultSubscriptionClaims, index_d$5_createDefaultUserProfile as createDefaultUserProfile, index_d$5_createEntitySchema as createEntitySchema, index_d$5_deleteEntitySchema as deleteEntitySchema, index_d$5_disconnectOAuthSchema as disconnectOAuthSchema, index_d$5_exchangeTokenSchema as exchangeTokenSchema, index_d$5_getBreakpointFromWidth as getBreakpointFromWidth, index_d$5_getBreakpointUtils as getBreakpointUtils, index_d$5_getConnectionsSchema as getConnectionsSchema, index_d$5_getEntitySchema as getEntitySchema, index_d$5_githubPermissionSchema as githubPermissionSchema, index_d$5_githubRepoConfigSchema as githubRepoConfigSchema, index_d$5_grantGitHubAccessSchema as grantGitHubAccessSchema, index_d$5_isAuthPartnerId as isAuthPartnerId, index_d$5_isBreakpoint as isBreakpoint, index_d$5_isOAuthPartnerId as isOAuthPartnerId, index_d$5_listEntitiesSchema as listEntitiesSchema, index_d$5_overrideFeatures as overrideFeatures, index_d$5_overridePaymentModes as overridePaymentModes, index_d$5_overridePermissions as overridePermissions, index_d$5_overrideSubscriptionStatus as overrideSubscriptionStatus, index_d$5_overrideSubscriptionTiers as overrideSubscriptionTiers, index_d$5_overrideUserRoles as overrideUserRoles, index_d$5_refreshTokenSchema as refreshTokenSchema, index_d$5_revokeGitHubAccessSchema as revokeGitHubAccessSchema, index_d$5_updateEntitySchema as updateEntitySchema, index_d$5_validateAIChatRequest as validateAIChatRequest, index_d$5_validateAIChatResponse as validateAIChatResponse, index_d$5_validateAuthPartners as validateAuthPartners, index_d$5_validateAuthSchemas as validateAuthSchemas, index_d$5_validateAuthUser as validateAuthUser, index_d$5_validateBillingSchemas as validateBillingSchemas, index_d$5_validateCheckoutSessionMetadata as validateCheckoutSessionMetadata, index_d$5_validateCreateCheckoutSessionRequest as validateCreateCheckoutSessionRequest, index_d$5_validateCreateCheckoutSessionResponse as validateCreateCheckoutSessionResponse, index_d$5_validateCustomClaims as validateCustomClaims, index_d$5_validateOAuthPartners as validateOAuthPartners, index_d$5_validateSendEmailRequest as validateSendEmailRequest, index_d$5_validateSendEmailResponse as validateSendEmailResponse, index_d$5_validateStripeBackConfig as validateStripeBackConfig, index_d$5_validateStripeFrontConfig as validateStripeFrontConfig, index_d$5_validateSubscriptionClaims as validateSubscriptionClaims, index_d$5_validateSubscriptionData as validateSubscriptionData, index_d$5_validateUserSubscription as validateUserSubscription, index_d$5_validateWebhookEvent as validateWebhookEvent };
|
|
13554
|
+
export type { index_d$5_AIAPI as AIAPI, index_d$5_AIChatRequest as AIChatRequest, index_d$5_AIChatResponse as AIChatResponse, index_d$5_AIConfig as AIConfig, index_d$5_AICostConfig as AICostConfig, index_d$5_AICostEvent as AICostEvent, index_d$5_AICostRecord as AICostRecord, index_d$5_AICostResult as AICostResult, index_d$5_AIErrorCode as AIErrorCode, index_d$5_AIMessage as AIMessage, index_d$5_AIModelPricing as AIModelPricing, index_d$5_AIProvider as AIProvider, index_d$5_AIProviderConfig as AIProviderConfig, index_d$5_AIRateLimitConfig as AIRateLimitConfig, index_d$5_AIRouteConfig as AIRouteConfig, index_d$5_AITierId as AITierId, index_d$5_AIToolCall as AIToolCall, index_d$5_AIToolDefinition as AIToolDefinition, index_d$5_AIToolParameter as AIToolParameter, index_d$5_AIUsage as AIUsage, index_d$5_AccountLinkResult as AccountLinkResult, index_d$5_AccountLinkingInfo as AccountLinkingInfo, index_d$5_AdminCheckHookResult as AdminCheckHookResult, index_d$5_AdminClaims as AdminClaims, index_d$5_AggregateConfig as AggregateConfig, index_d$5_AggregateFilterOperator as AggregateFilterOperator, index_d$5_AggregateOperation as AggregateOperation, index_d$5_AggregateRequest as AggregateRequest, index_d$5_AggregateResponse as AggregateResponse, index_d$5_AnyEntity as AnyEntity, index_d$5_AnyFieldValue as AnyFieldValue, index_d$5_AnyValibotSchema as AnyValibotSchema, index_d$5_ApiResponse as ApiResponse, index_d$5_AppConfig as AppConfig, index_d$5_AppCookieCategories as AppCookieCategories, index_d$5_AppMetadata as AppMetadata, index_d$5_AppProvidersProps as AppProvidersProps, index_d$5_AssetsPluginConfig as AssetsPluginConfig, index_d$5_AttemptRecord as AttemptRecord, index_d$5_AuditEvent as AuditEvent, index_d$5_AuditEventType as AuditEventType, index_d$5_AuthAPI as AuthAPI, index_d$5_AuthActions as AuthActions, index_d$5_AuthConfig as AuthConfig, index_d$5_AuthContextValue as AuthContextValue, index_d$5_AuthCoreHookResult as AuthCoreHookResult, index_d$5_AuthError as AuthError, index_d$5_AuthEventData as AuthEventData, index_d$5_AuthEventKey as AuthEventKey, index_d$5_AuthEventName as AuthEventName, index_d$5_AuthHardeningContext as AuthHardeningContext, index_d$5_AuthMethod as AuthMethod, index_d$5_AuthPartner as AuthPartner, index_d$5_AuthPartnerHookResult as AuthPartnerHookResult, index_d$5_AuthPartnerId as AuthPartnerId, index_d$5_AuthPartnerResult as AuthPartnerResult, index_d$5_AuthPartnerState as AuthPartnerState, index_d$5_AuthProvider as AuthProvider, index_d$5_AuthProviderProps as AuthProviderProps, index_d$5_AuthRedirectHookResult as AuthRedirectHookResult, index_d$5_AuthRedirectOperation as AuthRedirectOperation, index_d$5_AuthRedirectOptions as AuthRedirectOptions, index_d$5_AuthResult as AuthResult, index_d$5_AuthState as AuthState, index_d$5_AuthStateStore as AuthStateStore, index_d$5_AuthStatus as AuthStatus, index_d$5_AuthTokenHookResult as AuthTokenHookResult, index_d$5_AuthUser as AuthUser, index_d$5_BaseActions as BaseActions, index_d$5_BaseCredentials as BaseCredentials, index_d$5_BaseDocument as BaseDocument, index_d$5_BaseEntityFields as BaseEntityFields, index_d$5_BasePartnerState as BasePartnerState, index_d$5_BaseState as BaseState, index_d$5_BaseStoreActions as BaseStoreActions, index_d$5_BaseStoreState as BaseStoreState, index_d$5_BaseUserProfile as BaseUserProfile, index_d$5_BasicUserInfo as BasicUserInfo, index_d$5_BeforeCheckoutHook as BeforeCheckoutHook, index_d$5_BeforeCheckoutResult as BeforeCheckoutResult, index_d$5_BillingAPI as BillingAPI, index_d$5_BillingAdapter as BillingAdapter, index_d$5_BillingErrorCode as BillingErrorCode, index_d$5_BillingEvent as BillingEvent, index_d$5_BillingEventData as BillingEventData, index_d$5_BillingEventKey as BillingEventKey, index_d$5_BillingEventName as BillingEventName, index_d$5_BillingProvider as BillingProvider, index_d$5_BillingProviderConfig as BillingProviderConfig, index_d$5_BillingRedirectOperation as BillingRedirectOperation, index_d$5_Breakpoint as Breakpoint, index_d$5_BreakpointUtils as BreakpointUtils, index_d$5_BuiltInFieldType as BuiltInFieldType, index_d$5_BulkAcrossBatch as BulkAcrossBatch, index_d$5_BulkAcrossResult as BulkAcrossResult, index_d$5_BulkOperations as BulkOperations, index_d$5_BulkResult as BulkResult, index_d$5_BusinessEntity as BusinessEntity, index_d$5_CachedError as CachedError, index_d$5_CanAPI as CanAPI, index_d$5_CanvasBlock as CanvasBlock, index_d$5_CanvasCallerAccess as CanvasCallerAccess, index_d$5_CanvasEvent as CanvasEvent, index_d$5_CanvasLifetime as CanvasLifetime, index_d$5_CanvasSurface as CanvasSurface, index_d$5_CanvasWidgetMetadata as CanvasWidgetMetadata, index_d$5_CanvasWidgetProps as CanvasWidgetProps, index_d$5_CheckGitHubAccessRequest as CheckGitHubAccessRequest, index_d$5_CheckoutMode as CheckoutMode, index_d$5_CheckoutOptions as CheckoutOptions, index_d$5_CheckoutSessionMetadata as CheckoutSessionMetadata, index_d$5_CollectionSubscriptionCallback as CollectionSubscriptionCallback, index_d$5_ColumnDef as ColumnDef, index_d$5_CommonSubscriptionFeatures as CommonSubscriptionFeatures, index_d$5_CommonTranslations as CommonTranslations, index_d$5_ConditionBuilderLike as ConditionBuilderLike, index_d$5_ConditionExpression as ConditionExpression, index_d$5_ConditionGroup as ConditionGroup, index_d$5_ConditionInput as ConditionInput, index_d$5_ConditionNode as ConditionNode, index_d$5_ConditionOperator as ConditionOperator, index_d$5_ConditionResult as ConditionResult, index_d$5_ConditionalBehavior as ConditionalBehavior, index_d$5_ConfidenceLevel as ConfidenceLevel, index_d$5_ConnectOptions as ConnectOptions, index_d$5_ConsentAPI as ConsentAPI, index_d$5_ConsentActions as ConsentActions, index_d$5_ConsentCategory as ConsentCategory, index_d$5_ConsentState as ConsentState, index_d$5_Context as Context, index_d$5_CookieOptions as CookieOptions, index_d$5_CreateCheckoutSessionRequest as CreateCheckoutSessionRequest, index_d$5_CreateCheckoutSessionResponse as CreateCheckoutSessionResponse, index_d$5_CreateEntityData as CreateEntityData, index_d$5_CreateEntityRequest as CreateEntityRequest, index_d$5_CreateEntityResponse as CreateEntityResponse, index_d$5_CrudAPI as CrudAPI, index_d$5_CrudCardProps as CrudCardProps, index_d$5_CrudConfig as CrudConfig, index_d$5_CrudCreateInput as CrudCreateInput, index_d$5_CrudDocQuery as CrudDocQuery, index_d$5_CrudListQuery as CrudListQuery, index_d$5_CrudOperationOptions as CrudOperationOptions, index_d$5_CrudOperator as CrudOperator, index_d$5_CustomClaims as CustomClaims, index_d$5_CustomFieldOptionsMap as CustomFieldOptionsMap, index_d$5_CustomStoreConfig as CustomStoreConfig, index_d$5_DateValue as DateValue, index_d$5_DeleteEntityRequest as DeleteEntityRequest, index_d$5_DeleteEntityResponse as DeleteEntityResponse, index_d$5_Density as Density, index_d$5_DnDevOverride as DnDevOverride, index_d$5_DnDevWrapper as DnDevWrapper, index_d$5_DndevFrameworkConfig as DndevFrameworkConfig, index_d$5_DndevProviders as DndevProviders, index_d$5_DndevStoreApi as DndevStoreApi, index_d$5_DoNotDevCookieCategories as DoNotDevCookieCategories, index_d$5_DocumentSubscriptionCallback as DocumentSubscriptionCallback, index_d$5_DynamicFormRule as DynamicFormRule, index_d$5_Editable as Editable, index_d$5_EffectiveConnectionType as EffectiveConnectionType, index_d$5_EmailConfig as EmailConfig, index_d$5_EmailErrorCode as EmailErrorCode, index_d$5_EmailProvider as EmailProvider, index_d$5_EmailRouteConfig as EmailRouteConfig, index_d$5_EmailTemplate as EmailTemplate, index_d$5_EmailTemplateRegistry as EmailTemplateRegistry, index_d$5_EmailVerificationHookResult as EmailVerificationHookResult, index_d$5_EmailVerificationStatus as EmailVerificationStatus, index_d$5_Entity as Entity, index_d$5_EntityAccessConfig as EntityAccessConfig, index_d$5_EntityAccessDefaults as EntityAccessDefaults, index_d$5_EntityBrowseBaseProps as EntityBrowseBaseProps, index_d$5_EntityCardListProps as EntityCardListProps, index_d$5_EntityDisplayRendererProps as EntityDisplayRendererProps, index_d$5_EntityField as EntityField, index_d$5_EntityFieldMapDefault as EntityFieldMapDefault, index_d$5_EntityFormRendererProps as EntityFormRendererProps, index_d$5_EntityHookErrors as EntityHookErrors, index_d$5_EntityListProps as EntityListProps, index_d$5_EntityMetadata as EntityMetadata, index_d$5_EntityOwnershipConfig as EntityOwnershipConfig, index_d$5_EntityOwnershipPublicCondition as EntityOwnershipPublicCondition, index_d$5_EntityRecommendationsProps as EntityRecommendationsProps, index_d$5_EntityRecord as EntityRecord, index_d$5_EntityRowFromFields as EntityRowFromFields, index_d$5_EntityTemplateProps as EntityTemplateProps, index_d$5_EntityTranslations as EntityTranslations, index_d$5_EnvironmentMode as EnvironmentMode, index_d$5_ErrorCode as ErrorCode, index_d$5_ErrorSeverity as ErrorSeverity, index_d$5_ErrorSource as ErrorSource, index_d$5_ExchangeTokenParams as ExchangeTokenParams, index_d$5_ExchangeTokenRequest as ExchangeTokenRequest, index_d$5_ExchangeTokenResponse as ExchangeTokenResponse, index_d$5_FaviconConfig as FaviconConfig, index_d$5_Feature as Feature, index_d$5_FeatureAccessHookResult as FeatureAccessHookResult, index_d$5_FeatureConsentRequirement as FeatureConsentRequirement, index_d$5_FeatureHookResult as FeatureHookResult, index_d$5_FeatureId as FeatureId, index_d$5_FeatureName as FeatureName, index_d$5_FeatureStatus as FeatureStatus, index_d$5_FeaturesConfig as FeaturesConfig, index_d$5_FeaturesPluginConfig as FeaturesPluginConfig, index_d$5_FeaturesRequiringAnyConsent as FeaturesRequiringAnyConsent, index_d$5_FeaturesRequiringConsent as FeaturesRequiringConsent, index_d$5_FeaturesWithoutConsent as FeaturesWithoutConsent, index_d$5_FieldCondition as FieldCondition, index_d$5_FieldType as FieldType, index_d$5_FieldTypeToValue as FieldTypeToValue, index_d$5_FileAsset as FileAsset, index_d$5_FirebaseCallOptions as FirebaseCallOptions, index_d$5_FirebaseConfig as FirebaseConfig, index_d$5_FirestoreTimestamp as FirestoreTimestamp, index_d$5_FirestoreUniqueConstraintValidator as FirestoreUniqueConstraintValidator, index_d$5_FooterConfig as FooterConfig, index_d$5_FooterMode as FooterMode, index_d$5_FooterZoneConfig as FooterZoneConfig, index_d$5_FormConfig as FormConfig, index_d$5_FormStep as FormStep, index_d$5_FunctionCallConfig as FunctionCallConfig, index_d$5_FunctionCallContext as FunctionCallContext, index_d$5_FunctionCallOptions as FunctionCallOptions, index_d$5_FunctionCallResult as FunctionCallResult, index_d$5_FunctionClient as FunctionClient, index_d$5_FunctionClientFactoryOptions as FunctionClientFactoryOptions, index_d$5_FunctionDefaults as FunctionDefaults, index_d$5_FunctionEndpoint as FunctionEndpoint, index_d$5_FunctionError as FunctionError, index_d$5_FunctionLoader as FunctionLoader, index_d$5_FunctionMemory as FunctionMemory, index_d$5_FunctionMeta as FunctionMeta, index_d$5_FunctionPlatform as FunctionPlatform, index_d$5_FunctionResponse as FunctionResponse, index_d$5_FunctionSchema as FunctionSchema, index_d$5_FunctionSchemas as FunctionSchemas, index_d$5_FunctionSystem as FunctionSystem, index_d$5_FunctionTrigger as FunctionTrigger, index_d$5_FunctionsConfig as FunctionsConfig, index_d$5_GetCustomClaimsResponse as GetCustomClaimsResponse, index_d$5_GetEntityData as GetEntityData, index_d$5_GetEntityRequest as GetEntityRequest, index_d$5_GetEntityResponse as GetEntityResponse, index_d$5_GetUserAuthStatusResponse as GetUserAuthStatusResponse, index_d$5_GitHubPermission as GitHubPermission, index_d$5_GitHubRepoConfig as GitHubRepoConfig, index_d$5_GrantGitHubAccessRequest as GrantGitHubAccessRequest, index_d$5_GroupByDefinition as GroupByDefinition, index_d$5_HeaderZoneConfig as HeaderZoneConfig, index_d$5_I18nConfig as I18nConfig, index_d$5_I18nPluginConfig as I18nPluginConfig, index_d$5_I18nProviderProps as I18nProviderProps, index_d$5_ICallableProvider as ICallableProvider, index_d$5_ICrudAdapter as ICrudAdapter, index_d$5_ID as ID, index_d$5_INetworkManager as INetworkManager, index_d$5_IServerAuthAdapter as IServerAuthAdapter, index_d$5_IStorageAdapter as IStorageAdapter, index_d$5_IStorageManager as IStorageManager, index_d$5_IStorageStrategy as IStorageStrategy, index_d$5_InferEntityRow as InferEntityRow, index_d$5_Invoice as Invoice, index_d$5_InvoiceItem as InvoiceItem, index_d$5_LanguageData as LanguageData, LanguageInfo$1 as LanguageInfo, index_d$5_LayoutConfig as LayoutConfig, index_d$5_LayoutPreset as LayoutPreset, index_d$5_LegalCompanyInfo as LegalCompanyInfo, index_d$5_LegalConfig as LegalConfig, index_d$5_LegalContactInfo as LegalContactInfo, index_d$5_LegalDirectorInfo as LegalDirectorInfo, index_d$5_LegalHostingInfo as LegalHostingInfo, index_d$5_LegalJurisdictionInfo as LegalJurisdictionInfo, index_d$5_LegalSectionsConfig as LegalSectionsConfig, index_d$5_LegalWebsiteInfo as LegalWebsiteInfo, index_d$5_ListCardLayout as ListCardLayout, index_d$5_ListEntitiesRequest as ListEntitiesRequest, index_d$5_ListEntitiesResponse as ListEntitiesResponse, index_d$5_ListEntityData as ListEntityData, index_d$5_ListOptions as ListOptions, index_d$5_ListResponse as ListResponse, index_d$5_ListSchemaType as ListSchemaType, index_d$5_LoadingActions as LoadingActions, index_d$5_LoadingState as LoadingState, index_d$5_MergedBarConfig as MergedBarConfig, index_d$5_MergedEntityFieldMap as MergedEntityFieldMap, index_d$5_MetricDefinition as MetricDefinition, index_d$5_MobileBehaviorConfig as MobileBehaviorConfig, index_d$5_ModalActions as ModalActions, index_d$5_ModalState as ModalState, index_d$5_MutableMergedEntityFieldMap as MutableMergedEntityFieldMap, index_d$5_MutationResponse as MutationResponse, index_d$5_NavigationRoute as NavigationRoute, index_d$5_NetworkCheckConfig as NetworkCheckConfig, index_d$5_NetworkConnectionType as NetworkConnectionType, index_d$5_NetworkReconnectCallback as NetworkReconnectCallback, NetworkState$1 as NetworkState, index_d$5_NetworkStatus as NetworkStatus, index_d$5_NetworkStatusHookResult as NetworkStatusHookResult, index_d$5_OAuthAPI as OAuthAPI, index_d$5_OAuthApiRequestOptions as OAuthApiRequestOptions, index_d$5_OAuthCallbackHookResult as OAuthCallbackHookResult, index_d$5_OAuthConnection as OAuthConnection, index_d$5_OAuthConnectionInfo as OAuthConnectionInfo, index_d$5_OAuthConnectionRequest as OAuthConnectionRequest, index_d$5_OAuthConnectionStatus as OAuthConnectionStatus, index_d$5_OAuthCredentials as OAuthCredentials, index_d$5_OAuthEventData as OAuthEventData, index_d$5_OAuthEventKey as OAuthEventKey, index_d$5_OAuthEventName as OAuthEventName, index_d$5_OAuthPartner as OAuthPartner, index_d$5_OAuthPartnerHookResult as OAuthPartnerHookResult, index_d$5_OAuthPartnerId as OAuthPartnerId, index_d$5_OAuthPartnerResult as OAuthPartnerResult, index_d$5_OAuthPartnerState as OAuthPartnerState, index_d$5_OAuthPurpose as OAuthPurpose, index_d$5_OAuthRedirectOperation as OAuthRedirectOperation, index_d$5_OAuthRefreshRequest as OAuthRefreshRequest, index_d$5_OAuthRefreshResponse as OAuthRefreshResponse, index_d$5_OAuthResult as OAuthResult, index_d$5_OAuthStoreActions as OAuthStoreActions, index_d$5_OAuthStoreState as OAuthStoreState, index_d$5_Observable as Observable, index_d$5_OrderByClause as OrderByClause, index_d$5_OrderDirection as OrderDirection, index_d$5_PWAAssetType as PWAAssetType, index_d$5_PWADisplayMode as PWADisplayMode, index_d$5_PWAPluginConfig as PWAPluginConfig, index_d$5_PageAuth as PageAuth, index_d$5_PageMeta as PageMeta, index_d$5_PaginatedQueryResult as PaginatedQueryResult, index_d$5_PaginationOptions as PaginationOptions, index_d$5_PartnerConnectionState as PartnerConnectionState, index_d$5_PartnerIconId as PartnerIconId, index_d$5_PartnerId as PartnerId, index_d$5_PartnerResult as PartnerResult, index_d$5_PartnerType as PartnerType, index_d$5_PayloadCacheEventData as PayloadCacheEventData, index_d$5_PayloadDocument as PayloadDocument, index_d$5_PayloadDocumentEventData as PayloadDocumentEventData, index_d$5_PayloadEventKey as PayloadEventKey, index_d$5_PayloadEventName as PayloadEventName, index_d$5_PayloadGlobalEventData as PayloadGlobalEventData, index_d$5_PayloadMediaEventData as PayloadMediaEventData, index_d$5_PayloadPageRegenerationEventData as PayloadPageRegenerationEventData, index_d$5_PayloadRequest as PayloadRequest, index_d$5_PayloadUserEventData as PayloadUserEventData, index_d$5_PaymentEventData as PaymentEventData, index_d$5_PaymentMethod as PaymentMethod, index_d$5_PaymentMethodType as PaymentMethodType, index_d$5_PaymentMode as PaymentMode, index_d$5_Permission as Permission, index_d$5_Picture as Picture, index_d$5_Platform as Platform, index_d$5_PresetConfig as PresetConfig, index_d$5_PresetRegistry as PresetRegistry, index_d$5_ProcessPaymentSuccessRequest as ProcessPaymentSuccessRequest, index_d$5_ProcessPaymentSuccessResponse as ProcessPaymentSuccessResponse, index_d$5_ProductDeclaration as ProductDeclaration, index_d$5_ProviderInstances as ProviderInstances, index_d$5_QueryConfig as QueryConfig, index_d$5_QueryOptions as QueryOptions, index_d$5_QueryOrderBy as QueryOrderBy, index_d$5_QueryWhereClause as QueryWhereClause, index_d$5_RateLimitBackend as RateLimitBackend, index_d$5_RateLimitConfig as RateLimitConfig, index_d$5_RateLimitManager as RateLimitManager, index_d$5_RateLimitResult as RateLimitResult, index_d$5_RateLimitState as RateLimitState, index_d$5_RateLimiter as RateLimiter, index_d$5_ReadCallback as ReadCallback, index_d$5_RedirectOperation as RedirectOperation, index_d$5_RedirectOverlayActions as RedirectOverlayActions, index_d$5_RedirectOverlayConfig as RedirectOverlayConfig, index_d$5_RedirectOverlayPhase as RedirectOverlayPhase, index_d$5_RedirectOverlayState as RedirectOverlayState, index_d$5_Reference as Reference, index_d$5_RefreshSubscriptionRequest as RefreshSubscriptionRequest, index_d$5_RefreshSubscriptionResponse as RefreshSubscriptionResponse, index_d$5_RemoveCustomClaimsResponse as RemoveCustomClaimsResponse, index_d$5_ResolvedLayoutConfig as ResolvedLayoutConfig, index_d$5_RevokeGitHubAccessRequest as RevokeGitHubAccessRequest, index_d$5_RouteMeta as RouteMeta, index_d$5_RouteSource as RouteSource, index_d$5_RoutesPluginConfig as RoutesPluginConfig, index_d$5_SEOConfig as SEOConfig, index_d$5_SchemaMetadata as SchemaMetadata, index_d$5_ScopeConfig as ScopeConfig, index_d$5_SecurityContext as SecurityContext, index_d$5_SecurityEntityConfig as SecurityEntityConfig, index_d$5_SendEmailRequest as SendEmailRequest, index_d$5_SendEmailResponse as SendEmailResponse, index_d$5_SeoMeta as SeoMeta, index_d$5_ServerRateLimitConfig as ServerRateLimitConfig, index_d$5_ServerRateLimitResult as ServerRateLimitResult, index_d$5_ServerUserRecord as ServerUserRecord, index_d$5_SetCustomClaimsResponse as SetCustomClaimsResponse, index_d$5_SidebarZoneConfig as SidebarZoneConfig, index_d$5_SignUpMetadata as SignUpMetadata, index_d$5_SlotContent as SlotContent, index_d$5_StorageOptions as StorageOptions, index_d$5_StorageScope as StorageScope, index_d$5_StorageType as StorageType, index_d$5_Store as Store, index_d$5_StripeBackConfig as StripeBackConfig, index_d$5_StripeCheckoutRequest as StripeCheckoutRequest, index_d$5_StripeCheckoutResponse as StripeCheckoutResponse, index_d$5_StripeCheckoutSessionEventData as StripeCheckoutSessionEventData, index_d$5_StripeConfig as StripeConfig, index_d$5_StripeCustomer as StripeCustomer, index_d$5_StripeCustomerEventData as StripeCustomerEventData, index_d$5_StripeEventData as StripeEventData, index_d$5_StripeEventKey as StripeEventKey, index_d$5_StripeEventName as StripeEventName, index_d$5_StripeFrontConfig as StripeFrontConfig, index_d$5_StripeInvoice as StripeInvoice, index_d$5_StripeInvoiceEventData as StripeInvoiceEventData, index_d$5_StripePayment as StripePayment, index_d$5_StripePaymentIntentEventData as StripePaymentIntentEventData, index_d$5_StripePaymentMethod as StripePaymentMethod, index_d$5_StripePrice as StripePrice, index_d$5_StripeProduct as StripeProduct, index_d$5_StripeProvider as StripeProvider, index_d$5_StripeSubscription as StripeSubscription, index_d$5_StripeSubscriptionData as StripeSubscriptionData, index_d$5_StripeWebhookEvent as StripeWebhookEvent, index_d$5_StripeWebhookEventData as StripeWebhookEventData, index_d$5_Subscription as Subscription, index_d$5_SubscriptionClaims as SubscriptionClaims, index_d$5_SubscriptionConfig as SubscriptionConfig, index_d$5_SubscriptionData as SubscriptionData, index_d$5_SubscriptionDuration as SubscriptionDuration, index_d$5_SubscriptionEventData as SubscriptionEventData, index_d$5_SubscriptionHookResult as SubscriptionHookResult, index_d$5_SubscriptionInfo as SubscriptionInfo, index_d$5_SubscriptionStatus as SubscriptionStatus, index_d$5_SubscriptionTier as SubscriptionTier, index_d$5_SupportedLanguage as SupportedLanguage, index_d$5_ThemeActions as ThemeActions, index_d$5_ThemeInfo as ThemeInfo, index_d$5_ThemeMode as ThemeMode, index_d$5_ThemeState as ThemeState, index_d$5_ThemesPluginConfig as ThemesPluginConfig, index_d$5_TierAccessHookResult as TierAccessHookResult, index_d$5_Timestamp as Timestamp, index_d$5_TokenInfo as TokenInfo, index_d$5_TokenResponse as TokenResponse, index_d$5_TokenState as TokenState, index_d$5_TokenStatus as TokenStatus, index_d$5_TranslationOptions as TranslationOptions, index_d$5_TranslationResource as TranslationResource, index_d$5_UIFieldOptions as UIFieldOptions, index_d$5_UniqueConstraintValidator as UniqueConstraintValidator, index_d$5_UniqueKeyDefinition as UniqueKeyDefinition, index_d$5_UnsubscribeFn as UnsubscribeFn, index_d$5_UpdateEntityData as UpdateEntityData, index_d$5_UpdateEntityRequest as UpdateEntityRequest, index_d$5_UpdateEntityResponse as UpdateEntityResponse, index_d$5_UploadOptions as UploadOptions, index_d$5_UploadProgressCallback as UploadProgressCallback, index_d$5_UploadResult as UploadResult, index_d$5_UseFunctionsCallResult as UseFunctionsCallResult, index_d$5_UseFunctionsMutationOptions as UseFunctionsMutationOptions, index_d$5_UseFunctionsMutationResult as UseFunctionsMutationResult, index_d$5_UseFunctionsQueryOptions as UseFunctionsQueryOptions, index_d$5_UseFunctionsQueryResult as UseFunctionsQueryResult, index_d$5_UseTranslationOptionsEnhanced as UseTranslationOptionsEnhanced, index_d$5_UserContext as UserContext, index_d$5_UserProfile as UserProfile, index_d$5_UserProviderData as UserProviderData, index_d$5_UserRole as UserRole, index_d$5_UserSubscription as UserSubscription, index_d$5_ValidateBlockOptions as ValidateBlockOptions, index_d$5_ValidationRules as ValidationRules, index_d$5_ValueTypeForField as ValueTypeForField, index_d$5_VerifiedToken as VerifiedToken, index_d$5_Visibility as Visibility, index_d$5_WebhookEvent as WebhookEvent, index_d$5_WebhookEventData as WebhookEventData, index_d$5_WhereClause as WhereClause, index_d$5_WhereOperator as WhereOperator, index_d$5_WidgetDef as WidgetDef, index_d$5_WithMetadata as WithMetadata, index_d$5_dndevSchema as dndevSchema };
|
|
13036
13555
|
}
|
|
13037
13556
|
|
|
13038
13557
|
/**
|
|
@@ -18034,10 +18553,10 @@ declare function translateArrayWithIndices(t: TFunction, keyPrefix: string, maxI
|
|
|
18034
18553
|
* for database operations, ensuring consistency across the application.
|
|
18035
18554
|
*
|
|
18036
18555
|
* **Metadata Fields:**
|
|
18037
|
-
* - `
|
|
18038
|
-
* - `
|
|
18039
|
-
* - `
|
|
18040
|
-
* - `
|
|
18556
|
+
* - `createdAt`: ISO timestamp when document was created
|
|
18557
|
+
* - `updatedAt`: ISO timestamp when document was last updated
|
|
18558
|
+
* - `createdById`: User ID who created the document
|
|
18559
|
+
* - `updatedById`: User ID who last updated the document
|
|
18041
18560
|
*
|
|
18042
18561
|
* @version 0.1.0
|
|
18043
18562
|
* @since 0.0.1
|
|
@@ -18087,10 +18606,10 @@ declare function translateArrayWithIndices(t: TFunction, keyPrefix: string, maxI
|
|
|
18087
18606
|
* ```
|
|
18088
18607
|
*/
|
|
18089
18608
|
declare function createMetadata(userId: string): {
|
|
18090
|
-
|
|
18091
|
-
|
|
18092
|
-
|
|
18093
|
-
|
|
18609
|
+
createdAt: string;
|
|
18610
|
+
updatedAt: string;
|
|
18611
|
+
createdById: string;
|
|
18612
|
+
updatedById: string;
|
|
18094
18613
|
};
|
|
18095
18614
|
|
|
18096
18615
|
/**
|
|
@@ -18771,7 +19290,7 @@ declare function hasTierAccess(userTier: string | undefined, requiredTier: strin
|
|
|
18771
19290
|
* configureProviders({
|
|
18772
19291
|
* crud: new SupabaseCrudAdapter(supabase),
|
|
18773
19292
|
* auth: new SupabaseAuth(supabase),
|
|
18774
|
-
* storage: new SupabaseStorageAdapter(supabase),
|
|
19293
|
+
* storage: new SupabaseStorageAdapter(supabase, 'your-bucket'),
|
|
18775
19294
|
* });
|
|
18776
19295
|
* ```
|
|
18777
19296
|
*
|
|
@@ -18979,8 +19498,8 @@ declare class SingletonManager {
|
|
|
18979
19498
|
* @returns An object with update timestamp and user ID
|
|
18980
19499
|
*/
|
|
18981
19500
|
declare function updateMetadata(userId: string): {
|
|
18982
|
-
|
|
18983
|
-
|
|
19501
|
+
updatedAt: string;
|
|
19502
|
+
updatedById: string;
|
|
18984
19503
|
};
|
|
18985
19504
|
|
|
18986
19505
|
/**
|
|
@@ -19397,87 +19916,6 @@ declare const DEFAULT_CRUD_TIMEOUT = 15000;
|
|
|
19397
19916
|
*/
|
|
19398
19917
|
declare function withTimeout<T>(promise: Promise<T>, timeoutMs: number, signal?: AbortSignal): Promise<T>;
|
|
19399
19918
|
|
|
19400
|
-
/**
|
|
19401
|
-
* License validation result
|
|
19402
|
-
*/
|
|
19403
|
-
interface LicenseValidationResult {
|
|
19404
|
-
/** Whether a license key was found */
|
|
19405
|
-
hasKey: boolean;
|
|
19406
|
-
/** Whether the found key is valid */
|
|
19407
|
-
isValid: boolean;
|
|
19408
|
-
/** License tier if valid */
|
|
19409
|
-
tier?: string;
|
|
19410
|
-
/** Error message if validation failed */
|
|
19411
|
-
error?: string;
|
|
19412
|
-
}
|
|
19413
|
-
/**
|
|
19414
|
-
* Detects license key from multiple sources
|
|
19415
|
-
*
|
|
19416
|
-
* Priority order:
|
|
19417
|
-
* 1. globalThis.__DONOTDEV_LICENSE_KEY__ (runtime injection)
|
|
19418
|
-
* 2. Platform environment variables (VITE_DONOTDEV_LICENSE_KEY for Vite, NEXT_PUBLIC_DONOTDEV_LICENSE_KEY for Next.js)
|
|
19419
|
-
*
|
|
19420
|
-
* @returns License key if found, null otherwise
|
|
19421
|
-
*
|
|
19422
|
-
* @example
|
|
19423
|
-
* ```typescript
|
|
19424
|
-
* const key = detectLicenseKey();
|
|
19425
|
-
* if (key) {
|
|
19426
|
-
* console.log('License key found');
|
|
19427
|
-
* }
|
|
19428
|
-
* ```
|
|
19429
|
-
*
|
|
19430
|
-
* @version 0.1.0
|
|
19431
|
-
* @since 0.0.1
|
|
19432
|
-
* @author AMBROISE PARK Consulting
|
|
19433
|
-
*/
|
|
19434
|
-
declare function detectLicenseKey(): string | null;
|
|
19435
|
-
/**
|
|
19436
|
-
* Validates license key format and structure
|
|
19437
|
-
*
|
|
19438
|
-
* Basic validation checks:
|
|
19439
|
-
* - Key starts with 'dndev_' prefix
|
|
19440
|
-
* - Key has minimum length
|
|
19441
|
-
*
|
|
19442
|
-
* Future: JWT validation when backend ready
|
|
19443
|
-
*
|
|
19444
|
-
* @param key - License key to validate
|
|
19445
|
-
* @returns Validation result
|
|
19446
|
-
*
|
|
19447
|
-
* @example
|
|
19448
|
-
* ```typescript
|
|
19449
|
-
* const result = validateLicenseKey('dndev_dev_seat_1_abc123');
|
|
19450
|
-
* if (result.isValid) {
|
|
19451
|
-
* console.log('Valid license key');
|
|
19452
|
-
* }
|
|
19453
|
-
* ```
|
|
19454
|
-
*
|
|
19455
|
-
* @version 0.1.0
|
|
19456
|
-
* @since 0.0.1
|
|
19457
|
-
* @author AMBROISE PARK Consulting
|
|
19458
|
-
*/
|
|
19459
|
-
declare function validateLicenseKey(key: string): LicenseValidationResult;
|
|
19460
|
-
/**
|
|
19461
|
-
* Checks license key validity
|
|
19462
|
-
*
|
|
19463
|
-
* Result is cached at module level for performance (license doesn't change at runtime)
|
|
19464
|
-
*
|
|
19465
|
-
* @returns Validation result
|
|
19466
|
-
*
|
|
19467
|
-
* @example
|
|
19468
|
-
* ```typescript
|
|
19469
|
-
* const license = checkLicense();
|
|
19470
|
-
* if (!license.isValid) {
|
|
19471
|
-
* console.warn('No valid license key found');
|
|
19472
|
-
* }
|
|
19473
|
-
* ```
|
|
19474
|
-
*
|
|
19475
|
-
* @version 0.1.0
|
|
19476
|
-
* @since 0.0.1
|
|
19477
|
-
* @author AMBROISE PARK Consulting
|
|
19478
|
-
*/
|
|
19479
|
-
declare function checkLicense(): LicenseValidationResult;
|
|
19480
|
-
|
|
19481
19919
|
/**
|
|
19482
19920
|
* @fileoverview Utils package
|
|
19483
19921
|
* @description Utility functions for DoNotDev framework
|
|
@@ -19543,7 +19981,6 @@ declare const index_d$4_HybridStorageStrategy: typeof HybridStorageStrategy;
|
|
|
19543
19981
|
type index_d$4_IStorageManager = IStorageManager;
|
|
19544
19982
|
type index_d$4_IntersectionObserverCallback = IntersectionObserverCallback;
|
|
19545
19983
|
type index_d$4_IntersectionObserverOptions = IntersectionObserverOptions;
|
|
19546
|
-
type index_d$4_LicenseValidationResult = LicenseValidationResult;
|
|
19547
19984
|
type index_d$4_LocalStorageStrategy = LocalStorageStrategy;
|
|
19548
19985
|
declare const index_d$4_LocalStorageStrategy: typeof LocalStorageStrategy;
|
|
19549
19986
|
type index_d$4_LockoutResult = LockoutResult;
|
|
@@ -19569,7 +20006,6 @@ declare const index_d$4_canRedirectExternally: typeof canRedirectExternally;
|
|
|
19569
20006
|
declare const index_d$4_captureError: typeof captureError;
|
|
19570
20007
|
declare const index_d$4_captureErrorToSentry: typeof captureErrorToSentry;
|
|
19571
20008
|
declare const index_d$4_captureMessage: typeof captureMessage;
|
|
19572
|
-
declare const index_d$4_checkLicense: typeof checkLicense;
|
|
19573
20009
|
declare const index_d$4_cleanupSentry: typeof cleanupSentry;
|
|
19574
20010
|
declare const index_d$4_clearFeatureCache: typeof clearFeatureCache;
|
|
19575
20011
|
declare const index_d$4_clearGlobalSingleton: typeof clearGlobalSingleton;
|
|
@@ -19594,7 +20030,6 @@ declare const index_d$4_deleteCookie: typeof deleteCookie;
|
|
|
19594
20030
|
declare const index_d$4_detectBrowser: typeof detectBrowser;
|
|
19595
20031
|
declare const index_d$4_detectErrorSource: typeof detectErrorSource;
|
|
19596
20032
|
declare const index_d$4_detectFeatures: typeof detectFeatures;
|
|
19597
|
-
declare const index_d$4_detectLicenseKey: typeof detectLicenseKey;
|
|
19598
20033
|
declare const index_d$4_detectPlatform: typeof detectPlatform;
|
|
19599
20034
|
declare const index_d$4_detectPlatformInfo: typeof detectPlatformInfo;
|
|
19600
20035
|
declare const index_d$4_detectStorageError: typeof detectStorageError;
|
|
@@ -19731,7 +20166,6 @@ declare const index_d$4_useSafeContext: typeof useSafeContext;
|
|
|
19731
20166
|
declare const index_d$4_useStorageManager: typeof useStorageManager;
|
|
19732
20167
|
declare const index_d$4_validateCodeChallenge: typeof validateCodeChallenge;
|
|
19733
20168
|
declare const index_d$4_validateCodeVerifier: typeof validateCodeVerifier;
|
|
19734
|
-
declare const index_d$4_validateLicenseKey: typeof validateLicenseKey;
|
|
19735
20169
|
declare const index_d$4_validateWithSchema: typeof validateWithSchema;
|
|
19736
20170
|
declare const index_d$4_when: typeof when;
|
|
19737
20171
|
declare const index_d$4_withErrorHandling: typeof withErrorHandling;
|
|
@@ -19741,8 +20175,8 @@ declare const index_d$4_wrapAuthError: typeof wrapAuthError;
|
|
|
19741
20175
|
declare const index_d$4_wrapCrudError: typeof wrapCrudError;
|
|
19742
20176
|
declare const index_d$4_wrapStorageError: typeof wrapStorageError;
|
|
19743
20177
|
declare namespace index_d$4 {
|
|
19744
|
-
export { index_d$4_AUTH_COMPUTED_KEYS as AUTH_COMPUTED_KEYS, index_d$4_AUTH_STORE_KEYS as AUTH_STORE_KEYS, index_d$4_AuthHardening as AuthHardening, index_d$4_BILLING_STORE_KEYS as BILLING_STORE_KEYS, index_d$4_BaseStorageStrategy as BaseStorageStrategy, index_d$4_CONSENT_LEVELS as CONSENT_LEVELS, index_d$4_CURRENCY_MAP as CURRENCY_MAP, index_d$4_ClaimsCache as ClaimsCache, index_d$4_ConditionBuilder as ConditionBuilder, index_d$4_DEFAULT_CRUD_TIMEOUT as DEFAULT_CRUD_TIMEOUT, index_d$4_DEFAULT_ERROR_MESSAGES as DEFAULT_ERROR_MESSAGES, index_d$4_DEFAULT_UPLOAD_TIMEOUT as DEFAULT_UPLOAD_TIMEOUT, index_d$4_DEGRADED_AI_API as DEGRADED_AI_API, index_d$4_DEGRADED_AUTH_API as DEGRADED_AUTH_API, index_d$4_DEGRADED_BILLING_API as DEGRADED_BILLING_API, index_d$4_DEGRADED_CRUD_API as DEGRADED_CRUD_API, index_d$4_DEGRADED_OAUTH_API as DEGRADED_OAUTH_API, index_d$4_DoNotDevError as DoNotDevError, index_d$4_EventEmitter as EventEmitter, index_d$4_FRAMEWORK_FEATURES as FRAMEWORK_FEATURES, index_d$4_HybridStorageStrategy as HybridStorageStrategy, index_d$4_LocalStorageStrategy as LocalStorageStrategy, index_d$4_OAUTH_STORE_KEYS as OAUTH_STORE_KEYS, index_d$4_SingletonManager as SingletonManager, index_d$4_StorageManager as StorageManager, index_d$4_TokenManager as TokenManager, index_d$4_ViewportHandler as ViewportHandler, index_d$4_areFeaturesAvailable as areFeaturesAvailable, index_d$4_canRedirectExternally as canRedirectExternally, index_d$4_captureError as captureError, index_d$4_captureErrorToSentry as captureErrorToSentry, index_d$4_captureMessage as captureMessage, index_d$4_checkLicense as checkLicense, index_d$4_cleanupSentry as cleanupSentry, index_d$4_clearFeatureCache as clearFeatureCache, index_d$4_clearGlobalSingleton as clearGlobalSingleton, index_d$4_clearLocalStorage as clearLocalStorage, index_d$4_clearPartnerCache as clearPartnerCache, index_d$4_commonErrorCodeMappings as commonErrorCodeMappings, index_d$4_compactToISOString as compactToISOString, index_d$4_configureProviders as configureProviders, index_d$4_cooldown as cooldown, index_d$4_createAsyncSingleton as createAsyncSingleton, index_d$4_createErrorHandler as createErrorHandler, index_d$4_createMetadata as createMetadata, index_d$4_createMethodProxy as createMethodProxy, index_d$4_createSingleton as createSingleton, index_d$4_createSingletonWithParams as createSingletonWithParams, index_d$4_createViewportHandler as createViewportHandler, index_d$4_debounce as debounce, index_d$4_debugPlatformDetection as debugPlatformDetection, index_d$4_decryptData as decryptData, index_d$4_delay as delay, index_d$4_deleteCookie as deleteCookie, index_d$4_detectBrowser as detectBrowser, index_d$4_detectErrorSource as detectErrorSource, index_d$4_detectFeatures as detectFeatures, index_d$4_detectLicenseKey as detectLicenseKey, index_d$4_detectPlatform as detectPlatform, index_d$4_detectPlatformInfo as detectPlatformInfo, index_d$4_detectStorageError as detectStorageError, index_d$4_encryptData as encryptData, index_d$4_ensureSpreadable as ensureSpreadable, index_d$4_evaluateCondition as evaluateCondition, index_d$4_evaluateFieldConditions as evaluateFieldConditions, index_d$4_filterVisibleFields as filterVisibleFields, index_d$4_formatCookieList as formatCookieList, index_d$4_formatCurrency as formatCurrency, index_d$4_formatDate as formatDate, index_d$4_formatRelativeTime as formatRelativeTime, index_d$4_generateCodeChallenge as generateCodeChallenge, index_d$4_generateCodeVerifier as generateCodeVerifier, index_d$4_generateCompatibilityReport as generateCompatibilityReport, index_d$4_generateEncryptionKey as generateEncryptionKey, index_d$4_generateFirestoreRuleCondition as generateFirestoreRuleCondition, index_d$4_generatePKCEPair as generatePKCEPair, index_d$4_generateUUID as generateUUID, index_d$4_getActiveCookies as getActiveCookies, index_d$4_getAppShortName as getAppShortName, index_d$4_getAssetsConfig as getAssetsConfig, index_d$4_getAuthDomain as getAuthDomain, index_d$4_getAuthMethod as getAuthMethod, index_d$4_getAuthPartnerConfig as getAuthPartnerConfig, index_d$4_getAuthPartnerIdByFirebaseId as getAuthPartnerIdByFirebaseId, index_d$4_getAvailableFeatures as getAvailableFeatures, index_d$4_getBrowserRecommendations as getBrowserRecommendations, index_d$4_getConditionDependencies as getConditionDependencies, index_d$4_getConfigSection as getConfigSection, index_d$4_getConfigSource as getConfigSource, index_d$4_getCookie as getCookie, index_d$4_getCookieExamples as getCookieExamples, index_d$4_getCookiesByCategory as getCookiesByCategory, index_d$4_getCurrencyLocale as getCurrencyLocale, index_d$4_getCurrencySymbol as getCurrencySymbol, index_d$4_getCurrentOrigin as getCurrentOrigin, index_d$4_getCurrentTimestamp as getCurrentTimestamp, index_d$4_getDndevConfig as getDndevConfig, index_d$4_getEnabledAuthPartners as getEnabledAuthPartners, index_d$4_getEnabledOAuthPartners as getEnabledOAuthPartners, index_d$4_getEncryptionKey as getEncryptionKey, index_d$4_getFeatureSummary as getFeatureSummary, index_d$4_getGlobalSingleton as getGlobalSingleton, index_d$4_getI18nConfig as getI18nConfig, index_d$4_getListCardFieldNames as getListCardFieldNames, index_d$4_getLocalStorageItem as getLocalStorageItem, index_d$4_getNextEnvVar as getNextEnvVar, index_d$4_getOAuthClientId as getOAuthClientId, index_d$4_getOAuthPartnerConfig as getOAuthPartnerConfig, index_d$4_getOAuthRedirectUri as getOAuthRedirectUri, index_d$4_getOAuthRedirectUrl as getOAuthRedirectUrl, index_d$4_getPartnerCacheStatus as getPartnerCacheStatus, index_d$4_getPartnerConfig as getPartnerConfig, index_d$4_getPlatformEnvVar as getPlatformEnvVar, index_d$4_getProvider as getProvider, index_d$4_getProviderColor as getProviderColor, index_d$4_getRoleFromClaims as getRoleFromClaims, index_d$4_getRoutesConfig as getRoutesConfig, index_d$4_getStorageManager as getStorageManager, index_d$4_getThemesConfig as getThemesConfig, index_d$4_getTokenManager as getTokenManager, index_d$4_getValidAuthPartnerConfig as getValidAuthPartnerConfig, index_d$4_getValidAuthPartnerIds as getValidAuthPartnerIds, index_d$4_getValidOAuthPartnerConfig as getValidOAuthPartnerConfig, index_d$4_getValidOAuthPartnerIds as getValidOAuthPartnerIds, index_d$4_getVisibleFields as getVisibleFields, index_d$4_getVisibleItems as getVisibleItems, index_d$4_getViteEnvVar as getViteEnvVar, index_d$4_getWeekFromISOString as getWeekFromISOString, index_d$4_globalEmitter as globalEmitter, index_d$4_handleError as handleError, index_d$4_hasOptionalCookies as hasOptionalCookies, index_d$4_hasProvider as hasProvider, index_d$4_hasRestrictedVisibility as hasRestrictedVisibility, index_d$4_hasRoleAccess as hasRoleAccess, index_d$4_hasTierAccess as hasTierAccess, index_d$4_initSentry as initSentry, index_d$4_initializeConfig as initializeConfig, index_d$4_initializePlatformDetection as initializePlatformDetection, index_d$4_isAuthPartnerEnabled as isAuthPartnerEnabled, index_d$4_isClient as isClient, index_d$4_isCompactDateString as isCompactDateString, index_d$4_isConfigAvailable as isConfigAvailable, index_d$4_isDev as isDev, index_d$4_isElementInViewport as isElementInViewport, index_d$4_isEmailVerificationRequired as isEmailVerificationRequired, index_d$4_isExpo as isExpo, index_d$4_isFeatureAvailable as isFeatureAvailable, index_d$4_isFieldVisible as isFieldVisible, index_d$4_isIntersectionObserverSupported as isIntersectionObserverSupported, index_d$4_isLocalStorageAvailable as isLocalStorageAvailable, index_d$4_isNextJs as isNextJs, index_d$4_isOAuthPartnerEnabled as isOAuthPartnerEnabled, index_d$4_isPKCESupported as isPKCESupported, index_d$4_isPlatform as isPlatform, index_d$4_isReactNative as isReactNative, index_d$4_isServer as isServer, index_d$4_isTest as isTest, index_d$4_isVite as isVite, index_d$4_isoToCompactString as isoToCompactString, index_d$4_lazyImport as lazyImport, index_d$4_mapToDoNotDevError as mapToDoNotDevError, index_d$4_maybeTranslate as maybeTranslate, index_d$4_normalizeToISOString as normalizeToISOString, index_d$4_observeElement as observeElement, index_d$4_parseDate as parseDate, index_d$4_parseDateToNoonUTC as parseDateToNoonUTC, index_d$4_redirectToExternalUrl as redirectToExternalUrl, index_d$4_redirectToExternalUrlWithErrorHandling as redirectToExternalUrlWithErrorHandling, index_d$4_removeLocalStorageItem as removeLocalStorageItem, index_d$4_resetProviders as resetProviders, index_d$4_resolveAppConfig as resolveAppConfig, index_d$4_safeLocalStorage as safeLocalStorage, index_d$4_safeSessionStorage as safeSessionStorage, index_d$4_safeValidate as safeValidate, index_d$4_sanitizeHref as sanitizeHref, index_d$4_setCookie as setCookie, index_d$4_setLocalStorageItem as setLocalStorageItem, index_d$4_shouldShowEmailVerification as shouldShowEmailVerification, index_d$4_showNotification as showNotification, index_d$4_supportsFeature as supportsFeature, index_d$4_throttle as throttle, index_d$4_timestampToISOString as timestampToISOString, index_d$4_timingUtils as timingUtils, index_d$4_toDateOnly as toDateOnly, index_d$4_toISOString as toISOString, index_d$4_translateArray as translateArray, index_d$4_translateArrayRange as translateArrayRange, index_d$4_translateArrayWithIndices as translateArrayWithIndices, index_d$4_translateObjectArray as translateObjectArray, index_d$4_updateMetadata as updateMetadata, index_d$4_useSafeContext as useSafeContext, index_d$4_useStorageManager as useStorageManager, index_d$4_validateCodeChallenge as validateCodeChallenge, index_d$4_validateCodeVerifier as validateCodeVerifier, index_d$4_validateLicenseKey as validateLicenseKey, index_d$4_validateWithSchema as validateWithSchema, index_d$4_when as when, index_d$4_withErrorHandling as withErrorHandling, index_d$4_withGracefulDegradation as withGracefulDegradation, index_d$4_withTimeout as withTimeout, index_d$4_wrapAuthError as wrapAuthError, index_d$4_wrapCrudError as wrapCrudError, index_d$4_wrapStorageError as wrapStorageError };
|
|
19745
|
-
export type { index_d$4_AuthHardeningConfig as AuthHardeningConfig, index_d$4_AuthUserLike as AuthUserLike, index_d$4_BrowserEngine as BrowserEngine, index_d$4_BrowserInfo as BrowserInfo, index_d$4_BrowserType as BrowserType, index_d$4_Claims as Claims, index_d$4_ClaimsCacheOptions as ClaimsCacheOptions, index_d$4_ClaimsCacheResult as ClaimsCacheResult, index_d$4_CleanupFunction as CleanupFunction, index_d$4_CompatibilityReport as CompatibilityReport, index_d$4_ConsentLevel as ConsentLevel, index_d$4_CookieInfo as CookieInfo, index_d$4_CurrencyEntry as CurrencyEntry, index_d$4_DateFormatOptions as DateFormatOptions, index_d$4_DateFormatPreset as DateFormatPreset, index_d$4_ErrorHandlerConfig as ErrorHandlerConfig, index_d$4_ErrorHandlerFunction as ErrorHandlerFunction, index_d$4_EventListener as EventListener, index_d$4_FeatureAvailability as FeatureAvailability, index_d$4_FeatureSupport as FeatureSupport, index_d$4_FilterVisibleFieldsOptions as FilterVisibleFieldsOptions, index_d$4_FrameworkFeature as FrameworkFeature, index_d$4_GetVisibleFieldsOptions as GetVisibleFieldsOptions, index_d$4_HandleErrorOptions as HandleErrorOptions, index_d$4_IStorageManager as IStorageManager, index_d$4_IntersectionObserverCallback as IntersectionObserverCallback, index_d$4_IntersectionObserverOptions as IntersectionObserverOptions, index_d$
|
|
20178
|
+
export { index_d$4_AUTH_COMPUTED_KEYS as AUTH_COMPUTED_KEYS, index_d$4_AUTH_STORE_KEYS as AUTH_STORE_KEYS, index_d$4_AuthHardening as AuthHardening, index_d$4_BILLING_STORE_KEYS as BILLING_STORE_KEYS, index_d$4_BaseStorageStrategy as BaseStorageStrategy, index_d$4_CONSENT_LEVELS as CONSENT_LEVELS, index_d$4_CURRENCY_MAP as CURRENCY_MAP, index_d$4_ClaimsCache as ClaimsCache, index_d$4_ConditionBuilder as ConditionBuilder, index_d$4_DEFAULT_CRUD_TIMEOUT as DEFAULT_CRUD_TIMEOUT, index_d$4_DEFAULT_ERROR_MESSAGES as DEFAULT_ERROR_MESSAGES, index_d$4_DEFAULT_UPLOAD_TIMEOUT as DEFAULT_UPLOAD_TIMEOUT, index_d$4_DEGRADED_AI_API as DEGRADED_AI_API, index_d$4_DEGRADED_AUTH_API as DEGRADED_AUTH_API, index_d$4_DEGRADED_BILLING_API as DEGRADED_BILLING_API, index_d$4_DEGRADED_CRUD_API as DEGRADED_CRUD_API, index_d$4_DEGRADED_OAUTH_API as DEGRADED_OAUTH_API, index_d$4_DoNotDevError as DoNotDevError, index_d$4_EventEmitter as EventEmitter, index_d$4_FRAMEWORK_FEATURES as FRAMEWORK_FEATURES, index_d$4_HybridStorageStrategy as HybridStorageStrategy, index_d$4_LocalStorageStrategy as LocalStorageStrategy, index_d$4_OAUTH_STORE_KEYS as OAUTH_STORE_KEYS, index_d$4_SingletonManager as SingletonManager, index_d$4_StorageManager as StorageManager, index_d$4_TokenManager as TokenManager, index_d$4_ViewportHandler as ViewportHandler, index_d$4_areFeaturesAvailable as areFeaturesAvailable, index_d$4_canRedirectExternally as canRedirectExternally, index_d$4_captureError as captureError, index_d$4_captureErrorToSentry as captureErrorToSentry, index_d$4_captureMessage as captureMessage, index_d$4_cleanupSentry as cleanupSentry, index_d$4_clearFeatureCache as clearFeatureCache, index_d$4_clearGlobalSingleton as clearGlobalSingleton, index_d$4_clearLocalStorage as clearLocalStorage, index_d$4_clearPartnerCache as clearPartnerCache, index_d$4_commonErrorCodeMappings as commonErrorCodeMappings, index_d$4_compactToISOString as compactToISOString, index_d$4_configureProviders as configureProviders, index_d$4_cooldown as cooldown, index_d$4_createAsyncSingleton as createAsyncSingleton, index_d$4_createErrorHandler as createErrorHandler, index_d$4_createMetadata as createMetadata, index_d$4_createMethodProxy as createMethodProxy, index_d$4_createSingleton as createSingleton, index_d$4_createSingletonWithParams as createSingletonWithParams, index_d$4_createViewportHandler as createViewportHandler, index_d$4_debounce as debounce, index_d$4_debugPlatformDetection as debugPlatformDetection, index_d$4_decryptData as decryptData, index_d$4_delay as delay, index_d$4_deleteCookie as deleteCookie, index_d$4_detectBrowser as detectBrowser, index_d$4_detectErrorSource as detectErrorSource, index_d$4_detectFeatures as detectFeatures, index_d$4_detectPlatform as detectPlatform, index_d$4_detectPlatformInfo as detectPlatformInfo, index_d$4_detectStorageError as detectStorageError, index_d$4_encryptData as encryptData, index_d$4_ensureSpreadable as ensureSpreadable, index_d$4_evaluateCondition as evaluateCondition, index_d$4_evaluateFieldConditions as evaluateFieldConditions, index_d$4_filterVisibleFields as filterVisibleFields, index_d$4_formatCookieList as formatCookieList, index_d$4_formatCurrency as formatCurrency, index_d$4_formatDate as formatDate, index_d$4_formatRelativeTime as formatRelativeTime, index_d$4_generateCodeChallenge as generateCodeChallenge, index_d$4_generateCodeVerifier as generateCodeVerifier, index_d$4_generateCompatibilityReport as generateCompatibilityReport, index_d$4_generateEncryptionKey as generateEncryptionKey, index_d$4_generateFirestoreRuleCondition as generateFirestoreRuleCondition, index_d$4_generatePKCEPair as generatePKCEPair, index_d$4_generateUUID as generateUUID, index_d$4_getActiveCookies as getActiveCookies, index_d$4_getAppShortName as getAppShortName, index_d$4_getAssetsConfig as getAssetsConfig, index_d$4_getAuthDomain as getAuthDomain, index_d$4_getAuthMethod as getAuthMethod, index_d$4_getAuthPartnerConfig as getAuthPartnerConfig, index_d$4_getAuthPartnerIdByFirebaseId as getAuthPartnerIdByFirebaseId, index_d$4_getAvailableFeatures as getAvailableFeatures, index_d$4_getBrowserRecommendations as getBrowserRecommendations, index_d$4_getConditionDependencies as getConditionDependencies, index_d$4_getConfigSection as getConfigSection, index_d$4_getConfigSource as getConfigSource, index_d$4_getCookie as getCookie, index_d$4_getCookieExamples as getCookieExamples, index_d$4_getCookiesByCategory as getCookiesByCategory, index_d$4_getCurrencyLocale as getCurrencyLocale, index_d$4_getCurrencySymbol as getCurrencySymbol, index_d$4_getCurrentOrigin as getCurrentOrigin, index_d$4_getCurrentTimestamp as getCurrentTimestamp, index_d$4_getDndevConfig as getDndevConfig, index_d$4_getEnabledAuthPartners as getEnabledAuthPartners, index_d$4_getEnabledOAuthPartners as getEnabledOAuthPartners, index_d$4_getEncryptionKey as getEncryptionKey, index_d$4_getFeatureSummary as getFeatureSummary, index_d$4_getGlobalSingleton as getGlobalSingleton, index_d$4_getI18nConfig as getI18nConfig, index_d$4_getListCardFieldNames as getListCardFieldNames, index_d$4_getLocalStorageItem as getLocalStorageItem, index_d$4_getNextEnvVar as getNextEnvVar, index_d$4_getOAuthClientId as getOAuthClientId, index_d$4_getOAuthPartnerConfig as getOAuthPartnerConfig, index_d$4_getOAuthRedirectUri as getOAuthRedirectUri, index_d$4_getOAuthRedirectUrl as getOAuthRedirectUrl, index_d$4_getPartnerCacheStatus as getPartnerCacheStatus, index_d$4_getPartnerConfig as getPartnerConfig, index_d$4_getPlatformEnvVar as getPlatformEnvVar, index_d$4_getProvider as getProvider, index_d$4_getProviderColor as getProviderColor, index_d$4_getRoleFromClaims as getRoleFromClaims, index_d$4_getRoutesConfig as getRoutesConfig, index_d$4_getStorageManager as getStorageManager, index_d$4_getThemesConfig as getThemesConfig, index_d$4_getTokenManager as getTokenManager, index_d$4_getValidAuthPartnerConfig as getValidAuthPartnerConfig, index_d$4_getValidAuthPartnerIds as getValidAuthPartnerIds, index_d$4_getValidOAuthPartnerConfig as getValidOAuthPartnerConfig, index_d$4_getValidOAuthPartnerIds as getValidOAuthPartnerIds, index_d$4_getVisibleFields as getVisibleFields, index_d$4_getVisibleItems as getVisibleItems, index_d$4_getViteEnvVar as getViteEnvVar, index_d$4_getWeekFromISOString as getWeekFromISOString, index_d$4_globalEmitter as globalEmitter, index_d$4_handleError as handleError, index_d$4_hasOptionalCookies as hasOptionalCookies, index_d$4_hasProvider as hasProvider, index_d$4_hasRestrictedVisibility as hasRestrictedVisibility, index_d$4_hasRoleAccess as hasRoleAccess, index_d$4_hasTierAccess as hasTierAccess, index_d$4_initSentry as initSentry, index_d$4_initializeConfig as initializeConfig, index_d$4_initializePlatformDetection as initializePlatformDetection, index_d$4_isAuthPartnerEnabled as isAuthPartnerEnabled, index_d$4_isClient as isClient, index_d$4_isCompactDateString as isCompactDateString, index_d$4_isConfigAvailable as isConfigAvailable, index_d$4_isDev as isDev, index_d$4_isElementInViewport as isElementInViewport, index_d$4_isEmailVerificationRequired as isEmailVerificationRequired, index_d$4_isExpo as isExpo, index_d$4_isFeatureAvailable as isFeatureAvailable, index_d$4_isFieldVisible as isFieldVisible, index_d$4_isIntersectionObserverSupported as isIntersectionObserverSupported, index_d$4_isLocalStorageAvailable as isLocalStorageAvailable, index_d$4_isNextJs as isNextJs, index_d$4_isOAuthPartnerEnabled as isOAuthPartnerEnabled, index_d$4_isPKCESupported as isPKCESupported, index_d$4_isPlatform as isPlatform, index_d$4_isReactNative as isReactNative, index_d$4_isServer as isServer, index_d$4_isTest as isTest, index_d$4_isVite as isVite, index_d$4_isoToCompactString as isoToCompactString, index_d$4_lazyImport as lazyImport, index_d$4_mapToDoNotDevError as mapToDoNotDevError, index_d$4_maybeTranslate as maybeTranslate, index_d$4_normalizeToISOString as normalizeToISOString, index_d$4_observeElement as observeElement, index_d$4_parseDate as parseDate, index_d$4_parseDateToNoonUTC as parseDateToNoonUTC, index_d$4_redirectToExternalUrl as redirectToExternalUrl, index_d$4_redirectToExternalUrlWithErrorHandling as redirectToExternalUrlWithErrorHandling, index_d$4_removeLocalStorageItem as removeLocalStorageItem, index_d$4_resetProviders as resetProviders, index_d$4_resolveAppConfig as resolveAppConfig, index_d$4_safeLocalStorage as safeLocalStorage, index_d$4_safeSessionStorage as safeSessionStorage, index_d$4_safeValidate as safeValidate, index_d$4_sanitizeHref as sanitizeHref, index_d$4_setCookie as setCookie, index_d$4_setLocalStorageItem as setLocalStorageItem, index_d$4_shouldShowEmailVerification as shouldShowEmailVerification, index_d$4_showNotification as showNotification, index_d$4_supportsFeature as supportsFeature, index_d$4_throttle as throttle, index_d$4_timestampToISOString as timestampToISOString, index_d$4_timingUtils as timingUtils, index_d$4_toDateOnly as toDateOnly, index_d$4_toISOString as toISOString, index_d$4_translateArray as translateArray, index_d$4_translateArrayRange as translateArrayRange, index_d$4_translateArrayWithIndices as translateArrayWithIndices, index_d$4_translateObjectArray as translateObjectArray, index_d$4_updateMetadata as updateMetadata, index_d$4_useSafeContext as useSafeContext, index_d$4_useStorageManager as useStorageManager, index_d$4_validateCodeChallenge as validateCodeChallenge, index_d$4_validateCodeVerifier as validateCodeVerifier, index_d$4_validateWithSchema as validateWithSchema, index_d$4_when as when, index_d$4_withErrorHandling as withErrorHandling, index_d$4_withGracefulDegradation as withGracefulDegradation, index_d$4_withTimeout as withTimeout, index_d$4_wrapAuthError as wrapAuthError, index_d$4_wrapCrudError as wrapCrudError, index_d$4_wrapStorageError as wrapStorageError };
|
|
20179
|
+
export type { index_d$4_AuthHardeningConfig as AuthHardeningConfig, index_d$4_AuthUserLike as AuthUserLike, index_d$4_BrowserEngine as BrowserEngine, index_d$4_BrowserInfo as BrowserInfo, index_d$4_BrowserType as BrowserType, index_d$4_Claims as Claims, index_d$4_ClaimsCacheOptions as ClaimsCacheOptions, index_d$4_ClaimsCacheResult as ClaimsCacheResult, index_d$4_CleanupFunction as CleanupFunction, index_d$4_CompatibilityReport as CompatibilityReport, index_d$4_ConsentLevel as ConsentLevel, index_d$4_CookieInfo as CookieInfo, index_d$4_CurrencyEntry as CurrencyEntry, index_d$4_DateFormatOptions as DateFormatOptions, index_d$4_DateFormatPreset as DateFormatPreset, index_d$4_ErrorHandlerConfig as ErrorHandlerConfig, index_d$4_ErrorHandlerFunction as ErrorHandlerFunction, index_d$4_EventListener as EventListener, index_d$4_FeatureAvailability as FeatureAvailability, index_d$4_FeatureSupport as FeatureSupport, index_d$4_FilterVisibleFieldsOptions as FilterVisibleFieldsOptions, index_d$4_FrameworkFeature as FrameworkFeature, index_d$4_GetVisibleFieldsOptions as GetVisibleFieldsOptions, index_d$4_HandleErrorOptions as HandleErrorOptions, index_d$4_IStorageManager as IStorageManager, index_d$4_IntersectionObserverCallback as IntersectionObserverCallback, index_d$4_IntersectionObserverOptions as IntersectionObserverOptions, index_d$4_LockoutResult as LockoutResult, index_d$4_OS as OS, index_d$4_PlatformInfo as PlatformInfo, index_d$4_StorageError as StorageError, index_d$4_StorageErrorType as StorageErrorType, index_d$4_StorageOptions as StorageOptions, index_d$4_TokenManagerOptions as TokenManagerOptions, index_d$4_ViewportDetectionOptions as ViewportDetectionOptions, index_d$4_ViewportDetectionResult as ViewportDetectionResult };
|
|
19746
20180
|
}
|
|
19747
20181
|
|
|
19748
20182
|
/**
|
|
@@ -21239,7 +21673,9 @@ declare const baseFields: TypedBaseFields;
|
|
|
21239
21673
|
* @since 0.0.1
|
|
21240
21674
|
* @author AMBROISE PARK Consulting
|
|
21241
21675
|
*/
|
|
21242
|
-
declare function defineEntity(entity: BusinessEntity
|
|
21676
|
+
declare function defineEntity<const F extends Record<string, EntityField>>(entity: Omit<BusinessEntity<F>, 'fields'> & {
|
|
21677
|
+
fields: F;
|
|
21678
|
+
}): Entity<MutableMergedEntityFieldMap<F>>;
|
|
21243
21679
|
|
|
21244
21680
|
/**
|
|
21245
21681
|
* @fileoverview Unified Schema Generation
|
|
@@ -21298,7 +21734,7 @@ interface OperationSchemas {
|
|
|
21298
21734
|
* // schemas.delete - just { id }
|
|
21299
21735
|
* ```
|
|
21300
21736
|
*/
|
|
21301
|
-
declare function createSchemas(entity:
|
|
21737
|
+
declare function createSchemas(entity: AnyEntity): OperationSchemas;
|
|
21302
21738
|
|
|
21303
21739
|
/**
|
|
21304
21740
|
* @fileoverview Option generation helpers for select fields
|
|
@@ -21459,6 +21895,262 @@ declare function getRegisteredScopeProviders(): string[];
|
|
|
21459
21895
|
*/
|
|
21460
21896
|
declare function clearScopeProviders(): void;
|
|
21461
21897
|
|
|
21898
|
+
/**
|
|
21899
|
+
* @fileoverview Bulk CRUD wire schemas
|
|
21900
|
+
* @description Valibot schemas for the transactional bulk endpoint
|
|
21901
|
+
* `POST /api/crud/:collection/bulk`. These are on-the-wire validators only —
|
|
21902
|
+
* row shapes are kept opaque (`record<string, unknown>`) because per-entity
|
|
21903
|
+
* validation is performed upstream by the CRUD service against the entity's
|
|
21904
|
+
* generated `create` / `update` schemas. Isomorphic (client + server).
|
|
21905
|
+
*
|
|
21906
|
+
* @version 0.1.0
|
|
21907
|
+
* @since 0.2.0
|
|
21908
|
+
* @author AMBROISE PARK Consulting
|
|
21909
|
+
*/
|
|
21910
|
+
|
|
21911
|
+
/**
|
|
21912
|
+
* Opaque insert row schema.
|
|
21913
|
+
*
|
|
21914
|
+
* The bulk endpoint does not know the entity at parse time; per-field
|
|
21915
|
+
* validation is delegated to the CRUD service using the entity's `create`
|
|
21916
|
+
* schema. We only enforce the structural invariant: each insert is an object.
|
|
21917
|
+
*
|
|
21918
|
+
* @example
|
|
21919
|
+
* import * as v from 'valibot';
|
|
21920
|
+
* import { BulkInsertSchema } from '@donotdev/schemas';
|
|
21921
|
+
*
|
|
21922
|
+
* v.parse(BulkInsertSchema, { name: 'Alice', age: 30 });
|
|
21923
|
+
*/
|
|
21924
|
+
declare const BulkInsertSchema: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
|
|
21925
|
+
/**
|
|
21926
|
+
* Opaque update row schema: `{ id, patch }`.
|
|
21927
|
+
*
|
|
21928
|
+
* `patch` keeps field-level validation deferred to the entity's `update`
|
|
21929
|
+
* schema, mirroring how single-row `update()` accepts a partial payload.
|
|
21930
|
+
*
|
|
21931
|
+
* @example
|
|
21932
|
+
* import * as v from 'valibot';
|
|
21933
|
+
* import { BulkUpdateSchema } from '@donotdev/schemas';
|
|
21934
|
+
*
|
|
21935
|
+
* v.parse(BulkUpdateSchema, { id: 'abc', patch: { name: 'Bob' } });
|
|
21936
|
+
*/
|
|
21937
|
+
declare const BulkUpdateSchema: v.ObjectSchema<{
|
|
21938
|
+
readonly id: v.StringSchema<undefined>;
|
|
21939
|
+
readonly patch: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
|
|
21940
|
+
}, undefined>;
|
|
21941
|
+
/**
|
|
21942
|
+
* Opaque delete-id schema — a single document id.
|
|
21943
|
+
*
|
|
21944
|
+
* @example
|
|
21945
|
+
* import * as v from 'valibot';
|
|
21946
|
+
* import { BulkDeleteIdSchema } from '@donotdev/schemas';
|
|
21947
|
+
*
|
|
21948
|
+
* v.parse(BulkDeleteIdSchema, 'doc-123');
|
|
21949
|
+
*/
|
|
21950
|
+
declare const BulkDeleteIdSchema: v.StringSchema<undefined>;
|
|
21951
|
+
/**
|
|
21952
|
+
* Wire schema for `POST /:collection/bulk` request body.
|
|
21953
|
+
*
|
|
21954
|
+
* All three op arrays are optional so clients can submit any subset.
|
|
21955
|
+
* An empty object `{}` is a valid no-op payload — the service short-circuits
|
|
21956
|
+
* and returns empty arrays without hitting the database.
|
|
21957
|
+
*
|
|
21958
|
+
* Per the bulk contract (see `BULK_CRUD_TODO.md`):
|
|
21959
|
+
* 1. Atomic — all ops succeed or none do.
|
|
21960
|
+
* 2. One round-trip.
|
|
21961
|
+
* 3. Validation up-front (per-entity schemas in CRUD service).
|
|
21962
|
+
* 4. Collision rejection (see `detectBulkCollisions`).
|
|
21963
|
+
*
|
|
21964
|
+
* @example
|
|
21965
|
+
* import * as v from 'valibot';
|
|
21966
|
+
* import { BulkRequestSchema } from '@donotdev/schemas';
|
|
21967
|
+
*
|
|
21968
|
+
* const body = v.parse(BulkRequestSchema, {
|
|
21969
|
+
* inserts: [{ name: 'Alice' }],
|
|
21970
|
+
* updates: [{ id: 'a', patch: { name: 'Bob' } }],
|
|
21971
|
+
* deletes: ['c'],
|
|
21972
|
+
* });
|
|
21973
|
+
*/
|
|
21974
|
+
declare const BulkRequestSchema: v.ObjectSchema<{
|
|
21975
|
+
readonly inserts: v.OptionalSchema<v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>, undefined>;
|
|
21976
|
+
readonly updates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
21977
|
+
readonly id: v.StringSchema<undefined>;
|
|
21978
|
+
readonly patch: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
|
|
21979
|
+
}, undefined>, undefined>, undefined>;
|
|
21980
|
+
readonly deletes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
21981
|
+
}, undefined>;
|
|
21982
|
+
/**
|
|
21983
|
+
* Wire schema for `POST /:collection/bulk` response body.
|
|
21984
|
+
*
|
|
21985
|
+
* Arrays preserve input order so consumers can zip the echoed ids back onto
|
|
21986
|
+
* the client-side op list (e.g. to reconcile optimistic cache entries).
|
|
21987
|
+
*
|
|
21988
|
+
* @example
|
|
21989
|
+
* import * as v from 'valibot';
|
|
21990
|
+
* import { BulkResponseSchema } from '@donotdev/schemas';
|
|
21991
|
+
*
|
|
21992
|
+
* const result = v.parse(BulkResponseSchema, {
|
|
21993
|
+
* insertedIds: ['new-1'],
|
|
21994
|
+
* updatedIds: ['a'],
|
|
21995
|
+
* deletedIds: ['c'],
|
|
21996
|
+
* });
|
|
21997
|
+
*/
|
|
21998
|
+
declare const BulkResponseSchema: v.ObjectSchema<{
|
|
21999
|
+
readonly insertedIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
22000
|
+
readonly updatedIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
22001
|
+
readonly deletedIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
22002
|
+
}, undefined>;
|
|
22003
|
+
/**
|
|
22004
|
+
* Inferred request type for the bulk endpoint.
|
|
22005
|
+
*
|
|
22006
|
+
* @example
|
|
22007
|
+
* import type { BulkRequest } from '@donotdev/schemas';
|
|
22008
|
+
*
|
|
22009
|
+
* const req: BulkRequest = { deletes: ['a'] };
|
|
22010
|
+
*/
|
|
22011
|
+
type BulkRequest = v.InferOutput<typeof BulkRequestSchema>;
|
|
22012
|
+
/**
|
|
22013
|
+
* Inferred response type for the bulk endpoint.
|
|
22014
|
+
*
|
|
22015
|
+
* @example
|
|
22016
|
+
* import type { BulkResponse } from '@donotdev/schemas';
|
|
22017
|
+
*
|
|
22018
|
+
* const res: BulkResponse = { insertedIds: [], updatedIds: [], deletedIds: [] };
|
|
22019
|
+
*/
|
|
22020
|
+
type BulkResponse = v.InferOutput<typeof BulkResponseSchema>;
|
|
22021
|
+
/**
|
|
22022
|
+
* Report returned by {@link detectBulkCollisions}.
|
|
22023
|
+
*
|
|
22024
|
+
* `where` identifies the first category of collision encountered. `collisions`
|
|
22025
|
+
* lists the offending ids for that category. Callers decide how to surface
|
|
22026
|
+
* this (the CRUD service throws; server handlers return 400).
|
|
22027
|
+
*
|
|
22028
|
+
* @since 0.2.0
|
|
22029
|
+
*/
|
|
22030
|
+
interface BulkCollisionReport {
|
|
22031
|
+
/** Ids that appear in both collided sets. Empty iff `where === null`. */
|
|
22032
|
+
collisions: string[];
|
|
22033
|
+
/** Which pair collided, or `null` when no collision was found. */
|
|
22034
|
+
where: 'updates-deletes' | 'inserts-updates' | null;
|
|
22035
|
+
}
|
|
22036
|
+
/**
|
|
22037
|
+
* Detects id collisions that must reject a bulk op before any write.
|
|
22038
|
+
*
|
|
22039
|
+
* Separated from the Valibot parse so the wire schema stays purely structural
|
|
22040
|
+
* and callers can surface a precise error (which ids, which pair). Pure, no
|
|
22041
|
+
* side effects — the caller throws.
|
|
22042
|
+
*
|
|
22043
|
+
* Collision rules (see `BULK_CRUD_TODO.md` §7):
|
|
22044
|
+
* - Same id in `updates` and `deletes` → ambiguous intent, reject.
|
|
22045
|
+
* - Same id in `inserts` (if the client supplies an explicit `id`) and
|
|
22046
|
+
* `updates` → ambiguous intent, reject.
|
|
22047
|
+
* - Inserts without an explicit id never collide (server mints the id).
|
|
22048
|
+
*
|
|
22049
|
+
* Checks run in order: `updates-deletes` first, then `inserts-updates`. The
|
|
22050
|
+
* first collision found short-circuits — one clear error per request.
|
|
22051
|
+
*
|
|
22052
|
+
* @param ops - The bulk ops to inspect. All three arrays are optional.
|
|
22053
|
+
* @returns A report; `where === null` means no collision.
|
|
22054
|
+
*
|
|
22055
|
+
* @example
|
|
22056
|
+
* import { detectBulkCollisions } from '@donotdev/schemas';
|
|
22057
|
+
*
|
|
22058
|
+
* detectBulkCollisions({ updates: [{ id: 'a', patch: {} }], deletes: ['a'] });
|
|
22059
|
+
* // => { collisions: ['a'], where: 'updates-deletes' }
|
|
22060
|
+
*/
|
|
22061
|
+
declare function detectBulkCollisions(ops: {
|
|
22062
|
+
inserts?: Array<{
|
|
22063
|
+
id?: string;
|
|
22064
|
+
[k: string]: unknown;
|
|
22065
|
+
}>;
|
|
22066
|
+
updates?: Array<{
|
|
22067
|
+
id: string;
|
|
22068
|
+
patch: unknown;
|
|
22069
|
+
}>;
|
|
22070
|
+
deletes?: string[];
|
|
22071
|
+
}): BulkCollisionReport;
|
|
22072
|
+
|
|
22073
|
+
/**
|
|
22074
|
+
* @fileoverview Canvas base schemas + catalog + validators
|
|
22075
|
+
* @description Valibot schemas for the two canvas contracts (agent -> canvas
|
|
22076
|
+
* render, canvas -> agent event), plus the process-local widget registry
|
|
22077
|
+
* and the two validation entry points (`validateBlock`, `validateEvent`).
|
|
22078
|
+
*
|
|
22079
|
+
* The catalog is the single trust boundary between untrusted
|
|
22080
|
+
* LLM-originated payloads and the renderer. Unknown kinds, missing
|
|
22081
|
+
* actions, and schema mismatches are all reported as `{ ok: false }`;
|
|
22082
|
+
* callers never receive malformed data.
|
|
22083
|
+
*
|
|
22084
|
+
* This file is isomorphic (no React). The React host + component
|
|
22085
|
+
* registration helpers live in `@donotdev/canvas`.
|
|
22086
|
+
*
|
|
22087
|
+
* @version 0.1.0
|
|
22088
|
+
* @since 0.1.0
|
|
22089
|
+
* @author AMBROISE PARK Consulting
|
|
22090
|
+
*/
|
|
22091
|
+
|
|
22092
|
+
/**
|
|
22093
|
+
* Box-proxied image URL. Covers, avatars, thumbnails — every image in a
|
|
22094
|
+
* canvas widget MUST resolve through the box proxy.
|
|
22095
|
+
*
|
|
22096
|
+
* Accepted forms:
|
|
22097
|
+
* - `/proxy/...` — absolute proxy path on the same origin.
|
|
22098
|
+
* - `data:image/...` — inline data URI (agent-generated thumbnails).
|
|
22099
|
+
*/
|
|
22100
|
+
declare const ProxiedImageUrlSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.CheckAction<string, "Image URL must be box-proxied (/proxy/...) or an inline data:image URI.">]>;
|
|
22101
|
+
declare const CanvasLifetimeSchema: v.PicklistSchema<["ephemeral", "session", "persistent"], undefined>;
|
|
22102
|
+
declare const CanvasWidgetMetadataSchema: v.ObjectSchema<{
|
|
22103
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
22104
|
+
readonly pinnable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
22105
|
+
readonly preferredHeight: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
22106
|
+
}, undefined>;
|
|
22107
|
+
declare const CanvasBlockSchema: v.ObjectSchema<{
|
|
22108
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
22109
|
+
readonly kind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
22110
|
+
readonly lifetime: v.OptionalSchema<v.PicklistSchema<["ephemeral", "session", "persistent"], undefined>, "ephemeral">;
|
|
22111
|
+
readonly metadata: v.OptionalSchema<v.ObjectSchema<{
|
|
22112
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
22113
|
+
readonly pinnable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
22114
|
+
readonly preferredHeight: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
22115
|
+
}, undefined>, undefined>;
|
|
22116
|
+
readonly payload: v.UnknownSchema;
|
|
22117
|
+
}, undefined>;
|
|
22118
|
+
declare const CanvasEventSchema: v.ObjectSchema<{
|
|
22119
|
+
readonly widgetId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
22120
|
+
readonly action: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
22121
|
+
readonly payload: v.UnknownSchema;
|
|
22122
|
+
}, undefined>;
|
|
22123
|
+
/**
|
|
22124
|
+
* A widget as it lives in the registry. Widened to accept an arbitrary
|
|
22125
|
+
* component attachment so the UI package can register React components
|
|
22126
|
+
* without this module importing React.
|
|
22127
|
+
*/
|
|
22128
|
+
interface RegisteredWidgetBase<Kind extends string = string, PayloadSchema extends AnyValibotSchema = AnyValibotSchema, Actions extends Record<string, AnyValibotSchema> = Record<string, AnyValibotSchema>> extends WidgetDef<Kind, PayloadSchema, Actions> {
|
|
22129
|
+
readonly component: unknown;
|
|
22130
|
+
}
|
|
22131
|
+
declare function registerWidget(widget: RegisteredWidgetBase): void;
|
|
22132
|
+
declare function getWidget(kind: string): RegisteredWidgetBase | undefined;
|
|
22133
|
+
declare function listWidgets(): readonly RegisteredWidgetBase[];
|
|
22134
|
+
type ValidateResult<T> = {
|
|
22135
|
+
readonly ok: true;
|
|
22136
|
+
readonly value: T;
|
|
22137
|
+
readonly widget: RegisteredWidgetBase;
|
|
22138
|
+
} | {
|
|
22139
|
+
readonly ok: false;
|
|
22140
|
+
readonly reason: string;
|
|
22141
|
+
};
|
|
22142
|
+
/**
|
|
22143
|
+
* Validate an incoming canvas block end-to-end: envelope shape, kind is
|
|
22144
|
+
* in the allowlist, payload conforms to the widget's payload schema, and
|
|
22145
|
+
* (optionally) the widget's surface is reachable by the caller's access tier.
|
|
22146
|
+
*
|
|
22147
|
+
* Failure ordering: envelope → kind → payload → surface. Surface-rejection
|
|
22148
|
+
* reasons are prefixed `surface_forbidden: ` so callers can distinguish
|
|
22149
|
+
* policy rejection from schema rejection.
|
|
22150
|
+
*/
|
|
22151
|
+
declare function validateBlock(block: unknown, opts?: ValidateBlockOptions): ValidateResult<CanvasBlock>;
|
|
22152
|
+
declare function validateEvent(event: unknown, widgetKind: string): ValidateResult<CanvasEvent>;
|
|
22153
|
+
|
|
21462
22154
|
/**
|
|
21463
22155
|
* @fileoverview Schemas package exports
|
|
21464
22156
|
* @description Schema definitions and validation utilities
|
|
@@ -21471,11 +22163,25 @@ declare function clearScopeProviders(): void;
|
|
|
21471
22163
|
|
|
21472
22164
|
declare const index_d$2_BACKEND_GENERATED_FIELD_NAMES: typeof BACKEND_GENERATED_FIELD_NAMES;
|
|
21473
22165
|
type index_d$2_BackendGeneratedField = BackendGeneratedField;
|
|
22166
|
+
type index_d$2_BulkCollisionReport = BulkCollisionReport;
|
|
22167
|
+
declare const index_d$2_BulkDeleteIdSchema: typeof BulkDeleteIdSchema;
|
|
22168
|
+
declare const index_d$2_BulkInsertSchema: typeof BulkInsertSchema;
|
|
22169
|
+
type index_d$2_BulkRequest = BulkRequest;
|
|
22170
|
+
declare const index_d$2_BulkRequestSchema: typeof BulkRequestSchema;
|
|
22171
|
+
type index_d$2_BulkResponse = BulkResponse;
|
|
22172
|
+
declare const index_d$2_BulkResponseSchema: typeof BulkResponseSchema;
|
|
22173
|
+
declare const index_d$2_BulkUpdateSchema: typeof BulkUpdateSchema;
|
|
22174
|
+
declare const index_d$2_CanvasBlockSchema: typeof CanvasBlockSchema;
|
|
22175
|
+
declare const index_d$2_CanvasEventSchema: typeof CanvasEventSchema;
|
|
22176
|
+
declare const index_d$2_CanvasLifetimeSchema: typeof CanvasLifetimeSchema;
|
|
22177
|
+
declare const index_d$2_CanvasWidgetMetadataSchema: typeof CanvasWidgetMetadataSchema;
|
|
21474
22178
|
type index_d$2_CustomSchemaGenerator = CustomSchemaGenerator;
|
|
21475
22179
|
declare const index_d$2_DEFAULT_STATUS_OPTIONS: typeof DEFAULT_STATUS_OPTIONS;
|
|
21476
22180
|
declare const index_d$2_DEFAULT_STATUS_VALUE: typeof DEFAULT_STATUS_VALUE;
|
|
21477
22181
|
declare const index_d$2_HIDDEN_STATUSES: typeof HIDDEN_STATUSES;
|
|
21478
22182
|
type index_d$2_OperationSchemas = OperationSchemas;
|
|
22183
|
+
declare const index_d$2_ProxiedImageUrlSchema: typeof ProxiedImageUrlSchema;
|
|
22184
|
+
type index_d$2_RegisteredWidgetBase<Kind extends string = string, PayloadSchema extends AnyValibotSchema = AnyValibotSchema, Actions extends Record<string, AnyValibotSchema> = Record<string, AnyValibotSchema>> = RegisteredWidgetBase<Kind, PayloadSchema, Actions>;
|
|
21479
22185
|
type index_d$2_SchemaWithVisibility = SchemaWithVisibility;
|
|
21480
22186
|
type index_d$2_ScopeProviderFn = ScopeProviderFn;
|
|
21481
22187
|
type index_d$2_SelectOption = SelectOption;
|
|
@@ -21483,6 +22189,7 @@ type index_d$2_StatusField = StatusField;
|
|
|
21483
22189
|
declare const index_d$2_TECHNICAL_FIELD_NAMES: typeof TECHNICAL_FIELD_NAMES;
|
|
21484
22190
|
type index_d$2_TechnicalField = TechnicalField;
|
|
21485
22191
|
type index_d$2_TypedBaseFields = TypedBaseFields;
|
|
22192
|
+
type index_d$2_ValidateResult<T> = ValidateResult<T>;
|
|
21486
22193
|
declare const index_d$2_addressSchema: typeof addressSchema;
|
|
21487
22194
|
declare const index_d$2_arraySchema: typeof arraySchema;
|
|
21488
22195
|
declare const index_d$2_baseFields: typeof baseFields;
|
|
@@ -21492,6 +22199,7 @@ declare const index_d$2_clearScopeProviders: typeof clearScopeProviders;
|
|
|
21492
22199
|
declare const index_d$2_createSchemas: typeof createSchemas;
|
|
21493
22200
|
declare const index_d$2_dateSchema: typeof dateSchema;
|
|
21494
22201
|
declare const index_d$2_defineEntity: typeof defineEntity;
|
|
22202
|
+
declare const index_d$2_detectBulkCollisions: typeof detectBulkCollisions;
|
|
21495
22203
|
declare const index_d$2_emailSchema: typeof emailSchema;
|
|
21496
22204
|
declare const index_d$2_enhanceSchema: typeof enhanceSchema;
|
|
21497
22205
|
declare const index_d$2_fileSchema: typeof fileSchema;
|
|
@@ -21503,12 +22211,14 @@ declare const index_d$2_getRegisteredSchemaTypes: typeof getRegisteredSchemaType
|
|
|
21503
22211
|
declare const index_d$2_getRegisteredScopeProviders: typeof getRegisteredScopeProviders;
|
|
21504
22212
|
declare const index_d$2_getSchemaType: typeof getSchemaType;
|
|
21505
22213
|
declare const index_d$2_getScopeValue: typeof getScopeValue;
|
|
22214
|
+
declare const index_d$2_getWidget: typeof getWidget;
|
|
21506
22215
|
declare const index_d$2_hasCustomSchemaGenerator: typeof hasCustomSchemaGenerator;
|
|
21507
22216
|
declare const index_d$2_hasMetadata: typeof hasMetadata;
|
|
21508
22217
|
declare const index_d$2_hasScopeProvider: typeof hasScopeProvider;
|
|
21509
22218
|
declare const index_d$2_ibanSchema: typeof ibanSchema;
|
|
21510
22219
|
declare const index_d$2_isBackendGeneratedField: typeof isBackendGeneratedField;
|
|
21511
22220
|
declare const index_d$2_isFrameworkField: typeof isFrameworkField;
|
|
22221
|
+
declare const index_d$2_listWidgets: typeof listWidgets;
|
|
21512
22222
|
declare const index_d$2_mapSchema: typeof mapSchema;
|
|
21513
22223
|
declare const index_d$2_multiselectSchema: typeof multiselectSchema;
|
|
21514
22224
|
declare const index_d$2_neverSchema: typeof neverSchema;
|
|
@@ -21522,6 +22232,7 @@ declare const index_d$2_referenceSchema: typeof referenceSchema;
|
|
|
21522
22232
|
declare const index_d$2_registerSchemaGenerator: typeof registerSchemaGenerator;
|
|
21523
22233
|
declare const index_d$2_registerScopeProvider: typeof registerScopeProvider;
|
|
21524
22234
|
declare const index_d$2_registerUniqueConstraintValidator: typeof registerUniqueConstraintValidator;
|
|
22235
|
+
declare const index_d$2_registerWidget: typeof registerWidget;
|
|
21525
22236
|
declare const index_d$2_selectSchema: typeof selectSchema;
|
|
21526
22237
|
declare const index_d$2_stringSchema: typeof stringSchema;
|
|
21527
22238
|
declare const index_d$2_switchSchema: typeof switchSchema;
|
|
@@ -21529,12 +22240,14 @@ declare const index_d$2_telSchema: typeof telSchema;
|
|
|
21529
22240
|
declare const index_d$2_textSchema: typeof textSchema;
|
|
21530
22241
|
declare const index_d$2_unregisterScopeProvider: typeof unregisterScopeProvider;
|
|
21531
22242
|
declare const index_d$2_urlSchema: typeof urlSchema;
|
|
22243
|
+
declare const index_d$2_validateBlock: typeof validateBlock;
|
|
21532
22244
|
declare const index_d$2_validateDates: typeof validateDates;
|
|
21533
22245
|
declare const index_d$2_validateDocument: typeof validateDocument;
|
|
22246
|
+
declare const index_d$2_validateEvent: typeof validateEvent;
|
|
21534
22247
|
declare const index_d$2_validateUniqueFields: typeof validateUniqueFields;
|
|
21535
22248
|
declare namespace index_d$2 {
|
|
21536
|
-
export { index_d$2_BACKEND_GENERATED_FIELD_NAMES as BACKEND_GENERATED_FIELD_NAMES, index_d$2_DEFAULT_STATUS_OPTIONS as DEFAULT_STATUS_OPTIONS, index_d$2_DEFAULT_STATUS_VALUE as DEFAULT_STATUS_VALUE, index_d$2_HIDDEN_STATUSES as HIDDEN_STATUSES, index_d$2_TECHNICAL_FIELD_NAMES as TECHNICAL_FIELD_NAMES, index_d$2_addressSchema as addressSchema, index_d$2_arraySchema as arraySchema, index_d$2_baseFields as baseFields, index_d$2_booleanSchema as booleanSchema, index_d$2_clearSchemaGenerators as clearSchemaGenerators, index_d$2_clearScopeProviders as clearScopeProviders, index_d$2_createSchemas as createSchemas, index_d$2_dateSchema as dateSchema, index_d$2_defineEntity as defineEntity, index_d$2_emailSchema as emailSchema, index_d$2_enhanceSchema as enhanceSchema, index_d$2_fileSchema as fileSchema, index_d$2_filesSchema as filesSchema, index_d$2_gdprConsentSchema as gdprConsentSchema, index_d$2_geopointSchema as geopointSchema, index_d$2_getCollectionName as getCollectionName, index_d$2_getRegisteredSchemaTypes as getRegisteredSchemaTypes, index_d$2_getRegisteredScopeProviders as getRegisteredScopeProviders, index_d$2_getSchemaType as getSchemaType, index_d$2_getScopeValue as getScopeValue, index_d$2_hasCustomSchemaGenerator as hasCustomSchemaGenerator, index_d$2_hasMetadata as hasMetadata, index_d$2_hasScopeProvider as hasScopeProvider, index_d$2_ibanSchema as ibanSchema, index_d$2_isBackendGeneratedField as isBackendGeneratedField, index_d$2_isFrameworkField as isFrameworkField, index_d$2_mapSchema as mapSchema, index_d$2_multiselectSchema as multiselectSchema, index_d$2_neverSchema as neverSchema, index_d$2_numberSchema as numberSchema, index_d$2_passwordSchema as passwordSchema, index_d$2_pictureSchema as pictureSchema, index_d$2_picturesSchema as picturesSchema, index_d$2_priceSchema as priceSchema, index_d$2_rangeOptions as rangeOptions, index_d$2_referenceSchema as referenceSchema, index_d$2_registerSchemaGenerator as registerSchemaGenerator, index_d$2_registerScopeProvider as registerScopeProvider, index_d$2_registerUniqueConstraintValidator as registerUniqueConstraintValidator, index_d$2_selectSchema as selectSchema, index_d$2_stringSchema as stringSchema, index_d$2_switchSchema as switchSchema, index_d$2_telSchema as telSchema, index_d$2_textSchema as textSchema, index_d$2_unregisterScopeProvider as unregisterScopeProvider, index_d$2_urlSchema as urlSchema, index_d$2_validateDates as validateDates, index_d$2_validateDocument as validateDocument, index_d$2_validateUniqueFields as validateUniqueFields };
|
|
21537
|
-
export type { index_d$2_BackendGeneratedField as BackendGeneratedField, index_d$2_CustomSchemaGenerator as CustomSchemaGenerator, index_d$2_OperationSchemas as OperationSchemas, index_d$2_SchemaWithVisibility as SchemaWithVisibility, index_d$2_ScopeProviderFn as ScopeProviderFn, index_d$2_SelectOption as SelectOption, index_d$2_StatusField as StatusField, index_d$2_TechnicalField as TechnicalField, index_d$2_TypedBaseFields as TypedBaseFields };
|
|
22249
|
+
export { index_d$2_BACKEND_GENERATED_FIELD_NAMES as BACKEND_GENERATED_FIELD_NAMES, index_d$2_BulkDeleteIdSchema as BulkDeleteIdSchema, index_d$2_BulkInsertSchema as BulkInsertSchema, index_d$2_BulkRequestSchema as BulkRequestSchema, index_d$2_BulkResponseSchema as BulkResponseSchema, index_d$2_BulkUpdateSchema as BulkUpdateSchema, index_d$2_CanvasBlockSchema as CanvasBlockSchema, index_d$2_CanvasEventSchema as CanvasEventSchema, index_d$2_CanvasLifetimeSchema as CanvasLifetimeSchema, index_d$2_CanvasWidgetMetadataSchema as CanvasWidgetMetadataSchema, index_d$2_DEFAULT_STATUS_OPTIONS as DEFAULT_STATUS_OPTIONS, index_d$2_DEFAULT_STATUS_VALUE as DEFAULT_STATUS_VALUE, index_d$2_HIDDEN_STATUSES as HIDDEN_STATUSES, index_d$2_ProxiedImageUrlSchema as ProxiedImageUrlSchema, index_d$2_TECHNICAL_FIELD_NAMES as TECHNICAL_FIELD_NAMES, index_d$2_addressSchema as addressSchema, index_d$2_arraySchema as arraySchema, index_d$2_baseFields as baseFields, index_d$2_booleanSchema as booleanSchema, index_d$2_clearSchemaGenerators as clearSchemaGenerators, index_d$2_clearScopeProviders as clearScopeProviders, index_d$2_createSchemas as createSchemas, index_d$2_dateSchema as dateSchema, index_d$2_defineEntity as defineEntity, index_d$2_detectBulkCollisions as detectBulkCollisions, index_d$2_emailSchema as emailSchema, index_d$2_enhanceSchema as enhanceSchema, index_d$2_fileSchema as fileSchema, index_d$2_filesSchema as filesSchema, index_d$2_gdprConsentSchema as gdprConsentSchema, index_d$2_geopointSchema as geopointSchema, index_d$2_getCollectionName as getCollectionName, index_d$2_getRegisteredSchemaTypes as getRegisteredSchemaTypes, index_d$2_getRegisteredScopeProviders as getRegisteredScopeProviders, index_d$2_getSchemaType as getSchemaType, index_d$2_getScopeValue as getScopeValue, index_d$2_getWidget as getWidget, index_d$2_hasCustomSchemaGenerator as hasCustomSchemaGenerator, index_d$2_hasMetadata as hasMetadata, index_d$2_hasScopeProvider as hasScopeProvider, index_d$2_ibanSchema as ibanSchema, index_d$2_isBackendGeneratedField as isBackendGeneratedField, index_d$2_isFrameworkField as isFrameworkField, index_d$2_listWidgets as listWidgets, index_d$2_mapSchema as mapSchema, index_d$2_multiselectSchema as multiselectSchema, index_d$2_neverSchema as neverSchema, index_d$2_numberSchema as numberSchema, index_d$2_passwordSchema as passwordSchema, index_d$2_pictureSchema as pictureSchema, index_d$2_picturesSchema as picturesSchema, index_d$2_priceSchema as priceSchema, index_d$2_rangeOptions as rangeOptions, index_d$2_referenceSchema as referenceSchema, index_d$2_registerSchemaGenerator as registerSchemaGenerator, index_d$2_registerScopeProvider as registerScopeProvider, index_d$2_registerUniqueConstraintValidator as registerUniqueConstraintValidator, index_d$2_registerWidget as registerWidget, index_d$2_selectSchema as selectSchema, index_d$2_stringSchema as stringSchema, index_d$2_switchSchema as switchSchema, index_d$2_telSchema as telSchema, index_d$2_textSchema as textSchema, index_d$2_unregisterScopeProvider as unregisterScopeProvider, index_d$2_urlSchema as urlSchema, index_d$2_validateBlock as validateBlock, index_d$2_validateDates as validateDates, index_d$2_validateDocument as validateDocument, index_d$2_validateEvent as validateEvent, index_d$2_validateUniqueFields as validateUniqueFields };
|
|
22250
|
+
export type { index_d$2_BackendGeneratedField as BackendGeneratedField, index_d$2_BulkCollisionReport as BulkCollisionReport, index_d$2_BulkRequest as BulkRequest, index_d$2_BulkResponse as BulkResponse, index_d$2_CustomSchemaGenerator as CustomSchemaGenerator, index_d$2_OperationSchemas as OperationSchemas, index_d$2_RegisteredWidgetBase as RegisteredWidgetBase, index_d$2_SchemaWithVisibility as SchemaWithVisibility, index_d$2_ScopeProviderFn as ScopeProviderFn, index_d$2_SelectOption as SelectOption, index_d$2_StatusField as StatusField, index_d$2_TechnicalField as TechnicalField, index_d$2_TypedBaseFields as TypedBaseFields, index_d$2_ValidateResult as ValidateResult };
|
|
21538
22251
|
}
|
|
21539
22252
|
|
|
21540
22253
|
/**
|
|
@@ -23593,5 +24306,5 @@ declare namespace index_d {
|
|
|
23593
24306
|
export type { index_d_CountryData as CountryData, index_d_DoNotDevTransProps as DoNotDevTransProps, index_d_FAQSectionProps as FAQSectionProps, index_d_LanguageData as LanguageData, index_d_LanguageFABFormat as LanguageFABFormat, index_d_LanguageFABProps as LanguageFABProps, index_d_LanguageSelectorProps as LanguageSelectorProps, index_d_LanguageToggleGroupProps as LanguageToggleGroupProps, index_d_ToggleOrientation as ToggleOrientation, index_d_ToggleSize as ToggleSize, index_d_TransTag as TransTag };
|
|
23594
24307
|
}
|
|
23595
24308
|
|
|
23596
|
-
export { AGGREGATE_FILTER_OPERATORS, AGGREGATE_OPERATIONS, AIChatRequestSchema, AIChatResponseSchema, AIMessageSchema, AIProviderConfigSchema, AIToolCallSchema, AIToolDefinitionSchema, AIUsageSchema, AI_ERROR_CODES, AI_MODELS, AI_PROVIDERS, AI_ROLES, AI_TIERS, AI_TOKEN_PRICING, AUTH_COMPUTED_KEYS, AUTH_EVENTS, AUTH_PARTNERS, AUTH_PARTNER_STATE, AUTH_STORE_KEYS, AppConfigContext, AppConfigProvider, AuthHardening, AuthUserSchema, BACKEND_GENERATED_FIELD_NAMES, BILLING_EVENTS, BILLING_STORE_KEYS, BREAKPOINT_RANGES, BREAKPOINT_THRESHOLDS, BaseStorageStrategy, COMMON_TIER_CONFIGS, CONFIDENCE_LEVELS, CONSENT_CATEGORY, CONSENT_LEVELS, CONTEXTS, COUNTRIES, CRUD_OPERATORS, CURRENCY_MAP, CheckoutSessionMetadataSchema, ClaimsCache, ConditionBuilder, CreateCheckoutSessionRequestSchema, CreateCheckoutSessionResponseSchema, CustomClaimsSchema, DEFAULT_AI_CONFIG, DEFAULT_AI_MARKUP, DEFAULT_CRUD_TIMEOUT, DEFAULT_ENTITY_ACCESS, DEFAULT_ERROR_MESSAGES, DEFAULT_LAYOUT_PRESET, DEFAULT_STATUS_OPTIONS, DEFAULT_STATUS_VALUE, DEFAULT_SUBSCRIPTION, DEFAULT_UPLOAD_TIMEOUT, DEGRADED_AI_API, DEGRADED_AUTH_API, DEGRADED_BILLING_API, DEGRADED_CRUD_API, DEGRADED_OAUTH_API, DENSITY, DoNotDevError, EDITABLE, EMAIL_ERROR_CODES, EMAIL_PROVIDERS, EMAIL_VERIFICATION_STATUS, ENTITY_HOOK_ERRORS, ENVIRONMENTS, ERROR_CODES, ERROR_SEVERITY, ERROR_SOURCE, EntityHookError, EventEmitter, FAQSection, FEATURES, FEATURE_CONSENT_MATRIX, FEATURE_STATUS, FIELD_TYPES, FIREBASE_ERROR_MAP, FOOTER_MODE, FRAMEWORK_FEATURES, Flag, GITHUB_PERMISSION_LEVELS, HIDDEN_STATUSES, index_d$1 as Hooks, HybridStorageStrategy, index_d as I18n, LANGUAGES, LAYOUT_PRESET, LIST_SCHEMA_TYPE, LanguageFAB, LanguageSelector, LanguageToggleGroup, LocalStorageStrategy, OAUTH_EVENTS, OAUTH_PARTNERS, OAUTH_STORE_KEYS, ORDER_DIRECTION, PARTNER_ICONS, PAYLOAD_EVENTS, PERMISSIONS, PLATFORMS, PWA_ASSET_TYPES, PWA_DISPLAY_MODES, ProductDeclarationSchema, ProductDeclarationsSchema, QueryProviders, ROUTE_SOURCES, STORAGE_SCOPES, STORAGE_TYPES, STRIPE_EVENTS, STRIPE_MODES, SUBSCRIPTION_DURATIONS, SUBSCRIPTION_STATUS, SUBSCRIPTION_TIERS, index_d$2 as Schemas, SendEmailRequestSchema, SendEmailResponseSchema, SingletonManager, StorageManager, index_d$3 as Stores, StripeBackConfigSchema, StripeFrontConfigSchema, StripePaymentSchema, StripeSubscriptionSchema, SubscriptionClaimsSchema, SubscriptionDataSchema, TECHNICAL_FIELD_NAMES, TRANS_TAGS, TokenManager, Trans, TranslatedText, index_d$5 as Types, USER_ROLES, UserSubscriptionSchema, index_d$4 as Utils, VISIBILITY, ViewportHandler, WebhookEventSchema, addressSchema, applyTheme, areFeaturesAvailable, arraySchema, baseFields, booleanSchema, buildRoutePath, canRedirectExternally, captureError, captureErrorToSentry, captureMessage, checkGitHubAccessSchema,
|
|
23597
|
-
export type { AIAPI, AIChatRequest, AIChatResponse, AIConfig, AICostConfig, AICostEvent, AICostRecord, AICostResult, AIErrorCode, AIMessage, AIModelPricing, AIProvider, AIProviderConfig, AIRateLimitConfig, AIRouteConfig, AITierId, AIToolCall, AIToolDefinition, AIToolParameter, AIUsage, AccountLinkResult, AccountLinkingInfo, AdminCheckHookResult, AdminClaims, AggregateConfig, AggregateFilterOperator, AggregateOperation, AggregateRequest, AggregateResponse, AnyFieldValue, ApiResponse, AppConfig, AppConfigProviderProps, AppCookieCategories, AppMetadata, AppProvidersProps, AssetsPluginConfig, AttemptRecord, AuditEvent, AuditEventType, AuthAPI, AuthActions, AuthConfig, AuthContextValue, AuthCoreHookResult, AuthError, AuthEventData, AuthEventKey, AuthEventName, AuthHardeningConfig, AuthHardeningContext, AuthMethod, AuthPartner, AuthPartnerHookResult, AuthPartnerId, AuthPartnerResult, AuthPartnerState, AuthProvider, AuthProviderProps, AuthRedirectHookResult, AuthRedirectOperation, AuthRedirectOptions, AuthResult, AuthState, AuthStateStore, AuthStatus, AuthTokenHookResult, AuthUser, AuthUserLike, BackendGeneratedField, BaseActions, BaseCredentials, BaseDocument, BaseEntityFields, BasePartnerState, BaseState, BaseStoreActions, BaseStoreState, BaseUserProfile, BasicUserInfo, BeforeCheckoutHook, BeforeCheckoutResult, BillingAPI, BillingAdapter, BillingErrorCode, BillingEvent, BillingEventData, BillingEventKey, BillingEventName, BillingProvider, BillingProviderConfig, BillingRedirectOperation, Breakpoint, BreakpointAPI, BreakpointUtils, BrowserEngine, BrowserInfo, BrowserType, BuiltInFieldType, BusinessEntity, CachedError, CanAPI, CheckGitHubAccessRequest, CheckoutMode, CheckoutOptions, CheckoutSessionMetadata, Claims, ClaimsCacheOptions, ClaimsCacheResult, CleanupFunction, CollectionSubscriptionCallback, ColumnDef, CommonSubscriptionFeatures, CommonTranslations, CompatibilityReport, ConditionBuilderLike, ConditionExpression, ConditionGroup, ConditionInput, ConditionNode, ConditionOperator, ConditionResult, ConditionalBehavior, ConfidenceLevel, ConnectOptions, ConsentAPI, ConsentActions, ConsentCategory, ConsentLevel, ConsentState, Context, CookieInfo, CookieOptions, CountryData, CreateCheckoutSessionRequest, CreateCheckoutSessionResponse, CreateEntityData, CreateEntityRequest, CreateEntityResponse, CrudAPI, CrudCardProps, CrudConfig, CrudOperationOptions, CrudOperator, CurrencyEntry, CustomClaims, CustomFieldOptionsMap, CustomSchemaGenerator, CustomStoreConfig, DateFormatOptions, DateFormatPreset, DateValue, DeleteEntityRequest, DeleteEntityResponse, Density, DnDevOverride, DnDevWrapper, DndevFrameworkConfig, DndevProviders, DndevStoreApi, DoNotDevCookieCategories, DoNotDevStore, DoNotDevStoreConfig, DoNotDevStoreState, DoNotDevTransProps, DocumentSubscriptionCallback, DynamicFormRule, Editable, EffectiveConnectionType, EmailConfig, EmailErrorCode, EmailProvider, EmailRouteConfig, EmailTemplate, EmailTemplateRegistry, EmailVerificationHookResult, EmailVerificationStatus, Entity, EntityAccessConfig, EntityAccessDefaults, EntityBrowseBaseProps, EntityCardListProps, EntityDisplayRendererProps, EntityField, EntityFormRendererProps, EntityHookErrors, EntityListProps, EntityMetadata, EntityOwnershipConfig, EntityOwnershipPublicCondition, EntityRecommendationsProps, EntityRecord, EntityTemplateProps, EntityTranslations, EnvironmentMode, ErrorCode, ErrorHandlerConfig, ErrorHandlerFunction, ErrorSeverity, ErrorSource, EventListener, ExchangeTokenParams, ExchangeTokenRequest, ExchangeTokenResponse, FAQSectionProps, FaviconConfig, Feature, FeatureAccessHookResult, FeatureAvailability, FeatureConsentRequirement, FeatureHookResult, FeatureId, FeatureName, FeatureStatus, FeatureSupport, FeaturesConfig, FeaturesPluginConfig, FeaturesRequiringAnyConsent, FeaturesRequiringConsent, FeaturesWithoutConsent, FieldCondition, FieldType, FieldTypeToValue, FileAsset, FilterVisibleFieldsOptions, FirebaseCallOptions, FirebaseConfig, FirestoreTimestamp, FirestoreUniqueConstraintValidator, FooterConfig, FooterMode, FooterZoneConfig, FormConfig, FormStep, FrameworkFeature, FunctionCallConfig, FunctionCallContext, FunctionCallOptions, FunctionCallResult, FunctionClient, FunctionClientFactoryOptions, FunctionDefaults, FunctionEndpoint, FunctionError, FunctionLoader, FunctionMemory, FunctionMeta, FunctionPlatform, FunctionResponse, FunctionSchema, FunctionSchemas, FunctionSystem, FunctionTrigger, FunctionsConfig, GetCustomClaimsResponse, GetEntityData, GetEntityRequest, GetEntityResponse, GetUserAuthStatusResponse, GetVisibleFieldsOptions, GitHubPermission, GitHubRepoConfig, GrantGitHubAccessRequest, GroupByDefinition, HandleErrorOptions, HeaderZoneConfig, I18nConfig, I18nPluginConfig, I18nProviderProps, ICallableProvider, ICrudAdapter, ID, INetworkManager, IServerAuthAdapter, IStorageAdapter, IStorageManager, IStorageStrategy, IntersectionObserverCallback, IntersectionObserverOptions, Invoice, InvoiceItem, LanguageAPI, LanguageData, LanguageFABFormat, LanguageFABProps, LanguageInfo$1 as LanguageInfo, LanguageSelectorProps, LanguageToggleGroupProps, LayoutAPI, LayoutConfig, LayoutPreset, LegalCompanyInfo, LegalConfig, LegalContactInfo, LegalDirectorInfo, LegalHostingInfo, LegalJurisdictionInfo, LegalSectionsConfig, LegalWebsiteInfo, LicenseValidationResult, ListCardLayout, ListEntitiesRequest, ListEntitiesResponse, ListEntityData, ListOptions, ListResponse, ListSchemaType, LoadingActions, LoadingState, LockoutResult, MergedBarConfig, MetricDefinition, MobileBehaviorConfig, ModalActions, ModalState, MutationResponse, NavigationRoute, NetworkCheckConfig, NetworkConnectionType, NetworkReconnectCallback, NetworkState$1 as NetworkState, NetworkStatus, NetworkStatusHookResult, OAuthAPI, OAuthApiRequestOptions, OAuthCallbackHookResult, OAuthConnection, OAuthConnectionInfo, OAuthConnectionRequest, OAuthConnectionStatus, OAuthCredentials, OAuthEventData, OAuthEventKey, OAuthEventName, OAuthPartner, OAuthPartnerHookResult, OAuthPartnerId, OAuthPartnerResult, OAuthPartnerState, OAuthPurpose, OAuthRedirectOperation, OAuthRefreshRequest, OAuthRefreshResponse, OAuthResult, OAuthStoreActions, OAuthStoreState, OS, Observable, OperationSchemas, OrderByClause, OrderDirection, OverlayAPI, PWAAssetType, PWADisplayMode, PWAPluginConfig, PageAuth, PageMeta, PaginatedQueryResult, PaginationOptions, PartnerConnectionState, PartnerIconId, PartnerId, PartnerResult, PartnerType, PayloadCacheEventData, PayloadDocument, PayloadDocumentEventData, PayloadEventKey, PayloadEventName, PayloadGlobalEventData, PayloadMediaEventData, PayloadPageRegenerationEventData, PayloadRequest, PayloadUserEventData, PaymentEventData, PaymentMethod, PaymentMethodType, PaymentMode, Permission, Picture, Platform, PlatformInfo, PresetConfig, PresetRegistry, ProcessPaymentSuccessRequest, ProcessPaymentSuccessResponse, ProductDeclaration, ProviderInstances, QueryConfig, QueryOptions, QueryOrderBy, QueryWhereClause, RateLimitBackend, RateLimitConfig, RateLimitManager, RateLimitResult, RateLimitState, RateLimiter, ReadCallback, RedirectOperation, RedirectOverlayActions, RedirectOverlayConfig, RedirectOverlayPhase, RedirectOverlayState, Reference, RefreshSubscriptionRequest, RefreshSubscriptionResponse, RemoveCustomClaimsResponse, ResolvedLayoutConfig, RevokeGitHubAccessRequest, RouteData, RouteManifest, RouteMeta, RouteSource, RoutesPluginConfig, SEOConfig, SchemaMetadata, SchemaWithVisibility, ScopeConfig, ScopeProviderFn, SecurityContext, SecurityEntityConfig, SelectOption, SendEmailRequest, SendEmailResponse, SeoMeta, ServerRateLimitConfig, ServerRateLimitResult, ServerUserRecord, SetCustomClaimsResponse, SidebarZoneConfig, SlotContent, StatusField, StorageError, StorageErrorType, StorageOptions, StorageScope, StorageType, Store, StripeBackConfig, StripeCheckoutRequest, StripeCheckoutResponse, StripeCheckoutSessionEventData, StripeConfig, StripeCustomer, StripeCustomerEventData, StripeEventData, StripeEventKey, StripeEventName, StripeFrontConfig, StripeInvoice, StripeInvoiceEventData, StripePayment, StripePaymentIntentEventData, StripePaymentMethod, StripePrice, StripeProduct, StripeProvider, StripeSubscription, StripeSubscriptionData, StripeWebhookEvent, StripeWebhookEventData, Subscription, SubscriptionClaims, SubscriptionConfig, SubscriptionData, SubscriptionDuration, SubscriptionEventData, SubscriptionHookResult, SubscriptionInfo, SubscriptionStatus, SubscriptionTier, SupportedLanguage, TechnicalField, ThemeAPI, ThemeActions, ThemeInfo, ThemeMode, ThemeState, ThemesPluginConfig, TierAccessHookResult, Timestamp, ToggleOrientation, ToggleSize, TokenInfo, TokenManagerOptions, TokenResponse, TokenState, TokenStatus, TransTag, TranslationOptions, TranslationResource, TypedBaseFields, UIFieldOptions, UniqueConstraintValidator, UniqueKeyDefinition, UnsubscribeFn, UpdateEntityData, UpdateEntityRequest, UpdateEntityResponse, UploadOptions, UploadProgressCallback, UploadResult, UseClickOutsideOptions, UseClickOutsideReturn, UseDebounceOptions, UseEventListenerOptions, UseEventListenerReturn, UseFunctionsCallResult, UseFunctionsMutationOptions, UseFunctionsMutationResult, UseFunctionsQueryOptions, UseFunctionsQueryResult, UseIntersectionObserverOptions, UseIntersectionObserverReturn, UseLocalStorageOptions, UseLocalStorageReturn, UseMutationOptionsWithErrorHandling, UseQueryOptionsWithErrorHandling, UseScriptLoaderOptions, UseScriptLoaderReturn, UseTranslationOptionsEnhanced, UseViewportVisibilityOptions, UseViewportVisibilityReturn, UserContext, UserProfile, UserProviderData, UserRole, UserSubscription, ValidationRules, ValueTypeForField, VerifiedToken, ViewportDetectionOptions, ViewportDetectionResult, Visibility, WebhookEvent, WebhookEventData, WhereClause, WhereOperator, WithMetadata, dndevSchema };
|
|
24309
|
+
export { AGGREGATE_FILTER_OPERATORS, AGGREGATE_OPERATIONS, AIChatRequestSchema, AIChatResponseSchema, AIMessageSchema, AIProviderConfigSchema, AIToolCallSchema, AIToolDefinitionSchema, AIUsageSchema, AI_ERROR_CODES, AI_MODELS, AI_PROVIDERS, AI_ROLES, AI_TIERS, AI_TOKEN_PRICING, AUTH_COMPUTED_KEYS, AUTH_EVENTS, AUTH_PARTNERS, AUTH_PARTNER_STATE, AUTH_STORE_KEYS, AppConfigContext, AppConfigProvider, AuthHardening, AuthUserSchema, BACKEND_GENERATED_FIELD_NAMES, BILLING_EVENTS, BILLING_STORE_KEYS, BREAKPOINT_RANGES, BREAKPOINT_THRESHOLDS, BaseStorageStrategy, BulkAcrossCycleError, BulkCollisionError, BulkDeleteIdSchema, BulkInsertSchema, BulkNotImplementedError, BulkRequestSchema, BulkResponseSchema, BulkUpdateSchema, COMMON_TIER_CONFIGS, CONFIDENCE_LEVELS, CONSENT_CATEGORY, CONSENT_LEVELS, CONTEXTS, COUNTRIES, CRUD_OPERATORS, CURRENCY_MAP, CanvasBlockSchema, CanvasEventSchema, CanvasLifetimeSchema, CanvasWidgetMetadataSchema, CheckoutSessionMetadataSchema, ClaimsCache, ConditionBuilder, CreateCheckoutSessionRequestSchema, CreateCheckoutSessionResponseSchema, CustomClaimsSchema, DEFAULT_AI_CONFIG, DEFAULT_AI_MARKUP, DEFAULT_CRUD_TIMEOUT, DEFAULT_ENTITY_ACCESS, DEFAULT_ERROR_MESSAGES, DEFAULT_LAYOUT_PRESET, DEFAULT_STATUS_OPTIONS, DEFAULT_STATUS_VALUE, DEFAULT_SUBSCRIPTION, DEFAULT_UPLOAD_TIMEOUT, DEGRADED_AI_API, DEGRADED_AUTH_API, DEGRADED_BILLING_API, DEGRADED_CRUD_API, DEGRADED_OAUTH_API, DENSITY, DoNotDevError, EDITABLE, EMAIL_ERROR_CODES, EMAIL_PROVIDERS, EMAIL_VERIFICATION_STATUS, ENTITY_HOOK_ERRORS, ENVIRONMENTS, ERROR_CODES, ERROR_SEVERITY, ERROR_SOURCE, EntityHookError, EventEmitter, FAQSection, FEATURES, FEATURE_CONSENT_MATRIX, FEATURE_STATUS, FIELD_TYPES, FIREBASE_ERROR_MAP, FOOTER_MODE, FRAMEWORK_FEATURES, Flag, GITHUB_PERMISSION_LEVELS, HIDDEN_STATUSES, index_d$1 as Hooks, HybridStorageStrategy, index_d as I18n, LANGUAGES, LAYOUT_PRESET, LIST_SCHEMA_TYPE, LanguageFAB, LanguageSelector, LanguageToggleGroup, LocalStorageStrategy, OAUTH_EVENTS, OAUTH_PARTNERS, OAUTH_STORE_KEYS, ORDER_DIRECTION, PARTNER_ICONS, PAYLOAD_EVENTS, PERMISSIONS, PLATFORMS, PWA_ASSET_TYPES, PWA_DISPLAY_MODES, ProductDeclarationSchema, ProductDeclarationsSchema, ProxiedImageUrlSchema, QueryProviders, ROUTE_SOURCES, STORAGE_SCOPES, STORAGE_TYPES, STRIPE_EVENTS, STRIPE_MODES, SUBSCRIPTION_DURATIONS, SUBSCRIPTION_STATUS, SUBSCRIPTION_TIERS, index_d$2 as Schemas, SendEmailRequestSchema, SendEmailResponseSchema, SingletonManager, StorageManager, index_d$3 as Stores, StripeBackConfigSchema, StripeFrontConfigSchema, StripePaymentSchema, StripeSubscriptionSchema, SubscriptionClaimsSchema, SubscriptionDataSchema, TECHNICAL_FIELD_NAMES, TRANS_TAGS, TokenManager, Trans, TranslatedText, index_d$5 as Types, USER_ROLES, UserSubscriptionSchema, index_d$4 as Utils, VISIBILITY, ViewportHandler, WebhookEventSchema, addressSchema, applyTheme, areFeaturesAvailable, arraySchema, baseFields, booleanSchema, buildRoutePath, canRedirectExternally, captureError, captureErrorToSentry, captureMessage, checkGitHubAccessSchema, cleanupSentry, clearFeatureCache, clearGlobalSingleton, clearLocalStorage, clearPartnerCache, clearSchemaGenerators, clearScopeProviders, commonErrorCodeMappings, compactToISOString, configureProviders, cooldown, createAsyncSingleton, createDefaultSubscriptionClaims, createDefaultUserProfile, createDoNotDevStore, createEntitySchema, createErrorHandler, createMetadata, createMethodProxy, createSchemas, createSingleton, createSingletonWithParams, createViewportHandler, dateSchema, debounce, debugPlatformDetection, decryptData, defineEntity, delay, deleteCookie, deleteEntitySchema, detectBrowser, detectBulkCollisions, detectErrorSource, detectFeatures, detectPlatform, detectPlatformInfo, detectStorageError, disconnectOAuthSchema, emailSchema, encryptData, enhanceSchema, ensureSpreadable, evaluateCondition, evaluateFieldConditions, exchangeTokenSchema, extractRoutePath, fileSchema, filesSchema, filterVisibleFields, formatCookieList, formatCurrency, formatDate, formatRelativeTime, gdprConsentSchema, generateCodeChallenge, generateCodeVerifier, generateCompatibilityReport, generateEncryptionKey, generateFirestoreRuleCondition, generatePKCEPair, generateUUID, geopointSchema, getActiveCookies, getAppShortName, getAssetsConfig, getAuthDomain, getAuthMethod, getAuthPartnerConfig, getAuthPartnerIdByFirebaseId, getAvailableFeatures, getAvailableThemeNames, getAvailableThemes, getBreakpointFromWidth, getBreakpointUtils, getBrowserRecommendations, getCollectionName, getConditionDependencies, getConfigSection, getConfigSource, getConnectionsSchema, getCookie, getCookieExamples, getCookiesByCategory, getCountries, getCurrencyLocale, getCurrencySymbol, getCurrentOrigin, getCurrentTimestamp, getDndevConfig, getEnabledAuthPartners, getEnabledOAuthPartners, getEncryptionKey, getEntitySchema, getFeatureSummary, getFlagCodes, getGlobalSingleton, getI18nConfig, getI18nInstance, getListCardFieldNames, getLocalStorageItem, getNextEnvVar, getOAuthClientId, getOAuthPartnerConfig, getOAuthRedirectUri, getOAuthRedirectUrl, getPartnerCacheStatus, getPartnerConfig, getPlatformEnvVar, getProvider, getProviderColor, getQueryClient, getRegisteredSchemaTypes, getRegisteredScopeProviders, getRoleFromClaims, getRouteManifest, getRouteSource, getRoutes, getRoutesConfig, getSchemaType, getScopeValue, getSmartDefaults, getStorageManager, getSupportedLanguages, getThemeInfo, getThemesConfig, getTokenManager, getValidAuthPartnerConfig, getValidAuthPartnerIds, getValidOAuthPartnerConfig, getValidOAuthPartnerIds, getVisibleFields, getVisibleItems, getViteEnvVar, getWeekFromISOString, getWidget, githubPermissionSchema, githubRepoConfigSchema, globalEmitter, grantGitHubAccessSchema, handleError, hasCustomSchemaGenerator, hasFlag, hasMetadata, hasOptionalCookies, hasProvider, hasRestrictedVisibility, hasRoleAccess, hasScopeProvider, hasTierAccess, ibanSchema, initSentry, initializeConfig, initializePlatformDetection, isAuthPartnerEnabled, isAuthPartnerId, isBackendGeneratedField, isBreakpoint, isClient, isCompactDateString, isConfigAvailable, isDev, isDoNotDevStore, isElementInViewport, isEmailVerificationRequired, isExpo, isFeatureAvailable, isFieldVisible, isFrameworkField, isIntersectionObserverSupported, isLocalStorageAvailable, isNextJs, isOAuthPartnerEnabled, isOAuthPartnerId, isPKCESupported, isPlatform, isReactNative, isServer, isTest, isValidTheme, isVite, isoToCompactString, lazyImport, listEntitiesSchema, listWidgets, mapSchema, mapToDoNotDevError, maybeTranslate, multiselectSchema, neverSchema, normalizeToISOString, numberSchema, observeElement, overrideFeatures, overridePaymentModes, overridePermissions, overrideSubscriptionStatus, overrideSubscriptionTiers, overrideUserRoles, parseDate, parseDateToNoonUTC, passwordSchema, pictureSchema, picturesSchema, priceSchema, rangeOptions, redirectToExternalUrl, redirectToExternalUrlWithErrorHandling, referenceSchema, refreshTokenSchema, registerSchemaGenerator, registerScopeProvider, registerUniqueConstraintValidator, registerWidget, removeLocalStorageItem, resetProviders, resolveAppConfig, resolveAuthConfig, resolvePageMeta, revokeGitHubAccessSchema, safeLocalStorage, safeSessionStorage, safeValidate, sanitizeHref, selectSchema, setCookie, setLocalStorageItem, shouldShowEmailVerification, showNotification, stringSchema, supportsFeature, switchSchema, telSchema, textSchema, throttle, timestampToISOString, timingUtils, toDateOnly, toISOString, translateArray, translateArrayRange, translateArrayWithIndices, translateObjectArray, unregisterScopeProvider, updateEntitySchema, updateMetadata, urlSchema, useAbortControllerStore, useAnalyticsConsent, useAppConfig, useAuthConfig, useBreakpoint, useBreathingTimer, useClickOutside, useConsent, useConsentReady, useConsentStore, useDebounce, useEventListener, useFaviconConfig, useFeatureConsent, useFeaturesConfig, useFunctionalConsent, useHasConsented, useI18nReady, useIntersectionObserver, useIsClient, useLanguage, useLanguageReady, useLanguageSelector, useLanguageStore, useLayout, useLocalStorage, useMarketingConsent, useMutation, useNavigationStore, useNetwork, useNetworkConnectionType, useNetworkOnline, useNetworkStatus, useNetworkStore, useOverlay, useOverlayStore, useQuery, useRateLimit, useSafeContext, useScriptLoader, useSeoConfig, useStorageManager, useTheme, useThemeReady, useThemeStore, useTranslation, useViewportVisibility, validateAIChatRequest, validateAIChatResponse, validateAuthPartners, validateAuthSchemas, validateAuthUser, validateBillingSchemas, validateBlock, validateCheckoutSessionMetadata, validateCodeChallenge, validateCodeVerifier, validateCreateCheckoutSessionRequest, validateCreateCheckoutSessionResponse, validateCustomClaims, validateDates, validateDocument, validateEvent, validateOAuthPartners, validateSendEmailRequest, validateSendEmailResponse, validateStripeBackConfig, validateStripeFrontConfig, validateSubscriptionClaims, validateSubscriptionData, validateUniqueFields, validateUserSubscription, validateWebhookEvent, validateWithSchema, when, withErrorHandling, withGracefulDegradation, withTimeout, wrapAuthError, wrapCrudError, wrapStorageError };
|
|
24310
|
+
export type { AIAPI, AIChatRequest, AIChatResponse, AIConfig, AICostConfig, AICostEvent, AICostRecord, AICostResult, AIErrorCode, AIMessage, AIModelPricing, AIProvider, AIProviderConfig, AIRateLimitConfig, AIRouteConfig, AITierId, AIToolCall, AIToolDefinition, AIToolParameter, AIUsage, AccountLinkResult, AccountLinkingInfo, AdminCheckHookResult, AdminClaims, AggregateConfig, AggregateFilterOperator, AggregateOperation, AggregateRequest, AggregateResponse, AnyEntity, AnyFieldValue, AnyValibotSchema, ApiResponse, AppConfig, AppConfigProviderProps, AppCookieCategories, AppMetadata, AppProvidersProps, AssetsPluginConfig, AttemptRecord, AuditEvent, AuditEventType, AuthAPI, AuthActions, AuthConfig, AuthContextValue, AuthCoreHookResult, AuthError, AuthEventData, AuthEventKey, AuthEventName, AuthHardeningConfig, AuthHardeningContext, AuthMethod, AuthPartner, AuthPartnerHookResult, AuthPartnerId, AuthPartnerResult, AuthPartnerState, AuthProvider, AuthProviderProps, AuthRedirectHookResult, AuthRedirectOperation, AuthRedirectOptions, AuthResult, AuthState, AuthStateStore, AuthStatus, AuthTokenHookResult, AuthUser, AuthUserLike, BackendGeneratedField, BaseActions, BaseCredentials, BaseDocument, BaseEntityFields, BasePartnerState, BaseState, BaseStoreActions, BaseStoreState, BaseUserProfile, BasicUserInfo, BeforeCheckoutHook, BeforeCheckoutResult, BillingAPI, BillingAdapter, BillingErrorCode, BillingEvent, BillingEventData, BillingEventKey, BillingEventName, BillingProvider, BillingProviderConfig, BillingRedirectOperation, Breakpoint, BreakpointAPI, BreakpointUtils, BrowserEngine, BrowserInfo, BrowserType, BuiltInFieldType, BulkAcrossBatch, BulkAcrossResult, BulkCollisionReport, BulkOperations, BulkRequest, BulkResponse, BulkResult, BusinessEntity, CachedError, CanAPI, CanvasBlock, CanvasCallerAccess, CanvasEvent, CanvasLifetime, CanvasSurface, CanvasWidgetMetadata, CanvasWidgetProps, CheckGitHubAccessRequest, CheckoutMode, CheckoutOptions, CheckoutSessionMetadata, Claims, ClaimsCacheOptions, ClaimsCacheResult, CleanupFunction, CollectionSubscriptionCallback, ColumnDef, CommonSubscriptionFeatures, CommonTranslations, CompatibilityReport, ConditionBuilderLike, ConditionExpression, ConditionGroup, ConditionInput, ConditionNode, ConditionOperator, ConditionResult, ConditionalBehavior, ConfidenceLevel, ConnectOptions, ConsentAPI, ConsentActions, ConsentCategory, ConsentLevel, ConsentState, Context, CookieInfo, CookieOptions, CountryData, CreateCheckoutSessionRequest, CreateCheckoutSessionResponse, CreateEntityData, CreateEntityRequest, CreateEntityResponse, CrudAPI, CrudCardProps, CrudConfig, CrudCreateInput, CrudDocQuery, CrudListQuery, CrudOperationOptions, CrudOperator, CurrencyEntry, CustomClaims, CustomFieldOptionsMap, CustomSchemaGenerator, CustomStoreConfig, DateFormatOptions, DateFormatPreset, DateValue, DeleteEntityRequest, DeleteEntityResponse, Density, DnDevOverride, DnDevWrapper, DndevFrameworkConfig, DndevProviders, DndevStoreApi, DoNotDevCookieCategories, DoNotDevStore, DoNotDevStoreConfig, DoNotDevStoreState, DoNotDevTransProps, DocumentSubscriptionCallback, DynamicFormRule, Editable, EffectiveConnectionType, EmailConfig, EmailErrorCode, EmailProvider, EmailRouteConfig, EmailTemplate, EmailTemplateRegistry, EmailVerificationHookResult, EmailVerificationStatus, Entity, EntityAccessConfig, EntityAccessDefaults, EntityBrowseBaseProps, EntityCardListProps, EntityDisplayRendererProps, EntityField, EntityFieldMapDefault, EntityFormRendererProps, EntityHookErrors, EntityListProps, EntityMetadata, EntityOwnershipConfig, EntityOwnershipPublicCondition, EntityRecommendationsProps, EntityRecord, EntityRowFromFields, EntityTemplateProps, EntityTranslations, EnvironmentMode, ErrorCode, ErrorHandlerConfig, ErrorHandlerFunction, ErrorSeverity, ErrorSource, EventListener, ExchangeTokenParams, ExchangeTokenRequest, ExchangeTokenResponse, FAQSectionProps, FaviconConfig, Feature, FeatureAccessHookResult, FeatureAvailability, FeatureConsentRequirement, FeatureHookResult, FeatureId, FeatureName, FeatureStatus, FeatureSupport, FeaturesConfig, FeaturesPluginConfig, FeaturesRequiringAnyConsent, FeaturesRequiringConsent, FeaturesWithoutConsent, FieldCondition, FieldType, FieldTypeToValue, FileAsset, FilterVisibleFieldsOptions, FirebaseCallOptions, FirebaseConfig, FirestoreTimestamp, FirestoreUniqueConstraintValidator, FooterConfig, FooterMode, FooterZoneConfig, FormConfig, FormStep, FrameworkFeature, FunctionCallConfig, FunctionCallContext, FunctionCallOptions, FunctionCallResult, FunctionClient, FunctionClientFactoryOptions, FunctionDefaults, FunctionEndpoint, FunctionError, FunctionLoader, FunctionMemory, FunctionMeta, FunctionPlatform, FunctionResponse, FunctionSchema, FunctionSchemas, FunctionSystem, FunctionTrigger, FunctionsConfig, GetCustomClaimsResponse, GetEntityData, GetEntityRequest, GetEntityResponse, GetUserAuthStatusResponse, GetVisibleFieldsOptions, GitHubPermission, GitHubRepoConfig, GrantGitHubAccessRequest, GroupByDefinition, HandleErrorOptions, HeaderZoneConfig, I18nConfig, I18nPluginConfig, I18nProviderProps, ICallableProvider, ICrudAdapter, ID, INetworkManager, IServerAuthAdapter, IStorageAdapter, IStorageManager, IStorageStrategy, InferEntityRow, IntersectionObserverCallback, IntersectionObserverOptions, Invoice, InvoiceItem, LanguageAPI, LanguageData, LanguageFABFormat, LanguageFABProps, LanguageInfo$1 as LanguageInfo, LanguageSelectorProps, LanguageToggleGroupProps, LayoutAPI, LayoutConfig, LayoutPreset, LegalCompanyInfo, LegalConfig, LegalContactInfo, LegalDirectorInfo, LegalHostingInfo, LegalJurisdictionInfo, LegalSectionsConfig, LegalWebsiteInfo, ListCardLayout, ListEntitiesRequest, ListEntitiesResponse, ListEntityData, ListOptions, ListResponse, ListSchemaType, LoadingActions, LoadingState, LockoutResult, MergedBarConfig, MergedEntityFieldMap, MetricDefinition, MobileBehaviorConfig, ModalActions, ModalState, MutableMergedEntityFieldMap, MutationResponse, NavigationRoute, NetworkCheckConfig, NetworkConnectionType, NetworkReconnectCallback, NetworkState$1 as NetworkState, NetworkStatus, NetworkStatusHookResult, OAuthAPI, OAuthApiRequestOptions, OAuthCallbackHookResult, OAuthConnection, OAuthConnectionInfo, OAuthConnectionRequest, OAuthConnectionStatus, OAuthCredentials, OAuthEventData, OAuthEventKey, OAuthEventName, OAuthPartner, OAuthPartnerHookResult, OAuthPartnerId, OAuthPartnerResult, OAuthPartnerState, OAuthPurpose, OAuthRedirectOperation, OAuthRefreshRequest, OAuthRefreshResponse, OAuthResult, OAuthStoreActions, OAuthStoreState, OS, Observable, OperationSchemas, OrderByClause, OrderDirection, OverlayAPI, PWAAssetType, PWADisplayMode, PWAPluginConfig, PageAuth, PageMeta, PaginatedQueryResult, PaginationOptions, PartnerConnectionState, PartnerIconId, PartnerId, PartnerResult, PartnerType, PayloadCacheEventData, PayloadDocument, PayloadDocumentEventData, PayloadEventKey, PayloadEventName, PayloadGlobalEventData, PayloadMediaEventData, PayloadPageRegenerationEventData, PayloadRequest, PayloadUserEventData, PaymentEventData, PaymentMethod, PaymentMethodType, PaymentMode, Permission, Picture, Platform, PlatformInfo, PresetConfig, PresetRegistry, ProcessPaymentSuccessRequest, ProcessPaymentSuccessResponse, ProductDeclaration, ProviderInstances, QueryConfig, QueryOptions, QueryOrderBy, QueryWhereClause, RateLimitBackend, RateLimitConfig, RateLimitManager, RateLimitResult, RateLimitState, RateLimiter, ReadCallback, RedirectOperation, RedirectOverlayActions, RedirectOverlayConfig, RedirectOverlayPhase, RedirectOverlayState, Reference, RefreshSubscriptionRequest, RefreshSubscriptionResponse, RegisteredWidgetBase, RemoveCustomClaimsResponse, ResolvedLayoutConfig, RevokeGitHubAccessRequest, RouteData, RouteManifest, RouteMeta, RouteSource, RoutesPluginConfig, SEOConfig, SchemaMetadata, SchemaWithVisibility, ScopeConfig, ScopeProviderFn, SecurityContext, SecurityEntityConfig, SelectOption, SendEmailRequest, SendEmailResponse, SeoMeta, ServerRateLimitConfig, ServerRateLimitResult, ServerUserRecord, SetCustomClaimsResponse, SidebarZoneConfig, SignUpMetadata, SlotContent, StatusField, StorageError, StorageErrorType, StorageOptions, StorageScope, StorageType, Store, StripeBackConfig, StripeCheckoutRequest, StripeCheckoutResponse, StripeCheckoutSessionEventData, StripeConfig, StripeCustomer, StripeCustomerEventData, StripeEventData, StripeEventKey, StripeEventName, StripeFrontConfig, StripeInvoice, StripeInvoiceEventData, StripePayment, StripePaymentIntentEventData, StripePaymentMethod, StripePrice, StripeProduct, StripeProvider, StripeSubscription, StripeSubscriptionData, StripeWebhookEvent, StripeWebhookEventData, Subscription, SubscriptionClaims, SubscriptionConfig, SubscriptionData, SubscriptionDuration, SubscriptionEventData, SubscriptionHookResult, SubscriptionInfo, SubscriptionStatus, SubscriptionTier, SupportedLanguage, TechnicalField, ThemeAPI, ThemeActions, ThemeInfo, ThemeMode, ThemeState, ThemesPluginConfig, TierAccessHookResult, Timestamp, ToggleOrientation, ToggleSize, TokenInfo, TokenManagerOptions, TokenResponse, TokenState, TokenStatus, TransTag, TranslationOptions, TranslationResource, TypedBaseFields, UIFieldOptions, UniqueConstraintValidator, UniqueKeyDefinition, UnsubscribeFn, UpdateEntityData, UpdateEntityRequest, UpdateEntityResponse, UploadOptions, UploadProgressCallback, UploadResult, UseClickOutsideOptions, UseClickOutsideReturn, UseDebounceOptions, UseEventListenerOptions, UseEventListenerReturn, UseFunctionsCallResult, UseFunctionsMutationOptions, UseFunctionsMutationResult, UseFunctionsQueryOptions, UseFunctionsQueryResult, UseIntersectionObserverOptions, UseIntersectionObserverReturn, UseLocalStorageOptions, UseLocalStorageReturn, UseMutationOptionsWithErrorHandling, UseQueryOptionsWithErrorHandling, UseScriptLoaderOptions, UseScriptLoaderReturn, UseTranslationOptionsEnhanced, UseViewportVisibilityOptions, UseViewportVisibilityReturn, UserContext, UserProfile, UserProviderData, UserRole, UserSubscription, ValidateBlockOptions, ValidateResult, ValidationRules, ValueTypeForField, VerifiedToken, ViewportDetectionOptions, ViewportDetectionResult, Visibility, WebhookEvent, WebhookEventData, WhereClause, WhereOperator, WidgetDef, WithMetadata, dndevSchema };
|