tempest-express-sdk 0.26.0 → 0.28.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 +1 -1
- package/dist/{chunk-GLZYNX63.js → chunk-3NS5KVHT.js} +3 -3
- package/dist/{chunk-GLZYNX63.js.map → chunk-3NS5KVHT.js.map} +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +837 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +301 -4
- package/dist/index.d.ts +301 -4
- package/dist/index.js +832 -16
- package/dist/index.js.map +1 -1
- package/package.json +7 -1
package/dist/index.d.cts
CHANGED
|
@@ -3586,6 +3586,66 @@ declare function trendDirection(trend: MetricTrend): "up" | "down" | "flat";
|
|
|
3586
3586
|
*/
|
|
3587
3587
|
declare function partitionTotal(partition: MetricPartition): number;
|
|
3588
3588
|
|
|
3589
|
+
/**
|
|
3590
|
+
* Related child models surfaced on a parent's detail view — Django's
|
|
3591
|
+
* `TabularInline` analog, mirroring `admin.config.Inline`.
|
|
3592
|
+
*
|
|
3593
|
+
* An inline lists the child rows that point back at the record being viewed,
|
|
3594
|
+
* so an order shows its line items and a user shows their API keys without a
|
|
3595
|
+
* round trip to another screen. A read-only inline renders a compact table with
|
|
3596
|
+
* links into the child's own admin; an `editable` one renders the same rows as
|
|
3597
|
+
* an in-place formset — one input row per child plus a blank row to add
|
|
3598
|
+
* another — that posts back to the parent.
|
|
3599
|
+
*/
|
|
3600
|
+
|
|
3601
|
+
/** Options accepted by {@link adminInline}. */
|
|
3602
|
+
interface AdminInlineOptions {
|
|
3603
|
+
/** The child model class. */
|
|
3604
|
+
model: ModelClass;
|
|
3605
|
+
/** The child column referencing the parent. */
|
|
3606
|
+
fkField: string;
|
|
3607
|
+
/**
|
|
3608
|
+
* Columns to show. Falls back to the child admin's `listDisplay`, then to
|
|
3609
|
+
* every column the child declares.
|
|
3610
|
+
*/
|
|
3611
|
+
listDisplay?: readonly string[];
|
|
3612
|
+
/** Section heading. Defaults to the child's plural display name. */
|
|
3613
|
+
label?: string;
|
|
3614
|
+
/** Render the rows as an editable in-place formset. Default `false`. */
|
|
3615
|
+
editable?: boolean;
|
|
3616
|
+
/**
|
|
3617
|
+
* Add a per-row delete checkbox. Editable inlines only, and still gated on
|
|
3618
|
+
* the child admin's `canDelete`. Default `false`.
|
|
3619
|
+
*/
|
|
3620
|
+
canDelete?: boolean;
|
|
3621
|
+
}
|
|
3622
|
+
/** A configured inline. */
|
|
3623
|
+
interface AdminInline {
|
|
3624
|
+
/** The child model class. */
|
|
3625
|
+
model: ModelClass;
|
|
3626
|
+
/** The child admin slug — the child model's table name. */
|
|
3627
|
+
slug: string;
|
|
3628
|
+
/** The child column referencing the parent. */
|
|
3629
|
+
fkField: string;
|
|
3630
|
+
/** Columns to show, or `null` to fall back to the child admin's. */
|
|
3631
|
+
listDisplay: string[] | null;
|
|
3632
|
+
/** Section heading, or `null` to derive one. */
|
|
3633
|
+
label: string | null;
|
|
3634
|
+
/** Whether the rows render as an editable formset. */
|
|
3635
|
+
editable: boolean;
|
|
3636
|
+
/** Whether an editable row offers a delete checkbox. */
|
|
3637
|
+
canDelete: boolean;
|
|
3638
|
+
}
|
|
3639
|
+
/**
|
|
3640
|
+
* Describe a related child model to surface on a parent's detail view.
|
|
3641
|
+
*
|
|
3642
|
+
* @param options - Child model, the column pointing back at the parent, and
|
|
3643
|
+
* the presentation flags.
|
|
3644
|
+
* @returns The inline descriptor to pass to `AdminModel({ inlines: [...] })`.
|
|
3645
|
+
* @throws Error When the child model declares no table name.
|
|
3646
|
+
*/
|
|
3647
|
+
declare function adminInline(options: AdminInlineOptions): AdminInline;
|
|
3648
|
+
|
|
3589
3649
|
/**
|
|
3590
3650
|
* Named, saved list-view presets — Laravel Nova's "lenses", mirroring
|
|
3591
3651
|
* `admin.config.Lens`.
|
|
@@ -3896,6 +3956,29 @@ interface AdminModelOptions<C extends ModelClass> {
|
|
|
3896
3956
|
* its filters and ordering through `?lens=<slug>`.
|
|
3897
3957
|
*/
|
|
3898
3958
|
lenses?: readonly AdminLens[];
|
|
3959
|
+
/**
|
|
3960
|
+
* String columns rendered as file inputs. The uploaded file is written
|
|
3961
|
+
* through `uploadStorage` and the returned storage key goes in the column.
|
|
3962
|
+
*/
|
|
3963
|
+
uploadFields?: readonly string[];
|
|
3964
|
+
/** Backend persisting uploaded files. Required when `uploadFields` is set. */
|
|
3965
|
+
uploadStorage?: UploadStorage;
|
|
3966
|
+
/**
|
|
3967
|
+
* Expose the CSV import page (`GET/POST {prefix}/m/{slug}/import`), which
|
|
3968
|
+
* bulk-creates rows from an uploaded file. Default `false`; also requires
|
|
3969
|
+
* `canCreate`.
|
|
3970
|
+
*/
|
|
3971
|
+
canImport?: boolean;
|
|
3972
|
+
/**
|
|
3973
|
+
* Foreign-key columns rendered as a typed search box instead of a `<select>`
|
|
3974
|
+
* of every related row — for target tables too large to pre-load.
|
|
3975
|
+
*/
|
|
3976
|
+
autocompleteFields?: readonly string[];
|
|
3977
|
+
/**
|
|
3978
|
+
* Related child models listed on this model's detail view. Each shows the
|
|
3979
|
+
* rows pointing back through its `fkField`.
|
|
3980
|
+
*/
|
|
3981
|
+
inlines?: readonly AdminInline[];
|
|
3899
3982
|
}
|
|
3900
3983
|
/**
|
|
3901
3984
|
* The admin configuration for one model.
|
|
@@ -3937,6 +4020,16 @@ declare class AdminModel<C extends ModelClass = ModelClass> {
|
|
|
3937
4020
|
readonly auditModel: ModelClass | null;
|
|
3938
4021
|
/** Saved list-view presets, in declaration order. */
|
|
3939
4022
|
readonly lenses: AdminLens[];
|
|
4023
|
+
/** Columns rendered as file inputs. */
|
|
4024
|
+
readonly uploadFields: string[];
|
|
4025
|
+
/** Backend persisting uploaded files, or `null`. */
|
|
4026
|
+
readonly uploadStorage: UploadStorage | null;
|
|
4027
|
+
/** Whether the CSV import page is exposed. */
|
|
4028
|
+
readonly canImport: boolean;
|
|
4029
|
+
/** Foreign-key columns rendered as a typed search box. */
|
|
4030
|
+
readonly autocompleteFields: string[];
|
|
4031
|
+
/** Related child models listed on the detail view. */
|
|
4032
|
+
readonly inlines: AdminInline[];
|
|
3940
4033
|
private readonly actions;
|
|
3941
4034
|
private readonly slugOverride;
|
|
3942
4035
|
private readonly listDisplayOverride;
|
|
@@ -4086,6 +4179,81 @@ type AdminPermission = (typeof AdminPermission)[keyof typeof AdminPermission];
|
|
|
4086
4179
|
*/
|
|
4087
4180
|
type AdminAccessPolicy = (principal: unknown, admin: AdminModel, action: AdminPermission) => boolean | Promise<boolean>;
|
|
4088
4181
|
|
|
4182
|
+
/**
|
|
4183
|
+
* Multipart form parsing for the admin's upload and import screens.
|
|
4184
|
+
*
|
|
4185
|
+
* The panel's ordinary forms are `application/x-www-form-urlencoded`, which
|
|
4186
|
+
* Express parses on its own. A form carrying a file is `multipart/form-data`,
|
|
4187
|
+
* which it does not — so this module wraps `busboy`, the streaming parser
|
|
4188
|
+
* behind most of the Node ecosystem's upload middleware.
|
|
4189
|
+
*
|
|
4190
|
+
* `busboy` is an **optional peer**: only a project that configures
|
|
4191
|
+
* `uploadFields` or `canImport` needs it, and the error below says exactly what
|
|
4192
|
+
* to install. Multipart is a wire format with a long tail of correctness
|
|
4193
|
+
* (boundary handling, transfer encodings, filename escaping) — the kind of
|
|
4194
|
+
* parser this SDK depends on rather than reimplements.
|
|
4195
|
+
*/
|
|
4196
|
+
|
|
4197
|
+
/** One uploaded file, buffered in memory. */
|
|
4198
|
+
interface UploadedFile {
|
|
4199
|
+
/** The form field the file arrived on. */
|
|
4200
|
+
field: string;
|
|
4201
|
+
/** The client-supplied filename, already stripped of any path. */
|
|
4202
|
+
filename: string;
|
|
4203
|
+
/** The declared MIME type. */
|
|
4204
|
+
contentType: string;
|
|
4205
|
+
/** The file bytes. */
|
|
4206
|
+
data: Buffer;
|
|
4207
|
+
}
|
|
4208
|
+
/** The result of parsing a multipart body. */
|
|
4209
|
+
interface ParsedMultipart {
|
|
4210
|
+
/** Text fields, keyed by name. A repeated field keeps its last value. */
|
|
4211
|
+
fields: Record<string, string>;
|
|
4212
|
+
/** Uploaded files that carried a filename and at least one byte. */
|
|
4213
|
+
files: UploadedFile[];
|
|
4214
|
+
}
|
|
4215
|
+
/** Options for {@link parseMultipart}. */
|
|
4216
|
+
interface ParseMultipartOptions {
|
|
4217
|
+
/** Reject a file larger than this many bytes. Default `10 * 1024 * 1024`. */
|
|
4218
|
+
maxFileBytes?: number;
|
|
4219
|
+
/** Reject more than this many files in one submission. Default `10`. */
|
|
4220
|
+
maxFiles?: number;
|
|
4221
|
+
}
|
|
4222
|
+
/**
|
|
4223
|
+
* Raised when a submission exceeds a configured multipart limit.
|
|
4224
|
+
*
|
|
4225
|
+
* Distinct from a parse failure so the caller can turn it into a `400` with a
|
|
4226
|
+
* message the operator can act on ("the file is too large") instead of a
|
|
4227
|
+
* generic failure.
|
|
4228
|
+
*/
|
|
4229
|
+
declare class MultipartLimitError extends Error {
|
|
4230
|
+
/**
|
|
4231
|
+
* @param message - The operator-facing explanation.
|
|
4232
|
+
*/
|
|
4233
|
+
constructor(message: string);
|
|
4234
|
+
}
|
|
4235
|
+
/**
|
|
4236
|
+
* Parse a `multipart/form-data` request body.
|
|
4237
|
+
*
|
|
4238
|
+
* Files are buffered in memory, which is what the admin needs — an operator
|
|
4239
|
+
* attaching a document or a CSV, not a streaming ingest path — and bounded by
|
|
4240
|
+
* `maxFileBytes` so a large upload cannot exhaust the process.
|
|
4241
|
+
*
|
|
4242
|
+
* @param req - The inbound request.
|
|
4243
|
+
* @param options - Size and count limits.
|
|
4244
|
+
* @returns The text fields and the uploaded files.
|
|
4245
|
+
* @throws MultipartLimitError When a limit is exceeded.
|
|
4246
|
+
* @throws Error When `busboy` is missing or the body is not valid multipart.
|
|
4247
|
+
*/
|
|
4248
|
+
declare function parseMultipart(req: Request, options?: ParseMultipartOptions): Promise<ParsedMultipart>;
|
|
4249
|
+
/**
|
|
4250
|
+
* Whether a request carries a multipart body.
|
|
4251
|
+
*
|
|
4252
|
+
* @param req - The inbound request.
|
|
4253
|
+
* @returns `true` when the content type is `multipart/form-data`.
|
|
4254
|
+
*/
|
|
4255
|
+
declare function isMultipart(req: Request): boolean;
|
|
4256
|
+
|
|
4089
4257
|
/**
|
|
4090
4258
|
* Column introspection for the admin panel, mirroring `admin.forms`' widget
|
|
4091
4259
|
* derivation.
|
|
@@ -4099,7 +4267,7 @@ type AdminAccessPolicy = (principal: unknown, admin: AdminModel, action: AdminPe
|
|
|
4099
4267
|
*/
|
|
4100
4268
|
|
|
4101
4269
|
/** The set of form controls the admin knows how to render. */
|
|
4102
|
-
type AdminWidget = "text" | "textarea" | "number" | "checkbox" | "datetime" | "date" | "time" | "select" | "json";
|
|
4270
|
+
type AdminWidget = "text" | "textarea" | "number" | "checkbox" | "datetime" | "date" | "time" | "select" | "json" | "file" | "autocomplete";
|
|
4103
4271
|
/** A `(value, label)` pair for a `select` widget. */
|
|
4104
4272
|
interface AdminSelectOption {
|
|
4105
4273
|
value: string;
|
|
@@ -4207,6 +4375,10 @@ interface AdminFormField {
|
|
|
4207
4375
|
options: AdminSelectOption[];
|
|
4208
4376
|
/** Per-field validation error, or `null`. */
|
|
4209
4377
|
error: string | null;
|
|
4378
|
+
/** For an `autocomplete` widget, the JSON search endpoint backing the input. */
|
|
4379
|
+
autocompleteUrl: string | null;
|
|
4380
|
+
/** For an `autocomplete` widget, the label of the currently selected row. */
|
|
4381
|
+
displayLabel: string;
|
|
4210
4382
|
}
|
|
4211
4383
|
/** The outcome of parsing a submitted create/edit form. */
|
|
4212
4384
|
interface ParsedAdminForm {
|
|
@@ -4215,6 +4387,22 @@ interface ParsedAdminForm {
|
|
|
4215
4387
|
/** Per-field error messages, keyed by column. Empty when the form is valid. */
|
|
4216
4388
|
errors: Record<string, string>;
|
|
4217
4389
|
}
|
|
4390
|
+
/** Options for {@link parseFormBody}. */
|
|
4391
|
+
interface ParseFormBodyOptions {
|
|
4392
|
+
/**
|
|
4393
|
+
* Read upload columns as plain text instead of skipping them.
|
|
4394
|
+
*
|
|
4395
|
+
* The create/edit form skips them because the router writes the storage key
|
|
4396
|
+
* after saving the file. A CSV import has no file to save — it carries the
|
|
4397
|
+
* key already — so it reads them like any other string column.
|
|
4398
|
+
*/
|
|
4399
|
+
uploadsAsText?: boolean;
|
|
4400
|
+
/**
|
|
4401
|
+
* Restrict parsing to these columns. An inline formset uses it to keep the
|
|
4402
|
+
* foreign key pointing at the parent out of the operator's reach.
|
|
4403
|
+
*/
|
|
4404
|
+
only?: readonly string[];
|
|
4405
|
+
}
|
|
4218
4406
|
/** Options for {@link buildFormFields}. */
|
|
4219
4407
|
interface BuildFormFieldsOptions {
|
|
4220
4408
|
/** Current values, keyed by column — a row on edit, a re-submission on error. */
|
|
@@ -4227,6 +4415,13 @@ interface BuildFormFieldsOptions {
|
|
|
4227
4415
|
* of a raw identity text input.
|
|
4228
4416
|
*/
|
|
4229
4417
|
foreignKeyOptions?: Record<string, AdminSelectOption[]>;
|
|
4418
|
+
/**
|
|
4419
|
+
* Search endpoints for foreign-key columns listed in `autocompleteFields`,
|
|
4420
|
+
* keyed by column. A field listed here renders as a typed search box.
|
|
4421
|
+
*/
|
|
4422
|
+
autocompleteUrls?: Record<string, string>;
|
|
4423
|
+
/** Current labels for autocomplete fields, keyed by column. */
|
|
4424
|
+
autocompleteLabels?: Record<string, string>;
|
|
4230
4425
|
}
|
|
4231
4426
|
/**
|
|
4232
4427
|
* Render a stored value into the string a control pre-fills with.
|
|
@@ -4262,7 +4457,7 @@ declare function buildFormFields(admin: AdminModel, options?: BuildFormFieldsOpt
|
|
|
4262
4457
|
* @param body - The parsed request body.
|
|
4263
4458
|
* @returns The coerced values plus any per-field errors.
|
|
4264
4459
|
*/
|
|
4265
|
-
declare function parseFormBody(admin: AdminModel, body: Record<string, unknown
|
|
4460
|
+
declare function parseFormBody(admin: AdminModel, body: Record<string, unknown>, options?: ParseFormBodyOptions): ParsedAdminForm;
|
|
4266
4461
|
/**
|
|
4267
4462
|
* Render a stored value for a read-only list or detail cell.
|
|
4268
4463
|
*
|
|
@@ -4895,6 +5090,8 @@ interface AdminListView {
|
|
|
4895
5090
|
sort: Record<string, AdminSortView>;
|
|
4896
5091
|
/** URL of the create form, or `null` when creation is disabled. */
|
|
4897
5092
|
newUrl: string | null;
|
|
5093
|
+
/** URL of the CSV import page, or `null` when import is disabled. */
|
|
5094
|
+
importUrl: string | null;
|
|
4898
5095
|
/** Bulk actions offered above the table. Empty hides the whole bulk UI. */
|
|
4899
5096
|
bulkActions: BulkActionOption[];
|
|
4900
5097
|
/** URL the bulk form posts to. */
|
|
@@ -4946,6 +5143,40 @@ interface AdminAuditView {
|
|
|
4946
5143
|
/** The change timeline, newest first. Empty when there is none to show. */
|
|
4947
5144
|
history: AdminAuditEntryView[];
|
|
4948
5145
|
}
|
|
5146
|
+
/** One row inside an inline block. */
|
|
5147
|
+
interface AdminInlineRowView {
|
|
5148
|
+
/** Row key — the child's identity, or `new<n>` for the blank add row. */
|
|
5149
|
+
key: string;
|
|
5150
|
+
/** Formatted cells, for a read-only inline. */
|
|
5151
|
+
cells: string[];
|
|
5152
|
+
/** Editable controls, for an editable inline. */
|
|
5153
|
+
fields: AdminFormField[];
|
|
5154
|
+
/** Link into the child's own admin, or `null` when it has none. */
|
|
5155
|
+
url: string | null;
|
|
5156
|
+
}
|
|
5157
|
+
/** A related-child block on the detail view. */
|
|
5158
|
+
interface AdminInlineView {
|
|
5159
|
+
/** Section heading. */
|
|
5160
|
+
label: string;
|
|
5161
|
+
/** How many child rows exist in total. */
|
|
5162
|
+
total: number;
|
|
5163
|
+
/** Column headings. */
|
|
5164
|
+
columns: string[];
|
|
5165
|
+
/** Whether the rows render as an editable formset. */
|
|
5166
|
+
editable: boolean;
|
|
5167
|
+
/** Whether an editable row offers a delete checkbox. */
|
|
5168
|
+
canDelete: boolean;
|
|
5169
|
+
/** URL of the child's create form, pre-filled with the parent key. */
|
|
5170
|
+
addUrl: string | null;
|
|
5171
|
+
/** URL the formset posts to. */
|
|
5172
|
+
formAction: string;
|
|
5173
|
+
/** The child rows. */
|
|
5174
|
+
rows: AdminInlineRowView[];
|
|
5175
|
+
/** The blank add row, for an editable inline. */
|
|
5176
|
+
newRow: AdminInlineRowView | null;
|
|
5177
|
+
/** Whether more rows exist than the block renders. */
|
|
5178
|
+
truncated: boolean;
|
|
5179
|
+
}
|
|
4949
5180
|
/** The view model the detail page renders. */
|
|
4950
5181
|
interface AdminDetailView {
|
|
4951
5182
|
/** Singular display name. */
|
|
@@ -4965,6 +5196,10 @@ interface AdminDetailView {
|
|
|
4965
5196
|
deleteUrl: string | null;
|
|
4966
5197
|
/** The audit panel, or `null` when the model carries no audit columns. */
|
|
4967
5198
|
audit: AdminAuditView | null;
|
|
5199
|
+
/** Related-child blocks rendered below the fields. */
|
|
5200
|
+
inlines: AdminInlineView[];
|
|
5201
|
+
/** A form-level error from an inline submission, or `null`. */
|
|
5202
|
+
inlineError: string | null;
|
|
4968
5203
|
}
|
|
4969
5204
|
/**
|
|
4970
5205
|
* Render the single-record detail view.
|
|
@@ -4999,6 +5234,38 @@ interface AdminFormView {
|
|
|
4999
5234
|
* @throws Error When called without a session, since the form needs a CSRF token.
|
|
5000
5235
|
*/
|
|
5001
5236
|
declare function renderFormPage(context: AdminRenderContext, view: AdminFormView): string;
|
|
5237
|
+
/** The outcome of a CSV import, as the page renders it. */
|
|
5238
|
+
interface AdminImportView {
|
|
5239
|
+
/** Plural display name of the model being imported into. */
|
|
5240
|
+
title: string;
|
|
5241
|
+
/** URL the upload form posts to. */
|
|
5242
|
+
actionUrl: string;
|
|
5243
|
+
/** URL of the list view. */
|
|
5244
|
+
backUrl: string;
|
|
5245
|
+
/** The column headers the CSV is expected to carry. */
|
|
5246
|
+
columns: string[];
|
|
5247
|
+
/** A form-level error, or `null`. */
|
|
5248
|
+
error: string | null;
|
|
5249
|
+
/** How many rows were created, or `null` before the first submission. */
|
|
5250
|
+
created: number | null;
|
|
5251
|
+
/** Per-row failures, numbered as the spreadsheet numbers them. */
|
|
5252
|
+
rowErrors: {
|
|
5253
|
+
row: number;
|
|
5254
|
+
message: string;
|
|
5255
|
+
}[];
|
|
5256
|
+
}
|
|
5257
|
+
/**
|
|
5258
|
+
* Render the CSV import page.
|
|
5259
|
+
*
|
|
5260
|
+
* Row numbers start at 2 because row 1 is the header, so the numbers line up
|
|
5261
|
+
* with what the operator sees in their spreadsheet.
|
|
5262
|
+
*
|
|
5263
|
+
* @param context - The shared chrome data (with an active session).
|
|
5264
|
+
* @param view - The prepared import view model.
|
|
5265
|
+
* @returns The full page.
|
|
5266
|
+
* @throws Error When called without a session, since the form needs a CSRF token.
|
|
5267
|
+
*/
|
|
5268
|
+
declare function renderImportPage(context: AdminRenderContext, view: AdminImportView): string;
|
|
5002
5269
|
|
|
5003
5270
|
/**
|
|
5004
5271
|
* The server-rendered admin panel router, mirroring `admin.router`.
|
|
@@ -5059,6 +5326,8 @@ interface AdminRouterOptions {
|
|
|
5059
5326
|
* lets every signed-in operator do whatever those flags allow.
|
|
5060
5327
|
*/
|
|
5061
5328
|
accessPolicy?: AdminAccessPolicy;
|
|
5329
|
+
/** Largest upload the panel accepts, in bytes. Default `10485760` (10 MB). */
|
|
5330
|
+
maxUploadBytes?: number;
|
|
5062
5331
|
}
|
|
5063
5332
|
/**
|
|
5064
5333
|
* Build the admin panel router.
|
|
@@ -5069,6 +5338,34 @@ interface AdminRouterOptions {
|
|
|
5069
5338
|
* @throws Error When the signing key is shorter than 32 characters.
|
|
5070
5339
|
*/
|
|
5071
5340
|
declare function makeAdminRouter(site: AdminSite, options: AdminRouterOptions): Router;
|
|
5341
|
+
/**
|
|
5342
|
+
* Group a posted formset body by row key.
|
|
5343
|
+
*
|
|
5344
|
+
* Inputs arrive named `row.<key>.<column>`, plus `row.<key>.__delete` for the
|
|
5345
|
+
* per-row delete checkbox. Anything else in the body — the CSRF token — is
|
|
5346
|
+
* ignored here.
|
|
5347
|
+
*
|
|
5348
|
+
* @param body - The parsed request body.
|
|
5349
|
+
* @returns The values keyed by row, and the row keys marked for deletion.
|
|
5350
|
+
*/
|
|
5351
|
+
declare function groupInlineSubmission(body: Record<string, unknown>): {
|
|
5352
|
+
rows: Record<string, Record<string, string>>;
|
|
5353
|
+
deletions: Set<string>;
|
|
5354
|
+
};
|
|
5355
|
+
/**
|
|
5356
|
+
* Parse a CSV document into one record per row, keyed by the header.
|
|
5357
|
+
*
|
|
5358
|
+
* Implements RFC 4180 quoting rather than splitting on commas: a quoted field
|
|
5359
|
+
* may contain commas, newlines and doubled quotes, and an import that mangles
|
|
5360
|
+
* those silently corrupts exactly the rows a human took the trouble to quote.
|
|
5361
|
+
* The leading UTF-8 BOM Excel writes is stripped, because otherwise the first
|
|
5362
|
+
* header name never matches a column.
|
|
5363
|
+
*
|
|
5364
|
+
* @param text - The CSV document.
|
|
5365
|
+
* @returns One record per data row; `[]` when the file has only a header.
|
|
5366
|
+
* @throws Error When the document has no header row.
|
|
5367
|
+
*/
|
|
5368
|
+
declare function parseCsv(text: string): Record<string, string>[];
|
|
5072
5369
|
|
|
5073
5370
|
/**
|
|
5074
5371
|
* Headless admin: resource registry for the JSON admin API.
|
|
@@ -6840,6 +7137,6 @@ declare function createTestDatabase(models: readonly ModelClass[]): TestDatabase
|
|
|
6840
7137
|
declare function withTestDatabase<T>(models: readonly ModelClass[], fn: (db: TestDatabase) => Promise<T>): Promise<T>;
|
|
6841
7138
|
|
|
6842
7139
|
/** The installed SDK version. Single source of truth for the barrel + CLI. */
|
|
6843
|
-
declare const VERSION = "0.
|
|
7140
|
+
declare const VERSION = "0.28.0";
|
|
6844
7141
|
|
|
6845
|
-
export { ADMIN_CSS, type ActivationInput, ActivationService, type ActivationServiceOptions, type ActivationStore, type AdminAccessPolicy, type AdminAction, type AdminActionCategory, type AdminActionContext, type AdminActionHandler, type AdminActionOptions, type AdminActionResult, type AdminAuditEntryView, type AdminAuditView, type AdminAuthBackend, type AdminAutomapOptions, type AdminBusinessCardView, type AdminDashboardCard, type AdminDashboardMetrics, type AdminDetailView, type AdminFilterKind, type AdminFilterView, type AdminFormField, type AdminFormView, type AdminJsonField, type AdminJsonListQuery, type AdminJsonListResult, type AdminJsonResource, type AdminJsonRouterOptions, AdminJsonSite, type AdminLens, type AdminLensOptions, type AdminListView, type AdminMessage, type AdminMfaVerifier, AdminModel, type AdminModelOptions, type AdminNavEntry, AdminPermission, type AdminRenderContext, type AdminRouterOptions, type AdminRow, type AdminSelectOption, type AdminSession, AdminSessionStore, type AdminSessionStoreOptions, AdminSite, type AdminSiteOptions, type AdminSortView, type AdminTheme, type AdminWidget, AppException, type AppExceptionHandlerOptions, type AppExceptionOptions, type AttachWebSocketOptions, AttemptThrottle, type AttemptThrottleOptions, AuditAction, type AuthResponse, type AuthResultPageOptions, type AuthRouterOptions, type AuthUser, type BackupOptions, type BaseAppSettings, BaseAuditLogModel, BaseController, BaseModel, BaseOAuthClient, BaseOutboxModel, type BaseResponse, BaseService, BaseUserModel, BaseUserRefreshTokenModel, BaseUserTokenModel, type BodySizeLimitOptions, type BroadcastOptions, type BroadcastResult, type BrokerManager, type BuildFormFieldsOptions, type BulkActionOption, CEP_PATTERN, CNPJ_PATTERN, CPF_PATTERN, type CPUMetrics, CSRF_COOKIE_NAME, CSRF_HEADER_NAME, type CacheManager, type CachedOptions, type CachedResponse, type CardCompute, type CardData, type CatalogData, CircuitOpenError, type ClientIpOptions, CompositeFeatureFlagBackend, ConflictException, type CreateAppOpenApi, type CreateAppOptions, type CsrfOptions, type CursorPaginationFilter, DEFAULT_DOCS_FAVICON, DEFAULT_LOCALE, type DownloadOptions, type EmailMessage, type EmailOptions, EmailProvider, type EmailProviderOptions, EmailUtils, type Enum, type EnumHelpers, type EnumSpec, EnvFeatureFlagBackend, EventStream, type EventStreamOptions, type ExceptionDetails, ExpiredTokenException, type FeatureFlagBackend, FeatureFlags, type FieldChange, type FileLoggingHandle, type FileLoggingOptions, type FlagContext, ForbiddenException, type GPUMetrics, type GenerateOpenApiOptions, GitHubOAuthClient, GoogleOAuthClient, GracefulShutdown, type GracefulShutdownOptions, HTTPClient, type HTTPClientOptions, HTTP_500_LOG_FILE, HTTP_500_MARKER, type HandshakeInfo, type HealthCheck, type HealthRouterOptions, HttpMetrics, IDEMPOTENCY_HEADER, type IdempotencyOptions, type IdempotencyRedisLike, type IdempotencyStore, type InboundHandler, type InboundMessage, InvalidTokenException, type IssuedSession, JSONLogger, JWTUtils, type JWTUtilsOptions, type JwtAuthOptions, type JwtClaims, type JwtDecoderLike, LEVEL_LOG_FILES, LocalUploadStorage, type LocalUploadStorageOptions, type LogEntry, type LogExtra, type LogLevel, type LogSink, type LogSource, type LoginInput, type LoginResult, type LogsRouterOptions, type MediaKind, MemoryBroker, MemoryCacheManager, MemoryFeatureFlagBackend, MemoryIdempotencyStore, type MemoryMetrics, MemoryRateLimitStore, MemorySessionStore, MemoryThrottleBackend, MessageCatalog, type MessageHandler, MessagingHub, type MessagingProvider, type MetricCard, type MetricPartition, type MetricTrend, type MetricValue, type MetricsRouterOptions, MetricsUtils, type MfaChallenge, type MfaChallengeInput, type MfaCodeInput, type MfaEnrollment, MfaService, type MfaServiceOptions, type MfaStore, NotFoundException, type OAuthClientOptions, OAuthError, type OAuthTokens, type OAuthUser, OIDCProvider, type OIDCProviderOptions, type OpenApiDocument, type OpenApiInfo, type OutboundMedia, type OutboundResult, type OutboxPublisher, OutboxRelay, type OutboxRelayOptions, OutboxStatus, PHONE_BR_PATTERN, type PaginationFilter, type PaginationLinkOptions, type ParsedAdminForm, type PasswordResetConfirmInput, type PasswordResetFormOptions, type PasswordResetRequestInput, PasswordResetService, type PasswordResetServiceOptions, type PasswordResetStore, PasswordUtils, REDOC_CDN_URL, REQUEST_ID_HEADER, RabbitBroker, type RabbitBrokerOptions, type RateLimitKeyFunc, type RateLimitOptions, type RateLimitRedisLike, type RateLimitResult, type RateLimitStore, RedisCacheManager, RedisIdempotencyStore, type RedisLike, type RedisPublisherLike, RedisRateLimitStore, RedisSSEBroker, type RedisSSEBrokerOptions, RedisSessionStore, type RedisSubscriberLike, type RedocBundleSource, type RedocOptions, type RefreshInput, Region, type RegionValue, type RegisterExceptionHandlersOptions, type RequestContext, type RequestTracingOptions, type ResolvedAdminTheme, type ResponseMapper, RetryPolicy, type RunServerOptions, type S3ClientLike, S3UploadStorage, type S3UploadStorageOptions, SSEBroker, type SaveOptions, type SendOptions, ServerSentEvent, type ServerSentEventInit, type Session, type SessionMiddlewareOptions, type SessionRedisLike, SessionService, type SessionServiceOptions, type SessionStore, type SignupInput, type SlowQueryOptions, type SpecProvider, type StateBR, type SwaggerOptions, type SyncFilter, type SystemMetrics, TOTPHelper, type TOTPOptions, type TaskHandler, TaskManager, type TaskManagerOptions, TelegramProvider, type TelegramProviderOptions, TenantScopedRepository, type TestDatabase, type ThrottleBackend, type ThrottleStatus, type ToDictOptions, type TokenPair, TooManyRequestsException, type TooManyRequestsOptions, type ToolSpecOptions, TwilioSmsProvider, type TwilioSmsProviderOptions, type TwilioWebhookOptions, UF, type UFValue, UnauthorizedException, type UnhandledExceptionHandlerOptions, type UploadResult, type UploadStorage, UserAuthService, type UserAuthServiceOptions, UserModelAuthBackend, type UserModelAuthBackendOptions, type UserPublic, type UserStore, UserTokenPurpose, VERSION, ValidationException, type WSEnvelope, WebPushDispatcher, type WebPushDispatcherOptions, WebPushError, WebPushGoneError, type WebPushKeys, type WebPushPayload, type WebPushSubscription, type WebSocketConnection, WebSocketHub, type WebSocketHubOptions, type WebSocketLike, type WebhookSignatureOptions, WebhookSignatureVerifier, WhatsAppProvider, type WhatsAppProviderOptions, type WhatsAppWebhookOptions, type WidgetSpec, activationSchema, addLogSink, adminAction, adminColumns, adminLens, adminThemeCss, attachWebSocketHub, authResponseSchema, authSettingsShape, backupDatabase, baseAppSettingsSchema, baseAppSettingsShape, baseResponseSchema, bearerToken, bodySizeLimitMiddleware, broadcastText, buildContentDisposition, buildFormFields, buildPaginationLinkHeader, cached, centsField, cepField, citiesByUf, cnpjField, coerceFlag, configureFileLogging, configureLogging, corsSettingsShape, cpfField, cpfOrCnpjField, createApp, createOpenApiRegistry, createTestDatabase, createdByColumn, csrfMiddleware, csrfTokenMatches, cursorPaginationFilterSchema, cursorPaginationSchema, databaseSettingsShape, decodeCursor, defaultMessageCatalog, defineEnum, deletedAtColumn, diffSnapshots, emailSettingsShape, encodeCursor, looseBoolean as envBoolean, envList, escapeHtml, filterForColumn, foreignKeyFields, foreignKeyLabel, foreignKeyTable, formatCellValue, formatFieldValue, generateCsrfToken, generateOAuthState, generateOpaqueToken, generateOpenApiDocument, getAuth, getClientIp, getConditions, getPaginationConditions, getRequestId, getState, hashOpaqueToken, hexColorField, humanizeField, idempotencyMiddleware, inboundMessageSchema, isColumnOptional, isSearchableColumn, isValidCep, isValidCity, isValidCnpj, isValidCpf, isValidCpfCnpj, isValidPhoneBr, isValidUf, jwtSettingsShape, keyByHeader, keyByIp, keyByJwtClaim, keyByJwtSubject, latitudeField, listStates, loadSettings, logEntrySchema, logSettingsShape, loginSchema, longitudeField, looseBoolean, makeAdminJsonRouter, makeAdminRouter, makeAppExceptionHandler, makeAuthRouter, makeFlagGuard, makeHealthRouter, makeJwtAuthMiddleware, makeLogsRouter, makeMetricsRouter, makeSessionMiddleware, makeToolSpecRouter, makeTwilioWebhookRouter, makeUnhandledExceptionHandler, makeWhatsAppWebhookRouter, metricCard, mfaChallengeSchema, mfaCodeSchema, mfaEnrollResponseSchema, minioSettingsShape, modifyDict, mountOpenApiJson, mountRedoc, mountSwaggerUi, nonEmptyStrField, nonNegativeFloatField, nonNegativeIntField, normalizeCep, normalizeCnpj, normalizeCpf, normalizeCpfCnpj, normalizePhoneBr, normalizeUf, notFoundHandler, onlyDigits, paginationFilterSchema, paginationSchema, parseAcceptLanguage, parseCookies, parseFormBody, partitionTotal, passwordResetConfirmSchema, passwordResetRequestSchema, percentField, phoneBrField, portField, positiveFloatField, positiveIntField, priceField, prometheusMiddleware, rabbitmqSettingsShape, rateLimitMiddleware, ratingField, ratioField, redisSettingsShape, refreshSchema, registerExceptionHandlers, renderAuthResultPage, renderDashboardPage, renderDetailPage, renderFormPage, renderLayout, renderListPage, renderLoginPage, renderMfaPage, renderPasswordResetFormPage, requestIdMiddleware, requestTracingMiddleware, requireRoles, resolveAdminTheme, resolveDownloadPath, resolveRedocBundle, runServer, runWithRequestContext, sendBytesDownload, sendFileDownload, serverSettingsShape, sessionCookie, sessionSettingsShape, setRequestId, signupSchema, slugField, snapshot, sseResponse, statesByRegion, syncFilterSchema, syncPaginationSchema, tableNameFor, toDict, toUtc, tokenFromUrl, tokenPairSchema, tokenSettingsShape, trendDirection, trendPercent, ufField, updatedByColumn, uploadSettingsShape, userPublicSchema, utcnow, validateTwilioSignature, verifyOpaqueToken, webPushKeysSchema, webPushPayloadSchema, webPushSettingsShape, webPushSubscriptionSchema, webSocketSettingsShape, widgetForColumn, withTestDatabase, wrapWithSlowQueryLog, wsEnvelopeSchema };
|
|
7142
|
+
export { ADMIN_CSS, type ActivationInput, ActivationService, type ActivationServiceOptions, type ActivationStore, type AdminAccessPolicy, type AdminAction, type AdminActionCategory, type AdminActionContext, type AdminActionHandler, type AdminActionOptions, type AdminActionResult, type AdminAuditEntryView, type AdminAuditView, type AdminAuthBackend, type AdminAutomapOptions, type AdminBusinessCardView, type AdminDashboardCard, type AdminDashboardMetrics, type AdminDetailView, type AdminFilterKind, type AdminFilterView, type AdminFormField, type AdminFormView, type AdminImportView, type AdminInline, type AdminInlineOptions, type AdminInlineRowView, type AdminInlineView, type AdminJsonField, type AdminJsonListQuery, type AdminJsonListResult, type AdminJsonResource, type AdminJsonRouterOptions, AdminJsonSite, type AdminLens, type AdminLensOptions, type AdminListView, type AdminMessage, type AdminMfaVerifier, AdminModel, type AdminModelOptions, type AdminNavEntry, AdminPermission, type AdminRenderContext, type AdminRouterOptions, type AdminRow, type AdminSelectOption, type AdminSession, AdminSessionStore, type AdminSessionStoreOptions, AdminSite, type AdminSiteOptions, type AdminSortView, type AdminTheme, type AdminWidget, AppException, type AppExceptionHandlerOptions, type AppExceptionOptions, type AttachWebSocketOptions, AttemptThrottle, type AttemptThrottleOptions, AuditAction, type AuthResponse, type AuthResultPageOptions, type AuthRouterOptions, type AuthUser, type BackupOptions, type BaseAppSettings, BaseAuditLogModel, BaseController, BaseModel, BaseOAuthClient, BaseOutboxModel, type BaseResponse, BaseService, BaseUserModel, BaseUserRefreshTokenModel, BaseUserTokenModel, type BodySizeLimitOptions, type BroadcastOptions, type BroadcastResult, type BrokerManager, type BuildFormFieldsOptions, type BulkActionOption, CEP_PATTERN, CNPJ_PATTERN, CPF_PATTERN, type CPUMetrics, CSRF_COOKIE_NAME, CSRF_HEADER_NAME, type CacheManager, type CachedOptions, type CachedResponse, type CardCompute, type CardData, type CatalogData, CircuitOpenError, type ClientIpOptions, CompositeFeatureFlagBackend, ConflictException, type CreateAppOpenApi, type CreateAppOptions, type CsrfOptions, type CursorPaginationFilter, DEFAULT_DOCS_FAVICON, DEFAULT_LOCALE, type DownloadOptions, type EmailMessage, type EmailOptions, EmailProvider, type EmailProviderOptions, EmailUtils, type Enum, type EnumHelpers, type EnumSpec, EnvFeatureFlagBackend, EventStream, type EventStreamOptions, type ExceptionDetails, ExpiredTokenException, type FeatureFlagBackend, FeatureFlags, type FieldChange, type FileLoggingHandle, type FileLoggingOptions, type FlagContext, ForbiddenException, type GPUMetrics, type GenerateOpenApiOptions, GitHubOAuthClient, GoogleOAuthClient, GracefulShutdown, type GracefulShutdownOptions, HTTPClient, type HTTPClientOptions, HTTP_500_LOG_FILE, HTTP_500_MARKER, type HandshakeInfo, type HealthCheck, type HealthRouterOptions, HttpMetrics, IDEMPOTENCY_HEADER, type IdempotencyOptions, type IdempotencyRedisLike, type IdempotencyStore, type InboundHandler, type InboundMessage, InvalidTokenException, type IssuedSession, JSONLogger, JWTUtils, type JWTUtilsOptions, type JwtAuthOptions, type JwtClaims, type JwtDecoderLike, LEVEL_LOG_FILES, LocalUploadStorage, type LocalUploadStorageOptions, type LogEntry, type LogExtra, type LogLevel, type LogSink, type LogSource, type LoginInput, type LoginResult, type LogsRouterOptions, type MediaKind, MemoryBroker, MemoryCacheManager, MemoryFeatureFlagBackend, MemoryIdempotencyStore, type MemoryMetrics, MemoryRateLimitStore, MemorySessionStore, MemoryThrottleBackend, MessageCatalog, type MessageHandler, MessagingHub, type MessagingProvider, type MetricCard, type MetricPartition, type MetricTrend, type MetricValue, type MetricsRouterOptions, MetricsUtils, type MfaChallenge, type MfaChallengeInput, type MfaCodeInput, type MfaEnrollment, MfaService, type MfaServiceOptions, type MfaStore, MultipartLimitError, NotFoundException, type OAuthClientOptions, OAuthError, type OAuthTokens, type OAuthUser, OIDCProvider, type OIDCProviderOptions, type OpenApiDocument, type OpenApiInfo, type OutboundMedia, type OutboundResult, type OutboxPublisher, OutboxRelay, type OutboxRelayOptions, OutboxStatus, PHONE_BR_PATTERN, type PaginationFilter, type PaginationLinkOptions, type ParseFormBodyOptions, type ParseMultipartOptions, type ParsedAdminForm, type ParsedMultipart, type PasswordResetConfirmInput, type PasswordResetFormOptions, type PasswordResetRequestInput, PasswordResetService, type PasswordResetServiceOptions, type PasswordResetStore, PasswordUtils, REDOC_CDN_URL, REQUEST_ID_HEADER, RabbitBroker, type RabbitBrokerOptions, type RateLimitKeyFunc, type RateLimitOptions, type RateLimitRedisLike, type RateLimitResult, type RateLimitStore, RedisCacheManager, RedisIdempotencyStore, type RedisLike, type RedisPublisherLike, RedisRateLimitStore, RedisSSEBroker, type RedisSSEBrokerOptions, RedisSessionStore, type RedisSubscriberLike, type RedocBundleSource, type RedocOptions, type RefreshInput, Region, type RegionValue, type RegisterExceptionHandlersOptions, type RequestContext, type RequestTracingOptions, type ResolvedAdminTheme, type ResponseMapper, RetryPolicy, type RunServerOptions, type S3ClientLike, S3UploadStorage, type S3UploadStorageOptions, SSEBroker, type SaveOptions, type SendOptions, ServerSentEvent, type ServerSentEventInit, type Session, type SessionMiddlewareOptions, type SessionRedisLike, SessionService, type SessionServiceOptions, type SessionStore, type SignupInput, type SlowQueryOptions, type SpecProvider, type StateBR, type SwaggerOptions, type SyncFilter, type SystemMetrics, TOTPHelper, type TOTPOptions, type TaskHandler, TaskManager, type TaskManagerOptions, TelegramProvider, type TelegramProviderOptions, TenantScopedRepository, type TestDatabase, type ThrottleBackend, type ThrottleStatus, type ToDictOptions, type TokenPair, TooManyRequestsException, type TooManyRequestsOptions, type ToolSpecOptions, TwilioSmsProvider, type TwilioSmsProviderOptions, type TwilioWebhookOptions, UF, type UFValue, UnauthorizedException, type UnhandledExceptionHandlerOptions, type UploadResult, type UploadStorage, type UploadedFile, UserAuthService, type UserAuthServiceOptions, UserModelAuthBackend, type UserModelAuthBackendOptions, type UserPublic, type UserStore, UserTokenPurpose, VERSION, ValidationException, type WSEnvelope, WebPushDispatcher, type WebPushDispatcherOptions, WebPushError, WebPushGoneError, type WebPushKeys, type WebPushPayload, type WebPushSubscription, type WebSocketConnection, WebSocketHub, type WebSocketHubOptions, type WebSocketLike, type WebhookSignatureOptions, WebhookSignatureVerifier, WhatsAppProvider, type WhatsAppProviderOptions, type WhatsAppWebhookOptions, type WidgetSpec, activationSchema, addLogSink, adminAction, adminColumns, adminInline, adminLens, adminThemeCss, attachWebSocketHub, authResponseSchema, authSettingsShape, backupDatabase, baseAppSettingsSchema, baseAppSettingsShape, baseResponseSchema, bearerToken, bodySizeLimitMiddleware, broadcastText, buildContentDisposition, buildFormFields, buildPaginationLinkHeader, cached, centsField, cepField, citiesByUf, cnpjField, coerceFlag, configureFileLogging, configureLogging, corsSettingsShape, cpfField, cpfOrCnpjField, createApp, createOpenApiRegistry, createTestDatabase, createdByColumn, csrfMiddleware, csrfTokenMatches, cursorPaginationFilterSchema, cursorPaginationSchema, databaseSettingsShape, decodeCursor, defaultMessageCatalog, defineEnum, deletedAtColumn, diffSnapshots, emailSettingsShape, encodeCursor, looseBoolean as envBoolean, envList, escapeHtml, filterForColumn, foreignKeyFields, foreignKeyLabel, foreignKeyTable, formatCellValue, formatFieldValue, generateCsrfToken, generateOAuthState, generateOpaqueToken, generateOpenApiDocument, getAuth, getClientIp, getConditions, getPaginationConditions, getRequestId, getState, groupInlineSubmission, hashOpaqueToken, hexColorField, humanizeField, idempotencyMiddleware, inboundMessageSchema, isColumnOptional, isMultipart, isSearchableColumn, isValidCep, isValidCity, isValidCnpj, isValidCpf, isValidCpfCnpj, isValidPhoneBr, isValidUf, jwtSettingsShape, keyByHeader, keyByIp, keyByJwtClaim, keyByJwtSubject, latitudeField, listStates, loadSettings, logEntrySchema, logSettingsShape, loginSchema, longitudeField, looseBoolean, makeAdminJsonRouter, makeAdminRouter, makeAppExceptionHandler, makeAuthRouter, makeFlagGuard, makeHealthRouter, makeJwtAuthMiddleware, makeLogsRouter, makeMetricsRouter, makeSessionMiddleware, makeToolSpecRouter, makeTwilioWebhookRouter, makeUnhandledExceptionHandler, makeWhatsAppWebhookRouter, metricCard, mfaChallengeSchema, mfaCodeSchema, mfaEnrollResponseSchema, minioSettingsShape, modifyDict, mountOpenApiJson, mountRedoc, mountSwaggerUi, nonEmptyStrField, nonNegativeFloatField, nonNegativeIntField, normalizeCep, normalizeCnpj, normalizeCpf, normalizeCpfCnpj, normalizePhoneBr, normalizeUf, notFoundHandler, onlyDigits, paginationFilterSchema, paginationSchema, parseAcceptLanguage, parseCookies, parseCsv, parseFormBody, parseMultipart, partitionTotal, passwordResetConfirmSchema, passwordResetRequestSchema, percentField, phoneBrField, portField, positiveFloatField, positiveIntField, priceField, prometheusMiddleware, rabbitmqSettingsShape, rateLimitMiddleware, ratingField, ratioField, redisSettingsShape, refreshSchema, registerExceptionHandlers, renderAuthResultPage, renderDashboardPage, renderDetailPage, renderFormPage, renderImportPage, renderLayout, renderListPage, renderLoginPage, renderMfaPage, renderPasswordResetFormPage, requestIdMiddleware, requestTracingMiddleware, requireRoles, resolveAdminTheme, resolveDownloadPath, resolveRedocBundle, runServer, runWithRequestContext, sendBytesDownload, sendFileDownload, serverSettingsShape, sessionCookie, sessionSettingsShape, setRequestId, signupSchema, slugField, snapshot, sseResponse, statesByRegion, syncFilterSchema, syncPaginationSchema, tableNameFor, toDict, toUtc, tokenFromUrl, tokenPairSchema, tokenSettingsShape, trendDirection, trendPercent, ufField, updatedByColumn, uploadSettingsShape, userPublicSchema, utcnow, validateTwilioSignature, verifyOpaqueToken, webPushKeysSchema, webPushPayloadSchema, webPushSettingsShape, webPushSubscriptionSchema, webSocketSettingsShape, widgetForColumn, withTestDatabase, wrapWithSlowQueryLog, wsEnvelopeSchema };
|