-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.ts
More file actions
40 lines (39 loc) · 1.79 KB
/
index.ts
File metadata and controls
40 lines (39 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// PocketBun-only: package entrypoint that re-exports the public API.
export { buildServeHandler, serve, serveAsync, type ServeConfig } from "./src/apis/serve.ts";
export { Static, StaticWildcardParam } from "./src/apis/base.ts";
export {
RequireGuestOnly,
RequireAuth,
RequireSuperuserAuth,
RequireSuperuserOrOwnerAuth,
RequireSameCollectionContextAuth,
SkipSuccessActivityLog,
} from "./src/apis/middlewares.ts";
export { superuser, superuserCreate, superuserDelete, superuserOTP, superuserUpdate, superuserUpsert } from "./src/cmd/superuser.ts";
export { type SuperuserOtpResult } from "./src/cmd/superuser.ts";
export { BaseApp, type BaseAppConfig } from "./src/core/base.ts";
export { type App } from "./src/core/app.ts";
export { type ServeEvent } from "./src/core/events.ts";
export { migrate, migrateAsync, type MigrateMode } from "./src/core/migrate.ts";
export { New, NewWithConfig, PocketBase, type PocketBaseConfig, Version } from "./src/pocketbase.ts";
export {
Register as RegisterJSVM,
MustRegister as MustRegisterJSVM,
RegisterAsync as RegisterJSVMAsync,
MustRegisterAsync as MustRegisterJSVMAsync,
Register as RegisterHooksPlugin,
MustRegister as MustRegisterHooksPlugin,
RegisterAsync as RegisterHooksPluginAsync,
MustRegisterAsync as MustRegisterHooksPluginAsync,
type Config as JSVMConfig,
} from "./src/plugins/jsvm/jsvm.ts";
export {
Register as RegisterMigrateCmd,
MustRegister as MustRegisterMigrateCmd,
TemplateLangGo,
TemplateLangJS,
type Config as MigrateCmdConfig,
} from "./src/plugins/migratecmd/migratecmd.ts";
export { Create, CreateAsync, Extract, ExtractAsync } from "./src/tools/archive/index.ts";
export { DbxDatabase, attachDbxRewrite, rewriteDbxIdentifiers } from "./src/tools/dbx/index.ts";
export { NewRegistry } from "./src/tools/template/registry.ts";