terrier-engine 4.32.2 → 4.32.4
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/data-dive/gen/models.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// This file was automatically generated on 2024-
|
|
1
|
+
// This file was automatically generated on 2024-08-14 09:08:29 -0500, DO NOT EDIT IT MANUALLY!
|
|
2
2
|
|
|
3
3
|
import { Query } from "../queries/queries"
|
|
4
4
|
|
|
@@ -10,7 +10,9 @@ import { Attachment } from "../../terrier/attachments"
|
|
|
10
10
|
|
|
11
11
|
import { RegularSchedule } from "../../terrier/schedules"
|
|
12
12
|
|
|
13
|
-
import {
|
|
13
|
+
import { DivePlotLayout } from "../plots/dive-plots"
|
|
14
|
+
|
|
15
|
+
import { DivePlotTrace } from "../plots/dive-plot-traces"
|
|
14
16
|
|
|
15
17
|
import { OptionalProps } from "tuff-core/types"
|
|
16
18
|
|
|
@@ -33,7 +35,6 @@ export type DdDive = {
|
|
|
33
35
|
sort_order?: number
|
|
34
36
|
query_data?: { queries: Query[] }
|
|
35
37
|
dive_types: string[]
|
|
36
|
-
delivery_mode?: string
|
|
37
38
|
delivery_recipients?: string[]
|
|
38
39
|
delivery_schedule?: RegularSchedule
|
|
39
40
|
created_by?: DdUser
|
|
@@ -62,7 +63,6 @@ export type UnpersistedDdDive = {
|
|
|
62
63
|
sort_order?: number
|
|
63
64
|
query_data?: { queries: Query[] }
|
|
64
65
|
dive_types: string[]
|
|
65
|
-
delivery_mode?: string
|
|
66
66
|
delivery_recipients?: string[]
|
|
67
67
|
delivery_schedule?: RegularSchedule
|
|
68
68
|
created_by?: DdUser
|
|
@@ -171,7 +171,6 @@ export type DdDiveRun = {
|
|
|
171
171
|
output_data?: object
|
|
172
172
|
output_file_data?: Attachment | { path: string }
|
|
173
173
|
status: "initial" | "running" | "success" | "error"
|
|
174
|
-
delivery_mode?: string
|
|
175
174
|
delivery_recipients?: string[]
|
|
176
175
|
delivery_data?: object
|
|
177
176
|
created_by?: DdUser
|
|
@@ -195,7 +194,6 @@ export type UnpersistedDdDiveRun = {
|
|
|
195
194
|
output_data?: object
|
|
196
195
|
output_file_data?: Attachment | { path: string }
|
|
197
196
|
status: "initial" | "running" | "success" | "error"
|
|
198
|
-
delivery_mode?: string
|
|
199
197
|
delivery_recipients?: string[]
|
|
200
198
|
delivery_data?: object
|
|
201
199
|
created_by?: DdUser
|
package/package.json
CHANGED
|
@@ -63,9 +63,12 @@ export default abstract class PagePart<TState> extends ContentPart<TState> {
|
|
|
63
63
|
protected _breadcrumbs = Array<Action>()
|
|
64
64
|
|
|
65
65
|
addBreadcrumb(crumb: Action) {
|
|
66
|
+
this.beforeAddBreadcrumb(crumb)
|
|
66
67
|
this._breadcrumbs.push(crumb)
|
|
67
68
|
}
|
|
68
69
|
|
|
70
|
+
protected beforeAddBreadcrumb(_crumb: Action) {}
|
|
71
|
+
|
|
69
72
|
protected _titleHref?: string
|
|
70
73
|
|
|
71
74
|
/**
|
|
@@ -150,6 +153,8 @@ export default abstract class PagePart<TState> extends ContentPart<TState> {
|
|
|
150
153
|
if (!this._breadcrumbs.length && !this._title?.length) return
|
|
151
154
|
|
|
152
155
|
parent.h1('.breadcrumbs', h1 => {
|
|
156
|
+
const crumbs = Array.from(this._breadcrumbs)
|
|
157
|
+
|
|
153
158
|
// add a breadcrumb for the page title
|
|
154
159
|
if (this._title?.length) {
|
|
155
160
|
const titleCrumb: Action = {
|
|
@@ -162,10 +167,11 @@ export default abstract class PagePart<TState> extends ContentPart<TState> {
|
|
|
162
167
|
if (this._titleClasses?.length) {
|
|
163
168
|
titleCrumb.classes = this._titleClasses
|
|
164
169
|
}
|
|
165
|
-
this.
|
|
170
|
+
this.beforeAddBreadcrumb(titleCrumb)
|
|
171
|
+
crumbs.push(titleCrumb)
|
|
166
172
|
}
|
|
167
173
|
|
|
168
|
-
this.app.theme.renderActions(h1,
|
|
174
|
+
this.app.theme.renderActions(h1, crumbs)
|
|
169
175
|
})
|
|
170
176
|
}
|
|
171
177
|
|