@protobase/schema 0.40.7 → 0.40.9

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.
@@ -0,0 +1,4 @@
1
+ //#region src/auth-base-path.d.ts
2
+ /** Where Better Auth's endpoints are served, below the app's origin. */
3
+ export declare const authBasePath = "/api/auth";
4
+ //#endregion
@@ -0,0 +1,5 @@
1
+ //#region src/auth-base-path.ts
2
+ /** Where Better Auth's endpoints are served, below the app's origin. */
3
+ const authBasePath = "/api/auth";
4
+ //#endregion
5
+ export { authBasePath };
@@ -0,0 +1,10 @@
1
+ //#region src/capacitor-origins.d.ts
2
+ /**
3
+ * The origin Capacitor's WebView serves an app's files on, per platform. They hold because `protobase mobile` never
4
+ * sets Capacitor's `server.hostname` or schemes.
5
+ */
6
+ export declare const capacitorOrigin: {
7
+ readonly ios: "capacitor://localhost";
8
+ readonly android: "https://localhost";
9
+ };
10
+ //#endregion
@@ -0,0 +1,11 @@
1
+ //#region src/capacitor-origins.ts
2
+ /**
3
+ * The origin Capacitor's WebView serves an app's files on, per platform. They hold because `protobase mobile` never
4
+ * sets Capacitor's `server.hostname` or schemes.
5
+ */
6
+ const capacitorOrigin = {
7
+ ios: "capacitor://localhost",
8
+ android: "https://localhost"
9
+ };
10
+ //#endregion
11
+ export { capacitorOrigin };
@@ -26,4 +26,6 @@ import { layoutItems } from "./layout-items.js";
26
26
  import { viewOfList } from "./named-list.js";
27
27
  import { Locale, isLocale, locales, pickLocale } from "./locale.js";
28
28
  import { apiOriginMeta } from "./api-origin-meta.js";
29
- export { type AddressCheck, type FormulaNode, type Locale, type PluginHost, type PluginRequirement, type PropShapes, type RefShape, type SearchTerm, actionConditionError, actionInputErrors, addressErrors, addressPlaceholders, apiOriginMeta, appHrefError, applyAssistantEvent, boardErrors, bottomBarFor, cardPhotoLimit, chartFields, checkEventFilter, checkedAccept, checkedProvider, datesErrors, decodeKey, defaultRecentLimit, displayFields, emptyAssistantState, encodeKey, fieldRefsIn, fillAddress, hrefField, hrefPlaceholders, inRange, isFieldRef, isGroupChart, isLocale, layoutItems, leavesApp, linkActionError, locales, markFieldRefs, matchedSearchField, matchesSearch, navRecentErrors, parseCapability, parseFormula, parseSize, parseTable, pickLocale, pluginProblem, promptError, promptFields, pruneByShape, readEventStream, redactSecrets, renderPrompt, searchTerms, shapes, shownInputs, statusTones, tableDisplay, termMatches, unmarkFieldRefs, updateSetErrors, updateValues, viewOfList, webhookResources };
29
+ import { authBasePath } from "./auth-base-path.js";
30
+ import { capacitorOrigin } from "./capacitor-origins.js";
31
+ export { type AddressCheck, type FormulaNode, type Locale, type PluginHost, type PluginRequirement, type PropShapes, type RefShape, type SearchTerm, actionConditionError, actionInputErrors, addressErrors, addressPlaceholders, apiOriginMeta, appHrefError, applyAssistantEvent, authBasePath, boardErrors, bottomBarFor, capacitorOrigin, cardPhotoLimit, chartFields, checkEventFilter, checkedAccept, checkedProvider, datesErrors, decodeKey, defaultRecentLimit, displayFields, emptyAssistantState, encodeKey, fieldRefsIn, fillAddress, hrefField, hrefPlaceholders, inRange, isFieldRef, isGroupChart, isLocale, layoutItems, leavesApp, linkActionError, locales, markFieldRefs, matchedSearchField, matchesSearch, navRecentErrors, parseCapability, parseFormula, parseSize, parseTable, pickLocale, pluginProblem, promptError, promptFields, pruneByShape, readEventStream, redactSecrets, renderPrompt, searchTerms, shapes, shownInputs, statusTones, tableDisplay, termMatches, unmarkFieldRefs, updateSetErrors, updateValues, viewOfList, webhookResources };
package/dist/internal.js CHANGED
@@ -26,4 +26,6 @@ import { applyAssistantEvent, emptyAssistantState } from "./assistant/apply-even
26
26
  import { readEventStream } from "./assistant/event-stream.js";
27
27
  import { isLocale, locales, pickLocale } from "./locale.js";
28
28
  import { apiOriginMeta } from "./api-origin-meta.js";
29
- export { actionConditionError, actionInputErrors, addressErrors, addressPlaceholders, apiOriginMeta, appHrefError, applyAssistantEvent, boardErrors, bottomBarFor, cardPhotoLimit, chartFields, checkEventFilter, checkedAccept, checkedProvider, datesErrors, decodeKey, defaultRecentLimit, displayFields, emptyAssistantState, encodeKey, fieldRefsIn, fillAddress, hrefField, hrefPlaceholders, inRange, isFieldRef, isGroupChart, isLocale, layoutItems, leavesApp, linkActionError, locales, markFieldRefs, matchedSearchField, matchesSearch, navRecentErrors, parseCapability, parseFormula, parseSize, parseTable, pickLocale, pluginProblem, promptError, promptFields, pruneByShape, readEventStream, redactSecrets, renderPrompt, searchTerms, shapes, shownInputs, statusTones, tableDisplay, termMatches, unmarkFieldRefs, updateSetErrors, updateValues, viewOfList, webhookResources };
29
+ import { authBasePath } from "./auth-base-path.js";
30
+ import { capacitorOrigin } from "./capacitor-origins.js";
31
+ export { actionConditionError, actionInputErrors, addressErrors, addressPlaceholders, apiOriginMeta, appHrefError, applyAssistantEvent, authBasePath, boardErrors, bottomBarFor, capacitorOrigin, cardPhotoLimit, chartFields, checkEventFilter, checkedAccept, checkedProvider, datesErrors, decodeKey, defaultRecentLimit, displayFields, emptyAssistantState, encodeKey, fieldRefsIn, fillAddress, hrefField, hrefPlaceholders, inRange, isFieldRef, isGroupChart, isLocale, layoutItems, leavesApp, linkActionError, locales, markFieldRefs, matchedSearchField, matchesSearch, navRecentErrors, parseCapability, parseFormula, parseSize, parseTable, pickLocale, pluginProblem, promptError, promptFields, pruneByShape, readEventStream, redactSecrets, renderPrompt, searchTerms, shapes, shownInputs, statusTones, tableDisplay, termMatches, unmarkFieldRefs, updateSetErrors, updateValues, viewOfList, webhookResources };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/schema",
3
- "version": "0.40.7",
3
+ "version": "0.40.9",
4
4
  "description": "Resource, field, view and access definitions for Protobase configs.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {