@nxtedition/types 23.0.57 → 23.0.59
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/common/nxtpression.d.ts +1 -1
- package/dist/common/search.d.ts +9 -0
- package/dist/common/settings.d.ts +26 -1
- package/dist/nxtpression.d.ts +197 -11
- package/dist/records/domains/calendarevent.d.ts +27 -0
- package/dist/records/domains/calendarevent.js +1 -0
- package/dist/records/domains/condition.d.ts +5 -0
- package/dist/records/domains/condition.js +1 -0
- package/dist/records/domains/harvest.d.ts +10 -0
- package/dist/records/domains/harvest.js +1 -0
- package/dist/records/domains/index.d.ts +11 -1
- package/dist/records/domains/index.js +5 -0
- package/dist/records/domains/ingestclip.d.ts +21 -0
- package/dist/records/domains/ingestclip.js +1 -0
- package/dist/records/domains/panel.d.ts +8 -1
- package/dist/records/domains/published.d.ts +7 -3
- package/dist/records/domains/script.d.ts +4 -0
- package/dist/records/domains/search.d.ts +25 -4
- package/dist/records/domains/shotbox.d.ts +33 -0
- package/dist/records/domains/shotbox.js +1 -0
- package/dist/records/validate/assert-guard.js +1255 -444
- package/dist/records/validate/assert.js +1260 -442
- package/dist/records/validate/is.js +59 -33
- package/dist/records/validate/schemas.js +699 -66
- package/dist/records/validate/stringify.js +110 -79
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +1835 -634
- package/dist/records/validate/validate.js +1187 -427
- package/dist/rpc.d.ts +4 -1
- package/package.json +1 -1
|
@@ -1,23 +1,44 @@
|
|
|
1
|
+
import type { SearchCalendarView, SearchCondition, SearchType, SearchView } from '../../common';
|
|
1
2
|
export interface SearchDomainRecords {
|
|
2
3
|
":search": SearchRecord;
|
|
3
4
|
":search?": SearchRecordProvided;
|
|
5
|
+
/** legacy */
|
|
6
|
+
":search.conditions": SearchDomainConditionsRecord;
|
|
7
|
+
/** legacy */
|
|
8
|
+
":search.visibleColumnKeys": SearchDomainVisibleColumnKeysRecord;
|
|
4
9
|
}
|
|
5
10
|
export interface SearchRecord {
|
|
6
|
-
type?:
|
|
11
|
+
type?: SearchType;
|
|
7
12
|
sort?: Array<{
|
|
8
13
|
[key: string]: "asc" | "desc";
|
|
9
14
|
}>;
|
|
10
15
|
showDefault?: boolean;
|
|
11
16
|
showDeleted?: boolean;
|
|
12
17
|
showHidden?: boolean;
|
|
13
|
-
view?:
|
|
14
|
-
conditions?:
|
|
18
|
+
view?: SearchView | null;
|
|
19
|
+
conditions?: SearchCondition[];
|
|
15
20
|
visibleColumnKeys?: null | string[];
|
|
16
21
|
connectionId?: string | null;
|
|
22
|
+
calendar?: {
|
|
23
|
+
view?: SearchCalendarView | null;
|
|
24
|
+
dateAccessor?: string | null;
|
|
25
|
+
agenda?: boolean;
|
|
26
|
+
};
|
|
27
|
+
refreshInterval?: number;
|
|
28
|
+
color?: string;
|
|
29
|
+
icon?: string;
|
|
17
30
|
}
|
|
18
31
|
export interface SearchRecordProvided {
|
|
19
|
-
hits
|
|
32
|
+
hits?: string[];
|
|
20
33
|
total?: number;
|
|
21
34
|
relation?: string;
|
|
22
35
|
error?: string;
|
|
23
36
|
}
|
|
37
|
+
/** legacy */
|
|
38
|
+
export interface SearchDomainConditionsRecord {
|
|
39
|
+
value?: string[];
|
|
40
|
+
}
|
|
41
|
+
/** legacy */
|
|
42
|
+
export interface SearchDomainVisibleColumnKeysRecord {
|
|
43
|
+
value?: string[];
|
|
44
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface ShotboxDomainRecords {
|
|
2
|
+
":shotbox": ShotboxDomainRecord;
|
|
3
|
+
}
|
|
4
|
+
export interface ShotboxDomainRecord {
|
|
5
|
+
pages?: ShotboxPage[];
|
|
6
|
+
}
|
|
7
|
+
export interface ShotboxPage {
|
|
8
|
+
stickyTopRow?: boolean;
|
|
9
|
+
inferGroups?: boolean;
|
|
10
|
+
layout?: Array<ShotboxGroup[] | ShotboxGroup>;
|
|
11
|
+
}
|
|
12
|
+
export type ShotboxGroup = ShotboxEventGroup | ShotboxStreamGroup;
|
|
13
|
+
export interface ShotboxEventGroup {
|
|
14
|
+
id?: string;
|
|
15
|
+
title?: string;
|
|
16
|
+
sticky?: boolean;
|
|
17
|
+
type?: "trigger" | "toggle";
|
|
18
|
+
width?: string;
|
|
19
|
+
include?: string[];
|
|
20
|
+
exclude?: string[];
|
|
21
|
+
states?: {
|
|
22
|
+
completed: boolean;
|
|
23
|
+
};
|
|
24
|
+
flow?: "column" | "row";
|
|
25
|
+
minRows?: number;
|
|
26
|
+
maxRows?: number;
|
|
27
|
+
}
|
|
28
|
+
export interface ShotboxStreamGroup {
|
|
29
|
+
type: "stream";
|
|
30
|
+
title?: string;
|
|
31
|
+
width?: string;
|
|
32
|
+
source?: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|