@protobase/schema 0.121.13 → 0.122.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.
|
@@ -13,10 +13,8 @@ export type BucketsModel = {
|
|
|
13
13
|
every: BucketEvery;
|
|
14
14
|
/** The fields of `from` it groups by, which the rollup has under the same names. */
|
|
15
15
|
by: string[];
|
|
16
|
-
/** The number fields of `from` it keeps, with what it keeps of each, as the fields `<name>_sum` and `<name>_max`. */
|
|
16
|
+
/** The number fields of `from` it keeps, with what it keeps of each, as the fields `<name>_sum` and `<name>_max`, and the count of records with a value as `<name>_count`. */
|
|
17
17
|
measures: Record<string, BucketMeasure[]>;
|
|
18
|
-
/** The measured fields of `from` that are optional: `events` counts their records without a value too, so a bucket cannot give their average. */
|
|
19
|
-
optional: string[];
|
|
20
18
|
/** How late a record may arrive and still be counted by a refresh, such as `2 hours`. */
|
|
21
19
|
late: string;
|
|
22
20
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { BucketMeasure, BucketsModel } from "./buckets-model.js";
|
|
2
2
|
import "../refs.js";
|
|
3
3
|
//#region src/buckets/buckets-of.d.ts
|
|
4
|
-
/**
|
|
4
|
+
/** What a time rollup keeps of a measured field: the measures it names, and always the count of records with a value. */
|
|
5
|
+
export type KeptMeasure = BucketMeasure | 'count';
|
|
6
|
+
/** The names of the measure fields of a time rollup, by source field and measure. */
|
|
7
|
+
export declare const measureFieldName: (field: string, measure: KeptMeasure) => string;
|
|
8
|
+
/** The source field and measure that a time rollup's field `name`, such as `watts_sum` or `watts_count`, keeps; `undefined` for any other field. */
|
|
5
9
|
export declare const keptMeasure: (buckets: BucketsModel, name: string) => {
|
|
6
10
|
field: string;
|
|
7
|
-
measure: BucketMeasure;
|
|
11
|
+
measure: "count" | BucketMeasure;
|
|
8
12
|
} | undefined;
|
|
9
13
|
//#endregion
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Field } from "../field.js";
|
|
2
2
|
import { f } from "../fields.js";
|
|
3
|
+
import { snakeCase } from "../naming.js";
|
|
3
4
|
//#region src/buckets/buckets-of.ts
|
|
4
5
|
const everies = ["hour", "day"];
|
|
5
6
|
const measures = ["sum", "max"];
|
|
@@ -61,10 +62,10 @@ const sumField = (field, declared) => {
|
|
|
61
62
|
};
|
|
62
63
|
/** The names of the measure fields of a time rollup, by source field and measure. */
|
|
63
64
|
const measureFieldName = (field, measure) => `${field}_${measure}`;
|
|
64
|
-
/** The source field and measure that a time rollup's field `name`, such as `watts_sum`, keeps; `undefined` for any other field. */
|
|
65
|
+
/** The source field and measure that a time rollup's field `name`, such as `watts_sum` or `watts_count`, keeps; `undefined` for any other field. */
|
|
65
66
|
const keptMeasure = (buckets, name) => {
|
|
66
67
|
for (const [field, fns] of Object.entries(buckets.measures)) {
|
|
67
|
-
const measure = fns.find((fn) => measureFieldName(field, fn) === name);
|
|
68
|
+
const measure = [...fns, "count"].find((fn) => measureFieldName(field, fn) === name);
|
|
68
69
|
if (measure) return {
|
|
69
70
|
field,
|
|
70
71
|
measure
|
|
@@ -102,9 +103,21 @@ const measureProblems = (source, kept, by) => Object.entries(kept).flatMap(([nam
|
|
|
102
103
|
...measures.includes(fn) ? [] : [`measures "${name}" with "${String(fn)}", not sum or max`],
|
|
103
104
|
...fns.indexOf(fn) !== index ? [`measures "${name}" with ${fn} twice`] : [],
|
|
104
105
|
...by.includes(measureFieldName(name, fn)) ? [`measures "${name}" with ${fn}, whose field "${measureFieldName(name, fn)}" it groups by`] : []
|
|
105
|
-
])
|
|
106
|
+
]),
|
|
107
|
+
...by.includes(measureFieldName(name, "count")) ? [`measures "${name}", whose count field "${measureFieldName(name, "count")}" it groups by`] : []
|
|
106
108
|
];
|
|
107
109
|
});
|
|
110
|
+
const columnProblems = (by, kept) => {
|
|
111
|
+
const names = [
|
|
112
|
+
...ownNames,
|
|
113
|
+
...by,
|
|
114
|
+
...Object.entries(kept).flatMap(([field, fns]) => [...fns, "count"].map((fn) => measureFieldName(field, fn)))
|
|
115
|
+
];
|
|
116
|
+
return names.flatMap((name, index) => {
|
|
117
|
+
const first = names.find((other) => other !== name && snakeCase(other) === snakeCase(name));
|
|
118
|
+
return first && names.indexOf(first) < index ? [`has fields "${first}" and "${name}" in one column "${snakeCase(name)}"`] : [];
|
|
119
|
+
});
|
|
120
|
+
};
|
|
108
121
|
/**
|
|
109
122
|
* What `.bucketsOf()` sets on a resource: its fields, its key `id`, the tenant and owner from the source's, and the rollup. Throws on
|
|
110
123
|
* a rollup the source cannot give: a time field that is not a timestamp, a group the bucket's key cannot hold, a
|
|
@@ -121,6 +134,7 @@ const bucketsState = (name, source, buckets) => {
|
|
|
121
134
|
...byProblems(source, buckets.by),
|
|
122
135
|
...model.tenant && !buckets.by.includes(model.tenant) ? [`does not group by "${model.tenant}", the tenant field of "${model.name}"`] : [],
|
|
123
136
|
...measureProblems(source, buckets.measures, buckets.by),
|
|
137
|
+
...columnProblems(buckets.by, buckets.measures),
|
|
124
138
|
...lateShape.test(buckets.late) ? [] : [`late "${buckets.late}" is not a number of minutes, hours or days, such as "2 hours"`]
|
|
125
139
|
];
|
|
126
140
|
if (problems.length > 0) throw new Error(`Resource "${name}": the time rollup ${problems.join("; ")}`);
|
|
@@ -134,7 +148,7 @@ const bucketsState = (name, source, buckets) => {
|
|
|
134
148
|
sortable: true
|
|
135
149
|
})])),
|
|
136
150
|
events: f.bigint().readOnly(),
|
|
137
|
-
...Object.fromEntries(Object.entries(buckets.measures).flatMap(([field, fns]) => fns.map((fn) => [measureFieldName(field, fn), fn === "sum" ? sumField(model.fields[field], declared(field)) : copied(declared(field), { nullable: true })])))
|
|
151
|
+
...Object.fromEntries(Object.entries(buckets.measures).flatMap(([field, fns]) => [...fns.map((fn) => [measureFieldName(field, fn), fn === "sum" ? sumField(model.fields[field], declared(field)) : copied(declared(field), { nullable: true })]), [measureFieldName(field, "count"), f.bigint().readOnly()]]))
|
|
138
152
|
},
|
|
139
153
|
primaryKey: ["id"],
|
|
140
154
|
...model.tenant && {
|
|
@@ -145,8 +159,7 @@ const bucketsState = (name, source, buckets) => {
|
|
|
145
159
|
buckets: {
|
|
146
160
|
...buckets,
|
|
147
161
|
by: [...buckets.by],
|
|
148
|
-
measures: Object.fromEntries(Object.entries(buckets.measures).map(([field, fns]) => [field, [...fns]]))
|
|
149
|
-
optional: Object.keys(buckets.measures).filter((field) => model.fields[field].nullable)
|
|
162
|
+
measures: Object.fromEntries(Object.entries(buckets.measures).map(([field, fns]) => [field, [...fns]]))
|
|
150
163
|
}
|
|
151
164
|
};
|
|
152
165
|
};
|
|
@@ -17,7 +17,7 @@ export type BucketsSpec<S, B extends readonly Ref[], M extends BucketMeasuresInp
|
|
|
17
17
|
/** How late a record may arrive and still be counted: a number of minutes, hours or days, such as `'2 hours'`. */
|
|
18
18
|
late: string;
|
|
19
19
|
};
|
|
20
|
-
/** The fields of a time rollup: its key `id`, `bucket`, the `by` fields, the count `events`, and the measures' `<name>_sum` and `<name>
|
|
20
|
+
/** The fields of a time rollup: its key `id`, `bucket`, the `by` fields, the count `events`, and the measures' `<name>_sum`, `<name>_max` and `<name>_count`. */
|
|
21
21
|
export type BucketFields<S, B extends readonly Ref[], M> = {
|
|
22
22
|
/** The record's key, a bigint. */
|
|
23
23
|
id: Field<string>;
|
|
@@ -25,5 +25,5 @@ export type BucketFields<S, B extends readonly Ref[], M> = {
|
|
|
25
25
|
bucket: Field<string>;
|
|
26
26
|
/** How many records of the source fell in the bucket, a bigint. */
|
|
27
27
|
events: Field<string>;
|
|
28
|
-
} & { [R in B[number] as R['name']]: R['name'] extends keyof S ? (S[R['name']] extends Field<infer V> ? Field<V> : never) : never; } & { [K in keyof M & string as M[K] extends readonly (infer A)[] ? ('sum' extends A ? `${K}_sum` : never) : never]: Field<string | null>; } & { [K in keyof M & string as M[K] extends readonly (infer A)[] ? ('max' extends A ? `${K}_max` : never) : never]: K extends keyof S ? (S[K] extends Field<infer V> ? Field<V | null> : never) : never; };
|
|
28
|
+
} & { [R in B[number] as R['name']]: R['name'] extends keyof S ? (S[R['name']] extends Field<infer V> ? Field<V> : never) : never; } & { [K in keyof M & string as M[K] extends readonly (infer A)[] ? ('sum' extends A ? `${K}_sum` : never) : never]: Field<string | null>; } & { [K in keyof M & string as `${K}_count`]: Field<string>; } & { [K in keyof M & string as M[K] extends readonly (infer A)[] ? ('max' extends A ? `${K}_max` : never) : never]: K extends keyof S ? (S[K] extends Field<infer V> ? Field<V | null> : never) : never; };
|
|
29
29
|
//#endregion
|
package/dist/internal.d.ts
CHANGED
|
@@ -68,5 +68,5 @@ import { guestCallsPath } from "./calls/call-guests.js";
|
|
|
68
68
|
import { CallRing, callsChannelEvent, declineWord, ringNotice, ringsPath } from "./calls/call-rings.js";
|
|
69
69
|
import { ReorderSpan, reorderSpan } from "./reorder-span.js";
|
|
70
70
|
import { MovePlan, Ranked, movePlan } from "./move-plan.js";
|
|
71
|
-
import { keptMeasure } from "./buckets/buckets-of.js";
|
|
72
|
-
export { type AddressCheck, type Availability, type CallCandidate, type CallClientMessage, type CallDescription, type CallGuestLink, type CallGuestRefusal, type CallGuestState, type CallLeftReason, type CallLobbyGuest, type CallMode, type CallRemoteTrack, type CallResume, type CallRing, type CallRosterMember, type CallServerMessage, type CallTrackRequest, type CallTrackSource, type CallVideoLayer, type FormulaNode, type KeyType, type Locale, type MobileReleaseAnswer, type MovePlan, type PathLookup, type PersonStatus, type PluginCapabilities, type PluginHost, type PluginRequirement, type PropShapes, type Ranked, type RecordUse, type RefShape, type ReleaseBinding, type ReorderSpan, type RunnerRegistration, type SearchTerm, type StatusInput, type TemplatePath, type WorkflowCacheAdvice, type WorkflowRunTrace, type WorkflowStatus, type WorkflowTraceHeld, type WorkflowTraceStep, type WorkflowTypeEntry, type WorkflowTypeList, actionConditionError, actionInputErrors, addressErrors, addressPlaceholders, apiOriginMeta, appHrefError, appReadMaxBytes, appReadParam, appReadUrl, applyAssistantEvent, authBasePath, availabilities, bareFilterFields, boardErrors, bottomBarFor, bridgeSocketPath, bridgeTokenParam, builtInFieldTypes, callsChannelEvent, capacitorOrigin, cardPhotoLimit, chartFields, checkEventFilter, checkedAccept, checkedProvider, confirmationMinutes, datesErrors, declineWord, decodeKey, defaultRecentLimit, deviceIdParam, devicesPath, displayFields, emailCodeMinutes, embeddedFilterFields, emptyAssistantState, encodeKey, fieldRefsIn, filePath, filesPath, fillAddress, fillAddressFrom, fillFilter, fillText, filterField, findField, firstPartyCodeKey, followableRowButton, grantsOf, guestCallsPath, heldCapabilities, heldStatus, historyIdParam, historyIdPattern, historyPath, hostPlaceholder, hrefField, hrefPlaceholders, humanize, inRange, isAppRead, isFieldRef, isGroupChart, isLocale, isUserTableName, keptMeasure, keyTypes, labelFieldOf, layoutItems, leavesApp, linkActionError, listColumnNames, locales, lookupLink, markFieldRefs, matchedSearchField, matchesSearch, maxLabelLength, maxNameBytes, maxOrganizationNameBytes, maxRelatedDepth, maxRelatedTerms, maxStatusText, missingCapabilities, mobileReleaseBasePath, mobileReleaseParams, mobileReleasePath, mobileReleaseQuery, mobileReleasesPath, movePlan, navRecentErrors, navStartErrors, organizationColumn, parseCapability, parseFormula, parseSize, parseTable, parseTemplatePath, pickLocale, pluginProblem, promptError, promptFields, pruneByShape, pushRecord, readEventStream, recordJsonSchema, recordTitle, recordTitleField, recordValueAt, redactSecrets, relatedErrors, relatedTarget, releaseManifestFile, releaseStatementContext, releaseStatementFile, renderPrompt, reorderSpan, reservedFieldNames, reservedWords, resolvableStatuses, resourceField, ringNotice, ringsPath, rowButtonChoiceFields, rowButtonChoices, rowButtonErrors, rowButtonFields, rowButtonTarget, runnerRegistrationParam, runnerRegistrationPath, runnerRegistrationRoute, searchTerms, secondStepParam, serviceWorkerFile, shapes, shownInputs, splitRelated, statusPath, statusRuns, statusTextProblem, statusTones, storageNamePattern, storedFileRef, tableDisplay, tapUrl, templatePlaceholders, termMatches, textPlaceholders, unmarkFieldRefs, updateSetErrors, updateValues, userTableName, valueText, viewOfList, webhookResources, wholePlaceholder, withLookups, workflowResources, workflowRunParam, workflowRunTracePath, workflowRunTraceRoute, workflowRunsPath, workflowStatusTones, workflowStatuses, workflowTraceAfterParam, workflowTraceRevision, workflowTraceRevisionParam, workflowTypesPath };
|
|
71
|
+
import { keptMeasure, measureFieldName } from "./buckets/buckets-of.js";
|
|
72
|
+
export { type AddressCheck, type Availability, type CallCandidate, type CallClientMessage, type CallDescription, type CallGuestLink, type CallGuestRefusal, type CallGuestState, type CallLeftReason, type CallLobbyGuest, type CallMode, type CallRemoteTrack, type CallResume, type CallRing, type CallRosterMember, type CallServerMessage, type CallTrackRequest, type CallTrackSource, type CallVideoLayer, type FormulaNode, type KeyType, type Locale, type MobileReleaseAnswer, type MovePlan, type PathLookup, type PersonStatus, type PluginCapabilities, type PluginHost, type PluginRequirement, type PropShapes, type Ranked, type RecordUse, type RefShape, type ReleaseBinding, type ReorderSpan, type RunnerRegistration, type SearchTerm, type StatusInput, type TemplatePath, type WorkflowCacheAdvice, type WorkflowRunTrace, type WorkflowStatus, type WorkflowTraceHeld, type WorkflowTraceStep, type WorkflowTypeEntry, type WorkflowTypeList, actionConditionError, actionInputErrors, addressErrors, addressPlaceholders, apiOriginMeta, appHrefError, appReadMaxBytes, appReadParam, appReadUrl, applyAssistantEvent, authBasePath, availabilities, bareFilterFields, boardErrors, bottomBarFor, bridgeSocketPath, bridgeTokenParam, builtInFieldTypes, callsChannelEvent, capacitorOrigin, cardPhotoLimit, chartFields, checkEventFilter, checkedAccept, checkedProvider, confirmationMinutes, datesErrors, declineWord, decodeKey, defaultRecentLimit, deviceIdParam, devicesPath, displayFields, emailCodeMinutes, embeddedFilterFields, emptyAssistantState, encodeKey, fieldRefsIn, filePath, filesPath, fillAddress, fillAddressFrom, fillFilter, fillText, filterField, findField, firstPartyCodeKey, followableRowButton, grantsOf, guestCallsPath, heldCapabilities, heldStatus, historyIdParam, historyIdPattern, historyPath, hostPlaceholder, hrefField, hrefPlaceholders, humanize, inRange, isAppRead, isFieldRef, isGroupChart, isLocale, isUserTableName, keptMeasure, keyTypes, labelFieldOf, layoutItems, leavesApp, linkActionError, listColumnNames, locales, lookupLink, markFieldRefs, matchedSearchField, matchesSearch, maxLabelLength, maxNameBytes, maxOrganizationNameBytes, maxRelatedDepth, maxRelatedTerms, maxStatusText, measureFieldName, missingCapabilities, mobileReleaseBasePath, mobileReleaseParams, mobileReleasePath, mobileReleaseQuery, mobileReleasesPath, movePlan, navRecentErrors, navStartErrors, organizationColumn, parseCapability, parseFormula, parseSize, parseTable, parseTemplatePath, pickLocale, pluginProblem, promptError, promptFields, pruneByShape, pushRecord, readEventStream, recordJsonSchema, recordTitle, recordTitleField, recordValueAt, redactSecrets, relatedErrors, relatedTarget, releaseManifestFile, releaseStatementContext, releaseStatementFile, renderPrompt, reorderSpan, reservedFieldNames, reservedWords, resolvableStatuses, resourceField, ringNotice, ringsPath, rowButtonChoiceFields, rowButtonChoices, rowButtonErrors, rowButtonFields, rowButtonTarget, runnerRegistrationParam, runnerRegistrationPath, runnerRegistrationRoute, searchTerms, secondStepParam, serviceWorkerFile, shapes, shownInputs, splitRelated, statusPath, statusRuns, statusTextProblem, statusTones, storageNamePattern, storedFileRef, tableDisplay, tapUrl, templatePlaceholders, termMatches, textPlaceholders, unmarkFieldRefs, updateSetErrors, updateValues, userTableName, valueText, viewOfList, webhookResources, wholePlaceholder, withLookups, workflowResources, workflowRunParam, workflowRunTracePath, workflowRunTraceRoute, workflowRunsPath, workflowStatusTones, workflowStatuses, workflowTraceAfterParam, workflowTraceRevision, workflowTraceRevisionParam, workflowTypesPath };
|
package/dist/internal.js
CHANGED
|
@@ -9,7 +9,7 @@ import { matchedSearchField, matchesSearch, searchTerms, termMatches } from "./s
|
|
|
9
9
|
import { grantsOf, parseCapability } from "./access/capability.js";
|
|
10
10
|
import { heldCapabilities } from "./access/role-entry.js";
|
|
11
11
|
import { checkEventFilter } from "./events/event-models.js";
|
|
12
|
-
import { keptMeasure } from "./buckets/buckets-of.js";
|
|
12
|
+
import { keptMeasure, measureFieldName } from "./buckets/buckets-of.js";
|
|
13
13
|
import { parseTable } from "./resource-model.js";
|
|
14
14
|
import { layoutItems } from "./layout-items.js";
|
|
15
15
|
import { viewOfList } from "./named-list.js";
|
|
@@ -68,4 +68,4 @@ import { guestCallsPath } from "./calls/call-guests.js";
|
|
|
68
68
|
import { callsChannelEvent, declineWord, ringNotice, ringsPath } from "./calls/call-rings.js";
|
|
69
69
|
import { reorderSpan } from "./reorder-span.js";
|
|
70
70
|
import { movePlan } from "./move-plan.js";
|
|
71
|
-
export { actionConditionError, actionInputErrors, addressErrors, addressPlaceholders, apiOriginMeta, appHrefError, appReadMaxBytes, appReadParam, appReadUrl, applyAssistantEvent, authBasePath, availabilities, bareFilterFields, boardErrors, bottomBarFor, bridgeSocketPath, bridgeTokenParam, builtInFieldTypes, callsChannelEvent, capacitorOrigin, cardPhotoLimit, chartFields, checkEventFilter, checkedAccept, checkedProvider, confirmationMinutes, datesErrors, declineWord, decodeKey, defaultRecentLimit, deviceIdParam, devicesPath, displayFields, emailCodeMinutes, embeddedFilterFields, emptyAssistantState, encodeKey, fieldRefsIn, filePath, filesPath, fillAddress, fillAddressFrom, fillFilter, fillText, filterField, findField, firstPartyCodeKey, followableRowButton, grantsOf, guestCallsPath, heldCapabilities, heldStatus, historyIdParam, historyIdPattern, historyPath, hostPlaceholder, hrefField, hrefPlaceholders, humanize, inRange, isAppRead, isFieldRef, isGroupChart, isLocale, isUserTableName, keptMeasure, keyTypes, labelFieldOf, layoutItems, leavesApp, linkActionError, listColumnNames, locales, lookupLink, markFieldRefs, matchedSearchField, matchesSearch, maxLabelLength, maxNameBytes, maxOrganizationNameBytes, maxRelatedDepth, maxRelatedTerms, maxStatusText, missingCapabilities, mobileReleaseBasePath, mobileReleaseParams, mobileReleasePath, mobileReleaseQuery, mobileReleasesPath, movePlan, navRecentErrors, navStartErrors, organizationColumn, parseCapability, parseFormula, parseSize, parseTable, parseTemplatePath, pickLocale, pluginProblem, promptError, promptFields, pruneByShape, pushRecord, readEventStream, recordJsonSchema, recordTitle, recordTitleField, recordValueAt, redactSecrets, relatedErrors, relatedTarget, releaseManifestFile, releaseStatementContext, releaseStatementFile, renderPrompt, reorderSpan, reservedFieldNames, reservedWords, resolvableStatuses, resourceField, ringNotice, ringsPath, rowButtonChoiceFields, rowButtonChoices, rowButtonErrors, rowButtonFields, rowButtonTarget, runnerRegistrationParam, runnerRegistrationPath, runnerRegistrationRoute, searchTerms, secondStepParam, serviceWorkerFile, shapes, shownInputs, splitRelated, statusPath, statusRuns, statusTextProblem, statusTones, storageNamePattern, storedFileRef, tableDisplay, tapUrl, templatePlaceholders, termMatches, textPlaceholders, unmarkFieldRefs, updateSetErrors, updateValues, userTableName, valueText, viewOfList, webhookResources, wholePlaceholder, withLookups, workflowResources, workflowRunParam, workflowRunTracePath, workflowRunTraceRoute, workflowRunsPath, workflowStatusTones, workflowStatuses, workflowTraceAfterParam, workflowTraceRevision, workflowTraceRevisionParam, workflowTypesPath };
|
|
71
|
+
export { actionConditionError, actionInputErrors, addressErrors, addressPlaceholders, apiOriginMeta, appHrefError, appReadMaxBytes, appReadParam, appReadUrl, applyAssistantEvent, authBasePath, availabilities, bareFilterFields, boardErrors, bottomBarFor, bridgeSocketPath, bridgeTokenParam, builtInFieldTypes, callsChannelEvent, capacitorOrigin, cardPhotoLimit, chartFields, checkEventFilter, checkedAccept, checkedProvider, confirmationMinutes, datesErrors, declineWord, decodeKey, defaultRecentLimit, deviceIdParam, devicesPath, displayFields, emailCodeMinutes, embeddedFilterFields, emptyAssistantState, encodeKey, fieldRefsIn, filePath, filesPath, fillAddress, fillAddressFrom, fillFilter, fillText, filterField, findField, firstPartyCodeKey, followableRowButton, grantsOf, guestCallsPath, heldCapabilities, heldStatus, historyIdParam, historyIdPattern, historyPath, hostPlaceholder, hrefField, hrefPlaceholders, humanize, inRange, isAppRead, isFieldRef, isGroupChart, isLocale, isUserTableName, keptMeasure, keyTypes, labelFieldOf, layoutItems, leavesApp, linkActionError, listColumnNames, locales, lookupLink, markFieldRefs, matchedSearchField, matchesSearch, maxLabelLength, maxNameBytes, maxOrganizationNameBytes, maxRelatedDepth, maxRelatedTerms, maxStatusText, measureFieldName, missingCapabilities, mobileReleaseBasePath, mobileReleaseParams, mobileReleasePath, mobileReleaseQuery, mobileReleasesPath, movePlan, navRecentErrors, navStartErrors, organizationColumn, parseCapability, parseFormula, parseSize, parseTable, parseTemplatePath, pickLocale, pluginProblem, promptError, promptFields, pruneByShape, pushRecord, readEventStream, recordJsonSchema, recordTitle, recordTitleField, recordValueAt, redactSecrets, relatedErrors, relatedTarget, releaseManifestFile, releaseStatementContext, releaseStatementFile, renderPrompt, reorderSpan, reservedFieldNames, reservedWords, resolvableStatuses, resourceField, ringNotice, ringsPath, rowButtonChoiceFields, rowButtonChoices, rowButtonErrors, rowButtonFields, rowButtonTarget, runnerRegistrationParam, runnerRegistrationPath, runnerRegistrationRoute, searchTerms, secondStepParam, serviceWorkerFile, shapes, shownInputs, splitRelated, statusPath, statusRuns, statusTextProblem, statusTones, storageNamePattern, storedFileRef, tableDisplay, tapUrl, templatePlaceholders, termMatches, textPlaceholders, unmarkFieldRefs, updateSetErrors, updateValues, userTableName, valueText, viewOfList, webhookResources, wholePlaceholder, withLookups, workflowResources, workflowRunParam, workflowRunTracePath, workflowRunTraceRoute, workflowRunsPath, workflowStatusTones, workflowStatuses, workflowTraceAfterParam, workflowTraceRevision, workflowTraceRevisionParam, workflowTypesPath };
|
package/dist/resource-model.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { promptFields } from "./ai-prompt.js";
|
|
2
2
|
import { buildEventModels } from "./events/event-models.js";
|
|
3
|
+
import { snakeCase } from "./naming.js";
|
|
3
4
|
import { computedProblems } from "./computed/computed-problems.js";
|
|
4
5
|
import { checksProblems } from "./checks-problems.js";
|
|
5
6
|
import { openExistingProblems } from "./open-existing-problems.js";
|
|
6
|
-
import { snakeCase } from "./naming.js";
|
|
7
7
|
import { derivedProblems } from "./derived/derived-problems.js";
|
|
8
8
|
import { lookupProblems } from "./lookup/lookup-problems.js";
|
|
9
9
|
//#region src/resource-model.ts
|