@kyro-cms/core 0.3.4 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/api-handler.cjs +6 -6
- package/dist/api-handler.js +5 -5
- package/dist/{chunk-X3CU27OO.cjs → chunk-3FW6WVVP.cjs} +2 -17
- package/dist/chunk-3FW6WVVP.cjs.map +1 -0
- package/dist/{chunk-CZ3HWX2X.cjs → chunk-3ZZPZYCM.cjs} +42 -67
- package/dist/chunk-3ZZPZYCM.cjs.map +1 -0
- package/dist/{chunk-6LPNEC6D.js → chunk-C4JJEE42.js} +43 -68
- package/dist/chunk-C4JJEE42.js.map +1 -0
- package/dist/{chunk-VEI5KQVC.cjs → chunk-FWGHXRRI.cjs} +45 -15
- package/dist/chunk-FWGHXRRI.cjs.map +1 -0
- package/dist/{chunk-MMYAIYHJ.cjs → chunk-M4GFA2UQ.cjs} +336 -32
- package/dist/chunk-M4GFA2UQ.cjs.map +1 -0
- package/dist/{chunk-2SJATAN4.js → chunk-OJBK3JYF.js} +336 -32
- package/dist/chunk-OJBK3JYF.js.map +1 -0
- package/dist/{chunk-XIXGJGQW.js → chunk-SAMZQVC2.js} +44 -14
- package/dist/chunk-SAMZQVC2.js.map +1 -0
- package/dist/{chunk-B76I67F3.js → chunk-WSCJQI2B.js} +61 -13
- package/dist/chunk-WSCJQI2B.js.map +1 -0
- package/dist/{chunk-RGIQKTZ7.js → chunk-YMG55RSX.js} +4 -18
- package/dist/chunk-YMG55RSX.js.map +1 -0
- package/dist/{chunk-DAIBBBOL.cjs → chunk-Z2OVHWHB.cjs} +61 -13
- package/dist/chunk-Z2OVHWHB.cjs.map +1 -0
- package/dist/drizzle/index.cjs +10 -10
- package/dist/drizzle/index.js +2 -2
- package/dist/index.cjs +138 -105
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +77 -44
- package/dist/index.js.map +1 -1
- package/dist/rest/index.cjs +5 -4
- package/dist/rest/index.js +3 -2
- package/dist/templates/index.cjs +24 -24
- package/dist/templates/index.js +1 -1
- package/package.json +2 -14
- package/dist/WebhookService-BCpW2dyL.d.ts +0 -112
- package/dist/WebhookService-DxYSFvNg.d.cts +0 -112
- package/dist/api-handler.d.cts +0 -9
- package/dist/api-handler.d.ts +0 -9
- package/dist/base-DvvNqnM-.d.cts +0 -73
- package/dist/base-eVegJ_Pr.d.ts +0 -73
- package/dist/chunk-2SJATAN4.js.map +0 -1
- package/dist/chunk-6LPNEC6D.js.map +0 -1
- package/dist/chunk-B76I67F3.js.map +0 -1
- package/dist/chunk-CZ3HWX2X.cjs.map +0 -1
- package/dist/chunk-DAIBBBOL.cjs.map +0 -1
- package/dist/chunk-MMYAIYHJ.cjs.map +0 -1
- package/dist/chunk-RGIQKTZ7.js.map +0 -1
- package/dist/chunk-VEI5KQVC.cjs.map +0 -1
- package/dist/chunk-X3CU27OO.cjs.map +0 -1
- package/dist/chunk-XIXGJGQW.js.map +0 -1
- package/dist/cli/index.d.cts +0 -1
- package/dist/cli/index.d.ts +0 -1
- package/dist/client.d.cts +0 -12
- package/dist/client.d.ts +0 -12
- package/dist/drizzle/index.d.cts +0 -135
- package/dist/drizzle/index.d.ts +0 -135
- package/dist/fields/index.d.cts +0 -27
- package/dist/fields/index.d.ts +0 -27
- package/dist/graphql/index.d.cts +0 -22
- package/dist/graphql/index.d.ts +0 -22
- package/dist/index-Bz9JqRGI.d.cts +0 -86
- package/dist/index-Bz9JqRGI.d.ts +0 -86
- package/dist/index-CLp-DRKA.d.ts +0 -64
- package/dist/index-DfO7G4kN.d.cts +0 -64
- package/dist/index.d.cts +0 -1361
- package/dist/index.d.ts +0 -1361
- package/dist/integration.d.cts +0 -27
- package/dist/integration.d.ts +0 -27
- package/dist/mongodb/index.d.cts +0 -63
- package/dist/mongodb/index.d.ts +0 -63
- package/dist/mysql-media-AI6YK767.cjs +0 -48
- package/dist/mysql-media-AI6YK767.cjs.map +0 -1
- package/dist/mysql-media-CDZUS7YX.js +0 -45
- package/dist/mysql-media-CDZUS7YX.js.map +0 -1
- package/dist/rest/index.d.cts +0 -57
- package/dist/rest/index.d.ts +0 -57
- package/dist/templates/index.d.cts +0 -59
- package/dist/templates/index.d.ts +0 -59
- package/dist/trpc/index.d.cts +0 -136
- package/dist/trpc/index.d.ts +0 -136
- package/dist/types-Bs1up4yP.d.ts +0 -461
- package/dist/types-Da83JLDk.d.cts +0 -130
- package/dist/types-Da83JLDk.d.ts +0 -130
- package/dist/types-J3R9nVsZ.d.cts +0 -461
- package/dist/types-VtjUxIMp.d.cts +0 -246
- package/dist/types-VtjUxIMp.d.ts +0 -246
- package/dist/ws/index.d.cts +0 -88
- package/dist/ws/index.d.ts +0 -88
package/dist/drizzle/index.d.cts
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { A as AbstractBaseAdapter } from '../base-DvvNqnM-.cjs';
|
|
2
|
-
import { C as CollectionConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, i as DraftFindArgs, j as DraftSnapshot, k as DraftUpsertArgs, l as DraftDeleteArgs } from '../types-J3R9nVsZ.cjs';
|
|
3
|
-
import { F as Field } from '../types-VtjUxIMp.cjs';
|
|
4
|
-
import { PostgresJsDatabase } from 'drizzle-orm/postgres-js';
|
|
5
|
-
import { A as AuthAdapter, U as UserRole, c as AuthUser, S as Session, e as AuditLogFilter, d as AuditLog } from '../types-Da83JLDk.cjs';
|
|
6
|
-
|
|
7
|
-
declare function fieldToDrizzleType(field: Field, dialect?: 'postgres' | 'mysql' | 'sqlite'): string;
|
|
8
|
-
declare function collectionToDrizzleSchema(collection: CollectionConfig, dialect?: 'postgres' | 'mysql' | 'sqlite'): string;
|
|
9
|
-
declare class DrizzleAdapter extends AbstractBaseAdapter {
|
|
10
|
-
private client;
|
|
11
|
-
private schema;
|
|
12
|
-
private dialect;
|
|
13
|
-
private draftsTableReady;
|
|
14
|
-
private versionsTableReady;
|
|
15
|
-
constructor(options: {
|
|
16
|
-
type: 'postgres' | 'mysql' | 'sqlite';
|
|
17
|
-
client: any;
|
|
18
|
-
schema?: any;
|
|
19
|
-
});
|
|
20
|
-
protected prepareData(data: Record<string, any>, config: CollectionConfig): Record<string, any>;
|
|
21
|
-
connect(): Promise<void>;
|
|
22
|
-
disconnect(): Promise<void>;
|
|
23
|
-
find<T>(args: FindArgs): Promise<FindResult<T>>;
|
|
24
|
-
findByID<T>(args: FindByIDArgs): Promise<T | null>;
|
|
25
|
-
create<T>(args: CreateArgs): Promise<T>;
|
|
26
|
-
update<T>(args: UpdateArgs): Promise<T>;
|
|
27
|
-
delete<T>(args: DeleteArgs): Promise<T>;
|
|
28
|
-
count(args: {
|
|
29
|
-
collection: string;
|
|
30
|
-
where?: Record<string, any>;
|
|
31
|
-
tenantID?: string;
|
|
32
|
-
}): Promise<number>;
|
|
33
|
-
findOne(args: {
|
|
34
|
-
collection: string;
|
|
35
|
-
where: Record<string, any>;
|
|
36
|
-
tenantID?: string;
|
|
37
|
-
draft?: boolean;
|
|
38
|
-
}): Promise<any>;
|
|
39
|
-
findVersions(args: any): Promise<FindResult<any>>;
|
|
40
|
-
findVersionByID(args: {
|
|
41
|
-
collection: string;
|
|
42
|
-
versionId: string;
|
|
43
|
-
tenantID?: string;
|
|
44
|
-
}): Promise<any>;
|
|
45
|
-
createVersion(args: any): Promise<any>;
|
|
46
|
-
deleteVersions(args: {
|
|
47
|
-
collection: string;
|
|
48
|
-
documentId: string;
|
|
49
|
-
keepLatest?: number;
|
|
50
|
-
tenantID?: string;
|
|
51
|
-
}): Promise<void>;
|
|
52
|
-
findDraft<T>(args: DraftFindArgs): Promise<DraftSnapshot<T> | null>;
|
|
53
|
-
upsertDraft<T>(args: DraftUpsertArgs<T>): Promise<DraftSnapshot<T>>;
|
|
54
|
-
deleteDraft(args: DraftDeleteArgs): Promise<void>;
|
|
55
|
-
private getTable;
|
|
56
|
-
private buildWhereClause;
|
|
57
|
-
private processResult;
|
|
58
|
-
private ensureDraftsTable;
|
|
59
|
-
private ensureVersionsTable;
|
|
60
|
-
private getDraftId;
|
|
61
|
-
private executeRaw;
|
|
62
|
-
private rowToDraft;
|
|
63
|
-
}
|
|
64
|
-
declare function createDrizzleAdapter(options: {
|
|
65
|
-
type: 'postgres' | 'mysql' | 'sqlite';
|
|
66
|
-
client: any;
|
|
67
|
-
schema?: any;
|
|
68
|
-
}): DrizzleAdapter;
|
|
69
|
-
|
|
70
|
-
interface PostgresAuthAdapterOptions {
|
|
71
|
-
db: PostgresJsDatabase;
|
|
72
|
-
prefix?: string;
|
|
73
|
-
sessionTTL?: number;
|
|
74
|
-
refreshTokenTTL?: number;
|
|
75
|
-
}
|
|
76
|
-
declare class PostgresAuthAdapter implements AuthAdapter {
|
|
77
|
-
private db;
|
|
78
|
-
private prefix;
|
|
79
|
-
private sessionTTL;
|
|
80
|
-
private refreshTokenTTL;
|
|
81
|
-
constructor(options: PostgresAuthAdapterOptions);
|
|
82
|
-
createUser(data: {
|
|
83
|
-
email: string;
|
|
84
|
-
password: string;
|
|
85
|
-
name?: string;
|
|
86
|
-
role?: UserRole;
|
|
87
|
-
tenantId?: string;
|
|
88
|
-
}): Promise<AuthUser>;
|
|
89
|
-
findUserByEmail(email: string): Promise<AuthUser | null>;
|
|
90
|
-
findUserById(id: string): Promise<AuthUser | null>;
|
|
91
|
-
updateUser(id: string, data: Partial<AuthUser>): Promise<AuthUser | null>;
|
|
92
|
-
deleteUser(id: string): Promise<boolean>;
|
|
93
|
-
verifyPassword(email: string, password: string): Promise<AuthUser | null>;
|
|
94
|
-
hashPassword(password: string): Promise<string>;
|
|
95
|
-
createSession(userId: string, data?: {
|
|
96
|
-
ipAddress?: string;
|
|
97
|
-
userAgent?: string;
|
|
98
|
-
}): Promise<Session>;
|
|
99
|
-
findSessionByToken(token: string): Promise<Session | null>;
|
|
100
|
-
findSessionByRefreshToken(refreshToken: string): Promise<Session | null>;
|
|
101
|
-
deleteSession(sessionId: string): Promise<boolean>;
|
|
102
|
-
deleteUserSessions(userId: string): Promise<number>;
|
|
103
|
-
addPasswordToHistory(userId: string, passwordHash: string): Promise<void>;
|
|
104
|
-
getPasswordHistory(userId: string, count?: number): Promise<string[]>;
|
|
105
|
-
isPasswordInHistory(password: string, userId: string, historyCount?: number): Promise<boolean>;
|
|
106
|
-
isLocked(userId: string): Promise<boolean>;
|
|
107
|
-
getLockout(userId: string): Promise<{
|
|
108
|
-
lockedUntil: Date;
|
|
109
|
-
} | null>;
|
|
110
|
-
recordFailedAttempt(userId: string, ipAddress?: string): Promise<{
|
|
111
|
-
attempts: number;
|
|
112
|
-
locked: boolean;
|
|
113
|
-
}>;
|
|
114
|
-
resetAttempts(userId: string): Promise<void>;
|
|
115
|
-
findAuditLogs(filter: AuditLogFilter): Promise<{
|
|
116
|
-
logs: AuditLog[];
|
|
117
|
-
total: number;
|
|
118
|
-
}>;
|
|
119
|
-
createAuditLog(data: Omit<AuditLog, "id" | "timestamp">): Promise<AuditLog>;
|
|
120
|
-
private userToAuthUser;
|
|
121
|
-
private sessionToSession;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
type Dialect = "sqlite" | "postgres" | "mysql";
|
|
125
|
-
declare function genId(): string;
|
|
126
|
-
interface DatabaseResult {
|
|
127
|
-
db: any;
|
|
128
|
-
dialect: Dialect;
|
|
129
|
-
genId: () => string;
|
|
130
|
-
}
|
|
131
|
-
declare function createDatabase(): Promise<DatabaseResult>;
|
|
132
|
-
declare function runMigrations(_db: any, _dialect?: Dialect): Promise<void>;
|
|
133
|
-
declare function seedDefaultRoles(db: any): Promise<void>;
|
|
134
|
-
|
|
135
|
-
export { type Dialect, DrizzleAdapter, PostgresAuthAdapter, collectionToDrizzleSchema, createDatabase, createDrizzleAdapter, fieldToDrizzleType, genId, runMigrations, seedDefaultRoles };
|
package/dist/drizzle/index.d.ts
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { A as AbstractBaseAdapter } from '../base-eVegJ_Pr.js';
|
|
2
|
-
import { C as CollectionConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, i as DraftFindArgs, j as DraftSnapshot, k as DraftUpsertArgs, l as DraftDeleteArgs } from '../types-Bs1up4yP.js';
|
|
3
|
-
import { F as Field } from '../types-VtjUxIMp.js';
|
|
4
|
-
import { PostgresJsDatabase } from 'drizzle-orm/postgres-js';
|
|
5
|
-
import { A as AuthAdapter, U as UserRole, c as AuthUser, S as Session, e as AuditLogFilter, d as AuditLog } from '../types-Da83JLDk.js';
|
|
6
|
-
|
|
7
|
-
declare function fieldToDrizzleType(field: Field, dialect?: 'postgres' | 'mysql' | 'sqlite'): string;
|
|
8
|
-
declare function collectionToDrizzleSchema(collection: CollectionConfig, dialect?: 'postgres' | 'mysql' | 'sqlite'): string;
|
|
9
|
-
declare class DrizzleAdapter extends AbstractBaseAdapter {
|
|
10
|
-
private client;
|
|
11
|
-
private schema;
|
|
12
|
-
private dialect;
|
|
13
|
-
private draftsTableReady;
|
|
14
|
-
private versionsTableReady;
|
|
15
|
-
constructor(options: {
|
|
16
|
-
type: 'postgres' | 'mysql' | 'sqlite';
|
|
17
|
-
client: any;
|
|
18
|
-
schema?: any;
|
|
19
|
-
});
|
|
20
|
-
protected prepareData(data: Record<string, any>, config: CollectionConfig): Record<string, any>;
|
|
21
|
-
connect(): Promise<void>;
|
|
22
|
-
disconnect(): Promise<void>;
|
|
23
|
-
find<T>(args: FindArgs): Promise<FindResult<T>>;
|
|
24
|
-
findByID<T>(args: FindByIDArgs): Promise<T | null>;
|
|
25
|
-
create<T>(args: CreateArgs): Promise<T>;
|
|
26
|
-
update<T>(args: UpdateArgs): Promise<T>;
|
|
27
|
-
delete<T>(args: DeleteArgs): Promise<T>;
|
|
28
|
-
count(args: {
|
|
29
|
-
collection: string;
|
|
30
|
-
where?: Record<string, any>;
|
|
31
|
-
tenantID?: string;
|
|
32
|
-
}): Promise<number>;
|
|
33
|
-
findOne(args: {
|
|
34
|
-
collection: string;
|
|
35
|
-
where: Record<string, any>;
|
|
36
|
-
tenantID?: string;
|
|
37
|
-
draft?: boolean;
|
|
38
|
-
}): Promise<any>;
|
|
39
|
-
findVersions(args: any): Promise<FindResult<any>>;
|
|
40
|
-
findVersionByID(args: {
|
|
41
|
-
collection: string;
|
|
42
|
-
versionId: string;
|
|
43
|
-
tenantID?: string;
|
|
44
|
-
}): Promise<any>;
|
|
45
|
-
createVersion(args: any): Promise<any>;
|
|
46
|
-
deleteVersions(args: {
|
|
47
|
-
collection: string;
|
|
48
|
-
documentId: string;
|
|
49
|
-
keepLatest?: number;
|
|
50
|
-
tenantID?: string;
|
|
51
|
-
}): Promise<void>;
|
|
52
|
-
findDraft<T>(args: DraftFindArgs): Promise<DraftSnapshot<T> | null>;
|
|
53
|
-
upsertDraft<T>(args: DraftUpsertArgs<T>): Promise<DraftSnapshot<T>>;
|
|
54
|
-
deleteDraft(args: DraftDeleteArgs): Promise<void>;
|
|
55
|
-
private getTable;
|
|
56
|
-
private buildWhereClause;
|
|
57
|
-
private processResult;
|
|
58
|
-
private ensureDraftsTable;
|
|
59
|
-
private ensureVersionsTable;
|
|
60
|
-
private getDraftId;
|
|
61
|
-
private executeRaw;
|
|
62
|
-
private rowToDraft;
|
|
63
|
-
}
|
|
64
|
-
declare function createDrizzleAdapter(options: {
|
|
65
|
-
type: 'postgres' | 'mysql' | 'sqlite';
|
|
66
|
-
client: any;
|
|
67
|
-
schema?: any;
|
|
68
|
-
}): DrizzleAdapter;
|
|
69
|
-
|
|
70
|
-
interface PostgresAuthAdapterOptions {
|
|
71
|
-
db: PostgresJsDatabase;
|
|
72
|
-
prefix?: string;
|
|
73
|
-
sessionTTL?: number;
|
|
74
|
-
refreshTokenTTL?: number;
|
|
75
|
-
}
|
|
76
|
-
declare class PostgresAuthAdapter implements AuthAdapter {
|
|
77
|
-
private db;
|
|
78
|
-
private prefix;
|
|
79
|
-
private sessionTTL;
|
|
80
|
-
private refreshTokenTTL;
|
|
81
|
-
constructor(options: PostgresAuthAdapterOptions);
|
|
82
|
-
createUser(data: {
|
|
83
|
-
email: string;
|
|
84
|
-
password: string;
|
|
85
|
-
name?: string;
|
|
86
|
-
role?: UserRole;
|
|
87
|
-
tenantId?: string;
|
|
88
|
-
}): Promise<AuthUser>;
|
|
89
|
-
findUserByEmail(email: string): Promise<AuthUser | null>;
|
|
90
|
-
findUserById(id: string): Promise<AuthUser | null>;
|
|
91
|
-
updateUser(id: string, data: Partial<AuthUser>): Promise<AuthUser | null>;
|
|
92
|
-
deleteUser(id: string): Promise<boolean>;
|
|
93
|
-
verifyPassword(email: string, password: string): Promise<AuthUser | null>;
|
|
94
|
-
hashPassword(password: string): Promise<string>;
|
|
95
|
-
createSession(userId: string, data?: {
|
|
96
|
-
ipAddress?: string;
|
|
97
|
-
userAgent?: string;
|
|
98
|
-
}): Promise<Session>;
|
|
99
|
-
findSessionByToken(token: string): Promise<Session | null>;
|
|
100
|
-
findSessionByRefreshToken(refreshToken: string): Promise<Session | null>;
|
|
101
|
-
deleteSession(sessionId: string): Promise<boolean>;
|
|
102
|
-
deleteUserSessions(userId: string): Promise<number>;
|
|
103
|
-
addPasswordToHistory(userId: string, passwordHash: string): Promise<void>;
|
|
104
|
-
getPasswordHistory(userId: string, count?: number): Promise<string[]>;
|
|
105
|
-
isPasswordInHistory(password: string, userId: string, historyCount?: number): Promise<boolean>;
|
|
106
|
-
isLocked(userId: string): Promise<boolean>;
|
|
107
|
-
getLockout(userId: string): Promise<{
|
|
108
|
-
lockedUntil: Date;
|
|
109
|
-
} | null>;
|
|
110
|
-
recordFailedAttempt(userId: string, ipAddress?: string): Promise<{
|
|
111
|
-
attempts: number;
|
|
112
|
-
locked: boolean;
|
|
113
|
-
}>;
|
|
114
|
-
resetAttempts(userId: string): Promise<void>;
|
|
115
|
-
findAuditLogs(filter: AuditLogFilter): Promise<{
|
|
116
|
-
logs: AuditLog[];
|
|
117
|
-
total: number;
|
|
118
|
-
}>;
|
|
119
|
-
createAuditLog(data: Omit<AuditLog, "id" | "timestamp">): Promise<AuditLog>;
|
|
120
|
-
private userToAuthUser;
|
|
121
|
-
private sessionToSession;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
type Dialect = "sqlite" | "postgres" | "mysql";
|
|
125
|
-
declare function genId(): string;
|
|
126
|
-
interface DatabaseResult {
|
|
127
|
-
db: any;
|
|
128
|
-
dialect: Dialect;
|
|
129
|
-
genId: () => string;
|
|
130
|
-
}
|
|
131
|
-
declare function createDatabase(): Promise<DatabaseResult>;
|
|
132
|
-
declare function runMigrations(_db: any, _dialect?: Dialect): Promise<void>;
|
|
133
|
-
declare function seedDefaultRoles(db: any): Promise<void>;
|
|
134
|
-
|
|
135
|
-
export { type Dialect, DrizzleAdapter, PostgresAuthAdapter, collectionToDrizzleSchema, createDatabase, createDrizzleAdapter, fieldToDrizzleType, genId, runMigrations, seedDefaultRoles };
|
package/dist/fields/index.d.cts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export { p as ALL_FIELD_TYPES, A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, W as ButtonField, q as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, E as EmailField, F as Field, h as FieldAdmin, i as FieldType, G as GroupField, X as Hook, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, Y as ListField, M as MarkdownField, N as NumberField, r as PRIMITIVE_FIELD_TYPES, P as PasswordField, s as RELATIONAL_FIELD_TYPES, R as RadioField, j as RelationshipField, k as RichTextBlock, l as RichTextField, m as RowField, S as SelectField, T as TabsField, n as TextField, Z as TextFieldVariant, o as TextareaField, U as UploadField, V as ValidateOptions, _ as createRelationshipFieldConfig, t as isArrayField, u as isBlocksField, v as isGroupField, w as isImageField, x as isLayoutField, y as isNumberField, z as isRelationshipField, H as isRichTextField, K as isSelectField, O as isTextField, Q as isUploadField } from '../types-VtjUxIMp.cjs';
|
|
2
|
-
|
|
3
|
-
interface RichTextMark {
|
|
4
|
-
type: string;
|
|
5
|
-
attrs?: Record<string, unknown>;
|
|
6
|
-
}
|
|
7
|
-
interface RichTextNode {
|
|
8
|
-
type?: string;
|
|
9
|
-
attrs?: Record<string, unknown>;
|
|
10
|
-
content?: RichTextNode[];
|
|
11
|
-
text?: string;
|
|
12
|
-
marks?: RichTextMark[];
|
|
13
|
-
[key: string]: unknown;
|
|
14
|
-
}
|
|
15
|
-
interface RichTextDocument extends RichTextNode {
|
|
16
|
-
type: "doc";
|
|
17
|
-
content: RichTextNode[];
|
|
18
|
-
}
|
|
19
|
-
declare const richTextStyles: string;
|
|
20
|
-
declare function createEmptyParagraphNode(): RichTextNode;
|
|
21
|
-
declare function createColumnNode(content?: RichTextNode[]): RichTextNode;
|
|
22
|
-
declare function createColumnsNode(columns?: number): RichTextNode;
|
|
23
|
-
declare function normalizeRichTextDocument(value: unknown): RichTextDocument;
|
|
24
|
-
declare function normalizeRichTextValue<T>(value: T): T;
|
|
25
|
-
declare function renderRichText(value: unknown): string;
|
|
26
|
-
|
|
27
|
-
export { type RichTextDocument, type RichTextMark, type RichTextNode, createColumnNode, createColumnsNode, createEmptyParagraphNode, normalizeRichTextDocument, normalizeRichTextValue, renderRichText, richTextStyles };
|
package/dist/fields/index.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export { p as ALL_FIELD_TYPES, A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, W as ButtonField, q as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, E as EmailField, F as Field, h as FieldAdmin, i as FieldType, G as GroupField, X as Hook, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, Y as ListField, M as MarkdownField, N as NumberField, r as PRIMITIVE_FIELD_TYPES, P as PasswordField, s as RELATIONAL_FIELD_TYPES, R as RadioField, j as RelationshipField, k as RichTextBlock, l as RichTextField, m as RowField, S as SelectField, T as TabsField, n as TextField, Z as TextFieldVariant, o as TextareaField, U as UploadField, V as ValidateOptions, _ as createRelationshipFieldConfig, t as isArrayField, u as isBlocksField, v as isGroupField, w as isImageField, x as isLayoutField, y as isNumberField, z as isRelationshipField, H as isRichTextField, K as isSelectField, O as isTextField, Q as isUploadField } from '../types-VtjUxIMp.js';
|
|
2
|
-
|
|
3
|
-
interface RichTextMark {
|
|
4
|
-
type: string;
|
|
5
|
-
attrs?: Record<string, unknown>;
|
|
6
|
-
}
|
|
7
|
-
interface RichTextNode {
|
|
8
|
-
type?: string;
|
|
9
|
-
attrs?: Record<string, unknown>;
|
|
10
|
-
content?: RichTextNode[];
|
|
11
|
-
text?: string;
|
|
12
|
-
marks?: RichTextMark[];
|
|
13
|
-
[key: string]: unknown;
|
|
14
|
-
}
|
|
15
|
-
interface RichTextDocument extends RichTextNode {
|
|
16
|
-
type: "doc";
|
|
17
|
-
content: RichTextNode[];
|
|
18
|
-
}
|
|
19
|
-
declare const richTextStyles: string;
|
|
20
|
-
declare function createEmptyParagraphNode(): RichTextNode;
|
|
21
|
-
declare function createColumnNode(content?: RichTextNode[]): RichTextNode;
|
|
22
|
-
declare function createColumnsNode(columns?: number): RichTextNode;
|
|
23
|
-
declare function normalizeRichTextDocument(value: unknown): RichTextDocument;
|
|
24
|
-
declare function normalizeRichTextValue<T>(value: T): T;
|
|
25
|
-
declare function renderRichText(value: unknown): string;
|
|
26
|
-
|
|
27
|
-
export { type RichTextDocument, type RichTextMark, type RichTextNode, createColumnNode, createColumnsNode, createEmptyParagraphNode, normalizeRichTextDocument, normalizeRichTextValue, renderRichText, richTextStyles };
|
package/dist/graphql/index.d.cts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { GraphQLSchema } from 'graphql';
|
|
2
|
-
import { B as BaseAdapter, m as User, R as Request } from '../types-J3R9nVsZ.cjs';
|
|
3
|
-
import { R as Registry } from '../index-DfO7G4kN.cjs';
|
|
4
|
-
import '../types-VtjUxIMp.cjs';
|
|
5
|
-
import 'zod';
|
|
6
|
-
|
|
7
|
-
interface GraphQLSchemaOptions {
|
|
8
|
-
registry: Registry;
|
|
9
|
-
db: BaseAdapter;
|
|
10
|
-
user?: User;
|
|
11
|
-
req?: Request;
|
|
12
|
-
tenantID?: string;
|
|
13
|
-
settings?: Record<string, any>;
|
|
14
|
-
}
|
|
15
|
-
declare function buildGraphQLSchema(options: GraphQLSchemaOptions): GraphQLSchema;
|
|
16
|
-
declare function createGraphQLSchema(registry: Registry, db: BaseAdapter, options?: {
|
|
17
|
-
user?: User;
|
|
18
|
-
req?: Request;
|
|
19
|
-
tenantID?: string;
|
|
20
|
-
}): GraphQLSchema;
|
|
21
|
-
|
|
22
|
-
export { type GraphQLSchemaOptions, buildGraphQLSchema, createGraphQLSchema };
|
package/dist/graphql/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { GraphQLSchema } from 'graphql';
|
|
2
|
-
import { B as BaseAdapter, m as User, R as Request } from '../types-Bs1up4yP.js';
|
|
3
|
-
import { R as Registry } from '../index-CLp-DRKA.js';
|
|
4
|
-
import '../types-VtjUxIMp.js';
|
|
5
|
-
import 'zod';
|
|
6
|
-
|
|
7
|
-
interface GraphQLSchemaOptions {
|
|
8
|
-
registry: Registry;
|
|
9
|
-
db: BaseAdapter;
|
|
10
|
-
user?: User;
|
|
11
|
-
req?: Request;
|
|
12
|
-
tenantID?: string;
|
|
13
|
-
settings?: Record<string, any>;
|
|
14
|
-
}
|
|
15
|
-
declare function buildGraphQLSchema(options: GraphQLSchemaOptions): GraphQLSchema;
|
|
16
|
-
declare function createGraphQLSchema(registry: Registry, db: BaseAdapter, options?: {
|
|
17
|
-
user?: User;
|
|
18
|
-
req?: Request;
|
|
19
|
-
tenantID?: string;
|
|
20
|
-
}): GraphQLSchema;
|
|
21
|
-
|
|
22
|
-
export { type GraphQLSchemaOptions, buildGraphQLSchema, createGraphQLSchema };
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
type StylingMode = 'css' | 'tailwind' | 'css-in-js' | 'styled-components' | 'vanilla-extract';
|
|
2
|
-
interface StylingConfig {
|
|
3
|
-
mode: StylingMode;
|
|
4
|
-
theme?: ThemeConfig;
|
|
5
|
-
customProperties?: Record<string, string>;
|
|
6
|
-
}
|
|
7
|
-
interface ThemeConfig {
|
|
8
|
-
colors?: ThemeColors;
|
|
9
|
-
fonts?: ThemeFonts;
|
|
10
|
-
spacing?: ThemeSpacing;
|
|
11
|
-
borderRadius?: ThemeBorderRadius;
|
|
12
|
-
shadows?: ThemeShadows;
|
|
13
|
-
breakpoints?: Record<string, string>;
|
|
14
|
-
}
|
|
15
|
-
interface ThemeColors {
|
|
16
|
-
primary?: string;
|
|
17
|
-
secondary?: string;
|
|
18
|
-
accent?: string;
|
|
19
|
-
background?: string;
|
|
20
|
-
surface?: string;
|
|
21
|
-
text?: string;
|
|
22
|
-
textMuted?: string;
|
|
23
|
-
border?: string;
|
|
24
|
-
error?: string;
|
|
25
|
-
warning?: string;
|
|
26
|
-
success?: string;
|
|
27
|
-
info?: string;
|
|
28
|
-
}
|
|
29
|
-
interface ThemeFonts {
|
|
30
|
-
sans?: string;
|
|
31
|
-
serif?: string;
|
|
32
|
-
mono?: string;
|
|
33
|
-
}
|
|
34
|
-
interface ThemeSpacing {
|
|
35
|
-
xs?: string;
|
|
36
|
-
sm?: string;
|
|
37
|
-
md?: string;
|
|
38
|
-
lg?: string;
|
|
39
|
-
xl?: string;
|
|
40
|
-
'2xl'?: string;
|
|
41
|
-
'3xl'?: string;
|
|
42
|
-
'4xl'?: string;
|
|
43
|
-
}
|
|
44
|
-
interface ThemeBorderRadius {
|
|
45
|
-
sm?: string;
|
|
46
|
-
md?: string;
|
|
47
|
-
lg?: string;
|
|
48
|
-
xl?: string;
|
|
49
|
-
full?: string;
|
|
50
|
-
}
|
|
51
|
-
interface ThemeShadows {
|
|
52
|
-
sm?: string;
|
|
53
|
-
md?: string;
|
|
54
|
-
lg?: string;
|
|
55
|
-
xl?: string;
|
|
56
|
-
}
|
|
57
|
-
declare class CSSGenerator {
|
|
58
|
-
private config;
|
|
59
|
-
private css;
|
|
60
|
-
constructor(config: StylingConfig);
|
|
61
|
-
addRule(selector: string, properties: Record<string, string>): this;
|
|
62
|
-
addMediaQuery(breakpoint: string, rules: string[]): this;
|
|
63
|
-
generate(): string;
|
|
64
|
-
}
|
|
65
|
-
declare function generateTailwindConfig(theme: ThemeConfig): Record<string, any>;
|
|
66
|
-
declare const defaultLightTheme: ThemeConfig;
|
|
67
|
-
declare const defaultDarkTheme: ThemeConfig;
|
|
68
|
-
declare const ecommerce2026Theme: ThemeConfig;
|
|
69
|
-
declare function generateCSSVariables(theme: ThemeConfig): string;
|
|
70
|
-
interface AdminStylingConfig {
|
|
71
|
-
mode: StylingMode;
|
|
72
|
-
theme?: ThemeConfig;
|
|
73
|
-
customStyles?: string;
|
|
74
|
-
componentOverrides?: Record<string, Record<string, string>>;
|
|
75
|
-
}
|
|
76
|
-
declare function createAdminStyling(config: AdminStylingConfig): string;
|
|
77
|
-
interface FieldStyling {
|
|
78
|
-
wrapper?: Record<string, string>;
|
|
79
|
-
label?: Record<string, string>;
|
|
80
|
-
input?: Record<string, string>;
|
|
81
|
-
error?: Record<string, string>;
|
|
82
|
-
description?: Record<string, string>;
|
|
83
|
-
}
|
|
84
|
-
declare const defaultFieldStyling: Record<string, FieldStyling>;
|
|
85
|
-
|
|
86
|
-
export { type AdminStylingConfig as A, CSSGenerator as C, type FieldStyling as F, type StylingConfig as S, type ThemeBorderRadius as T, type StylingMode as a, type ThemeColors as b, type ThemeConfig as c, type ThemeFonts as d, type ThemeShadows as e, type ThemeSpacing as f, createAdminStyling as g, defaultDarkTheme as h, defaultFieldStyling as i, defaultLightTheme as j, ecommerce2026Theme as k, generateCSSVariables as l, generateTailwindConfig as m };
|
package/dist/index-Bz9JqRGI.d.ts
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
type StylingMode = 'css' | 'tailwind' | 'css-in-js' | 'styled-components' | 'vanilla-extract';
|
|
2
|
-
interface StylingConfig {
|
|
3
|
-
mode: StylingMode;
|
|
4
|
-
theme?: ThemeConfig;
|
|
5
|
-
customProperties?: Record<string, string>;
|
|
6
|
-
}
|
|
7
|
-
interface ThemeConfig {
|
|
8
|
-
colors?: ThemeColors;
|
|
9
|
-
fonts?: ThemeFonts;
|
|
10
|
-
spacing?: ThemeSpacing;
|
|
11
|
-
borderRadius?: ThemeBorderRadius;
|
|
12
|
-
shadows?: ThemeShadows;
|
|
13
|
-
breakpoints?: Record<string, string>;
|
|
14
|
-
}
|
|
15
|
-
interface ThemeColors {
|
|
16
|
-
primary?: string;
|
|
17
|
-
secondary?: string;
|
|
18
|
-
accent?: string;
|
|
19
|
-
background?: string;
|
|
20
|
-
surface?: string;
|
|
21
|
-
text?: string;
|
|
22
|
-
textMuted?: string;
|
|
23
|
-
border?: string;
|
|
24
|
-
error?: string;
|
|
25
|
-
warning?: string;
|
|
26
|
-
success?: string;
|
|
27
|
-
info?: string;
|
|
28
|
-
}
|
|
29
|
-
interface ThemeFonts {
|
|
30
|
-
sans?: string;
|
|
31
|
-
serif?: string;
|
|
32
|
-
mono?: string;
|
|
33
|
-
}
|
|
34
|
-
interface ThemeSpacing {
|
|
35
|
-
xs?: string;
|
|
36
|
-
sm?: string;
|
|
37
|
-
md?: string;
|
|
38
|
-
lg?: string;
|
|
39
|
-
xl?: string;
|
|
40
|
-
'2xl'?: string;
|
|
41
|
-
'3xl'?: string;
|
|
42
|
-
'4xl'?: string;
|
|
43
|
-
}
|
|
44
|
-
interface ThemeBorderRadius {
|
|
45
|
-
sm?: string;
|
|
46
|
-
md?: string;
|
|
47
|
-
lg?: string;
|
|
48
|
-
xl?: string;
|
|
49
|
-
full?: string;
|
|
50
|
-
}
|
|
51
|
-
interface ThemeShadows {
|
|
52
|
-
sm?: string;
|
|
53
|
-
md?: string;
|
|
54
|
-
lg?: string;
|
|
55
|
-
xl?: string;
|
|
56
|
-
}
|
|
57
|
-
declare class CSSGenerator {
|
|
58
|
-
private config;
|
|
59
|
-
private css;
|
|
60
|
-
constructor(config: StylingConfig);
|
|
61
|
-
addRule(selector: string, properties: Record<string, string>): this;
|
|
62
|
-
addMediaQuery(breakpoint: string, rules: string[]): this;
|
|
63
|
-
generate(): string;
|
|
64
|
-
}
|
|
65
|
-
declare function generateTailwindConfig(theme: ThemeConfig): Record<string, any>;
|
|
66
|
-
declare const defaultLightTheme: ThemeConfig;
|
|
67
|
-
declare const defaultDarkTheme: ThemeConfig;
|
|
68
|
-
declare const ecommerce2026Theme: ThemeConfig;
|
|
69
|
-
declare function generateCSSVariables(theme: ThemeConfig): string;
|
|
70
|
-
interface AdminStylingConfig {
|
|
71
|
-
mode: StylingMode;
|
|
72
|
-
theme?: ThemeConfig;
|
|
73
|
-
customStyles?: string;
|
|
74
|
-
componentOverrides?: Record<string, Record<string, string>>;
|
|
75
|
-
}
|
|
76
|
-
declare function createAdminStyling(config: AdminStylingConfig): string;
|
|
77
|
-
interface FieldStyling {
|
|
78
|
-
wrapper?: Record<string, string>;
|
|
79
|
-
label?: Record<string, string>;
|
|
80
|
-
input?: Record<string, string>;
|
|
81
|
-
error?: Record<string, string>;
|
|
82
|
-
description?: Record<string, string>;
|
|
83
|
-
}
|
|
84
|
-
declare const defaultFieldStyling: Record<string, FieldStyling>;
|
|
85
|
-
|
|
86
|
-
export { type AdminStylingConfig as A, CSSGenerator as C, type FieldStyling as F, type StylingConfig as S, type ThemeBorderRadius as T, type StylingMode as a, type ThemeColors as b, type ThemeConfig as c, type ThemeFonts as d, type ThemeShadows as e, type ThemeSpacing as f, createAdminStyling as g, defaultDarkTheme as h, defaultFieldStyling as i, defaultLightTheme as j, ecommerce2026Theme as k, generateCSSVariables as l, generateTailwindConfig as m };
|
package/dist/index-CLp-DRKA.d.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { C as CollectionConfig, G as GlobalConfig, P as PluginConfig } from './types-Bs1up4yP.js';
|
|
2
|
-
import { F as Field } from './types-VtjUxIMp.js';
|
|
3
|
-
import { ZodTypeAny } from 'zod';
|
|
4
|
-
|
|
5
|
-
declare class Registry {
|
|
6
|
-
private collections;
|
|
7
|
-
private globals;
|
|
8
|
-
private plugins;
|
|
9
|
-
private schemaCache;
|
|
10
|
-
private initialized;
|
|
11
|
-
addCollection(config: CollectionConfig): void;
|
|
12
|
-
addCollections(configs: CollectionConfig[]): void;
|
|
13
|
-
getCollection(slug: string): CollectionConfig | undefined;
|
|
14
|
-
getCollections(): CollectionConfig[];
|
|
15
|
-
getCollectionSlugs(): string[];
|
|
16
|
-
hasCollection(slug: string): boolean;
|
|
17
|
-
removeCollection(slug: string): boolean;
|
|
18
|
-
addGlobal(config: GlobalConfig): void;
|
|
19
|
-
addGlobals(configs: GlobalConfig[]): void;
|
|
20
|
-
getGlobal(slug: string): GlobalConfig | undefined;
|
|
21
|
-
getGlobals(): GlobalConfig[];
|
|
22
|
-
getGlobalSlugs(): string[];
|
|
23
|
-
hasGlobal(slug: string): boolean;
|
|
24
|
-
removeGlobal(slug: string): boolean;
|
|
25
|
-
addPlugin(plugin: PluginConfig): void;
|
|
26
|
-
getPlugins(): PluginConfig[];
|
|
27
|
-
getZodSchema(slug: string): ZodTypeAny;
|
|
28
|
-
getCreateZodSchema(slug: string): ZodTypeAny;
|
|
29
|
-
getUpdateZodSchema(slug: string): ZodTypeAny;
|
|
30
|
-
getWhereZodSchema(slug: string): ZodTypeAny;
|
|
31
|
-
getFieldZodSchema(field: Field): ZodTypeAny;
|
|
32
|
-
private clearSchemaCache;
|
|
33
|
-
private applyFieldDefaults;
|
|
34
|
-
getFields(slug: string): Field[];
|
|
35
|
-
getFieldMap(slug: string): Map<string, Field>;
|
|
36
|
-
getVisibleFields(slug: string): Field[];
|
|
37
|
-
validate(): void;
|
|
38
|
-
init(): Promise<void>;
|
|
39
|
-
isInitialized(): boolean;
|
|
40
|
-
getPaginationDefaults(slug: string): {
|
|
41
|
-
defaultLimit: number;
|
|
42
|
-
limits: number[];
|
|
43
|
-
};
|
|
44
|
-
getDefaultSort(slug: string): string;
|
|
45
|
-
getDefaultColumns(slug: string): string[];
|
|
46
|
-
getAdminTitle(slug: string): string;
|
|
47
|
-
getAdminLabel(slug: string): string;
|
|
48
|
-
getAdminGroup(slug: string): string | undefined;
|
|
49
|
-
getStats(): {
|
|
50
|
-
collections: number;
|
|
51
|
-
globals: number;
|
|
52
|
-
plugins: number;
|
|
53
|
-
fields: number;
|
|
54
|
-
};
|
|
55
|
-
toJSON(): {
|
|
56
|
-
collections: CollectionConfig[];
|
|
57
|
-
globals: GlobalConfig[];
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
declare function getRegistry(): Registry;
|
|
61
|
-
declare function resetRegistry(): void;
|
|
62
|
-
declare function createRegistry(): Registry;
|
|
63
|
-
|
|
64
|
-
export { Registry as R, createRegistry as c, getRegistry as g, resetRegistry as r };
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { C as CollectionConfig, G as GlobalConfig, P as PluginConfig } from './types-J3R9nVsZ.cjs';
|
|
2
|
-
import { F as Field } from './types-VtjUxIMp.cjs';
|
|
3
|
-
import { ZodTypeAny } from 'zod';
|
|
4
|
-
|
|
5
|
-
declare class Registry {
|
|
6
|
-
private collections;
|
|
7
|
-
private globals;
|
|
8
|
-
private plugins;
|
|
9
|
-
private schemaCache;
|
|
10
|
-
private initialized;
|
|
11
|
-
addCollection(config: CollectionConfig): void;
|
|
12
|
-
addCollections(configs: CollectionConfig[]): void;
|
|
13
|
-
getCollection(slug: string): CollectionConfig | undefined;
|
|
14
|
-
getCollections(): CollectionConfig[];
|
|
15
|
-
getCollectionSlugs(): string[];
|
|
16
|
-
hasCollection(slug: string): boolean;
|
|
17
|
-
removeCollection(slug: string): boolean;
|
|
18
|
-
addGlobal(config: GlobalConfig): void;
|
|
19
|
-
addGlobals(configs: GlobalConfig[]): void;
|
|
20
|
-
getGlobal(slug: string): GlobalConfig | undefined;
|
|
21
|
-
getGlobals(): GlobalConfig[];
|
|
22
|
-
getGlobalSlugs(): string[];
|
|
23
|
-
hasGlobal(slug: string): boolean;
|
|
24
|
-
removeGlobal(slug: string): boolean;
|
|
25
|
-
addPlugin(plugin: PluginConfig): void;
|
|
26
|
-
getPlugins(): PluginConfig[];
|
|
27
|
-
getZodSchema(slug: string): ZodTypeAny;
|
|
28
|
-
getCreateZodSchema(slug: string): ZodTypeAny;
|
|
29
|
-
getUpdateZodSchema(slug: string): ZodTypeAny;
|
|
30
|
-
getWhereZodSchema(slug: string): ZodTypeAny;
|
|
31
|
-
getFieldZodSchema(field: Field): ZodTypeAny;
|
|
32
|
-
private clearSchemaCache;
|
|
33
|
-
private applyFieldDefaults;
|
|
34
|
-
getFields(slug: string): Field[];
|
|
35
|
-
getFieldMap(slug: string): Map<string, Field>;
|
|
36
|
-
getVisibleFields(slug: string): Field[];
|
|
37
|
-
validate(): void;
|
|
38
|
-
init(): Promise<void>;
|
|
39
|
-
isInitialized(): boolean;
|
|
40
|
-
getPaginationDefaults(slug: string): {
|
|
41
|
-
defaultLimit: number;
|
|
42
|
-
limits: number[];
|
|
43
|
-
};
|
|
44
|
-
getDefaultSort(slug: string): string;
|
|
45
|
-
getDefaultColumns(slug: string): string[];
|
|
46
|
-
getAdminTitle(slug: string): string;
|
|
47
|
-
getAdminLabel(slug: string): string;
|
|
48
|
-
getAdminGroup(slug: string): string | undefined;
|
|
49
|
-
getStats(): {
|
|
50
|
-
collections: number;
|
|
51
|
-
globals: number;
|
|
52
|
-
plugins: number;
|
|
53
|
-
fields: number;
|
|
54
|
-
};
|
|
55
|
-
toJSON(): {
|
|
56
|
-
collections: CollectionConfig[];
|
|
57
|
-
globals: GlobalConfig[];
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
declare function getRegistry(): Registry;
|
|
61
|
-
declare function resetRegistry(): void;
|
|
62
|
-
declare function createRegistry(): Registry;
|
|
63
|
-
|
|
64
|
-
export { Registry as R, createRegistry as c, getRegistry as g, resetRegistry as r };
|