@palbase/backend 2.0.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-EG7TTYHY.js +235 -0
- package/dist/chunk-EG7TTYHY.js.map +1 -0
- package/dist/chunk-WUQO76NW.js +101 -0
- package/dist/chunk-WUQO76NW.js.map +1 -0
- package/dist/db/env.cjs +19 -0
- package/dist/db/env.cjs.map +1 -0
- package/dist/db/env.d.cts +45 -0
- package/dist/db/env.d.ts +45 -0
- package/dist/db/env.js +1 -0
- package/dist/db/env.js.map +1 -0
- package/dist/db/index.cjs +143 -231
- package/dist/db/index.cjs.map +1 -1
- package/dist/db/index.d.cts +4 -20
- package/dist/db/index.d.ts +4 -20
- package/dist/db/index.js +13 -233
- package/dist/db/index.js.map +1 -1
- package/dist/{endpoint-Djk5L6G2.d.ts → endpoint-2d_DpASt.d.cts} +94 -96
- package/dist/{endpoint-BlcY2xNA.d.cts → endpoint-2d_DpASt.d.ts} +94 -96
- package/dist/index-DZW9CjiY.d.ts +463 -0
- package/dist/index-DzRFS3Tl.d.cts +463 -0
- package/dist/index.cjs +557 -60
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +278 -161
- package/dist/index.d.ts +278 -161
- package/dist/index.js +343 -12
- package/dist/index.js.map +1 -1
- package/dist/test/index.cjs +57 -2
- package/dist/test/index.cjs.map +1 -1
- package/dist/test/index.d.cts +1 -2
- package/dist/test/index.d.ts +1 -2
- package/dist/test/index.js +10 -2
- package/dist/test/index.js.map +1 -1
- package/docs/README.md +33 -12
- package/docs/background.md +19 -13
- package/docs/database.md +70 -17
- package/docs/endpoints.md +103 -79
- package/docs/errors.md +37 -31
- package/docs/events.md +25 -17
- package/docs/getting-started.md +38 -18
- package/docs/llms-full.txt +758 -267
- package/docs/llms.txt +3 -1
- package/docs/migrations.md +98 -0
- package/docs/resources.md +94 -0
- package/docs/routing.md +54 -27
- package/docs/schema.md +163 -42
- package/docs/services.md +17 -14
- package/package.json +12 -2
- package/dist/chunk-4J3F32SH.js +0 -96
- package/dist/chunk-4J3F32SH.js.map +0 -1
- package/dist/chunk-L36JLUPO.js +0 -97
- package/dist/chunk-L36JLUPO.js.map +0 -1
- package/dist/schema-BqfEhIC0.d.cts +0 -133
- package/dist/schema-BqfEhIC0.d.ts +0 -133
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ZodSchema, z } from 'zod';
|
|
2
|
-
import { S as SchemaDef } from './schema-BqfEhIC0.cjs';
|
|
3
2
|
|
|
4
3
|
/** Supported HTTP methods for endpoints. */
|
|
5
4
|
type HttpMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
6
5
|
/** Authenticated user attached to the request context. */
|
|
7
6
|
interface User {
|
|
8
7
|
id: string;
|
|
9
|
-
email
|
|
8
|
+
/** User's email, if they signed up with one (absent for phone-only users). */
|
|
9
|
+
email?: string;
|
|
10
10
|
role: string;
|
|
11
11
|
metadata: Record<string, unknown>;
|
|
12
12
|
}
|
|
@@ -49,20 +49,17 @@ declare function defineMiddleware(fn: MiddlewareHandler): MiddlewareHandler;
|
|
|
49
49
|
|
|
50
50
|
/** HTTP error with structured error response format.
|
|
51
51
|
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* `EndpointConfig.errors`. The endpoint's OpenAPI spec describes each
|
|
59
|
-
* one, and the CLI codegen emits a typed `<Endpoint>.Error` enum so iOS
|
|
60
|
-
* callers can `catch <Endpoint>.Error.<case>` directly.
|
|
52
|
+
* The base class for the throwable error classes (`PalError`, `Conflict`,
|
|
53
|
+
* `NotFound`, …). Construct one directly with `throw new HttpError(404,
|
|
54
|
+
* "todo_not_found", "No such todo")`, or throw a named subclass
|
|
55
|
+
* (`throw new NotFound("todo not found")`). The runtime catches any `HttpError`
|
|
56
|
+
* and emits the standard envelope; on the wire (and to iOS) it surfaces as
|
|
57
|
+
* `BackendError.server(code, status, message, requestId)`.
|
|
61
58
|
*
|
|
62
59
|
* The optional `data` field carries a structured payload alongside the
|
|
63
|
-
* standard envelope —
|
|
64
|
-
* (e.g. `
|
|
65
|
-
* enum's associated value.
|
|
60
|
+
* standard envelope — for errors that need to ship extra context
|
|
61
|
+
* (e.g. `new Conflict("locked", "title_locked", { retryAfter: 30 })`). It rides
|
|
62
|
+
* through to the iOS typed enum's associated value.
|
|
66
63
|
*/
|
|
67
64
|
declare class HttpError extends Error {
|
|
68
65
|
readonly status: number;
|
|
@@ -84,6 +81,46 @@ declare class HttpError extends Error {
|
|
|
84
81
|
data?: unknown;
|
|
85
82
|
};
|
|
86
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* Throw with a custom HTTP status + wire code. The general-purpose escape hatch
|
|
86
|
+
* when none of the named classes (`Conflict`/`NotFound`/…) fits.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* throw new PalError(418, "teapot", "I'm a teapot");
|
|
90
|
+
*/
|
|
91
|
+
declare class PalError extends HttpError {
|
|
92
|
+
constructor(status: number, code: string, description: string, data?: unknown);
|
|
93
|
+
}
|
|
94
|
+
/** Base for the named status classes. Each subclass fixes its HTTP status; the
|
|
95
|
+
* `code` defaults to the class's canonical wire code (overridable), and the
|
|
96
|
+
* `message` defaults to a human-readable label (overridable). */
|
|
97
|
+
declare abstract class NamedHttpError extends HttpError {
|
|
98
|
+
protected constructor(status: number, defaultCode: string, name: string, message?: string, code?: string, data?: unknown);
|
|
99
|
+
}
|
|
100
|
+
/** 400 — the request was malformed or failed validation. */
|
|
101
|
+
declare class BadRequest extends NamedHttpError {
|
|
102
|
+
constructor(message?: string, code?: string, data?: unknown);
|
|
103
|
+
}
|
|
104
|
+
/** 401 — the caller is not authenticated. */
|
|
105
|
+
declare class Unauthorized extends NamedHttpError {
|
|
106
|
+
constructor(message?: string, code?: string, data?: unknown);
|
|
107
|
+
}
|
|
108
|
+
/** 403 — the caller is authenticated but not allowed. */
|
|
109
|
+
declare class Forbidden extends NamedHttpError {
|
|
110
|
+
constructor(message?: string, code?: string, data?: unknown);
|
|
111
|
+
}
|
|
112
|
+
/** 404 — the requested resource does not exist. */
|
|
113
|
+
declare class NotFound extends NamedHttpError {
|
|
114
|
+
constructor(message?: string, code?: string, data?: unknown);
|
|
115
|
+
}
|
|
116
|
+
/** 409 — the request conflicts with the current state. */
|
|
117
|
+
declare class Conflict extends NamedHttpError {
|
|
118
|
+
constructor(message?: string, code?: string, data?: unknown);
|
|
119
|
+
}
|
|
120
|
+
/** 429 — the caller has exceeded the rate limit. */
|
|
121
|
+
declare class TooManyRequests extends NamedHttpError {
|
|
122
|
+
constructor(message?: string, code?: string, data?: unknown);
|
|
123
|
+
}
|
|
87
124
|
|
|
88
125
|
/**
|
|
89
126
|
* Local typed interfaces for the 9 Palbase module clients injected into
|
|
@@ -1161,10 +1198,9 @@ interface RateLimitConfig {
|
|
|
1161
1198
|
/** Window duration in seconds. */
|
|
1162
1199
|
window: number;
|
|
1163
1200
|
}
|
|
1164
|
-
/** The
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
interface DBClient {
|
|
1201
|
+
/** The six raw string-keyed DB operations shared by `DBClient` and the
|
|
1202
|
+
* transaction-scoped client. */
|
|
1203
|
+
interface DBOps {
|
|
1168
1204
|
/** Run a read-only SQL query (executes in a READ ONLY transaction). */
|
|
1169
1205
|
query(sql: string, params?: unknown[]): Promise<Record<string, unknown>[]>;
|
|
1170
1206
|
insert(table: string, data: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
@@ -1172,12 +1208,27 @@ interface DBClient {
|
|
|
1172
1208
|
delete(table: string, id: string): Promise<void>;
|
|
1173
1209
|
findById(table: string, id: string): Promise<Record<string, unknown> | null>;
|
|
1174
1210
|
findMany(table: string, query?: Record<string, unknown>): Promise<Record<string, unknown>[]>;
|
|
1211
|
+
}
|
|
1212
|
+
/** The transaction-scoped client passed to `db.transaction(fn)` — the raw DB
|
|
1213
|
+
* ops only. No nested transaction and no `asService` (the DB role is fixed once
|
|
1214
|
+
* when the transaction begins; see `Database.asService().transaction(...)`). */
|
|
1215
|
+
type TxClient = DBOps;
|
|
1216
|
+
/** Database client interface injected into endpoint context. */
|
|
1217
|
+
interface DBClient extends DBOps {
|
|
1175
1218
|
/**
|
|
1176
1219
|
* Run an interactive transaction. The callback receives a `tx` with the same
|
|
1177
1220
|
* DB ops as this client; returning normally commits, throwing rolls back.
|
|
1178
1221
|
* Nested transactions are not supported.
|
|
1179
1222
|
*/
|
|
1180
1223
|
transaction<T>(fn: (tx: TxClient) => Promise<T>): Promise<T>;
|
|
1224
|
+
/**
|
|
1225
|
+
* Return a sibling DB client that bypasses Row-Level Security by running as
|
|
1226
|
+
* the `service_role` (BYPASSRLS). Use sparingly and explicitly — the default
|
|
1227
|
+
* `Database.*` path is RLS-enforced. The returned client exposes the same op
|
|
1228
|
+
* surface (`query`/`insert`/.../`transaction`) but never re-exposes
|
|
1229
|
+
* `asService` (no double-bypass).
|
|
1230
|
+
*/
|
|
1231
|
+
asService(): Omit<DBClient, "asService">;
|
|
1181
1232
|
}
|
|
1182
1233
|
/** Logger interface injected into endpoint context. */
|
|
1183
1234
|
interface Logger {
|
|
@@ -1349,22 +1400,29 @@ type ErrorThrowers<TErrors extends ErrorMap | undefined> = TErrors extends Error
|
|
|
1349
1400
|
* error throwers. Services (`Database`, `Documents`, `Cache`, …) are NOT on
|
|
1350
1401
|
* the request: import them directly from `@palbase/backend` as singletons.
|
|
1351
1402
|
*
|
|
1352
|
-
* import {
|
|
1403
|
+
* import { Controller, Get, Req, Database } from "@palbase/backend";
|
|
1404
|
+
*
|
|
1405
|
+
* \@Controller("/todos")
|
|
1406
|
+
* export class TodosController {
|
|
1407
|
+
* \@Get("") list(\@Req() req: PBRequest): unknown {
|
|
1408
|
+
* return Database.findMany("todos");
|
|
1409
|
+
* }
|
|
1410
|
+
* }
|
|
1353
1411
|
*
|
|
1354
|
-
*
|
|
1355
|
-
*
|
|
1356
|
-
*
|
|
1357
|
-
* });
|
|
1412
|
+
* Most controller methods reach individual request slices via their own
|
|
1413
|
+
* parameter decorator (`@Body`/`@Query`/`@Param`/`@User`/…); `@Req()` is the
|
|
1414
|
+
* escape hatch that injects this whole object.
|
|
1358
1415
|
*
|
|
1359
1416
|
* Generic parameters:
|
|
1360
|
-
* - `TInput` — the validated `input` type (
|
|
1361
|
-
*
|
|
1362
|
-
* `PBRequest<TodoInput>`.
|
|
1417
|
+
* - `TInput` — the validated `input` type (the `@Body` schema's `z.infer`). The
|
|
1418
|
+
* user-facing form is single-generic: `PBRequest<TodoInput>`.
|
|
1363
1419
|
* - `TAuthed` — whether `user` is non-null. DEFAULTS to `true` (the common
|
|
1364
1420
|
* case; the auth pipeline returns 401 before the handler when auth is
|
|
1365
|
-
* required, so a non-null `user` is runtime-honest).
|
|
1366
|
-
*
|
|
1367
|
-
* - `TErrors` — the
|
|
1421
|
+
* required, so a non-null `user` is runtime-honest). A route whose effective
|
|
1422
|
+
* auth is `false` yields `User | null`.
|
|
1423
|
+
* - `TErrors` — RETAINED for back-compat of the `errors` thrower shape; the
|
|
1424
|
+
* class-controller model throws global error classes
|
|
1425
|
+
* (`Conflict`/`NotFound`/…) instead, so `req.errors` is empty in practice.
|
|
1368
1426
|
*/
|
|
1369
1427
|
interface PBRequest<TInput = unknown, TAuthed extends boolean = true, TErrors extends ErrorMap | undefined = undefined> {
|
|
1370
1428
|
/** Validated request input (body for POST/PUT/PATCH; `{}` otherwise). */
|
|
@@ -1376,8 +1434,9 @@ interface PBRequest<TInput = unknown, TAuthed extends boolean = true, TErrors ex
|
|
|
1376
1434
|
/** Request headers (lowercase keys). */
|
|
1377
1435
|
headers: Record<string, string>;
|
|
1378
1436
|
/** Authenticated user. Non-null (`User`) by default; `User | null` only when
|
|
1379
|
-
* the
|
|
1380
|
-
*
|
|
1437
|
+
* the route's effective auth disables enforcement (driven by `TAuthed`, which
|
|
1438
|
+
* the runtime resolves from the route/controller `auth` cascade via
|
|
1439
|
+
* {@link IsAuthed}). */
|
|
1381
1440
|
user: TAuthed extends true ? User : User | null;
|
|
1382
1441
|
/** Calling-client metadata derived from request headers (all nullable). */
|
|
1383
1442
|
client: ClientInfo;
|
|
@@ -1391,8 +1450,9 @@ interface PBRequest<TInput = unknown, TAuthed extends boolean = true, TErrors ex
|
|
|
1391
1450
|
traceId: string;
|
|
1392
1451
|
/** W3C span id for this handler invocation. */
|
|
1393
1452
|
spanId: string;
|
|
1394
|
-
/** Typed throwers for the endpoint's declared errors.
|
|
1395
|
-
* `
|
|
1453
|
+
/** Typed throwers for the endpoint's declared errors. RETAINED for the
|
|
1454
|
+
* `@Req()` escape-hatch shape; the class-controller model throws global error
|
|
1455
|
+
* classes (`Conflict`/`NotFound`/…) instead, so this is empty in practice. */
|
|
1396
1456
|
errors: ErrorThrowers<TErrors>;
|
|
1397
1457
|
}
|
|
1398
1458
|
/** Middleware function signature — uses MiddlewareContext (no input, not yet validated). */
|
|
@@ -1404,67 +1464,5 @@ type Middleware = (ctx: MiddlewareContext, next: () => Promise<void>) => Promise
|
|
|
1404
1464
|
* omitted — which the runtime treats as `required: true` (see {@link IsAuthed}).
|
|
1405
1465
|
*/
|
|
1406
1466
|
type AuthSpec = boolean | Partial<AuthConfig>;
|
|
1407
|
-
/** Compute, at the type level, whether an endpoint authenticates its caller —
|
|
1408
|
-
* i.e. whether `req.user` should be `User` (non-null) instead of `User | null`.
|
|
1409
|
-
*
|
|
1410
|
-
* This mirrors the Go pipeline's enforcement exactly (extract_meta.js + auth.go):
|
|
1411
|
-
* a request is authenticated ⟺ `auth === true` OR (`auth` is an object whose
|
|
1412
|
-
* `required` is not explicitly `false`). So `req.user` stays nullable ONLY when
|
|
1413
|
-
* `auth` is absent (`undefined`), `auth === false`, or `auth: { required: false }`.
|
|
1414
|
-
*
|
|
1415
|
-
* | `TAuth` | `IsAuthed<TAuth>` |
|
|
1416
|
-
* |---------------------------------|-------------------|
|
|
1417
|
-
* | `undefined` | `false` |
|
|
1418
|
-
* | `true` | `true` |
|
|
1419
|
-
* | `false` | `false` |
|
|
1420
|
-
* | `{ required: true }` | `true` |
|
|
1421
|
-
* | `{ required: false }` | `false` |
|
|
1422
|
-
* | `{ role: 'admin' }` (no `required`) | `true` ⚠️ |
|
|
1423
|
-
*
|
|
1424
|
-
* Order matters: the `{ required: false }` branch is checked first so the
|
|
1425
|
-
* object case can't swallow it; `true` then `false` literals are handled
|
|
1426
|
-
* explicitly before the catch-all object branch (which encodes the
|
|
1427
|
-
* "required omitted ⇒ required" corner case).
|
|
1428
|
-
*/
|
|
1429
|
-
type IsAuthed<TAuth> = TAuth extends {
|
|
1430
|
-
required: false;
|
|
1431
|
-
} ? false : TAuth extends true ? true : TAuth extends false ? false : TAuth extends object ? true : false;
|
|
1432
|
-
/** Configuration for defining an endpoint.
|
|
1433
|
-
*
|
|
1434
|
-
* `TSchema` — optional `SchemaDef` carried on the `schema` field. The runtime
|
|
1435
|
-
* uses it to wire a typed `.tables.*` API; authors opt in per endpoint with
|
|
1436
|
-
* `typedDatabase(schema)` (see runtime.ts).
|
|
1437
|
-
*
|
|
1438
|
-
* `TAuth` — captures the literal type of the `auth` field (via the `const`
|
|
1439
|
-
* type parameter on `defineEndpoint`) so the handler's `req.user` can be
|
|
1440
|
-
* narrowed to non-null `User` when auth is required. See {@link IsAuthed}.
|
|
1441
|
-
*
|
|
1442
|
-
* `TErrors` — captures the literal `errors` map (via the `const` type
|
|
1443
|
-
* parameter on `defineEndpoint`) so `req.errors.<name>(...)` is typed per
|
|
1444
|
-
* declared entry. The OpenAPI generator emits each one as a discriminated
|
|
1445
|
-
* response under `responses[<status>]`, and the CLI codegen lowers them to
|
|
1446
|
-
* a typed `<Endpoint>.Error` enum on iOS.
|
|
1447
|
-
*/
|
|
1448
|
-
interface EndpointConfig<TInputSchema extends ZodSchema = ZodSchema, TOutputSchema extends ZodSchema = ZodSchema, TSchema extends SchemaDef | undefined = undefined, TAuth extends AuthSpec | undefined = undefined, TErrors extends ErrorMap | undefined = undefined> {
|
|
1449
|
-
method: HttpMethod;
|
|
1450
|
-
auth?: TAuth;
|
|
1451
|
-
rateLimit?: RateLimitConfig;
|
|
1452
|
-
input?: TInputSchema;
|
|
1453
|
-
output?: TOutputSchema;
|
|
1454
|
-
schema?: TSchema;
|
|
1455
|
-
errors?: TErrors;
|
|
1456
|
-
middleware?: Middleware[];
|
|
1457
|
-
handler: (req: PBRequest<z.infer<TInputSchema>, IsAuthed<TAuth>, TErrors>) => Promise<z.infer<TOutputSchema>>;
|
|
1458
|
-
}
|
|
1459
|
-
/** Define a type-safe endpoint. The input schema infers the `req.input` type.
|
|
1460
|
-
* Pass a `schema` (from `defineSchema`) and wrap `Database` with
|
|
1461
|
-
* `typedDatabase(schema)` in the handler for a typed `.tables.*` API.
|
|
1462
|
-
*
|
|
1463
|
-
* The `const TAuth` and `const TErrors` type parameters capture the `auth`
|
|
1464
|
-
* and `errors` fields as literals, so `req.user` narrows to non-null `User`
|
|
1465
|
-
* when auth is enforced and `req.errors.<name>(...)` is typed per declared
|
|
1466
|
-
* entry.
|
|
1467
|
-
*/
|
|
1468
|
-
declare function defineEndpoint<TInputSchema extends ZodSchema, TOutputSchema extends ZodSchema, TSchema extends SchemaDef | undefined = undefined, const TAuth extends AuthSpec | undefined = undefined, const TErrors extends ErrorMap | undefined = undefined>(config: EndpointConfig<TInputSchema, TOutputSchema, TSchema, TAuth, TErrors>): EndpointConfig<TInputSchema, TOutputSchema, TSchema, TAuth, TErrors>;
|
|
1469
1467
|
|
|
1470
|
-
export { type
|
|
1468
|
+
export { type PalbaseDocumentSnapshot as $, type AuthSpec as A, BadRequest as B, type CacheClient as C, type DBClient as D, type ErrorDef as E, type FileContext as F, type PalbaseBucketClient as G, HttpError as H, type PalbaseCmsClient as I, type PalbaseCmsFindOneOptions as J, type PalbaseCmsFindOptions as K, type Logger as L, type Middleware as M, NotFound as N, type PalbaseCohortQueryInput as O, type PBRequest as P, type QueueClient as Q, type RateLimitConfig as R, type PalbaseCohortResult as S, type PalbaseCollectionRef as T, type User as U, type PalbaseCountQueryInput as V, type PalbaseCountResult as W, type PalbaseCreateLinkParams as X, type PalbaseDeviceInfo as Y, type PalbaseDeviceTokenView as Z, type PalbaseDocumentRef as _, type PalbaseModuleClients as a, Unauthorized as a$, type PalbaseEmailClient as a0, type PalbaseEmailSendParams as a1, type PalbaseEmailSendResponse as a2, type PalbaseEventNamesResult as a3, type PalbaseEventsQueryInput as a4, type PalbaseEventsResult as a5, type PalbaseFileObject as a6, type PalbaseFlag as a7, type PalbaseFlagContext as a8, type PalbaseFlagVariant as a9, type PalbasePushSendParams as aA, type PalbasePushSendResponse as aB, type PalbaseQrCodeOptions as aC, type PalbaseQuerySnapshot as aD, type PalbaseRealtimeChannel as aE, type PalbaseRealtimeClient as aF, type PalbaseRealtimeMessage as aG, type PalbaseRegisterDeviceParams as aH, type PalbaseResult as aI, type PalbaseRetentionQueryInput as aJ, type PalbaseRetentionResult as aK, type PalbaseSession as aL, type PalbaseSignedUrlResponse as aM, type PalbaseSmsClient as aN, type PalbaseSmsSendParams as aO, type PalbaseSmsSendResponse as aP, type PalbaseTransformOptions as aQ, type PalbaseUpdateLinkParams as aR, type PalbaseUploadOptions as aS, type PalbaseUser as aT, type PalbaseUserDetailResult as aU, type PalbaseUsersQueryInput as aV, type PalbaseUsersResult as aW, type PalbaseVerifyRequestSignatureParams as aX, type PalbaseWhereOperator as aY, TooManyRequests as aZ, type TxClient as a_, type PalbaseFunctionsClient as aa, type PalbaseFunnelQueryInput as ab, type PalbaseFunnelResult as ac, type PalbaseIdentifyTraits as ad, type PalbaseInboxClient as ae, type PalbaseInboxListOptions as af, type PalbaseInboxListResult as ag, type PalbaseInboxMessage as ah, type PalbaseInboxSendParams as ai, type PalbaseInboxSendResponse as aj, type PalbaseInitialLink as ak, type PalbaseInvokeOptions as al, type PalbaseLink as am, type PalbaseLinkAnalytics as an, type PalbaseLinkDetails as ao, type PalbaseLinksClient as ap, type PalbaseListLinksOptions as aq, type PalbaseListLinksResult as ar, type PalbaseListOptions as as, type PalbaseMatchParams as at, type PalbaseMultiChannelResponse as au, type PalbaseOverviewResult as av, type PalbasePreferences as aw, type PalbasePreferencesClient as ax, type PalbasePublicUrlResponse as ay, type PalbasePushClient as az, type PalbaseDocsClient as b, defineMiddleware as b0, type PalbaseFlagsClient as c, type PalbaseNotificationsClient as d, type PalbaseStorageClient as e, type AuthConfig as f, type ClientInfo as g, Conflict as h, type DBOps as i, type ErrorMap as j, type ErrorThrowers as k, Forbidden as l, type HttpMethod as m, type MiddlewareContext as n, type MiddlewareHandler as o, PalError as p, type PalbaseAnalyticsClient as q, type PalbaseAnalyticsManagementNamespace as r, type PalbaseAnalyticsProperties as s, type PalbaseAnalyticsQueryNamespace as t, type PalbaseAttestAndroidParams as u, type PalbaseAttestAndroidResult as v, type PalbaseAttestiOSParams as w, type PalbaseAttestiOSResult as x, type PalbaseAuthClient as y, type PalbaseBindDeviceParams as z };
|