@protobase/schema 0.26.8 → 0.27.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/api-origin-meta.d.ts +8 -0
- package/dist/api-origin-meta.js +9 -0
- package/dist/internal.d.ts +2 -1
- package/dist/internal.js +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region src/api-origin-meta.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* The `<meta name>` whose `content` names the origin of the API the shell calls, such as `https://shop.example.com`, for
|
|
4
|
+
* a page served from elsewhere: `protobase mobile` writes it into the app's `index.html`. Without it, the shell calls
|
|
5
|
+
* the API on its own origin.
|
|
6
|
+
*/
|
|
7
|
+
export declare const apiOriginMeta = "protobase-api-origin";
|
|
8
|
+
//#endregion
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/api-origin-meta.ts
|
|
2
|
+
/**
|
|
3
|
+
* The `<meta name>` whose `content` names the origin of the API the shell calls, such as `https://shop.example.com`, for
|
|
4
|
+
* a page served from elsewhere: `protobase mobile` writes it into the app's `index.html`. Without it, the shell calls
|
|
5
|
+
* the API on its own origin.
|
|
6
|
+
*/
|
|
7
|
+
const apiOriginMeta = "protobase-api-origin";
|
|
8
|
+
//#endregion
|
|
9
|
+
export { apiOriginMeta };
|
package/dist/internal.d.ts
CHANGED
|
@@ -23,4 +23,5 @@ import { readEventStream } from "./assistant/event-stream.js";
|
|
|
23
23
|
import { layoutItems } from "./layout-items.js";
|
|
24
24
|
import { viewOfList } from "./named-list.js";
|
|
25
25
|
import { Locale, isLocale, locales, pickLocale } from "./locale.js";
|
|
26
|
-
|
|
26
|
+
import { apiOriginMeta } from "./api-origin-meta.js";
|
|
27
|
+
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, parseFormula, parseSize, pickLocale, pluginProblem, promptError, promptFields, pruneByShape, readEventStream, redactSecrets, renderPrompt, searchTerms, shapes, shownInputs, statusTones, tableDisplay, termMatches, unmarkFieldRefs, updateSetErrors, updateValues, viewOfList, webhookResources };
|
package/dist/internal.js
CHANGED
|
@@ -23,4 +23,5 @@ import { addressErrors } from "./address-errors.js";
|
|
|
23
23
|
import { applyAssistantEvent, emptyAssistantState } from "./assistant/apply-event.js";
|
|
24
24
|
import { readEventStream } from "./assistant/event-stream.js";
|
|
25
25
|
import { isLocale, locales, pickLocale } from "./locale.js";
|
|
26
|
-
|
|
26
|
+
import { apiOriginMeta } from "./api-origin-meta.js";
|
|
27
|
+
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, parseFormula, parseSize, pickLocale, pluginProblem, promptError, promptFields, pruneByShape, readEventStream, redactSecrets, renderPrompt, searchTerms, shapes, shownInputs, statusTones, tableDisplay, termMatches, unmarkFieldRefs, updateSetErrors, updateValues, viewOfList, webhookResources };
|