@rokkit/data 1.0.0-next.118 → 1.0.0-next.120
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/aggregators.d.ts +2 -0
- package/dist/constants.d.ts +46 -0
- package/dist/convert.d.ts +10 -0
- package/dist/dataset.d.ts +43 -0
- package/dist/filter.d.ts +26 -0
- package/dist/formatter.d.ts +10 -0
- package/dist/hierarchy.d.ts +36 -0
- package/dist/index.d.ts +7 -0
- package/dist/infer.d.ts +80 -0
- package/dist/join.d.ts +95 -0
- package/dist/list.d.ts +121 -0
- package/dist/metadata.d.ts +32 -0
- package/dist/model.d.ts +29 -0
- package/dist/packages/actions/src/delegate.svelte.d.ts +13 -0
- package/dist/packages/actions/src/dismissable.svelte.d.ts +7 -0
- package/dist/packages/actions/src/fillable.svelte.d.ts +8 -0
- package/dist/packages/actions/src/index.d.ts +11 -0
- package/dist/packages/actions/src/kbd.d.ts +44 -0
- package/dist/packages/actions/src/keyboard.svelte.d.ts +7 -0
- package/dist/packages/actions/src/lib/event-manager.d.ts +8 -0
- package/dist/packages/actions/src/lib/index.d.ts +2 -0
- package/dist/packages/actions/src/lib/internal.d.ts +19 -0
- package/dist/packages/actions/src/navigable.svelte.d.ts +8 -0
- package/dist/packages/actions/src/navigator.svelte.d.ts +20 -0
- package/dist/packages/actions/src/pannable.svelte.d.ts +6 -0
- package/dist/packages/actions/src/skinnable.svelte.d.ts +8 -0
- package/dist/packages/actions/src/swipeable.svelte.d.ts +14 -0
- package/dist/packages/actions/src/themable.svelte.d.ts +7 -0
- package/dist/packages/actions/src/types.d.ts +72 -0
- package/dist/packages/actions/src/utils.d.ts +18 -0
- package/dist/packages/bits-ui/src/index.d.ts +2 -0
- package/dist/packages/bits-ui/src/reference.d.ts +22 -0
- package/dist/packages/bits-ui/src/tree/constants.d.ts +13 -0
- package/dist/packages/bits-ui/src/tree/index.d.ts +7 -0
- package/dist/packages/bits-ui/src/tree/types.d.ts +71 -0
- package/dist/packages/core/src/calendar.d.ts +10 -0
- package/dist/packages/core/src/colors/index.d.ts +333 -0
- package/dist/packages/core/src/connector.d.ts +8 -0
- package/dist/packages/core/src/constants.d.ts +39 -0
- package/dist/packages/core/src/events.d.ts +12 -0
- package/dist/packages/core/src/field-mapper.d.ts +63 -0
- package/dist/packages/core/src/index.d.ts +13 -0
- package/dist/packages/core/src/key-event-map.d.ts +18 -0
- package/dist/packages/core/src/mapped-items.d.ts +14 -0
- package/dist/packages/core/src/mapping.d.ts +75 -0
- package/dist/packages/core/src/nested.d.ts +18 -0
- package/dist/packages/core/src/string.d.ts +59 -0
- package/dist/packages/core/src/theme.d.ts +52 -0
- package/dist/packages/core/src/ticks.d.ts +10 -0
- package/dist/packages/core/src/types.d.ts +245 -0
- package/dist/packages/core/src/utils.d.ts +70 -0
- package/dist/packages/data/src/aggregators.d.ts +2 -0
- package/dist/packages/data/src/constants.d.ts +46 -0
- package/dist/packages/data/src/convert.d.ts +10 -0
- package/dist/packages/data/src/dataset.d.ts +43 -0
- package/dist/packages/data/src/filter.d.ts +26 -0
- package/dist/packages/data/src/formatter.d.ts +10 -0
- package/dist/packages/data/src/hierarchy.d.ts +36 -0
- package/dist/packages/data/src/index.d.ts +7 -0
- package/dist/packages/data/src/infer.d.ts +80 -0
- package/dist/packages/data/src/join.d.ts +95 -0
- package/dist/packages/data/src/list.d.ts +121 -0
- package/dist/packages/data/src/metadata.d.ts +32 -0
- package/dist/packages/data/src/model.d.ts +29 -0
- package/dist/packages/data/src/parser.d.ts +31 -0
- package/dist/packages/data/src/renamer.d.ts +37 -0
- package/dist/packages/data/src/rollup.d.ts +51 -0
- package/dist/packages/data/src/types.d.ts +346 -0
- package/dist/packages/data/src/utils.d.ts +6 -0
- package/dist/packages/data/src/view.d.ts +35 -0
- package/dist/packages/helpers/src/components/index.d.ts +2 -0
- package/dist/packages/helpers/src/index.d.ts +1 -0
- package/dist/packages/helpers/src/matchers/action.d.ts +27 -0
- package/dist/packages/helpers/src/matchers/array.d.ts +10 -0
- package/dist/packages/helpers/src/matchers/dataset.d.ts +10 -0
- package/dist/packages/helpers/src/matchers/event.d.ts +10 -0
- package/dist/packages/helpers/src/matchers/index.d.ts +4 -0
- package/dist/packages/helpers/src/matchers/internal.d.ts +1 -0
- package/dist/packages/helpers/src/mocks/animate.d.ts +1 -0
- package/dist/packages/helpers/src/mocks/element.d.ts +60 -0
- package/dist/packages/helpers/src/mocks/index.d.ts +2 -0
- package/dist/packages/helpers/src/mocks/match-media.d.ts +30 -0
- package/dist/packages/helpers/src/mocks/resize-observer.d.ts +9 -0
- package/dist/packages/helpers/src/simulators/index.d.ts +1 -0
- package/dist/packages/helpers/src/simulators/touch.d.ts +40 -0
- package/dist/packages/icons/src/convert.d.ts +22 -0
- package/dist/packages/icons/src/index.d.ts +2 -0
- package/dist/packages/input/src/index.d.ts +18 -0
- package/dist/packages/states/src/constants.d.ts +27 -0
- package/dist/packages/states/src/derive.svelte.d.ts +22 -0
- package/dist/packages/states/src/hierarchy.d.ts +34 -0
- package/dist/packages/states/src/index.d.ts +5 -0
- package/dist/packages/states/src/list-controller.svelte.d.ts +70 -0
- package/dist/packages/states/src/nested-controller.svelte.d.ts +32 -0
- package/dist/packages/states/src/proxy.svelte.d.ts +43 -0
- package/dist/packages/states/src/tabular.svelte.d.ts +5 -0
- package/dist/packages/states/src/traversal.svelte.d.ts +69 -0
- package/dist/packages/states/src/vibe.svelte.d.ts +622 -0
- package/dist/packages/themes/src/constants.d.ts +6 -0
- package/dist/packages/themes/src/index.d.ts +2 -0
- package/dist/packages/tutorial/src/assimilate.d.ts +25 -0
- package/dist/packages/tutorial/src/collector.d.ts +46 -0
- package/dist/packages/tutorial/src/files.d.ts +8 -0
- package/dist/packages/tutorial/src/index.d.ts +2 -0
- package/dist/packages/tutorial/src/metadata/base.d.ts +19 -0
- package/dist/packages/tutorial/src/metadata/factory.d.ts +19 -0
- package/dist/packages/tutorial/src/metadata/index.d.ts +2 -0
- package/dist/packages/tutorial/src/metadata/javascript.d.ts +7 -0
- package/dist/packages/tutorial/src/metadata/json.d.ts +7 -0
- package/dist/packages/tutorial/src/metadata/markdown.d.ts +7 -0
- package/dist/packages/tutorial/src/metadata/registry.d.ts +26 -0
- package/dist/packages/tutorial/src/metamodel.d.ts +45 -0
- package/dist/packages/tutorial/src/tutorial.d.ts +21 -0
- package/dist/packages/tutorial/src/types.d.ts +172 -0
- package/dist/packages/tutorial/src/utils.d.ts +13 -0
- package/dist/packages/ui/src/constants.d.ts +2 -0
- package/dist/packages/ui/src/index.d.ts +42 -0
- package/dist/packages/ui/src/input/types.d.ts +9 -0
- package/dist/packages/ui/src/lib/fields.d.ts +16 -0
- package/dist/packages/ui/src/lib/form.d.ts +95 -0
- package/dist/packages/ui/src/lib/index.d.ts +6 -0
- package/dist/packages/ui/src/lib/layout.d.ts +7 -0
- package/dist/packages/ui/src/lib/nested.d.ts +48 -0
- package/dist/packages/ui/src/lib/schema.d.ts +7 -0
- package/dist/packages/ui/src/lib/select.d.ts +8 -0
- package/dist/packages/ui/src/lib/tree.d.ts +9 -0
- package/dist/packages/ui/src/types.d.ts +5 -0
- package/dist/packages/ui/src/wrappers/index.d.ts +3 -0
- package/dist/parser.d.ts +31 -0
- package/dist/renamer.d.ts +37 -0
- package/dist/rollup.d.ts +51 -0
- package/dist/sites/learn/src/hooks.d.ts +1 -0
- package/dist/sites/learn/src/hooks.server.d.ts +2 -0
- package/dist/sites/learn/src/lib/index.d.ts +7 -0
- package/dist/sites/learn/src/lib/media.d.ts +13 -0
- package/dist/sites/learn/src/lib/paraglide/messages/en.d.ts +3 -0
- package/dist/sites/learn/src/lib/paraglide/messages/fr.d.ts +3 -0
- package/dist/sites/learn/src/lib/paraglide/messages/hi.d.ts +3 -0
- package/dist/sites/learn/src/lib/paraglide/messages.d.ts +5 -0
- package/dist/sites/learn/src/lib/paraglide/runtime.d.ts +52 -0
- package/dist/sites/learn/src/lib/stories/02-elements/01-list/03-mapping/src/data.d.ts +5 -0
- package/dist/sites/learn/src/lib/stories/02-elements/01-list/04-mixed/src/data.d.ts +13 -0
- package/dist/sites/learn/src/lib/stories/02-elements/02-tabs/04-fields/src/data.d.ts +5 -0
- package/dist/sites/learn/src/lib/stories/02-elements/02-tabs/05-using/src/data.d.ts +6 -0
- package/dist/sites/learn/src/lib/stories/02-elements/03-accordion/01-intro/src/data.d.ts +4 -0
- package/dist/sites/learn/src/lib/stories/02-elements/03-accordion/02-fields/src/data.d.ts +9 -0
- package/dist/sites/learn/src/lib/stories/02-elements/03-accordion/03-using/src/data.d.ts +19 -0
- package/dist/sites/learn/src/lib/stories/02-elements/03-accordion/04-mixed/src/data.d.ts +30 -0
- package/dist/sites/learn/src/lib/stories/02-elements/03-accordion/props.d.ts +15 -0
- package/dist/sites/learn/src/lib/stories/02-elements/04-tree/01-intro/src/data.d.ts +12 -0
- package/dist/sites/learn/src/lib/stories/02-elements/06-select/02-fields/src/data.d.ts +5 -0
- package/dist/sites/learn/src/lib/stories/02-elements/07-multi-select/02-fields/src/data.d.ts +5 -0
- package/dist/sites/learn/src/lib/stories/02-elements/08-drop-down/02-fields/src/data.d.ts +5 -0
- package/dist/sites/learn/src/lib/stories/05-templates/01-form/02-schema/src/schema.d.ts +22 -0
- package/dist/sites/learn/src/lib/stories/05-templates/01-form/03-layout/src/layout.d.ts +19 -0
- package/dist/sites/learn/src/lib/stories/05-templates/01-form/03-layout/src/schema.d.ts +36 -0
- package/dist/sites/learn/src/lib/stories/05-templates/01-form/05-validation/src/schema.d.ts +34 -0
- package/dist/sites/learn/src/lib/stories/05-templates/02-editor/01-introduction/src/data.d.ts +39 -0
- package/dist/sites/learn/src/lib/stories/05-templates/02-editor/01-introduction/src/schema.d.ts +187 -0
- package/dist/sites/learn/src/lib/stories/06-layout/03-stepper/01-intro/src/data.d.ts +37 -0
- package/dist/sites/learn/src/lib/stories/06-layout/03-stepper/02-play/src/data.d.ts +37 -0
- package/dist/sites/learn/src/lib/stories/index.d.ts +1 -0
- package/dist/sites/learn/src/lib/theme.svelte.d.ts +70 -0
- package/dist/sites/learn/src/routes/(learn)/+layout.d.ts +12 -0
- package/dist/sites/learn/src/routes/(learn)/[segment]/[...slug]/+page.d.ts +8 -0
- package/dist/sites/learn/src/routes/+layout.d.ts +18 -0
- package/dist/sites/quick-start/src/hooks.d.ts +1 -0
- package/dist/sites/quick-start/src/hooks.server.d.ts +2 -0
- package/dist/sites/quick-start/src/lib/index.d.ts +1 -0
- package/dist/sites/quick-start/src/lib/paraglide/messages/en.d.ts +3 -0
- package/dist/sites/quick-start/src/lib/paraglide/messages/fr.d.ts +3 -0
- package/dist/sites/quick-start/src/lib/paraglide/messages/hi.d.ts +3 -0
- package/dist/sites/quick-start/src/lib/paraglide/messages.d.ts +5 -0
- package/dist/sites/quick-start/src/lib/paraglide/runtime.d.ts +52 -0
- package/dist/sites/quick-start/src/routes/+layout.d.ts +9 -0
- package/dist/types.d.ts +346 -0
- package/dist/utils.d.ts +6 -0
- package/dist/view.d.ts +35 -0
- package/package.json +5 -6
package/dist/parser.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Constructs a regular expression pattern for matching search filter strings.
|
|
3
|
+
* The pattern captures "column", "operator", and "value" groups for filter expressions.
|
|
4
|
+
* Supported operators include common comparison and wildcard operators.
|
|
5
|
+
*
|
|
6
|
+
* Examples of valid expressions this regex can match:
|
|
7
|
+
* - "username:john_doe"
|
|
8
|
+
* - "age>30"
|
|
9
|
+
* - "status!=active"
|
|
10
|
+
* - "title~\"Product Manager\""
|
|
11
|
+
* - "completed!~*yes"
|
|
12
|
+
*
|
|
13
|
+
* The "column" group matches one or more word characters.
|
|
14
|
+
* The "operator" group matches one among the specified comparison or wildcard operators:
|
|
15
|
+
* :, >, <, >=, <=, =<, =>, =, !=, ~, ~*, !~, !~*.
|
|
16
|
+
* The "value" group matches either a double-quoted string or a single unquoted word
|
|
17
|
+
* that doesn't include whitespace or any of the operator characters.
|
|
18
|
+
*
|
|
19
|
+
* @returns {RegExp} - The regular expression pattern to identify search filter elements.
|
|
20
|
+
*/
|
|
21
|
+
export function getRegex(): RegExp;
|
|
22
|
+
/**
|
|
23
|
+
* Parses a search string and extracts filters based on a predefined regular expression pattern.
|
|
24
|
+
* Each filter captures column, operator, and value components. Any remaining text that
|
|
25
|
+
* does not fit the pattern is considered a general search term.
|
|
26
|
+
*
|
|
27
|
+
* @param {string} string - The search string to parse for filters.
|
|
28
|
+
* @returns {Object[]} - An array of filter objects each containing the column, operator, and value,
|
|
29
|
+
* plus an additional object for general search if there is remaining text.
|
|
30
|
+
*/
|
|
31
|
+
export function parseFilters(string: string): Object[];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A generator function that produces a function to rename keys.
|
|
3
|
+
*
|
|
4
|
+
* @param {OptionsToRenameKeys} options - Options to rename keys
|
|
5
|
+
* @returns {Object} - A renamer object.
|
|
6
|
+
*
|
|
7
|
+
* Example:
|
|
8
|
+
*
|
|
9
|
+
* renamer({ prefix: 'a', keys: ['a', 'b'] }).get()
|
|
10
|
+
* renamer({ prefix: 'a', separator: '-' }).get()
|
|
11
|
+
* renamer().setPrefix('a')
|
|
12
|
+
* .setSeparator('-')
|
|
13
|
+
* .setKeys(['a', 'b'])
|
|
14
|
+
* .get()
|
|
15
|
+
* renamer().setPrefix('a').get()
|
|
16
|
+
* renamer().setSuffix('b').get()
|
|
17
|
+
* renamer().setKeys(['a', 'b']).get()
|
|
18
|
+
*/
|
|
19
|
+
export function renamer(options?: OptionsToRenameKeys): Object;
|
|
20
|
+
export type OptionsToRenameKeys = {
|
|
21
|
+
/**
|
|
22
|
+
* - The prefix to add to the key.
|
|
23
|
+
*/
|
|
24
|
+
prefix?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* - The suffix to add to the key.
|
|
27
|
+
*/
|
|
28
|
+
suffix?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* - The separator to use between the key and the prefix or suffix.
|
|
31
|
+
*/
|
|
32
|
+
separator?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* - The keys to rename.
|
|
35
|
+
*/
|
|
36
|
+
keys?: any[] | undefined;
|
|
37
|
+
};
|
package/dist/rollup.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sets initial values for summaries.
|
|
3
|
+
*
|
|
4
|
+
* @param {Array} summaries - An array of summary objects.
|
|
5
|
+
* @returns {Object} An object with keys for each summary initialized to empty arrays.
|
|
6
|
+
*/
|
|
7
|
+
export function initialValues(summaries: any[]): Object;
|
|
8
|
+
/**
|
|
9
|
+
* Adds data to summary aggregation arrays.
|
|
10
|
+
*
|
|
11
|
+
* @param {Object} group - The group object to add data to.
|
|
12
|
+
* @param {Object} row - The data row being processed.
|
|
13
|
+
* @param {Array} summaries - An array of summary objects.
|
|
14
|
+
*/
|
|
15
|
+
export function addToSummaries(group: Object, row: Object, summaries: any[]): void;
|
|
16
|
+
/**
|
|
17
|
+
* Groups data by specified keys.
|
|
18
|
+
*
|
|
19
|
+
* @param {Array} data - An array of data points.
|
|
20
|
+
* @param {Array} groupByKeys - Keys to group the data by.
|
|
21
|
+
* @param {Array} summaries - An array of summary objects to define aggregation operations.
|
|
22
|
+
* @returns {Object} Grouped data object with aggregation placeholders.
|
|
23
|
+
*/
|
|
24
|
+
export function groupDataByKeys(data: any[], groupByKeys: any[], summaries: any[]): Object;
|
|
25
|
+
/**
|
|
26
|
+
* Fills grouped data with aligned data if specified in configuration.
|
|
27
|
+
*
|
|
28
|
+
* @param {Object} groupedData - The grouped data object.
|
|
29
|
+
* @param {Object} config - Configuration object containing alignment settings.
|
|
30
|
+
* @returns {Array} Aligned data array.
|
|
31
|
+
*/
|
|
32
|
+
export function fillAlignedData(groupedData: Object, config: Object, fillRowsFunc: any): any[];
|
|
33
|
+
/**
|
|
34
|
+
* Performs aggregation operations on grouped data.
|
|
35
|
+
*
|
|
36
|
+
* @param {Array} dataArray - An array of grouped data with aggregation arrays.
|
|
37
|
+
* @param {Array} summaries - An array of summary objects with reducer functions.
|
|
38
|
+
* @returns {Array} Aggregated data array with computed summary values.
|
|
39
|
+
*/
|
|
40
|
+
export function aggregateData(dataArray: any[], summaries: any[]): any[];
|
|
41
|
+
/**
|
|
42
|
+
* Creates a generator that produces missing rows in a dataset based on specified columns.
|
|
43
|
+
* The function determines all unique combinations of the specified columns in config.align_by
|
|
44
|
+
* and returns a generator function to create the missing combinations, potentially with default
|
|
45
|
+
* values for other columns.
|
|
46
|
+
* @param {Array<Object>} data - The array of objects representing the dataset.
|
|
47
|
+
* @param {Object} config - The configuration object.
|
|
48
|
+
*
|
|
49
|
+
* @returns {Function} A generator function that when called, produces the missing rows.
|
|
50
|
+
*/
|
|
51
|
+
export function getAlignGenerator(data: Array<Object>, config: Object): Function;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const reroute: any;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function watchMedia(breakpoints?: {
|
|
2
|
+
small: string;
|
|
3
|
+
medium: string;
|
|
4
|
+
large: string;
|
|
5
|
+
extraLarge: string;
|
|
6
|
+
short: string;
|
|
7
|
+
landscape: string;
|
|
8
|
+
tiny: string;
|
|
9
|
+
dark: string;
|
|
10
|
+
noanimations: string;
|
|
11
|
+
}): Record<string, MediaQuery>;
|
|
12
|
+
export const media: Record<string, MediaQuery>;
|
|
13
|
+
import { MediaQuery } from 'svelte/reactivity';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Check if something is an available language tag.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* if (isAvailableLanguageTag(params.locale)) {
|
|
6
|
+
* setLanguageTag(params.locale)
|
|
7
|
+
* } else {
|
|
8
|
+
* setLanguageTag("en")
|
|
9
|
+
* }
|
|
10
|
+
*
|
|
11
|
+
* @param {any} thing
|
|
12
|
+
* @returns {thing is AvailableLanguageTag}
|
|
13
|
+
*/
|
|
14
|
+
export function isAvailableLanguageTag(thing: any): thing is AvailableLanguageTag;
|
|
15
|
+
/**
|
|
16
|
+
* The project's source language tag.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* if (newlySelectedLanguageTag === sourceLanguageTag){
|
|
20
|
+
* // do nothing as the source language tag is the default language
|
|
21
|
+
* return
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
export const sourceLanguageTag: "en";
|
|
25
|
+
/**
|
|
26
|
+
* The project's available language tags.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* if (availableLanguageTags.includes(userSelectedLanguageTag) === false){
|
|
30
|
+
* throw new Error("Language tag not available")
|
|
31
|
+
* }
|
|
32
|
+
*/
|
|
33
|
+
export const availableLanguageTags: readonly ["en", "hi", "fr"];
|
|
34
|
+
/**
|
|
35
|
+
* Get the current language tag.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* if (languageTag() === "de"){
|
|
39
|
+
* console.log("Germany 🇩🇪")
|
|
40
|
+
* } else if (languageTag() === "nl"){
|
|
41
|
+
* console.log("Netherlands 🇳🇱")
|
|
42
|
+
* }
|
|
43
|
+
*
|
|
44
|
+
* @type {() => AvailableLanguageTag}
|
|
45
|
+
*/
|
|
46
|
+
export let languageTag: () => AvailableLanguageTag;
|
|
47
|
+
export function setLanguageTag(tag: AvailableLanguageTag | (() => AvailableLanguageTag)): void;
|
|
48
|
+
export function onSetLanguageTag(fn: (languageTag: AvailableLanguageTag) => void): void;
|
|
49
|
+
/**
|
|
50
|
+
* A language tag that is available in the project.
|
|
51
|
+
*/
|
|
52
|
+
export type AvailableLanguageTag = (typeof availableLanguageTags)[number];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const data: ({
|
|
2
|
+
name: string;
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
values: {
|
|
5
|
+
name: string;
|
|
6
|
+
photo: string;
|
|
7
|
+
source: string;
|
|
8
|
+
target: string;
|
|
9
|
+
}[];
|
|
10
|
+
} | {
|
|
11
|
+
name: string;
|
|
12
|
+
values: {
|
|
13
|
+
name: string;
|
|
14
|
+
photo: string;
|
|
15
|
+
source: string;
|
|
16
|
+
target: string;
|
|
17
|
+
}[];
|
|
18
|
+
isOpen?: undefined;
|
|
19
|
+
})[];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const data: ({
|
|
2
|
+
name: string;
|
|
3
|
+
_open: boolean;
|
|
4
|
+
values: ({
|
|
5
|
+
name: string;
|
|
6
|
+
photo: string;
|
|
7
|
+
description: string;
|
|
8
|
+
type: string;
|
|
9
|
+
} | {
|
|
10
|
+
name: string;
|
|
11
|
+
photo: string;
|
|
12
|
+
description: string;
|
|
13
|
+
type?: undefined;
|
|
14
|
+
})[];
|
|
15
|
+
} | {
|
|
16
|
+
name: string;
|
|
17
|
+
values: {
|
|
18
|
+
name: string;
|
|
19
|
+
photo: string;
|
|
20
|
+
description: string;
|
|
21
|
+
}[];
|
|
22
|
+
_open?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
name: string;
|
|
25
|
+
values: {
|
|
26
|
+
name: string;
|
|
27
|
+
photo: string;
|
|
28
|
+
}[];
|
|
29
|
+
_open?: undefined;
|
|
30
|
+
})[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const props: ({
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
purpose: string;
|
|
5
|
+
required: boolean;
|
|
6
|
+
example: string;
|
|
7
|
+
default?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
name: string;
|
|
10
|
+
type: string;
|
|
11
|
+
purpose: string;
|
|
12
|
+
required: boolean;
|
|
13
|
+
default: string;
|
|
14
|
+
example?: undefined;
|
|
15
|
+
})[];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export namespace schema {
|
|
2
|
+
let type: string;
|
|
3
|
+
namespace properties {
|
|
4
|
+
namespace name {
|
|
5
|
+
let type_1: string;
|
|
6
|
+
export { type_1 as type };
|
|
7
|
+
export let required: boolean;
|
|
8
|
+
}
|
|
9
|
+
namespace email {
|
|
10
|
+
let type_2: string;
|
|
11
|
+
export { type_2 as type };
|
|
12
|
+
let required_1: boolean;
|
|
13
|
+
export { required_1 as required };
|
|
14
|
+
}
|
|
15
|
+
namespace age {
|
|
16
|
+
let type_3: string;
|
|
17
|
+
export { type_3 as type };
|
|
18
|
+
export let min: number;
|
|
19
|
+
export let max: number;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export namespace layout {
|
|
2
|
+
let type: string;
|
|
3
|
+
let elements: ({
|
|
4
|
+
title: string;
|
|
5
|
+
type: string;
|
|
6
|
+
elements: {
|
|
7
|
+
label: string;
|
|
8
|
+
scope: string;
|
|
9
|
+
}[];
|
|
10
|
+
label?: undefined;
|
|
11
|
+
scope?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
label: string;
|
|
14
|
+
scope: string;
|
|
15
|
+
title?: undefined;
|
|
16
|
+
type?: undefined;
|
|
17
|
+
elements?: undefined;
|
|
18
|
+
})[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export namespace schema {
|
|
2
|
+
let type: string;
|
|
3
|
+
namespace properties {
|
|
4
|
+
namespace first_name {
|
|
5
|
+
let type_1: string;
|
|
6
|
+
export { type_1 as type };
|
|
7
|
+
export let required: boolean;
|
|
8
|
+
}
|
|
9
|
+
namespace last_name {
|
|
10
|
+
let type_2: string;
|
|
11
|
+
export { type_2 as type };
|
|
12
|
+
let required_1: boolean;
|
|
13
|
+
export { required_1 as required };
|
|
14
|
+
}
|
|
15
|
+
namespace gender {
|
|
16
|
+
let type_3: string;
|
|
17
|
+
export { type_3 as type };
|
|
18
|
+
let required_2: boolean;
|
|
19
|
+
export { required_2 as required };
|
|
20
|
+
export let options: {
|
|
21
|
+
id: string;
|
|
22
|
+
value: string;
|
|
23
|
+
}[];
|
|
24
|
+
export namespace fields {
|
|
25
|
+
let value: string;
|
|
26
|
+
let text: string;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
namespace age {
|
|
30
|
+
let type_4: string;
|
|
31
|
+
export { type_4 as type };
|
|
32
|
+
export let min: number;
|
|
33
|
+
export let max: number;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export const schema: ({
|
|
2
|
+
key: string;
|
|
3
|
+
label: string;
|
|
4
|
+
type: string;
|
|
5
|
+
description: string;
|
|
6
|
+
props: {
|
|
7
|
+
type: string;
|
|
8
|
+
items?: undefined;
|
|
9
|
+
rows?: undefined;
|
|
10
|
+
maxLength?: undefined;
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
key: string;
|
|
14
|
+
label: string;
|
|
15
|
+
type: string;
|
|
16
|
+
description: string;
|
|
17
|
+
props: {
|
|
18
|
+
items: string[];
|
|
19
|
+
type?: undefined;
|
|
20
|
+
rows?: undefined;
|
|
21
|
+
maxLength?: undefined;
|
|
22
|
+
};
|
|
23
|
+
} | {
|
|
24
|
+
key: string;
|
|
25
|
+
label: string;
|
|
26
|
+
type: string;
|
|
27
|
+
description: string;
|
|
28
|
+
props: {
|
|
29
|
+
type: string;
|
|
30
|
+
rows: number;
|
|
31
|
+
maxLength: number;
|
|
32
|
+
items?: undefined;
|
|
33
|
+
};
|
|
34
|
+
})[];
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export namespace data {
|
|
2
|
+
namespace tenant {
|
|
3
|
+
let name: string;
|
|
4
|
+
let industry: string;
|
|
5
|
+
let domain: null;
|
|
6
|
+
}
|
|
7
|
+
namespace services {
|
|
8
|
+
namespace identity {
|
|
9
|
+
let provider: string;
|
|
10
|
+
let url: string;
|
|
11
|
+
}
|
|
12
|
+
namespace storage {
|
|
13
|
+
let provider_1: string;
|
|
14
|
+
export { provider_1 as provider };
|
|
15
|
+
let url_1: string;
|
|
16
|
+
export { url_1 as url };
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
namespace modules {
|
|
20
|
+
namespace inventory {
|
|
21
|
+
let minimum_stock: number;
|
|
22
|
+
let restock_threshold: number;
|
|
23
|
+
let max_age: number;
|
|
24
|
+
}
|
|
25
|
+
namespace perishable {
|
|
26
|
+
let minimum_stock_1: number;
|
|
27
|
+
export { minimum_stock_1 as minimum_stock };
|
|
28
|
+
let restock_threshold_1: number;
|
|
29
|
+
export { restock_threshold_1 as restock_threshold };
|
|
30
|
+
let max_age_1: number;
|
|
31
|
+
export { max_age_1 as max_age };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
namespace instance {
|
|
35
|
+
let type: string;
|
|
36
|
+
let language: string;
|
|
37
|
+
let time_zone: string;
|
|
38
|
+
}
|
|
39
|
+
}
|