@dforge-core/metadata 0.0.11 → 0.0.13
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/CHANGELOG.md +49 -0
- package/dist/index.d.ts +1221 -28
- package/dist/index.js +418 -32
- package/dist/index.js.map +1 -1
- package/package.json +6 -4
- package/schemas/data_views.schema.json +16 -3
- package/schemas/entity.schema.json +2 -2
- package/schemas/folders.schema.json +18 -2
- package/schemas/reports.schema.json +18 -2
- package/schemas/triggers.schema.json +1 -1
- package/src/filter.ts +35 -3
- package/src/index.ts +9 -1
- package/src/traits.ts +6 -6
- package/dist/actions.d.ts +0 -31
- package/dist/actions.d.ts.map +0 -1
- package/dist/actions.js +0 -7
- package/dist/actions.js.map +0 -1
- package/dist/aggregation.d.ts +0 -13
- package/dist/aggregation.d.ts.map +0 -1
- package/dist/aggregation.js +0 -17
- package/dist/aggregation.js.map +0 -1
- package/dist/base-datatypes.d.ts +0 -5
- package/dist/base-datatypes.d.ts.map +0 -1
- package/dist/base-datatypes.js +0 -49
- package/dist/base-datatypes.js.map +0 -1
- package/dist/column-types.d.ts +0 -5
- package/dist/column-types.d.ts.map +0 -1
- package/dist/column-types.js +0 -18
- package/dist/column-types.js.map +0 -1
- package/dist/data-views.d.ts +0 -95
- package/dist/data-views.d.ts.map +0 -1
- package/dist/data-views.js +0 -18
- package/dist/data-views.js.map +0 -1
- package/dist/deps.d.ts +0 -55
- package/dist/deps.d.ts.map +0 -1
- package/dist/deps.js +0 -23
- package/dist/deps.js.map +0 -1
- package/dist/derive.d.ts +0 -19
- package/dist/derive.d.ts.map +0 -1
- package/dist/derive.js +0 -68
- package/dist/derive.js.map +0 -1
- package/dist/domains.d.ts +0 -32
- package/dist/domains.d.ts.map +0 -1
- package/dist/domains.js +0 -10
- package/dist/domains.js.map +0 -1
- package/dist/entity-meta.d.ts +0 -18
- package/dist/entity-meta.d.ts.map +0 -1
- package/dist/entity-meta.js +0 -45
- package/dist/entity-meta.js.map +0 -1
- package/dist/entity.d.ts +0 -116
- package/dist/entity.d.ts.map +0 -1
- package/dist/entity.js +0 -7
- package/dist/entity.js.map +0 -1
- package/dist/field-types.d.ts +0 -287
- package/dist/field-types.d.ts.map +0 -1
- package/dist/field-types.js +0 -58
- package/dist/field-types.js.map +0 -1
- package/dist/filter.d.ts +0 -26
- package/dist/filter.d.ts.map +0 -1
- package/dist/filter.js +0 -7
- package/dist/filter.js.map +0 -1
- package/dist/folders.d.ts +0 -32
- package/dist/folders.d.ts.map +0 -1
- package/dist/folders.js +0 -6
- package/dist/folders.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/jobs.d.ts +0 -32
- package/dist/jobs.d.ts.map +0 -1
- package/dist/jobs.js +0 -3
- package/dist/jobs.js.map +0 -1
- package/dist/manifest.d.ts +0 -53
- package/dist/manifest.d.ts.map +0 -1
- package/dist/manifest.js +0 -4
- package/dist/manifest.js.map +0 -1
- package/dist/menus.d.ts +0 -32
- package/dist/menus.d.ts.map +0 -1
- package/dist/menus.js +0 -3
- package/dist/menus.js.map +0 -1
- package/dist/print-templates.d.ts +0 -36
- package/dist/print-templates.d.ts.map +0 -1
- package/dist/print-templates.js +0 -4
- package/dist/print-templates.js.map +0 -1
- package/dist/reports.d.ts +0 -84
- package/dist/reports.d.ts.map +0 -1
- package/dist/reports.js +0 -24
- package/dist/reports.js.map +0 -1
- package/dist/roles.d.ts +0 -10
- package/dist/roles.d.ts.map +0 -1
- package/dist/roles.js +0 -3
- package/dist/roles.js.map +0 -1
- package/dist/seed-data.d.ts +0 -8
- package/dist/seed-data.d.ts.map +0 -1
- package/dist/seed-data.js +0 -4
- package/dist/seed-data.js.map +0 -1
- package/dist/settings.d.ts +0 -26
- package/dist/settings.d.ts.map +0 -1
- package/dist/settings.js +0 -3
- package/dist/settings.js.map +0 -1
- package/dist/traits.d.ts +0 -14
- package/dist/traits.d.ts.map +0 -1
- package/dist/traits.js +0 -121
- package/dist/traits.js.map +0 -1
- package/dist/triggers.d.ts +0 -28
- package/dist/triggers.d.ts.map +0 -1
- package/dist/triggers.js +0 -3
- package/dist/triggers.js.map +0 -1
- package/dist/types.d.ts +0 -128
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -7
- package/dist/types.js.map +0 -1
- package/dist/webhooks.d.ts +0 -31
- package/dist/webhooks.d.ts.map +0 -1
- package/dist/webhooks.js +0 -3
- package/dist/webhooks.js.map +0 -1
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/** Page margins (CSS lengths, e.g. '15mm'). */
|
|
2
|
-
export interface PrintMargins {
|
|
3
|
-
top?: string;
|
|
4
|
-
right?: string;
|
|
5
|
-
bottom?: string;
|
|
6
|
-
left?: string;
|
|
7
|
-
}
|
|
8
|
-
/** Default page geometry applied when printing from the UI. */
|
|
9
|
-
export interface PrintPageSettings {
|
|
10
|
-
size?: "A4" | "letter" | "legal";
|
|
11
|
-
orientation?: "portrait" | "landscape";
|
|
12
|
-
margins?: PrintMargins;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* A print template or snippet (value in the print_templates map).
|
|
16
|
-
* `type: 'template'` (default) is entity-bound; `type: 'snippet'` is a
|
|
17
|
-
* module-scoped Liquid partial included via {% include 'module.snippet' %}.
|
|
18
|
-
* Either `file` or `template` must be set (`file` wins when both are present).
|
|
19
|
-
*/
|
|
20
|
-
export interface PrintTemplateDef {
|
|
21
|
-
type?: "template" | "snippet";
|
|
22
|
-
/** Entity code rendered. Required for templates; ignored for snippets. */
|
|
23
|
-
entityCd?: string;
|
|
24
|
-
/** Human-readable label shown in the print menu. */
|
|
25
|
-
description?: string;
|
|
26
|
-
/** Inline Liquid HTML. */
|
|
27
|
-
template?: string;
|
|
28
|
-
/** Relative path under the module's `print_templates/` directory. */
|
|
29
|
-
file?: string;
|
|
30
|
-
/** Inline CSS, or a `.css` filename resolved relative to `print_templates/`. */
|
|
31
|
-
css?: string;
|
|
32
|
-
pageSettings?: PrintPageSettings;
|
|
33
|
-
}
|
|
34
|
-
/** A `ui/print_templates.json` file: template_cd → definition. */
|
|
35
|
-
export type PrintTemplatesFile = Record<string, PrintTemplateDef>;
|
|
36
|
-
//# sourceMappingURL=print-templates.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"print-templates.d.ts","sourceRoot":"","sources":["../src/print-templates.ts"],"names":[],"mappings":"AAGA,+CAA+C;AAC/C,MAAM,WAAW,YAAY;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,+DAA+D;AAC/D,MAAM,WAAW,iBAAiB;IACjC,IAAI,CAAC,EAAE,IAAI,GAAG,QAAQ,GAAG,OAAO,CAAC;IACjC,WAAW,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;IACvC,OAAO,CAAC,EAAE,YAAY,CAAC;CACvB;AAED;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAChC,IAAI,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAC9B,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gFAAgF;IAChF,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,iBAAiB,CAAC;CACjC;AAED,kEAAkE;AAClE,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC"}
|
package/dist/print-templates.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"print-templates.js","sourceRoot":"","sources":["../src/print-templates.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,yCAAyC"}
|
package/dist/reports.d.ts
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import type { Filter, SortClause } from "./filter";
|
|
2
|
-
import type { NamedKind } from "./types";
|
|
3
|
-
/** Report visualization types. Source: reports.schema.json (`vizType`). */
|
|
4
|
-
export type VizType = "table" | "chart" | "metric" | "pivot";
|
|
5
|
-
/** Friendly picker list of report visualization types. */
|
|
6
|
-
export declare const vizTypes: readonly NamedKind[];
|
|
7
|
-
/** Chart kinds used by report `config.chartType` (curated; rendered via Chart.js). */
|
|
8
|
-
export declare const chartTypes: readonly NamedKind[];
|
|
9
|
-
/** A report parameter definition (report- or dataset-level). */
|
|
10
|
-
export interface ParamDef {
|
|
11
|
-
/** Field type code (see settings for the common list). */
|
|
12
|
-
fieldTypeCd: string;
|
|
13
|
-
label?: string;
|
|
14
|
-
/** Display order in the parameter form (falls back to declaration order). */
|
|
15
|
-
orderNum?: number;
|
|
16
|
-
/** Whether the user must provide a value. */
|
|
17
|
-
required?: boolean;
|
|
18
|
-
/** Alternate spelling of `required` used by some modules. Prefer `required`. */
|
|
19
|
-
isRequired?: boolean;
|
|
20
|
-
/** Default value applied when the user doesn't provide one. */
|
|
21
|
-
default?: unknown;
|
|
22
|
-
/** Entity link for lookup-type params. */
|
|
23
|
-
link?: {
|
|
24
|
-
entity: string;
|
|
25
|
-
otherKey?: string;
|
|
26
|
-
};
|
|
27
|
-
/** Field-type-specific params. */
|
|
28
|
-
params?: Record<string, unknown>;
|
|
29
|
-
}
|
|
30
|
-
/** SQL/entity query for a `datasetType: 'Q'` dataset. */
|
|
31
|
-
export interface ReportQuery {
|
|
32
|
-
/** Source entity code. */
|
|
33
|
-
entityCd: string;
|
|
34
|
-
/** Column codes to select (supports dot navigation: 'customer.name'). */
|
|
35
|
-
columns?: string[];
|
|
36
|
-
filter?: Filter;
|
|
37
|
-
sort?: SortClause[];
|
|
38
|
-
}
|
|
39
|
-
/** Per-column metadata override on a dataset. */
|
|
40
|
-
export interface ColumnDef {
|
|
41
|
-
label?: string;
|
|
42
|
-
visible?: boolean;
|
|
43
|
-
width?: number;
|
|
44
|
-
}
|
|
45
|
-
/** A report dataset (value in the report's `datasets` map). */
|
|
46
|
-
export interface Dataset {
|
|
47
|
-
/** Display label (used in panel headings if no `title`). */
|
|
48
|
-
caption?: string;
|
|
49
|
-
/** Q = SQL/entity query, S = stored procedure. */
|
|
50
|
-
datasetType: "Q" | "S";
|
|
51
|
-
/** Used when `datasetType` is 'Q'. */
|
|
52
|
-
query?: ReportQuery;
|
|
53
|
-
/** Used when `datasetType` is 'S'. */
|
|
54
|
-
procedureName?: string;
|
|
55
|
-
/** Optional column metadata overrides: field code → override. */
|
|
56
|
-
columnsDef?: Record<string, ColumnDef>;
|
|
57
|
-
/** Dataset-level parameters (alternative to report-level `parameters`). */
|
|
58
|
-
params?: Record<string, ParamDef>;
|
|
59
|
-
}
|
|
60
|
-
/** A single visualization panel within the report layout. */
|
|
61
|
-
export interface ReportPanel {
|
|
62
|
-
vizType: VizType;
|
|
63
|
-
/** Dataset code (key in the report's `datasets` map). */
|
|
64
|
-
datasetCd: string;
|
|
65
|
-
title?: string;
|
|
66
|
-
/** Viz-type-specific config (chart → { chartType, categoryCol, … }). */
|
|
67
|
-
config?: Record<string, unknown>;
|
|
68
|
-
}
|
|
69
|
-
export interface ReportLayout {
|
|
70
|
-
panels: ReportPanel[];
|
|
71
|
-
}
|
|
72
|
-
/** A single report (value in the `ui/reports.json` map). */
|
|
73
|
-
export interface ReportDef {
|
|
74
|
-
/** Human-readable report title. */
|
|
75
|
-
description: string;
|
|
76
|
-
layout: ReportLayout;
|
|
77
|
-
/** Dataset code → dataset definition. */
|
|
78
|
-
datasets: Record<string, Dataset>;
|
|
79
|
-
/** Report-level parameters (alternative to per-dataset `params`). */
|
|
80
|
-
parameters?: Record<string, ParamDef>;
|
|
81
|
-
}
|
|
82
|
-
/** A `ui/reports.json` file: report code → definition. */
|
|
83
|
-
export type ReportsFile = Record<string, ReportDef>;
|
|
84
|
-
//# sourceMappingURL=reports.d.ts.map
|
package/dist/reports.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reports.d.ts","sourceRoot":"","sources":["../src/reports.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,2EAA2E;AAC3E,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE7D,0DAA0D;AAC1D,eAAO,MAAM,QAAQ,EAAE,SAAS,SAAS,EAK/B,CAAC;AAEX,sFAAsF;AACtF,eAAO,MAAM,UAAU,EAAE,SAAS,SAAS,EAUjC,CAAC;AAEX,gEAAgE;AAChE,MAAM,WAAW,QAAQ;IACxB,0DAA0D;IAC1D,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gFAAgF;IAChF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+DAA+D;IAC/D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0CAA0C;IAC1C,IAAI,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7C,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC;AAED,yDAAyD;AACzD,MAAM,WAAW,WAAW;IAC3B,0BAA0B;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,CAAC,EAA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M,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC"}
|
package/dist/reports.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// Report registries + the authoring shape of a `ui/reports.json` file.
|
|
2
|
-
//
|
|
3
|
-
// `vizTypes` / `chartTypes` are the friendly picker lists; `ReportDef` and
|
|
4
|
-
// friends mirror reports.schema.json so editors/MCP/CLI can build reports.
|
|
5
|
-
/** Friendly picker list of report visualization types. */
|
|
6
|
-
export const vizTypes = [
|
|
7
|
-
{ cd: "table", name: "Table" },
|
|
8
|
-
{ cd: "chart", name: "Chart" },
|
|
9
|
-
{ cd: "metric", name: "Metric" },
|
|
10
|
-
{ cd: "pivot", name: "Pivot" },
|
|
11
|
-
];
|
|
12
|
-
/** Chart kinds used by report `config.chartType` (curated; rendered via Chart.js). */
|
|
13
|
-
export const chartTypes = [
|
|
14
|
-
{ cd: "bar", name: "Bar" },
|
|
15
|
-
{ cd: "line", name: "Line" },
|
|
16
|
-
{ cd: "area", name: "Area" },
|
|
17
|
-
{ cd: "pie", name: "Pie" },
|
|
18
|
-
{ cd: "donut", name: "Donut" },
|
|
19
|
-
{ cd: "scatter", name: "Scatter" },
|
|
20
|
-
{ cd: "bubble", name: "Bubble" },
|
|
21
|
-
{ cd: "heatmap", name: "Heatmap" },
|
|
22
|
-
{ cd: "funnel", name: "Funnel" },
|
|
23
|
-
];
|
|
24
|
-
//# sourceMappingURL=reports.js.map
|
package/dist/reports.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reports.js","sourceRoot":"","sources":["../src/reports.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,EAAE;AACF,2EAA2E;AAC3E,2EAA2E;AAQ3E,0DAA0D;AAC1D,MAAM,CAAC,MAAM,QAAQ,GAAyB;IAC7C,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE;IAC9B,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE;IAC9B,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;IAChC,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE;CACrB,CAAC;AAEX,sFAAsF;AACtF,MAAM,CAAC,MAAM,UAAU,GAAyB;IAC/C,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE;IAC1B,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE;IAC5B,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE;IAC5B,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE;IAC1B,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE;IAC9B,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;IAClC,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;IAChC,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;IAClC,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;CACvB,CAAC"}
|
package/dist/roles.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/** A role with its entity rights (value in the roles map). */
|
|
2
|
-
export interface RoleDef {
|
|
3
|
-
/** Role display name. */
|
|
4
|
-
description: string;
|
|
5
|
-
/** Entity code → rights string. Rights: S/I/U/D/C/E (pattern ^[SIUDCE]*$). */
|
|
6
|
-
rights: Record<string, string>;
|
|
7
|
-
}
|
|
8
|
-
/** A `roles.json` file: role code → definition. */
|
|
9
|
-
export type RolesFile = Record<string, RoleDef>;
|
|
10
|
-
//# sourceMappingURL=roles.d.ts.map
|
package/dist/roles.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../src/roles.ts"],"names":[],"mappings":"AAEA,8DAA8D;AAC9D,MAAM,WAAW,OAAO;IACvB,yBAAyB;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,8EAA8E;IAC9E,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/B;AAED,mDAAmD;AACnD,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC"}
|
package/dist/roles.js
DELETED
package/dist/roles.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"roles.js","sourceRoot":"","sources":["../src/roles.ts"],"names":[],"mappings":"AAAA,iFAAiF"}
|
package/dist/seed-data.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** A seed-data file: records to insert into one entity. */
|
|
2
|
-
export interface SeedDataFile {
|
|
3
|
-
/** Target entity code. */
|
|
4
|
-
entityCode: string;
|
|
5
|
-
/** Records to insert; each is a `column_code → value` map. */
|
|
6
|
-
records: Record<string, unknown>[];
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=seed-data.d.ts.map
|
package/dist/seed-data.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"seed-data.d.ts","sourceRoot":"","sources":["../src/seed-data.ts"],"names":[],"mappings":"AAGA,2DAA2D;AAC3D,MAAM,WAAW,YAAY;IAC5B,0BAA0B;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;CACnC"}
|
package/dist/seed-data.js
DELETED
package/dist/seed-data.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"seed-data.js","sourceRoot":"","sources":["../src/seed-data.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,mCAAmC"}
|
package/dist/settings.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/** Underlying primitive datatype for a setting. */
|
|
2
|
-
export type SettingBaseDatatype = "string" | "number" | "bool" | "date" | "dateTime" | "time" | "json";
|
|
3
|
-
/** A single setting definition (value in the settings map). */
|
|
4
|
-
export interface SettingDef {
|
|
5
|
-
/** Field type code (must match a `dforge.field_type` code). */
|
|
6
|
-
fieldTypeCd: string;
|
|
7
|
-
/** Underlying primitive datatype (older settings declare this explicitly). */
|
|
8
|
-
baseDatatypeCd?: SettingBaseDatatype;
|
|
9
|
-
/** Display label (preferred for new settings). */
|
|
10
|
-
label?: string;
|
|
11
|
-
/** Display label (older style). Prefer `label`. */
|
|
12
|
-
description?: string;
|
|
13
|
-
/** Alternative older label key. Prefer `label`. */
|
|
14
|
-
desc?: string;
|
|
15
|
-
/** Default value before the user sets one. */
|
|
16
|
-
defaultValue?: unknown;
|
|
17
|
-
/** Formula to evaluate the default (alternative to `defaultValue`). */
|
|
18
|
-
formula?: string;
|
|
19
|
-
/** If true, must be set somewhere in the folder chain for install to proceed. */
|
|
20
|
-
required?: boolean;
|
|
21
|
-
/** Field-type-specific parameters (dropdown options, min/max, lookup link, …). */
|
|
22
|
-
params?: Record<string, unknown>;
|
|
23
|
-
}
|
|
24
|
-
/** A `settings.json` file: setting code → definition. */
|
|
25
|
-
export type SettingsFile = Record<string, SettingDef>;
|
|
26
|
-
//# sourceMappingURL=settings.d.ts.map
|
package/dist/settings.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAEA,mDAAmD;AACnD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvG,+DAA+D;AAC/D,MAAM,WAAW,UAAU;IAC1B,+DAA+D;IAC/D,WAAW,EAAE,MAAM,CAAC;IACpB,8EAA8E;IAC9E,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mDAAmD;IACnD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uEAAuE;IACvE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iFAAiF;IACjF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC;AAED,yDAAyD;AACzD,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC"}
|
package/dist/settings.js
DELETED
package/dist/settings.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAAA,wFAAwF"}
|
package/dist/traits.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { FieldDef, TraitDef } from "./types";
|
|
2
|
-
export declare const traits: readonly TraitDef[];
|
|
3
|
-
/** Look up a trait by code. */
|
|
4
|
-
export declare function getTrait(cd: string): TraitDef | undefined;
|
|
5
|
-
/**
|
|
6
|
-
* Expand a trait (and any traits it includes) into the concrete fields it adds
|
|
7
|
-
* for `entityName`, with `{entity}` / `{Entity}` tokens resolved. Returns an
|
|
8
|
-
* empty object for unknown or marker traits. Field order follows include-depth
|
|
9
|
-
* first, then declaration order; later definitions win on key collisions.
|
|
10
|
-
*/
|
|
11
|
-
export declare function expandTrait(traitCd: string, entityName: string): Record<string, FieldDef>;
|
|
12
|
-
/** Expand several traits in order into one merged field map. */
|
|
13
|
-
export declare function expandTraits(traitCds: readonly string[], entityName: string): Record<string, FieldDef>;
|
|
14
|
-
//# sourceMappingURL=traits.d.ts.map
|
package/dist/traits.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"traits.d.ts","sourceRoot":"","sources":["../src/traits.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,MAAM,EAAE,SAAS,QAAQ,EA2D5B,CAAC;AAIX,+BAA+B;AAC/B,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAEzD;AA4BD;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CASzF;AAED,gEAAgE;AAChE,wBAAgB,YAAY,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAItG"}
|
package/dist/traits.js
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
// Trait registry — mirror of
|
|
2
|
-
// server/database/system-modules/metadata/traits.json
|
|
3
|
-
//
|
|
4
|
-
// Traits are authoring shortcuts: adding one to an entity injects a fixed set of
|
|
5
|
-
// fields (and sometimes references) at install time. The visual editor offers
|
|
6
|
-
// these as checkboxes and previews the expanded fields, so authors never
|
|
7
|
-
// hand-write `created_date` / `{entity}_id` etc.
|
|
8
|
-
export const traits = [
|
|
9
|
-
{
|
|
10
|
-
cd: "identity",
|
|
11
|
-
description: "Primary Key",
|
|
12
|
-
fields: {
|
|
13
|
-
"{entity}_id": { dbDatatype: "cuid", flags: "I", isPk: true, isIdentity: true, isNullable: false, orderNum: 1, description: "{Entity} ID" },
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
cd: "audit",
|
|
18
|
-
description: "Creation and update timestamps",
|
|
19
|
-
fields: {
|
|
20
|
-
created_date: { dbDatatype: "timestamptz", fieldTypeCd: "datetime", flags: "I", isNullable: false, orderNum: 9901, description: "Created Date", params: { serverDefault: { value: "now()", on: "insert" } } },
|
|
21
|
-
last_updated: { dbDatatype: "timestamptz", fieldTypeCd: "datetime", flags: "I", isNullable: false, orderNum: 9902, description: "Last Updated", params: { serverDefault: { value: "now()", on: "save" } } },
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
cd: "audit-full",
|
|
26
|
-
description: "Full audit with user tracking",
|
|
27
|
-
includes: ["audit"],
|
|
28
|
-
fields: {
|
|
29
|
-
created_by: { dbDatatype: "cuid", flags: "I", isNullable: false, orderNum: 9903, description: "Created By User ID", params: { serverDefault: { value: "currentUser()", on: "insert" } } },
|
|
30
|
-
created_by_user: { columnType: "R", fieldTypeCd: "lookup", flags: "I", orderNum: 9904, description: "Created By", link: { entity: "user", thisKey: "created_by", otherKey: "user_id" } },
|
|
31
|
-
last_updated_by: { dbDatatype: "cuid", flags: "I", isNullable: false, orderNum: 9905, description: "Last Updated By User ID", params: { serverDefault: { value: "currentUser()", on: "save" } } },
|
|
32
|
-
last_updated_by_user: { columnType: "R", fieldTypeCd: "lookup", flags: "I", orderNum: 9906, description: "Last Updated By", link: { entity: "user", thisKey: "last_updated_by", otherKey: "user_id" } },
|
|
33
|
-
},
|
|
34
|
-
references: {
|
|
35
|
-
"FK_{Entity}_CreatedBy": { from: { field: "created_by" }, to: { entity: "user", field: "user_id" } },
|
|
36
|
-
"FK_{Entity}_LastUpdatedBy": { from: { field: "last_updated_by" }, to: { entity: "user", field: "user_id" } },
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
cd: "soft-delete",
|
|
41
|
-
description: "Soft delete flag",
|
|
42
|
-
fields: {
|
|
43
|
-
active: { dbDatatype: "bool", fieldTypeCd: "checkbox", flags: "", isNullable: false, formula: "true", orderNum: 9910, description: "Active" },
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
cd: "sorting",
|
|
48
|
-
description: "Display order",
|
|
49
|
-
fields: {
|
|
50
|
-
order_num: { dbDatatype: "int4", fieldTypeCd: "number", flags: "VEM", orderNum: 9920, description: "Order" },
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
{ cd: "postable", description: "Document posting support (marker trait — actual state managed by A/L columns)", fields: {} },
|
|
54
|
-
{ cd: "accumulation", description: "Accumulation register (marker trait — config in A-type column params)", fields: {} },
|
|
55
|
-
{ cd: "ledger", description: "Double-entry ledger (marker trait — config in L-type column params)", fields: {} },
|
|
56
|
-
{
|
|
57
|
-
cd: "period",
|
|
58
|
-
description: "Period entity with key format, closed flag, date range",
|
|
59
|
-
fields: {
|
|
60
|
-
period_key: { dbDatatype: "varchar", fieldTypeCd: "text", flags: "VEM", isPk: true, isNullable: false, maxLen: 20, orderNum: 1, description: "Period Key" },
|
|
61
|
-
description: { dbDatatype: "varchar", fieldTypeCd: "text", flags: "VEM", maxLen: 100, orderNum: 30, description: "Description" },
|
|
62
|
-
closed: { dbDatatype: "bool", fieldTypeCd: "checkbox", flags: "VEM", isNullable: false, formula: "false", orderNum: 40, description: "Closed" },
|
|
63
|
-
start_date: { dbDatatype: "date", fieldTypeCd: "date", flags: "VEM", orderNum: 50, description: "Start Date" },
|
|
64
|
-
end_date: { dbDatatype: "date", fieldTypeCd: "date", flags: "VEM", orderNum: 60, description: "End Date" },
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
];
|
|
68
|
-
const byCd = new Map(traits.map((t) => [t.cd, t]));
|
|
69
|
-
/** Look up a trait by code. */
|
|
70
|
-
export function getTrait(cd) {
|
|
71
|
-
return byCd.get(cd);
|
|
72
|
-
}
|
|
73
|
-
/** Title-case a snake_case entity code for the `{Entity}` template token. */
|
|
74
|
-
function titleCaseEntity(entity) {
|
|
75
|
-
const local = entity.split(".").pop() ?? entity;
|
|
76
|
-
return local
|
|
77
|
-
.split(/[_\s]+/)
|
|
78
|
-
.filter(Boolean)
|
|
79
|
-
.map((part) => part.charAt(0).toUpperCase() + part.slice(1))
|
|
80
|
-
.join(" ");
|
|
81
|
-
}
|
|
82
|
-
function applyTemplate(value, entity) {
|
|
83
|
-
const local = entity.split(".").pop() ?? entity;
|
|
84
|
-
return value.replace(/\{entity\}/g, local).replace(/\{Entity\}/g, titleCaseEntity(entity));
|
|
85
|
-
}
|
|
86
|
-
function templateFields(fields, entity) {
|
|
87
|
-
const out = {};
|
|
88
|
-
for (const [name, def] of Object.entries(fields)) {
|
|
89
|
-
const key = applyTemplate(name, entity);
|
|
90
|
-
const next = { ...def };
|
|
91
|
-
if (typeof next.description === "string")
|
|
92
|
-
next.description = applyTemplate(next.description, entity);
|
|
93
|
-
out[key] = next;
|
|
94
|
-
}
|
|
95
|
-
return out;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Expand a trait (and any traits it includes) into the concrete fields it adds
|
|
99
|
-
* for `entityName`, with `{entity}` / `{Entity}` tokens resolved. Returns an
|
|
100
|
-
* empty object for unknown or marker traits. Field order follows include-depth
|
|
101
|
-
* first, then declaration order; later definitions win on key collisions.
|
|
102
|
-
*/
|
|
103
|
-
export function expandTrait(traitCd, entityName) {
|
|
104
|
-
const trait = byCd.get(traitCd);
|
|
105
|
-
if (!trait)
|
|
106
|
-
return {};
|
|
107
|
-
const result = {};
|
|
108
|
-
for (const included of trait.includes ?? []) {
|
|
109
|
-
Object.assign(result, expandTrait(included, entityName));
|
|
110
|
-
}
|
|
111
|
-
Object.assign(result, templateFields(trait.fields, entityName));
|
|
112
|
-
return result;
|
|
113
|
-
}
|
|
114
|
-
/** Expand several traits in order into one merged field map. */
|
|
115
|
-
export function expandTraits(traitCds, entityName) {
|
|
116
|
-
const result = {};
|
|
117
|
-
for (const cd of traitCds)
|
|
118
|
-
Object.assign(result, expandTrait(cd, entityName));
|
|
119
|
-
return result;
|
|
120
|
-
}
|
|
121
|
-
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MAAM,EAAE,WAAW,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC;IAC1D,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC;IAChE,OAAO,MAAM,CAAC;AACf,CAAC;AAED,gEAAgE;AAChE,MAAM,UAAU,YAAY,CAAC,QAA2B,EAAE,UAAkB;IAC3E,MAAM,MAAM,GAA6B,EAAE,CAAC;IAC5C,KAAK,MAAM,EAAE,IAAI,QAAQ;QAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC,CAAC;IAC9E,OAAO,MAAM,CAAC;AACf,CAAC"}
|
package/dist/triggers.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/** DB event a trigger or webhook watches. */
|
|
2
|
-
export type EntityEvent = "insert" | "update" | "delete" | "status_change" | "any";
|
|
3
|
-
/** A single trigger declaration. */
|
|
4
|
-
export interface TriggerDef {
|
|
5
|
-
/** Trigger code, unique within the module. */
|
|
6
|
-
code: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
/** Entity whose events this watches (cross-module via 'module.entity'). */
|
|
9
|
-
entity: string;
|
|
10
|
-
event: EntityEvent;
|
|
11
|
-
/** Optional `[field]`-syntax formula; trigger fires only when true. */
|
|
12
|
-
condition?: string;
|
|
13
|
-
/** Action code to invoke (cross-module form 'module.action' supported). */
|
|
14
|
-
action: string;
|
|
15
|
-
/** Static parameters passed to the action, merged with the injected record id. */
|
|
16
|
-
params?: Record<string, unknown>;
|
|
17
|
-
/**
|
|
18
|
-
* true: run in the background after the triggering tx commits (failures logged, not surfaced).
|
|
19
|
-
* false (default): run synchronously in the same tx — a failure rolls the mutation back and
|
|
20
|
-
* returns the error to the caller. Keep async:false actions fast.
|
|
21
|
-
*/
|
|
22
|
-
async?: boolean;
|
|
23
|
-
}
|
|
24
|
-
/** A `logic/triggers.json` file. */
|
|
25
|
-
export interface TriggersFile {
|
|
26
|
-
triggers: TriggerDef[];
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=triggers.d.ts.map
|
package/dist/triggers.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../src/triggers.ts"],"names":[],"mappings":"AAEA,6CAA6C;AAC7C,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,eAAe,GAAG,KAAK,CAAC;AAEnF,oCAAoC;AACpC,MAAM,WAAW,UAAU;IAC1B,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,WAAW,CAAC;IACnB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,oCAAoC;AACpC,MAAM,WAAW,YAAY;IAC5B,QAAQ,EAAE,UAAU,EAAE,CAAC;CACvB"}
|
package/dist/triggers.js
DELETED
package/dist/triggers.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"triggers.js","sourceRoot":"","sources":["../src/triggers.ts"],"names":[],"mappings":"AAAA,uFAAuF"}
|
package/dist/types.d.ts
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
/** A `{ cd, name }` pair for friendly pickers (view kinds, viz types, …). */
|
|
2
|
-
export interface NamedKind {
|
|
3
|
-
cd: string;
|
|
4
|
-
name: string;
|
|
5
|
-
}
|
|
6
|
-
/** Horizontal alignment for a column's display (authored via `params.align`). */
|
|
7
|
-
export type AlignType = "left" | "right" | "center";
|
|
8
|
-
/** Column kind letter as stored in entity JSON / the `column` metadata table. */
|
|
9
|
-
export type ColumnTypeCd = "D" | "R" | "S" | "F" | "A" | "L" | "G";
|
|
10
|
-
/** Abstract data type code from the `base_datatype` table. */
|
|
11
|
-
export type BaseDatatypeCd = "binary" | "bool" | "culture" | "cuid" | "date" | "guid" | "json" | "link" | "number" | "project" | "ref" | "set" | "string" | "time" | "timestamp" | "xml";
|
|
12
|
-
/** Display flags string characters. V=Visible I=Identity E=Editable M=Mandatory H=Hidden. */
|
|
13
|
-
export type FlagCd = "V" | "I" | "E" | "M" | "H";
|
|
14
|
-
/** Known field type codes from the field_type seed. */
|
|
15
|
-
export type FieldTypeCd = "text" | "email" | "phone" | "url" | "textarea" | "number" | "currency" | "percent" | "checkbox" | "date" | "datetime" | "time" | "dropdown" | "flags" | "json" | "hidden" | "color" | "image" | "file" | "markdown" | "richtext" | "avatar" | "lookup" | "user" | "grid" | "list" | "tags" | "entitylink" | "code";
|
|
16
|
-
/**
|
|
17
|
-
* A UI field type from the `field_type` table. The author picks one of these;
|
|
18
|
-
* the physical `dbDatatype` and `baseDatatypeCd` are derived from it.
|
|
19
|
-
*/
|
|
20
|
-
export interface FieldTypeDef {
|
|
21
|
-
/** Stable code stored as `fieldTypeCd` on a field. */
|
|
22
|
-
cd: FieldTypeCd;
|
|
23
|
-
/** Human label for pickers. */
|
|
24
|
-
name: string;
|
|
25
|
-
/** Default column kind this field type implies (D / R / S). */
|
|
26
|
-
columnType: ColumnTypeCd;
|
|
27
|
-
/** Abstract datatype used for platform semantics. */
|
|
28
|
-
baseDatatypeCd: BaseDatatypeCd;
|
|
29
|
-
/** Aggregations this type supports: S=sum C=count A=avg M=min/max (letters). */
|
|
30
|
-
supportedAgg: string | null;
|
|
31
|
-
/** Default maximum length for string-backed types (e.g. color = 20). */
|
|
32
|
-
maxLen: number | null;
|
|
33
|
-
/** Default numeric scale for number-backed types (e.g. currency = 2). */
|
|
34
|
-
precision: number | null;
|
|
35
|
-
/** Whether the value participates in text filters. */
|
|
36
|
-
useStringInFilter: boolean;
|
|
37
|
-
/** Default field-type params merged into `params` when the field is created. */
|
|
38
|
-
defParams?: Record<string, unknown>;
|
|
39
|
-
}
|
|
40
|
-
/** Relationship link for Reference (R) and Set (S) columns. */
|
|
41
|
-
export interface FieldLink {
|
|
42
|
-
/** Target entity code (the entity being referenced or collected). */
|
|
43
|
-
entity: string;
|
|
44
|
-
/** Column(s) in this entity (comma-separated for compound keys). */
|
|
45
|
-
thisKey: string;
|
|
46
|
-
/** Column(s) in the target entity (comma-separated for compound keys). */
|
|
47
|
-
otherKey: string;
|
|
48
|
-
}
|
|
49
|
-
/** A dropdown/flags option in `params.options` (rich form). */
|
|
50
|
-
export interface FieldOption {
|
|
51
|
-
value: string;
|
|
52
|
-
label: string;
|
|
53
|
-
icon?: string;
|
|
54
|
-
color?: string;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* A field/column definition as it appears under an entity's `fields` map.
|
|
58
|
-
* Mirrors the `field` $def in entity.schema.json. Trait fields are a subset of
|
|
59
|
-
* this shape, so the same type covers both. The open index signature keeps it
|
|
60
|
-
* tolerant of forward-compatible / type-specific extras (e.g. A/L register
|
|
61
|
-
* config under `params`).
|
|
62
|
-
*/
|
|
63
|
-
export interface FieldDef {
|
|
64
|
-
/** PostgreSQL data type (e.g. uuid, varchar, int4, numeric, timestamptz). */
|
|
65
|
-
dbDatatype?: string;
|
|
66
|
-
/** Abstract base datatype; required on Formula (F) columns. */
|
|
67
|
-
baseDatatypeCd?: BaseDatatypeCd;
|
|
68
|
-
/** UI field type code. */
|
|
69
|
-
fieldTypeCd?: FieldTypeCd;
|
|
70
|
-
/** Column kind (defaults to D when omitted). */
|
|
71
|
-
columnType?: ColumnTypeCd;
|
|
72
|
-
/** Display flags string (subset of V/I/E/M/H). */
|
|
73
|
-
flags?: string;
|
|
74
|
-
isPk?: boolean;
|
|
75
|
-
isNullable?: boolean;
|
|
76
|
-
isIdentity?: boolean;
|
|
77
|
-
/** Formula expression (F/G columns) or SQL default value. */
|
|
78
|
-
formula?: string;
|
|
79
|
-
orderNum?: number;
|
|
80
|
-
description?: string;
|
|
81
|
-
maxLen?: number;
|
|
82
|
-
precision?: number;
|
|
83
|
-
/** Input mask pattern for editing. */
|
|
84
|
-
editMask?: string;
|
|
85
|
-
/** Display format pattern. */
|
|
86
|
-
displayFmt?: string;
|
|
87
|
-
/** Relationship link for R and S columns. */
|
|
88
|
-
link?: FieldLink;
|
|
89
|
-
/**
|
|
90
|
-
* On a self-referencing R column, set true to ALLOW parent/child cycles.
|
|
91
|
-
* Absent ⇒ treated as an acyclic hierarchy guarded at the DB level.
|
|
92
|
-
*/
|
|
93
|
-
cyclic?: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* Reference to a reusable column domain, qualified as `module_cd.domain_cd`
|
|
96
|
-
* (unqualified resolves within the current module first, then tenant-created
|
|
97
|
-
* domains). Supplies `baseDatatypeCd`, `dbDatatype`, `fieldTypeCd`, `maxLen`,
|
|
98
|
-
* `precision` and `params`; declaring any of those alongside `domain` fails install.
|
|
99
|
-
*/
|
|
100
|
-
domain?: string;
|
|
101
|
-
/** Filter criteria for reference lookups. */
|
|
102
|
-
refFilter?: unknown;
|
|
103
|
-
/** Field-type-specific configuration (dropdown options, register config, …). */
|
|
104
|
-
params?: {
|
|
105
|
-
options?: (string | FieldOption)[];
|
|
106
|
-
} & Record<string, unknown>;
|
|
107
|
-
[key: string]: unknown;
|
|
108
|
-
}
|
|
109
|
-
/** A reusable trait that expands into a set of fields (and optional references). */
|
|
110
|
-
export interface TraitDef {
|
|
111
|
-
cd: string;
|
|
112
|
-
description: string;
|
|
113
|
-
/** Other traits this one includes (expanded first). */
|
|
114
|
-
includes?: string[];
|
|
115
|
-
/** Fields injected, keyed by column code. `{entity}` / `{Entity}` are templated. */
|
|
116
|
-
fields: Record<string, FieldDef>;
|
|
117
|
-
/** Foreign-key references injected (legacy `references` block). */
|
|
118
|
-
references?: Record<string, unknown>;
|
|
119
|
-
}
|
|
120
|
-
/** Description of a column kind for friendly pickers. */
|
|
121
|
-
export interface ColumnTypeDef {
|
|
122
|
-
cd: ColumnTypeCd;
|
|
123
|
-
/** Author-facing label. */
|
|
124
|
-
name: string;
|
|
125
|
-
/** One-line explanation. */
|
|
126
|
-
description: string;
|
|
127
|
-
}
|
|
128
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAMA,6EAA6E;AAC7E,MAAM,WAAW,SAAS;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACb;AAED,iFAAiF;AACjF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEpD,iFAAiF;AACjF,MAAM,MAAM,YAAY,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEnE,8DAA8D;AAC9D,MAAM,MAAM,cAAc,GACvB,QAAQ,GACR,MAAM,GACN,SAAS,GACT,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,QAAQ,GACR,SAAS,GACT,KAAK,GACL,KAAK,GACL,QAAQ,GACR,MAAM,GACN,WAAW,GACX,KAAK,CAAC;AAET,6FAA6F;AAC7F,MAAM,MAAM,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEjD,uDAAuD;AACvD,MAAM,MAAM,WAAW,GACpB,MAAM,GACN,OAAO,GACP,OAAO,GACP,KAAK,GACL,UAAU,GACV,QAAQ,GACR,UAAU,GACV,SAAS,GACT,UAAU,GACV,MAAM,GACN,UAAU,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,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACrC;AAED,yDAAyD;AACzD,MAAM,WAAW,aAAa;IAC7B,EAAE,EAAE,YAAY,CAAC;IACjB,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,4BAA4B;IAC5B,WAAW,EAAE,MAAM,CAAC;CACpB"}
|
package/dist/types.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// Shared types for the dForge authoring registries.
|
|
2
|
-
//
|
|
3
|
-
// These describe the *authoring* surface (what a module author / visual editor
|
|
4
|
-
// works with), mirrored from the platform metadata seed data. Keep them free of
|
|
5
|
-
// any runtime dependency so this package stays import-safe everywhere.
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=types.js.map
|
package/dist/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,uEAAuE"}
|