better-supabase 0.63.1 → 0.64.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/{adapter-base-DXF0tNJJ.js → adapter-base-BWp_GpBq.js} +1 -1
- package/dist/{api-C506eYSc.js → api-TwaJ4nS8.js} +1 -1
- package/dist/astro/index.js +3 -3
- package/dist/{build-DUasKASQ.js → build-CF_wE706.js} +1 -1
- package/dist/cli/{add-BymOCZ8D.js → add-CAEF20DB.js} +9 -9
- package/dist/cli/{add-B5Ras98V.js → add-DAbzG8-C.js} +2 -2
- package/dist/cli/add-bP1hqEPB.js +1 -0
- package/dist/cli/{app-table-files-DAt5YA7_.js → app-table-files-BNnw-4C9.js} +3 -3
- package/dist/cli/{app-tables-CTZeU4F2.js → app-tables-D2TRhx62.js} +2 -2
- package/dist/cli/{backfill-mm77568B.js → backfill-DgqbUamk.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-D2Vir61A.js → blocks-CWVG1w3P.js} +1 -1
- package/dist/cli/{blocks-BHUYzWRT.js → blocks-DykCgrRb.js} +1 -1
- package/dist/cli/{cache-DKdjMfP9.js → cache-JroD4zCO.js} +1 -1
- package/dist/cli/{codemod-Dne7b20w.js → codemod-CAz5XmH0.js} +4 -4
- package/dist/cli/{codemod-naming-ByeMo_ll.js → codemod-naming-DtzMgEs7.js} +1 -1
- package/dist/cli/{column-renames-FlO8U6SA.js → column-renames-DcEFMXX4.js} +2 -2
- package/dist/cli/{content-mapper-VUqqAubX.js → content-mapper-DQczPByw.js} +1 -1
- package/dist/cli/{dev-CI10aUMK.js → dev-Bwy7jmxv.js} +3 -3
- package/dist/cli/{doctor-DwEBENcA.js → doctor-BjwgIEEk.js} +22 -20
- package/dist/cli/{emit-Ds-4pNsQ.js → emit-D1NL_ewe.js} +2 -2
- package/dist/cli/{gen-Dqnmr3yO.js → gen-5GahcSRz.js} +3 -3
- package/dist/cli/{gen-tasks-CaqMHY4E.js → gen-tasks-BNqtXDSZ.js} +9 -9
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-Dsi-1Q9D.js → init-DwJ-fzKE.js} +8 -8
- package/dist/cli/{live-gVsjEaEB.js → live-hA0NkWeP.js} +2 -2
- package/dist/cli/{mcp-DsTQAIyD.js → mcp-BpU-r3at.js} +2 -2
- package/dist/cli/{memo-backend-DvchDMYn.js → memo-backend-jPoQR64l.js} +1 -1
- package/dist/cli/{metadata-Dm63aecV.js → metadata-DsItgHac.js} +4 -4
- package/dist/cli/{migrate-auWUrtTl.js → migrate-bs8m1S4X.js} +1 -1
- package/dist/cli/{migration-safety-QkRu7ef8.js → migration-safety-CYnC7qr0.js} +1 -1
- package/dist/cli/{module-migration-Ddk92fRs.js → module-migration-DI1bC407.js} +1 -1
- package/dist/cli/{partition-BuX62VyM.js → partition-B_o9eCEl.js} +1 -1
- package/dist/cli/powersync-BeiG2uAK.js +1 -0
- package/dist/cli/{powersync-Cex4H5my.js → powersync-CYzLue5S.js} +3 -3
- package/dist/cli/{print-D4XpS5Qp.js → print-CX3mfrR4.js} +2 -2
- package/dist/cli/{providers-D7U-7DDW.js → providers-C_0X8CZ5.js} +1 -1
- package/dist/cli/{prune-workflows-CKW78AsP.js → prune-workflows-BRymSktV.js} +1 -1
- package/dist/cli/{remove-t4JoqycQ.js → remove-Ddd7JMeU.js} +6 -6
- package/dist/cli/{render-CIdg7VKj.js → render-D0JOrrdH.js} +4 -4
- package/dist/cli/{render-cache-Zjt3OgD_.js → render-cache-B6_cW4jQ.js} +1 -1
- package/dist/cli/{run-BIT66ThJ.js → run-CRbd_qI2.js} +30 -30
- package/dist/cli/{run-C-zh0kxb.js → run-CivaFfvS.js} +101 -21
- package/dist/cli/{shared-D5_5NsEI.js → shared-77CYy2Ff.js} +1 -1
- package/dist/cli/{source-50A8IPu1.js → source-H6tArdAg.js} +1 -1
- package/dist/cli/{spec-CiZPOLx8.js → spec-Bn4ArkKk.js} +2 -2
- package/dist/cli/{spec-DvCBeVz2.js → spec-CKr1A_Oo.js} +1 -1
- package/dist/cli/{sql-layout-n5vgZ671.js → sql-layout--Tblsahr.js} +2 -2
- package/dist/cli/{squash-PNv_rd5n.js → squash-BdHHGvSy.js} +1 -1
- package/dist/cli/{sync-DNSR4TUL.js → sync-koAHC0Xq.js} +4 -4
- package/dist/cli/{upgrade-B5LgLXX4.js → upgrade-B6MOyby0.js} +5 -5
- package/dist/cli/{upgrade-b477KsEI.js → upgrade-D9dPPfIy.js} +5 -5
- package/dist/cli/{version-CyIR9dhg.js → version-3_JBFBjw.js} +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/native/index.js +2 -2
- package/dist/{composite-C13UCNgm.js → composite-RorL_F8I.js} +1 -1
- package/dist/config/index.js +4 -4
- package/dist/{config-1kAVpZc_.js → config-BuZW7wNr.js} +3 -3
- package/dist/{config-L5_4kg24.js → config-ocvgjLWV.js} +1 -1
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.js +4 -4
- package/dist/{define-runtime-BbNPkt-5.js → define-runtime-DQC2Gjdr.js} +4 -0
- package/dist/{define-runtime-full-gpz09qAj.js → define-runtime-full-BIrEQWJR.js} +1 -1
- package/dist/edge/index.js +4 -4
- package/dist/{executor-DABWqMfV.js → executor-D7avvqx3.js} +1 -1
- package/dist/expo/index.js +3 -3
- package/dist/{former-permission-keys-FPrqQHXf.js → former-permission-keys-DVwR65bj.js} +1 -1
- package/dist/{framework-BQgHM3zD.js → framework-DxCx0pmS.js} +1 -1
- package/dist/generators/factories/index.js +1 -1
- package/dist/generators/json-schema/index.js +1 -1
- package/dist/generators/nuqs/index.js +1 -1
- package/dist/generators/standard-schema/index.js +1 -1
- package/dist/generators/valibot/index.js +1 -1
- package/dist/generators/zod/index.js +1 -1
- package/dist/hono/index.js +3 -3
- package/dist/{index-B2NJNoRd.d.ts → index-CwvF-r09.d.ts} +8 -0
- package/dist/{instances-PZAWgQEX.js → instances-B9oCgEOH.js} +76 -0
- package/dist/{json-schema-Cb5ORIIa.js → json-schema-BuzopJOK.js} +1 -1
- package/dist/mapper/bin.js +5 -5
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-DkcsgPP9.js → mcp-BCP-kBjf.js} +3 -3
- package/dist/next/index.js +2 -2
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{ports-ClJbgoyt.js → ports-BfHdHz1e.js} +1 -1
- package/dist/powersync/index.js +1 -1
- package/dist/preset/index.js +3 -3
- package/dist/{preset-BcwGsW_B.js → preset-DrfMF0Hv.js} +2 -2
- package/dist/{project-DYyr_iyu.js → project-BdZTXDVG.js} +5 -5
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/server.d.ts +1 -1
- package/dist/react/server.js +1 -1
- package/dist/{react-hb2gg5UV.js → react-BkLf1aNc.js} +14 -1
- package/dist/react-router/index.js +3 -3
- package/dist/server/index.js +4 -4
- package/dist/{server-B0T944J9.js → server-DpcMKAt_.js} +1 -1
- package/dist/solid-start/index.js +3 -3
- package/dist/spec/index.js +2 -2
- package/dist/sql/index.js +2 -2
- package/dist/{sql-DPpcMNUF.js → sql-B3e0Ji-Q.js} +79 -3
- package/dist/sqlite/index.js +1 -1
- package/dist/sveltekit/index.js +3 -3
- package/dist/tanstack-start/index.js +3 -3
- package/dist/testing/index.js +3 -3
- package/dist/{version-BH2jtOjn.js → version-Adj2H6dY.js} +1 -1
- package/dist/webmcp/index.js +1 -1
- package/package.json +1 -1
- package/skills/better-supabase/references/ui-recipes.md +1174 -532
- package/dist/cli/add-CEqHL96B.js +0 -1
- package/dist/cli/powersync-BEebY0Uf.js +0 -1
package/dist/server/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineAuthorizationHooks, f as SERVER_EVENT_SOURCE, n as extendServer, r as TENANT_HEADER, t as createServer } from "../server-
|
|
1
|
+
import { d as defineAuthorizationHooks, f as SERVER_EVENT_SOURCE, n as extendServer, r as TENANT_HEADER, t as createServer } from "../server-DpcMKAt_.js";
|
|
2
2
|
import { n as PRIMARY_COOKIE } from "../replicas-DiDz-zyr.js";
|
|
3
|
-
import { t as adapterBase } from "../adapter-base-
|
|
3
|
+
import { t as adapterBase } from "../adapter-base-BWp_GpBq.js";
|
|
4
4
|
import { _ as withFlush, c as serverCore, g as unexpectedResponse, h as resolveToken, i as withSession, m as handle, p as flushEvents } from "../sessions-w6xril_l.js";
|
|
5
5
|
import { n as event, t as defineEvents } from "../event-map-DLajpFiJ.js";
|
|
6
6
|
import { a as PERMISSIONS_TRUNCATED_CLAIM, i as PERMISSIONS_CLAIM, n as FEATURES_CLAIM, o as PERMISSION_CAP_CLAIM, r as MEMBERSHIPS_CLAIM, t as AUTHZ_VERSION_CLAIM } from "../claim-names-B3KyK7Js.js";
|
|
@@ -18,9 +18,9 @@ import { n as supportClaims, t as sqlSupportStore } from "../support-DqbhfGgx.js
|
|
|
18
18
|
import { t as supportOf } from "../support-view-CvDEgyGY.js";
|
|
19
19
|
import { i as userContext, r as impersonatorOf } from "../impersonation-BlU6M8zN.js";
|
|
20
20
|
import "../claims/index.js";
|
|
21
|
-
import { t as provideConnectionRuntime } from "../define-runtime-full-
|
|
21
|
+
import { t as provideConnectionRuntime } from "../define-runtime-full-BIrEQWJR.js";
|
|
22
22
|
import { t as postgresExecutor } from "../executor-BWg7xw7c.js";
|
|
23
|
-
import { n as withGuard, t as withBetterSupabase } from "../composite-
|
|
23
|
+
import { n as withGuard, t as withBetterSupabase } from "../composite-RorL_F8I.js";
|
|
24
24
|
import { n as jwtClaimsOf, r as userClaimsOf, t as authModeOf } from "../claims-DouHL7ZL.js";
|
|
25
25
|
import { i as delegationOf, n as actorOf, r as agentClaims, t as IDENTITY_SCOPES } from "../actor-DraVJ7tB.js";
|
|
26
26
|
import { t as authContext } from "../context-DxTbfhD8.js";
|
|
@@ -4,7 +4,7 @@ import { a as narrowCap, i as delegatedClaims, r as contextClaims } from "./dele
|
|
|
4
4
|
import { i as userContext, t as actClaim } from "./impersonation-BlU6M8zN.js";
|
|
5
5
|
import { m as sessionCookieName } from "./resolve-DP8w5Nl0.js";
|
|
6
6
|
import { s as requestMemo, t as bindAuthorizer } from "./authorizer-DtUCjKBn.js";
|
|
7
|
-
import { t as provideConnectionRuntime } from "./define-runtime-full-
|
|
7
|
+
import { t as provideConnectionRuntime } from "./define-runtime-full-BIrEQWJR.js";
|
|
8
8
|
import { n as dbError } from "./errors-DK1wGb9z.js";
|
|
9
9
|
import { l as postgrestExecutor } from "./codec-CJaAdLjG.js";
|
|
10
10
|
import { a as ok, r as err, t as AsyncResult } from "./result-DijoXEFG.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as beforeRoute } from "../before-route-Ra3OhI2x.js";
|
|
2
2
|
import { i as nitroCloudflareEnv } from "../shared-Ci1g9nl4.js";
|
|
3
|
-
import { t as adapterBase } from "../adapter-base-
|
|
3
|
+
import { t as adapterBase } from "../adapter-base-BWp_GpBq.js";
|
|
4
4
|
import { p as flushEvents } from "../sessions-w6xril_l.js";
|
|
5
|
-
import { i as localsOf, r as frameworkEntry } from "../framework-
|
|
5
|
+
import { i as localsOf, r as frameworkEntry } from "../framework-DxCx0pmS.js";
|
|
6
6
|
import { i as requireCaller, o as runAction } from "../kit-BgRTtW9w.js";
|
|
7
7
|
import { r as refusalResponse } from "../refusal-CgSrkirX.js";
|
|
8
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
8
|
+
import { n as extendServer, t as createServer } from "../server-DpcMKAt_.js";
|
|
9
9
|
// src/solid-start/index.ts
|
|
10
10
|
/** SolidStart integration: middleware, guards and server function actions. */
|
|
11
11
|
function createSolidStart(betterSupabase, options) {
|
package/dist/spec/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as toOpenApi30Schema, n as openapiFormat, o as defineDocumentFormat, r as OPENAPI_33_PREVIEW_VERSION, t as defineApi } from "../api-
|
|
2
|
-
import { a as topicsFrom, c as PROBLEM_SCHEMA, d as mergeJson, f as pointerToken, i as safeKey, l as convertStandard, r as CLOUD_EVENT_TRAIT, s as DEFAULT_ERRORS, t as defineApiModel, u as pascal } from "../build-
|
|
1
|
+
import { a as toOpenApi30Schema, n as openapiFormat, o as defineDocumentFormat, r as OPENAPI_33_PREVIEW_VERSION, t as defineApi } from "../api-TwaJ4nS8.js";
|
|
2
|
+
import { a as topicsFrom, c as PROBLEM_SCHEMA, d as mergeJson, f as pointerToken, i as safeKey, l as convertStandard, r as CLOUD_EVENT_TRAIT, s as DEFAULT_ERRORS, t as defineApiModel, u as pascal } from "../build-CF_wE706.js";
|
|
3
3
|
import { t as FUNCTION_DESCRIPTOR } from "../function-contract-Bf6llTkE.js";
|
|
4
4
|
import { r as isPlainObject } from "../clone-H_gCsL29.js";
|
|
5
5
|
import { a as methodNotAllowed } from "../problem-BwplIuhI.js";
|
package/dist/sql/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as resolveBlock, T as hasColumnAccess, h as appTableEventTypes } from "../instances-
|
|
2
|
-
import { $ as ownerOf, $t as redundantNulls, A as declaredCheckValues, At as sameBlockFile, B as clearMemo, Bt as excludedColumns, C as rulePolicy, Ct as appTablesFiles, D as duplicateObjects, Dt as blockFileState, E as sharedRolesProblems, Et as blockSqlVersion, F as sameTenantLayout, Ft as SQL_MODULES, G as blockTables, Gt as keysetPredicate, H as memoized, Ht as SECRET_COLUMNS, I as adoptedColumnProblems, It as moduleSource, J as entityRenamePlan, Jt as listOrder, K as seedDefaultsFunctions, Kt as listBody, L as adoptedTables, Lt as resolveBlocks, M as tenantsQuery, Mt as moduleHidingColumns, N as expiredFlagsQuery, Nt as modulePermissionKeys, O as writtenValues, Ot as isModuleDataFile, P as ownedColumns, Pt as moduleSchemaExtensions, Q as duplicatePolicies, Qt as moduleContext, R as adoptedViews, Rt as TENANT_SCOPE_NAMES, S as renderRulePolicy, St as APP_TABLES_MODULE, T as compileReadSets, Tt as renderAutoEmbedding, U as setMemoBackend, Ut as dataExportPlan, V as memoStats, Vt as resolveExposeColumns, W as instanceFunctions, Wt as LIST_TOTAL_CAP, X as buildModel, Xt as sameTenantTrigger, Y as appColumnsOf, Yt as sameTenantColumn, Z as conflicts, Zt as migrationOptionUses, _ as disallowedPolicyCalls, _n as extensionSchema, _t as setModuleRenderStore, a as setTableFeature, an as checkedValueMaps, at as moduleTopics, b as readRulePolicies, bn as auditRegistrations, bt as moduleFilePaths, c as RENDERED_FEATURES, cn as AUDIT_CATEGORIES, ct as upgradePlan, d as setTagBlock, dn as declaredColumnTypes, dt as appTablePolicyNotes, en as MODULE_ID_TYPES, et as parseDeclared, f as commentOnTableSql, fn as declaredIndexes, ft as declaredPolicies, g as POLICY_FUNCTIONS, gn as declaredViews, gt as moduleRenderStats, h as setBsbTag, hn as declaredUpdatedAtTriggers, ht as PRELUDE_MODULE, i as setFeatureStatement, in as appValues, it as moduleBody, j as blockReadRoles, jt as moduleEventTriggers, k as checkValues, kt as moduleFileVersion, l as isRenderedFeature, ln as BLOCK_OPTION_SCHEMAS, lt as bsbPolicyName, m as parseBsbComment, mn as declaredTables, mt as PRELUDE_FUNCTIONS, n as createsTable, nn as moduleIdType, nt as splitStatements, o as tableFeatures, on as legacyOptionTables, ot as renderBlocks, p as formatBsbComment, pn as declaredTableColumns, pt as widenedCommands, q as moduleLayout, qt as listDeclare, r as isTableFeature, rn as contractSignature, rt as customContracts, s as tableTagComments, sn as legacyOptionTarget, st as moduleDeprecations, t as TABLE_FEATURES, tn as isBlockSqlIdType, tt as setParseStore, u as renderTagBlock, un as addedColumnTypes, ut as UNSCOPED_MODULE, v as isRule, vn as policyGrants, vt as renderKey, w as compileReadSet, wt as scopePolicyName, x as renderRule, xt as APP_TABLES_MARKER, y as policyFunctionsSql, yn as rlsTables, yt as moduleDataDir, z as moduleWritesText, zt as TENANT_SCOPE_POLICY } from "../sql-
|
|
1
|
+
import { B as resolveBlock, T as hasColumnAccess, h as appTableEventTypes } from "../instances-B9oCgEOH.js";
|
|
2
|
+
import { $ as ownerOf, $t as redundantNulls, A as declaredCheckValues, At as sameBlockFile, B as clearMemo, Bt as excludedColumns, C as rulePolicy, Ct as appTablesFiles, D as duplicateObjects, Dt as blockFileState, E as sharedRolesProblems, Et as blockSqlVersion, F as sameTenantLayout, Ft as SQL_MODULES, G as blockTables, Gt as keysetPredicate, H as memoized, Ht as SECRET_COLUMNS, I as adoptedColumnProblems, It as moduleSource, J as entityRenamePlan, Jt as listOrder, K as seedDefaultsFunctions, Kt as listBody, L as adoptedTables, Lt as resolveBlocks, M as tenantsQuery, Mt as moduleHidingColumns, N as expiredFlagsQuery, Nt as modulePermissionKeys, O as writtenValues, Ot as isModuleDataFile, P as ownedColumns, Pt as moduleSchemaExtensions, Q as duplicatePolicies, Qt as moduleContext, R as adoptedViews, Rt as TENANT_SCOPE_NAMES, S as renderRulePolicy, St as APP_TABLES_MODULE, T as compileReadSets, Tt as renderAutoEmbedding, U as setMemoBackend, Ut as dataExportPlan, V as memoStats, Vt as resolveExposeColumns, W as instanceFunctions, Wt as LIST_TOTAL_CAP, X as buildModel, Xt as sameTenantTrigger, Y as appColumnsOf, Yt as sameTenantColumn, Z as conflicts, Zt as migrationOptionUses, _ as disallowedPolicyCalls, _n as extensionSchema, _t as setModuleRenderStore, a as setTableFeature, an as checkedValueMaps, at as moduleTopics, b as readRulePolicies, bn as auditRegistrations, bt as moduleFilePaths, c as RENDERED_FEATURES, cn as AUDIT_CATEGORIES, ct as upgradePlan, d as setTagBlock, dn as declaredColumnTypes, dt as appTablePolicyNotes, en as MODULE_ID_TYPES, et as parseDeclared, f as commentOnTableSql, fn as declaredIndexes, ft as declaredPolicies, g as POLICY_FUNCTIONS, gn as declaredViews, gt as moduleRenderStats, h as setBsbTag, hn as declaredUpdatedAtTriggers, ht as PRELUDE_MODULE, i as setFeatureStatement, in as appValues, it as moduleBody, j as blockReadRoles, jt as moduleEventTriggers, k as checkValues, kt as moduleFileVersion, l as isRenderedFeature, ln as BLOCK_OPTION_SCHEMAS, lt as bsbPolicyName, m as parseBsbComment, mn as declaredTables, mt as PRELUDE_FUNCTIONS, n as createsTable, nn as moduleIdType, nt as splitStatements, o as tableFeatures, on as legacyOptionTables, ot as renderBlocks, p as formatBsbComment, pn as declaredTableColumns, pt as widenedCommands, q as moduleLayout, qt as listDeclare, r as isTableFeature, rn as contractSignature, rt as customContracts, s as tableTagComments, sn as legacyOptionTarget, st as moduleDeprecations, t as TABLE_FEATURES, tn as isBlockSqlIdType, tt as setParseStore, u as renderTagBlock, un as addedColumnTypes, ut as UNSCOPED_MODULE, v as isRule, vn as policyGrants, vt as renderKey, w as compileReadSet, wt as scopePolicyName, x as renderRule, xt as APP_TABLES_MARKER, y as policyFunctionsSql, yn as rlsTables, yt as moduleDataDir, z as moduleWritesText, zt as TENANT_SCOPE_POLICY } from "../sql-B3e0Ji-Q.js";
|
|
3
3
|
import { a as LEGACY_OPTION } from "../options-Bfd-k6yw.js";
|
|
4
4
|
import { A as notNullCheckName } from "../shared-D-qwk29i.js";
|
|
5
5
|
import { s as subjectColumns } from "../contributions-Ba-C1ueE.js";
|
|
@@ -3,10 +3,10 @@ import { a as hasPlaceholder, f as isFunctionSpec, l as splitPlaceholders, r as
|
|
|
3
3
|
import { a as ok } from "./result-DijoXEFG.js";
|
|
4
4
|
import { n as isRecord$1, t as isList } from "./guards-CsRa6v57.js";
|
|
5
5
|
import { t as SPEC_PINS } from "./spec-pins-Dlz8OVqi.js";
|
|
6
|
-
import { _ as CONFIG_DEFAULTS, d as blockColumnName, f as checkTenantEntry, g as resolveJsonSchema, h as clientFunctions, l as installedBlockSubjects, m as resolveNames, n as checkFormerPermissionKeys, p as entityType, r as renames } from "./former-permission-keys-
|
|
6
|
+
import { _ as CONFIG_DEFAULTS, d as blockColumnName, f as checkTenantEntry, g as resolveJsonSchema, h as clientFunctions, l as installedBlockSubjects, m as resolveNames, n as checkFormerPermissionKeys, p as entityType, r as renames } from "./former-permission-keys-DVwR65bj.js";
|
|
7
7
|
import { t as DEFAULT_CLAIMS } from "./claims-CX-ar1vt.js";
|
|
8
8
|
import { o as tenantNames, r as composeNames } from "./entity-naming-CUsC8bC1.js";
|
|
9
|
-
import { B as resolveBlock, C as columnsWithAccess, E as hiddenColumns, I as PRESET_CATALOG, L as BLOCK_SCOPES, N as createdFromLink, P as link, S as hasComputed, T as hasColumnAccess, V as tenantNameOf, a as isRenamedInstance, g as appTableVersions, i as instancePrefix, l as APP_RANK_COLUMN, m as appTableEventKinds, s as APP_DELETED_AT_COLUMN, w as encryptedColumns, y as lookupColumn } from "./instances-
|
|
9
|
+
import { B as resolveBlock, C as columnsWithAccess, E as hiddenColumns, I as PRESET_CATALOG, L as BLOCK_SCOPES, N as createdFromLink, P as link, S as hasComputed, T as hasColumnAccess, V as tenantNameOf, a as isRenamedInstance, g as appTableVersions, i as instancePrefix, l as APP_RANK_COLUMN, m as appTableEventKinds, s as APP_DELETED_AT_COLUMN, w as encryptedColumns, y as lookupColumn } from "./instances-B9oCgEOH.js";
|
|
10
10
|
import { i as FIELD_FORMATS, n as CUSTOM_FIELD_FORM_TYPES, o as FIELD_FORMAT_VALIDATORS, r as CUSTOM_FIELD_TYPES, s as RATING_BOUNDS, t as CUSTOM_FIELD_CHECKED_FORMATS } from "./field-formats-sLYMh1ZK.js";
|
|
11
11
|
import { a as sqlString, i as sqlIdent$1 } from "./template-CpYN7hZX.js";
|
|
12
12
|
import { a as LEGACY_OPTION, n as blockOptions, r as option, t as NO_OPTIONS } from "./options-Bfd-k6yw.js";
|
|
@@ -167,7 +167,7 @@ import { n as WARRANTY_STATUSES } from "./warranty-values-BJo_g1F1.js";
|
|
|
167
167
|
import { n as WORKFLOW_SDK_WORLD } from "./workflow-sdk-IPsOMGEC.js";
|
|
168
168
|
import { s as permissionMatches$1 } from "./delegation-CnCIKysL.js";
|
|
169
169
|
import { n as quoteIdent, t as compileSql } from "./sql-DqCwJ2qB.js";
|
|
170
|
-
import { t as provideConnectionRuntime } from "./define-runtime-full-
|
|
170
|
+
import { t as provideConnectionRuntime } from "./define-runtime-full-BIrEQWJR.js";
|
|
171
171
|
// src/sql/api-schema.ts
|
|
172
172
|
/** The roles PostgREST runs a request as. */
|
|
173
173
|
const API_ROLES = /* @__PURE__ */ new Set([
|
|
@@ -37399,6 +37399,10 @@ const NAMES$131 = {
|
|
|
37399
37399
|
permissions: {
|
|
37400
37400
|
read: "read",
|
|
37401
37401
|
write: "manage"
|
|
37402
|
+
},
|
|
37403
|
+
search: {
|
|
37404
|
+
title: "name",
|
|
37405
|
+
body: []
|
|
37402
37406
|
}
|
|
37403
37407
|
}
|
|
37404
37408
|
},
|
|
@@ -53701,6 +53705,10 @@ const NAMES$121 = {
|
|
|
53701
53705
|
permissions: {
|
|
53702
53706
|
read: "read",
|
|
53703
53707
|
write: "manage"
|
|
53708
|
+
},
|
|
53709
|
+
search: {
|
|
53710
|
+
title: "customerName",
|
|
53711
|
+
body: []
|
|
53704
53712
|
}
|
|
53705
53713
|
}
|
|
53706
53714
|
} },
|
|
@@ -59785,6 +59793,10 @@ const NAMES$119 = {
|
|
|
59785
59793
|
permissions: {
|
|
59786
59794
|
read: "read",
|
|
59787
59795
|
write: "write"
|
|
59796
|
+
},
|
|
59797
|
+
search: {
|
|
59798
|
+
title: "title",
|
|
59799
|
+
body: []
|
|
59788
59800
|
}
|
|
59789
59801
|
}
|
|
59790
59802
|
},
|
|
@@ -82912,6 +82924,10 @@ const NAMES$106 = {
|
|
|
82912
82924
|
permissions: {
|
|
82913
82925
|
read: "read",
|
|
82914
82926
|
write: "write"
|
|
82927
|
+
},
|
|
82928
|
+
search: {
|
|
82929
|
+
title: "title",
|
|
82930
|
+
body: []
|
|
82915
82931
|
}
|
|
82916
82932
|
}
|
|
82917
82933
|
},
|
|
@@ -94214,6 +94230,10 @@ const DISPATCH_NAMES = {
|
|
|
94214
94230
|
permissions: {
|
|
94215
94231
|
read: "read",
|
|
94216
94232
|
write: "manage"
|
|
94233
|
+
},
|
|
94234
|
+
search: {
|
|
94235
|
+
title: "title",
|
|
94236
|
+
body: []
|
|
94217
94237
|
}
|
|
94218
94238
|
}
|
|
94219
94239
|
},
|
|
@@ -97849,6 +97869,10 @@ const NAMES$97 = {
|
|
|
97849
97869
|
permissions: {
|
|
97850
97870
|
read: "read",
|
|
97851
97871
|
write: "write"
|
|
97872
|
+
},
|
|
97873
|
+
search: {
|
|
97874
|
+
title: "name",
|
|
97875
|
+
body: []
|
|
97852
97876
|
}
|
|
97853
97877
|
}
|
|
97854
97878
|
},
|
|
@@ -111224,6 +111248,10 @@ const NAMES$89 = {
|
|
|
111224
111248
|
permissions: {
|
|
111225
111249
|
read: "read",
|
|
111226
111250
|
write: "manage"
|
|
111251
|
+
},
|
|
111252
|
+
search: {
|
|
111253
|
+
title: "title",
|
|
111254
|
+
body: []
|
|
111227
111255
|
}
|
|
111228
111256
|
}
|
|
111229
111257
|
},
|
|
@@ -113746,6 +113774,10 @@ const NAMES$85 = {
|
|
|
113746
113774
|
permissions: {
|
|
113747
113775
|
read: "read",
|
|
113748
113776
|
write: "manage"
|
|
113777
|
+
},
|
|
113778
|
+
search: {
|
|
113779
|
+
title: "title",
|
|
113780
|
+
body: []
|
|
113749
113781
|
}
|
|
113750
113782
|
}
|
|
113751
113783
|
} },
|
|
@@ -117563,6 +117595,10 @@ const NAMES$83 = {
|
|
|
117563
117595
|
permissions: {
|
|
117564
117596
|
read: "read",
|
|
117565
117597
|
write: "manage"
|
|
117598
|
+
},
|
|
117599
|
+
search: {
|
|
117600
|
+
title: "name",
|
|
117601
|
+
body: []
|
|
117566
117602
|
}
|
|
117567
117603
|
}
|
|
117568
117604
|
},
|
|
@@ -128858,6 +128894,10 @@ const NAMES$76 = {
|
|
|
128858
128894
|
permissions: {
|
|
128859
128895
|
read: "read",
|
|
128860
128896
|
write: "write"
|
|
128897
|
+
},
|
|
128898
|
+
search: {
|
|
128899
|
+
title: "title",
|
|
128900
|
+
body: []
|
|
128861
128901
|
}
|
|
128862
128902
|
}
|
|
128863
128903
|
},
|
|
@@ -144824,6 +144864,10 @@ const NAMES$72 = {
|
|
|
144824
144864
|
read: "read",
|
|
144825
144865
|
write: "write"
|
|
144826
144866
|
},
|
|
144867
|
+
search: {
|
|
144868
|
+
title: "title",
|
|
144869
|
+
body: []
|
|
144870
|
+
},
|
|
144827
144871
|
template: "template"
|
|
144828
144872
|
}
|
|
144829
144873
|
} },
|
|
@@ -147584,6 +147628,10 @@ const NAMES$69 = {
|
|
|
147584
147628
|
permissions: {
|
|
147585
147629
|
read: "read",
|
|
147586
147630
|
write: "manage"
|
|
147631
|
+
},
|
|
147632
|
+
search: {
|
|
147633
|
+
title: "title",
|
|
147634
|
+
body: []
|
|
147587
147635
|
}
|
|
147588
147636
|
}
|
|
147589
147637
|
} },
|
|
@@ -151692,6 +151740,10 @@ const NAMES$67 = {
|
|
|
151692
151740
|
permissions: {
|
|
151693
151741
|
read: "read",
|
|
151694
151742
|
write: "write"
|
|
151743
|
+
},
|
|
151744
|
+
search: {
|
|
151745
|
+
title: "title",
|
|
151746
|
+
body: []
|
|
151695
151747
|
}
|
|
151696
151748
|
}
|
|
151697
151749
|
},
|
|
@@ -154141,6 +154193,10 @@ const NAMES$65 = {
|
|
|
154141
154193
|
permissions: {
|
|
154142
154194
|
read: "read",
|
|
154143
154195
|
write: "manage"
|
|
154196
|
+
},
|
|
154197
|
+
search: {
|
|
154198
|
+
title: "title",
|
|
154199
|
+
body: []
|
|
154144
154200
|
}
|
|
154145
154201
|
}
|
|
154146
154202
|
},
|
|
@@ -174917,6 +174973,10 @@ const NAMES$53 = {
|
|
|
174917
174973
|
read: "read",
|
|
174918
174974
|
write: "manage"
|
|
174919
174975
|
},
|
|
174976
|
+
search: {
|
|
174977
|
+
title: "number",
|
|
174978
|
+
body: []
|
|
174979
|
+
},
|
|
174920
174980
|
template: "template"
|
|
174921
174981
|
}
|
|
174922
174982
|
},
|
|
@@ -187870,6 +187930,10 @@ const NAMES$41 = {
|
|
|
187870
187930
|
read: "read",
|
|
187871
187931
|
write: "write"
|
|
187872
187932
|
},
|
|
187933
|
+
search: {
|
|
187934
|
+
title: "title",
|
|
187935
|
+
body: []
|
|
187936
|
+
},
|
|
187873
187937
|
template: "template"
|
|
187874
187938
|
}
|
|
187875
187939
|
} },
|
|
@@ -194135,6 +194199,10 @@ const NAMES$32 = {
|
|
|
194135
194199
|
permissions: {
|
|
194136
194200
|
read: "read",
|
|
194137
194201
|
write: "write"
|
|
194202
|
+
},
|
|
194203
|
+
search: {
|
|
194204
|
+
title: "title",
|
|
194205
|
+
body: []
|
|
194138
194206
|
}
|
|
194139
194207
|
}
|
|
194140
194208
|
},
|
|
@@ -205187,6 +205255,10 @@ const NAMES$21 = {
|
|
|
205187
205255
|
permissions: {
|
|
205188
205256
|
read: "read",
|
|
205189
205257
|
write: "manage"
|
|
205258
|
+
},
|
|
205259
|
+
search: {
|
|
205260
|
+
title: "reference",
|
|
205261
|
+
body: []
|
|
205190
205262
|
}
|
|
205191
205263
|
}
|
|
205192
205264
|
},
|
|
@@ -217062,6 +217134,10 @@ const NAMES$10 = {
|
|
|
217062
217134
|
permissions: {
|
|
217063
217135
|
read: "read",
|
|
217064
217136
|
write: "write"
|
|
217137
|
+
},
|
|
217138
|
+
search: {
|
|
217139
|
+
title: "name",
|
|
217140
|
+
body: []
|
|
217065
217141
|
}
|
|
217066
217142
|
}
|
|
217067
217143
|
},
|
package/dist/sqlite/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as localEngine } from "../data-engine-MRAlinsa.js";
|
|
2
|
-
import { i as checkSqlite, r as sqliteExecutor, t as fromSqliteError } from "../executor-
|
|
2
|
+
import { i as checkSqlite, r as sqliteExecutor, t as fromSqliteError } from "../executor-D7avvqx3.js";
|
|
3
3
|
// src/sqlite/engine.ts
|
|
4
4
|
/**
|
|
5
5
|
* A UUID v4 from SQLite's `randomblob`, for runtimes without
|
package/dist/sveltekit/index.js
CHANGED
|
@@ -2,12 +2,12 @@ import { t as DbException } from "../db-exception-Dv18UZ-I.js";
|
|
|
2
2
|
import { n as bufferInPlace, t as around } from "../shared-Ci1g9nl4.js";
|
|
3
3
|
import { r as dbErrorOf } from "../errors-DK1wGb9z.js";
|
|
4
4
|
import { c as toProblem } from "../problem-BwplIuhI.js";
|
|
5
|
-
import { t as adapterBase } from "../adapter-base-
|
|
5
|
+
import { t as adapterBase } from "../adapter-base-BWp_GpBq.js";
|
|
6
6
|
import { _ as withFlush } from "../sessions-w6xril_l.js";
|
|
7
|
-
import { a as platformWaitUntil, i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-
|
|
7
|
+
import { a as platformWaitUntil, i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-DxCx0pmS.js";
|
|
8
8
|
import { i as requireCaller, o as runAction } from "../kit-BgRTtW9w.js";
|
|
9
9
|
import { i as refusalTarget } from "../refusal-CgSrkirX.js";
|
|
10
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
10
|
+
import { n as extendServer, t as createServer } from "../server-DpcMKAt_.js";
|
|
11
11
|
import { r as tagFor } from "../tags-CW-KvjdL.js";
|
|
12
12
|
// src/bridges/sveltekit.ts
|
|
13
13
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as bufferInPlace, t as around } from "../shared-Ci1g9nl4.js";
|
|
2
|
-
import { t as adapterBase } from "../adapter-base-
|
|
2
|
+
import { t as adapterBase } from "../adapter-base-BWp_GpBq.js";
|
|
3
3
|
import { _ as withFlush } from "../sessions-w6xril_l.js";
|
|
4
|
-
import { i as localsOf, r as frameworkEntry } from "../framework-
|
|
4
|
+
import { i as localsOf, r as frameworkEntry } from "../framework-DxCx0pmS.js";
|
|
5
5
|
import { i as requireCaller, o as runAction } from "../kit-BgRTtW9w.js";
|
|
6
6
|
import { r as refusalResponse } from "../refusal-CgSrkirX.js";
|
|
7
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
7
|
+
import { n as extendServer, t as createServer } from "../server-DpcMKAt_.js";
|
|
8
8
|
// src/bridges/tanstack-start.ts
|
|
9
9
|
/**
|
|
10
10
|
* The `response` of a request middleware's `next()` result; server function
|
package/dist/testing/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as fromBase64, o as toBase64Url, t as base64ToText } from "../base64-DgNIlSAS.js";
|
|
2
2
|
import { t as DbException } from "../db-exception-Dv18UZ-I.js";
|
|
3
3
|
import { n as dbError } from "../errors-DK1wGb9z.js";
|
|
4
|
-
import { t as provideConnectionRuntime } from "../define-runtime-full-
|
|
4
|
+
import { t as provideConnectionRuntime } from "../define-runtime-full-BIrEQWJR.js";
|
|
5
5
|
import { ENV_VARIABLES } from "../env/index.js";
|
|
6
6
|
import { t as postgresExecutor } from "../executor-BWg7xw7c.js";
|
|
7
7
|
import { i as seedLite, n as loadLite, r as migrateLite, t as LITE_INSTALL } from "../runtime-sBnEajcK.js";
|
|
@@ -34,8 +34,8 @@ import { t as AUTHZ_VERSION_CLAIM } from "../claim-names-B3KyK7Js.js";
|
|
|
34
34
|
import { c as snapshotOf } from "../snapshot-C1KUHKTc.js";
|
|
35
35
|
import { c as requestOf, i as defineAuthorizer, r as checkPermission } from "../authorizer-DtUCjKBn.js";
|
|
36
36
|
import { t as mailHeaders } from "../delivery-SmPHu2_H.js";
|
|
37
|
-
import { t as defineApiModel } from "../build-
|
|
38
|
-
import { i as resolveConfig, r as generatorProblem } from "../config-
|
|
37
|
+
import { t as defineApiModel } from "../build-CF_wE706.js";
|
|
38
|
+
import { i as resolveConfig, r as generatorProblem } from "../config-BuZW7wNr.js";
|
|
39
39
|
import { i as embedVectors } from "../knowledge-LNI5C6QT.js";
|
|
40
40
|
import { n as toFhirPrescription } from "../prescriptions-CzY13vFr.js";
|
|
41
41
|
import { a as CARE_BUILT_IN_SOURCE, n as CARE_ALERT_KINDS, r as CARE_ALERT_SEVERITIES } from "../clinical-decision-support-values-Bk1AzL7L.js";
|
package/dist/webmcp/index.js
CHANGED
package/package.json
CHANGED