/** Row metadata */ export type Meta = { readonly id: number; readonly created: Date; readonly creatorRef: number; readonly modified: Date; readonly modifierRef: number; }; /** * Metadata information for a data entity. */ export type SliceInfo = { /** Unique ID */ "id": number; /** Name of the entity */ "name": string; /** Category of the entity */ "category": string; /** Optional parent ID */ "parent"?: number; /** Optional role identifier */ "role"?: string | null; /** Author's user ID */ "author": number; /** Owner permissions */ "owner_perms": number; /** Connection string or identifier */ "connect": string; /** Source database name */ "source_db": string; /** Source table name */ "source_table": string; /** Source primary column */ "source_pcol": string; /** Optional primary column */ "pcol": string | null; /** Broken flag (0/1) */ "broken": number; /** Last modified date */ "modified": Date; /** Data fingerprint */ "fingerprint": string; /** Name of the author */ "author_name": string; /** * Additional metadata and presentation settings. */ "meta": { /** * Presentation and view configuration. */ "presentation": { /** Report type */ "reportType": string; /** Bold title flag */ "titleBold": number; /** Description text */ "description": string; /** Hide view button */ "hideView": number; /** Hide edit button */ "hideEdit": number; /** Hide add related button */ "hideAddRelated": number; /** Hide header */ "hideHeader": number; /** Hide header buttons */ "hideHeaderButtons": number; /** Hide header title */ "hideHeaderTitle": number; /** Hide add record button */ "hideAddRecord": number; /** Hide export button */ "hideExport": number; /** Hide subscribe button */ "hideSubscribe": number; /** Hide delete data button */ "hideDeleteData": number; /** Hide print button */ "hidePrint": number; /** Show description flag */ "showDescription": number; /** Hide on left navigation */ "hideOnLeftNav": number; /** Refresh interval in seconds, or null */ "refreshInterval": number | null; /** Auto-refresh flag */ "refreshAuto": number; /** Summary grid flag */ "summaryGrid": number; /** IDs to include in presentation */ "include_in": number[]; /** Gantt chart configuration */ "gantt": { /** Name of start date field */ "startDateField": string; /** Name of end date field */ "endDateField": string; /** Clock format */ "clockFormat": string; /** Y-axis field name */ "yAxis": string; /** Label for gantt chart */ "label": string; /** Value for period */ "periodValue": number; /** Start value (number) */ "startValue": number; }; /** Calendar configuration */ "calendar": { /** Start time attribute */ "startTimeAttr": string; /** All-day event flag */ "allDay": number; /** End time attribute */ "endTimeAttr": string; /** Event summary attribute */ "summaryAttr": string; /** Show label time flag */ "showLabelTime": number; /** First day of week (0=Sun) */ "firstDayOfWeek": number; /** Date interval string */ "dateInterval": string; /** Action on row click */ "onRowClick": string; /** Open row click in new tab */ "onRowClickNewTab": number; /** Action for empty row click */ "onEmptyRowClick": string; /** Enable color backfill */ "colorBackfill": number; }; /** Chart configuration */ "chart": { /** Chart subtitle */ "subtitle": string; /** Data expression */ "expression": string; }; /** Pie chart options */ "pie": { /** Pie subtitle */ "subtitle": string; /** Show total in subtitle */ "subtitleIncludeTotal": number; /** Decimal places */ "decimalPlaces": number; /** Outer label config */ "outer": { /** Label text */ "label": string; /** Show percent value */ "showPercent": number; /** Show count value */ "showCount": number; /** Show total value */ "showTotal": number; }; /** Tooltip config */ "tooltip": { /** Tooltip label */ "label": string; /** Show percent in tooltip */ "showPercent": number; /** Show count in tooltip */ "showCount": number; /** Show total in tooltip */ "showTotal": number; }; }; /** Graph configuration */ "graph": { /** Graph header info */ "header": { /** Graph title */ "title": string; /** X summary */ "xSummary": string; /** Y summary */ "ySummary": string; /** Summary expression */ "summaryExpr": string; /** Total count */ "count": number; }; /** Graph type */ "type": string; /** X axis field */ "x": string; /** X-axis aggregation */ "xAggregate": string; /** Y axis field */ "y": string; /** Y-axis aggregation */ "yAggregate": string; /** Y axis currency flag */ "yCurrency": number; /** Y axis precision */ "yPrecision": number; /** Angle for the chart */ "angle": string; /** Depth value */ "depth": number; /** Random fill flag */ "randomizeFill": number; }; /** Zone map settings */ "zoneMap": { /** Key field */ "keyField": string; /** Rotation (nullable) */ "rotate": null; /** Zone expression */ "expression": string; /** Hover action */ "onHoverAction": string; /** Hover template HTML */ "hoverTemplate": string; /** Custom CSS */ "css": string; /** Custom HTML */ "html": string; /** X ratio (nullable) */ "ratioX": null; /** Y ratio (nullable) */ "ratioY": null; }; /** Map display settings */ "map": { /** Refresh rate */ "refreshrate": number; /** Clear markers flag */ "clearmarkers": number; /** Center coordinates */ "center": string; /** Auto-fit markers flag */ "autoFitMarkers": number; /** Map zoom level */ "zoom": number; /** Latitude field */ "latfield": string; /** Longitude field */ "longfield": string; /** Address field */ "addressfield": string; /** Show directions flag */ "showDirections": number; /** Optimize route flag */ "optimizeRoute": number; }; /** Pivot table settings */ "pivot": { /** Column field */ "column": string; /** Key field */ "key": string; /** Cell value */ "cell": string; }; /** * Settings for each field. */ "fields": { [key: string]: { /** Allow other values */ allowOther?: boolean; /** Append mode flag */ append?: boolean; /** Change case setting */ changecase?: string | 'normal'; /** CSS classes */ css?: string; /** Default value */ defaultValue?: string; /** Type for default value */ defaultValueType?: string; /** Description */ description?: string; /** Disallow duplicate */ doNotDuplicate?: boolean; /** Grid display options */ grid?: { /** Column order index */ columnOrder: number; /** Column width */ width: number; }; /** Hide field flag */ hide?: boolean; /** Additional hint text */ hint?: string; /** Field ID */ id?: string; /** Label alignment */ labelAlign?: 'Left' | 'Right' | 'Center'; /** Label width */ labelWidth?: string; /** Maximum size */ maxsize?: string; /** Field name */ name?: string; /** New line flag */ newLine?: boolean; /** Allowed options */ options?: string[]; /** Order index */ order?: number; /** Password field flag */ password?: boolean; /** Column protected flag */ protectedColumn?: boolean; /** Query ID */ qid?: number; /** Readonly flag */ readonly?: boolean; /** Report label */ reportLabel?: string; /** Required flag */ required?: boolean; /** Selected value */ selected?: string; /** Show audit flag */ showAudit?: boolean; /** Shrink flag */ shrink?: boolean; /** Size constraint */ size?: string; /** Special type */ special?: string | 'None'; /** Spread columns value */ spreadCols?: string; /** Custom style */ style?: string; /** Field text */ text?: string; /** Field type */ type?: 'boolean' | 'string' | 'string[]' | 'number' | 'Date'; /** Enforce unique values */ unique?: boolean; /** Validation rule */ validation?: string | 'None'; }; }; /** Grid styling settings */ "grid": { /** Total rows */ "totals": string[]; /** Cell color settings */ "cellColor": string[]; /** Row color settings */ "rowColor": string[]; }; /** Export settings */ "export": { /** File name */ "fileName": string; /** Value delimiter */ "delimiter": string; /** Date format */ "dateFormat": string; /** Time format */ "timeFormat": string; /** Date/time format */ "dateTimeFormat": string; /** Text enclosure character */ "enclosure": string; /** First row as labels flag */ "firstRowLabels": number; /** Remove special characters */ "removeSpecialsCharacters": number; /** Pretty print relations */ "prettyRelations": number; /** Include raw with prettys flag */ "includeRawWithPrettys": number; }; }; /** Metadata last modified (timestamp) */ "modified": number; /** Field mixins (IDs) */ "mixinFids": number[]; }; /** * Parameters for field IDs. */ "fid_params": { /** Field configs */ "fields": { [key: string]: [string, any]; }; /** Group by fields */ "group": string[] | null; /** Order by fields */ "order": string[] | null; /** Where filters */ "where": string[] | null; }; /** * Query parameters. */ "query_params": { /** Query fields */ "fields": { [key: string]: [string, any]; }; /** Group by fields */ "group": string[] | null; /** Order by fields */ "order": string[] | null; /** Where filters */ "where": string[] | null; }; /** * Primary query. */ "query": { /** Query fields */ "fields": { [key: string]: [string, any]; }; /** Main table reference */ "tables": { "self": string; }; /** Join relations */ "join": string | string[] | null; }; /** * Query settings for members. */ "query_members": { /** Fields for member queries */ "fields": { [key: string]: [string, any]; }; /** Group by fields */ "group": string | string[] | null; /** Order by fields */ "order": string | string[] | null; /** Member tables */ "tables": { "self": string; }; /** Join relations */ "join": string | string[]; /** Where filters */ "where": string | string[] | null; }; /** Typescript type definitions */ types: { /** Property name */ key: string; /** Value options */ options?: string[]; /** Readonly value */ readonly: boolean; /** Required value */ required: boolean; /** Typescript type */ type: string; }[]; }; //# sourceMappingURL=meta.d.ts.map