UNPKG

@bexis2/bexis2-rpm-ui

Version:

Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).

102 lines (101 loc) 2.61 kB
import type { listItemType } from '@bexis2/bexis2-core-ui'; export interface DataStructureModel { id: number; title: string; description: string; linkedTo: number[]; } export interface DataStructureCreationModel { entityId: number; title: string; description: string; file: string; delimeter: number; decimal: number; textMarker: number; fileEncoding: number; delimeters: listItemType[]; decimals: listItemType[]; textMarkers: listItemType[]; encodings: listItemType[]; preview: string[]; total: number; skipped: number; markers: markerType[]; variables: VariableInstanceModel[]; missingValues: missingValueType[]; } export interface DataStructureEditModel { id: number; title: string; description: string; preview: string[]; variables: VariableInstanceModel[]; missingValues: missingValueType[]; } export interface missingValueType { id: number; displayName: string; description: string; } export interface markerType { type: string; row: number; cells: boolean[]; } declare class VariableModel { id: number; name: string; description: string; systemType: string; dataType: listItemType | undefined | ''; unit: unitListItemType | undefined | ''; missingValues: missingValueType[]; meanings: listItemType[]; constraints: listItemType[]; approved: boolean; inUse: boolean; constructor(); } export declare class VariableTemplateModel extends VariableModel { constructor(); } export declare class VariableInstanceModel extends VariableModel { template: templateListItemType | undefined; isKey: boolean; isOptional: boolean; displayPattern: listItemType | undefined; possibleUnits: unitListItemType[]; possibleTemplates: templateListItemType[]; possibleDisplayPattern: listItemType[]; constructor(); } export interface unitListItemType extends listItemType { dataTypes: string[]; } export interface templateListItemType extends listItemType { description: string; dataType: string; dataTypes: string[]; unit: string; units: string[]; meanings: string[]; constraints: string[]; } export interface meaningListItemType extends listItemType { constraints: string[]; links: meaningEntryItemType[]; } export interface meaningEntryItemType { label: string; prefix: string; releation: string; link: string; } export interface dwcExtention { name: string; linkName: string; rowType: string; requiredFields: string[]; } export {};