@bigfootai/bigfoot-types 5.4.279 → 5.4.282
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/highlight.d.ts +6 -0
- package/dist/highlight.d.ts.map +1 -0
- package/dist/highlight.js +6 -0
- package/dist/highlight.js.map +1 -0
- package/dist/metadata/dashboards/account_overview.d.ts +3 -0
- package/dist/metadata/dashboards/account_overview.d.ts.map +1 -0
- package/dist/metadata/dashboards/account_overview.js +48 -0
- package/dist/metadata/dashboards/account_overview.js.map +1 -0
- package/dist/metadata/dashboards/record_update.d.ts +3 -0
- package/dist/metadata/dashboards/record_update.d.ts.map +1 -0
- package/dist/metadata/dashboards/record_update.js +51 -0
- package/dist/metadata/dashboards/record_update.js.map +1 -0
- package/dist/navigation.d.ts +26 -0
- package/dist/navigation.d.ts.map +1 -1
- package/dist/navigation.js +14 -0
- package/dist/navigation.js.map +1 -1
- package/dist/pub-sub-type.d.ts +1 -0
- package/dist/pub-sub-type.d.ts.map +1 -1
- package/dist/pub-sub-type.js +1 -0
- package/dist/pub-sub-type.js.map +1 -1
- package/dist/recurrence-rfc.d.ts +22 -0
- package/dist/recurrence-rfc.d.ts.map +1 -0
- package/dist/recurrence-rfc.js +23 -0
- package/dist/recurrence-rfc.js.map +1 -0
- package/dist/section.d.ts +6 -0
- package/dist/section.d.ts.map +1 -0
- package/dist/section.js +12 -0
- package/dist/section.js.map +1 -0
- package/dist/tenant.d.ts +35 -2
- package/dist/tenant.d.ts.map +1 -1
- package/dist/tenant.js +39 -0
- package/dist/tenant.js.map +1 -1
- package/dist/types.d.ts +51 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +67 -2
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
- package/src/navigation.ts +45 -0
- package/src/pub-sub-type.ts +1 -0
- package/src/tenant.ts +73 -0
- package/src/types.ts +129 -2
package/src/tenant.ts
CHANGED
|
@@ -9,6 +9,7 @@ input TenantLightInput {
|
|
|
9
9
|
allowed: Boolean
|
|
10
10
|
clientSettings: JSON
|
|
11
11
|
nellySettings: NellySettingsInput
|
|
12
|
+
viewConfigurations: ViewConfigurationsInput
|
|
12
13
|
autoTitleGenerationEnabled: Boolean
|
|
13
14
|
}`;
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ export class TenantLightInput {
|
|
|
20
21
|
familyName?: string;
|
|
21
22
|
givenName?: string;
|
|
22
23
|
nellySettings?: NellySettingsInput;
|
|
24
|
+
viewConfigurations?: ViewConfigurationsInput | null;
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
export const NellySettingsPersonalityPresetQL = `
|
|
@@ -84,6 +86,73 @@ export interface NellySettingsPersonality {
|
|
|
84
86
|
preset: NellySettingsPersonalityPreset | null;
|
|
85
87
|
}
|
|
86
88
|
|
|
89
|
+
// Persisted per-view display configuration (signal selection, ordering, view/sort prefs).
|
|
90
|
+
// Keyed by view so each surface (tag detail, pulse, future shareable views) is independent.
|
|
91
|
+
// Leaf fields are intentionally loose (String, not enums) so the set can evolve without SDL churn.
|
|
92
|
+
export const ViewConfigQL = `
|
|
93
|
+
type ViewConfig {
|
|
94
|
+
selectedFields: [String!]
|
|
95
|
+
fieldOrder: [String!]
|
|
96
|
+
viewType: String
|
|
97
|
+
columnField: String
|
|
98
|
+
ordering: String
|
|
99
|
+
tableSortField: String
|
|
100
|
+
tableSortDirection: String
|
|
101
|
+
}`;
|
|
102
|
+
|
|
103
|
+
export interface ViewConfig {
|
|
104
|
+
selectedFields?: string[];
|
|
105
|
+
fieldOrder?: string[];
|
|
106
|
+
viewType?: string; // 'list' | 'board' | 'table'
|
|
107
|
+
columnField?: string;
|
|
108
|
+
ordering?: string; // 'alphabetical' | 'created' | 'updated'
|
|
109
|
+
tableSortField?: string | null;
|
|
110
|
+
tableSortDirection?: string; // 'asc' | 'desc'
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export const ViewConfigurationsQL = `
|
|
114
|
+
type ViewConfigurations {
|
|
115
|
+
tagDetail: ViewConfig
|
|
116
|
+
pulse: ViewConfig
|
|
117
|
+
}`;
|
|
118
|
+
|
|
119
|
+
export interface ViewConfigurations {
|
|
120
|
+
tagDetail?: ViewConfig;
|
|
121
|
+
pulse?: ViewConfig;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export const ViewConfigInputQL = `
|
|
125
|
+
input ViewConfigInput {
|
|
126
|
+
selectedFields: [String!]
|
|
127
|
+
fieldOrder: [String!]
|
|
128
|
+
viewType: String
|
|
129
|
+
columnField: String
|
|
130
|
+
ordering: String
|
|
131
|
+
tableSortField: String
|
|
132
|
+
tableSortDirection: String
|
|
133
|
+
}`;
|
|
134
|
+
|
|
135
|
+
export interface ViewConfigInput {
|
|
136
|
+
selectedFields?: string[];
|
|
137
|
+
fieldOrder?: string[];
|
|
138
|
+
viewType?: string;
|
|
139
|
+
columnField?: string;
|
|
140
|
+
ordering?: string;
|
|
141
|
+
tableSortField?: string | null;
|
|
142
|
+
tableSortDirection?: string;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export const ViewConfigurationsInputQL = `
|
|
146
|
+
input ViewConfigurationsInput {
|
|
147
|
+
tagDetail: ViewConfigInput
|
|
148
|
+
pulse: ViewConfigInput
|
|
149
|
+
}`;
|
|
150
|
+
|
|
151
|
+
export interface ViewConfigurationsInput {
|
|
152
|
+
tagDetail?: ViewConfigInput | null;
|
|
153
|
+
pulse?: ViewConfigInput | null;
|
|
154
|
+
}
|
|
155
|
+
|
|
87
156
|
export const TenantLightQL = `
|
|
88
157
|
type TenantLight {
|
|
89
158
|
_id: String!
|
|
@@ -101,6 +170,7 @@ type TenantLight {
|
|
|
101
170
|
picture: String
|
|
102
171
|
clientSettings: JSON
|
|
103
172
|
nellySettings: NellySettings
|
|
173
|
+
viewConfigurations: ViewConfigurations
|
|
104
174
|
autoTitleGenerationEnabled: Boolean
|
|
105
175
|
}`;
|
|
106
176
|
|
|
@@ -118,6 +188,7 @@ export class TenantLight {
|
|
|
118
188
|
familyName?: string;
|
|
119
189
|
givenName?: string;
|
|
120
190
|
nellySettings?: NellySettings;
|
|
191
|
+
viewConfigurations?: ViewConfigurations | null;
|
|
121
192
|
onboarded: boolean;
|
|
122
193
|
picture?: string | null;
|
|
123
194
|
tagId: string;
|
|
@@ -136,6 +207,7 @@ export class TenantLight {
|
|
|
136
207
|
this.familyName = tenant.familyName;
|
|
137
208
|
this.givenName = tenant.givenName;
|
|
138
209
|
this.nellySettings = tenant.nellySettings;
|
|
210
|
+
this.viewConfigurations = tenant.viewConfigurations;
|
|
139
211
|
this.onboarded = tenant.onboarded;
|
|
140
212
|
this.picture = tenant.picture;
|
|
141
213
|
this.tagId = tenant.tagId;
|
|
@@ -234,6 +306,7 @@ export class Tenant extends Primitive {
|
|
|
234
306
|
familyName?: string;
|
|
235
307
|
givenName?: string;
|
|
236
308
|
nellySettings?: NellySettings;
|
|
309
|
+
viewConfigurations?: ViewConfigurations | null;
|
|
237
310
|
onboarded: boolean;
|
|
238
311
|
picture?: string | null;
|
|
239
312
|
tagId: string;
|
package/src/types.ts
CHANGED
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
import type { FieldType } from './field-type.js';
|
|
101
101
|
import { type FieldValue, FieldValueInputQL, FieldValueQL, FieldValueSourceQL } from './field-value.js';
|
|
102
102
|
import type { FieldVariation } from './field-variation.js';
|
|
103
|
-
import { FolderQL } from './folder.js';
|
|
103
|
+
import { type Folder, FolderQL } from './folder.js';
|
|
104
104
|
import {
|
|
105
105
|
type FunctionInput,
|
|
106
106
|
FunctionInputInputQL,
|
|
@@ -125,7 +125,14 @@ import {
|
|
|
125
125
|
MetadataChangeQL,
|
|
126
126
|
MetadataChangeTypeQL,
|
|
127
127
|
} from './metadata-change.js';
|
|
128
|
-
import {
|
|
128
|
+
import {
|
|
129
|
+
type NavigationEntry,
|
|
130
|
+
NavigationEntryQL,
|
|
131
|
+
NavigationFolderEntryQL,
|
|
132
|
+
NavigationItemQL,
|
|
133
|
+
NavigationQL,
|
|
134
|
+
NavigationTagEntryQL,
|
|
135
|
+
} from './navigation.js';
|
|
129
136
|
import { type Note, NoteQL } from './note.js';
|
|
130
137
|
import type { Option, OptionInput } from './option.js';
|
|
131
138
|
import { OptionInputQL, OptionQL } from './option.js';
|
|
@@ -277,6 +284,10 @@ import {
|
|
|
277
284
|
TenantLightInputQL,
|
|
278
285
|
TenantLightQL,
|
|
279
286
|
TenantQL,
|
|
287
|
+
ViewConfigInputQL,
|
|
288
|
+
ViewConfigQL,
|
|
289
|
+
ViewConfigurationsInputQL,
|
|
290
|
+
ViewConfigurationsQL,
|
|
280
291
|
} from './tenant.js';
|
|
281
292
|
import { ThreadQL, UpsertThreadInputQL } from './thread.js';
|
|
282
293
|
import { type ThreadReadStatus, ThreadReadStatusQL } from './thread-read-status.js';
|
|
@@ -2702,6 +2713,106 @@ export interface ChildItem {
|
|
|
2702
2713
|
_order?: number;
|
|
2703
2714
|
}
|
|
2704
2715
|
|
|
2716
|
+
export const NavigationItemRefInputQL = `
|
|
2717
|
+
input NavigationItemRefInput {
|
|
2718
|
+
_id: String!
|
|
2719
|
+
blockType: BlockType!
|
|
2720
|
+
childTagIds: [String!]
|
|
2721
|
+
}`;
|
|
2722
|
+
export interface NavigationItemRefInput {
|
|
2723
|
+
_id: string;
|
|
2724
|
+
blockType: BlockType;
|
|
2725
|
+
childTagIds?: string[];
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
export const NavigationNewFolderInputQL = `
|
|
2729
|
+
input NavigationNewFolderInput {
|
|
2730
|
+
label: String!
|
|
2731
|
+
icon: String
|
|
2732
|
+
description: String
|
|
2733
|
+
sharingTags: [SharingTagInput]
|
|
2734
|
+
tagIds: [String]
|
|
2735
|
+
}`;
|
|
2736
|
+
export interface NavigationNewFolderInput {
|
|
2737
|
+
label: string;
|
|
2738
|
+
icon?: string;
|
|
2739
|
+
description?: string;
|
|
2740
|
+
sharingTags?: SharingTag[];
|
|
2741
|
+
tagIds?: string[];
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
export const AddTagToNavigationInputQL = `
|
|
2745
|
+
input AddTagToNavigationInput {
|
|
2746
|
+
tagId: String!
|
|
2747
|
+
}`;
|
|
2748
|
+
export interface AddTagToNavigationInput {
|
|
2749
|
+
tagId: string;
|
|
2750
|
+
}
|
|
2751
|
+
|
|
2752
|
+
export const RemoveTagFromNavigationInputQL = `
|
|
2753
|
+
input RemoveTagFromNavigationInput {
|
|
2754
|
+
tagId: String!
|
|
2755
|
+
}`;
|
|
2756
|
+
export interface RemoveTagFromNavigationInput {
|
|
2757
|
+
tagId: string;
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
export const AddTagToFolderInputQL = `
|
|
2761
|
+
input AddTagToFolderInput {
|
|
2762
|
+
folderId: String!
|
|
2763
|
+
tagId: String!
|
|
2764
|
+
position: Int
|
|
2765
|
+
}`;
|
|
2766
|
+
export interface AddTagToFolderInput {
|
|
2767
|
+
folderId: string;
|
|
2768
|
+
tagId: string;
|
|
2769
|
+
position?: number;
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2772
|
+
export const RemoveTagFromFolderInputQL = `
|
|
2773
|
+
input RemoveTagFromFolderInput {
|
|
2774
|
+
folderId: String!
|
|
2775
|
+
tagId: String!
|
|
2776
|
+
}`;
|
|
2777
|
+
export interface RemoveTagFromFolderInput {
|
|
2778
|
+
folderId: string;
|
|
2779
|
+
tagId: string;
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
export const MoveNavigationItemInputQL = `
|
|
2783
|
+
input MoveNavigationItemInput {
|
|
2784
|
+
tagId: String!
|
|
2785
|
+
fromFolderId: String
|
|
2786
|
+
toFolderId: String
|
|
2787
|
+
position: Int
|
|
2788
|
+
}`;
|
|
2789
|
+
export interface MoveNavigationItemInput {
|
|
2790
|
+
tagId: string;
|
|
2791
|
+
fromFolderId?: string;
|
|
2792
|
+
toFolderId?: string;
|
|
2793
|
+
position?: number;
|
|
2794
|
+
}
|
|
2795
|
+
|
|
2796
|
+
export interface NavigationMutationResult {
|
|
2797
|
+
navigation: NavigationEntry[];
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2800
|
+
export const NavigationMutationResultQL = `
|
|
2801
|
+
type NavigationMutationResult {
|
|
2802
|
+
navigation: [NavigationEntry!]!
|
|
2803
|
+
}`;
|
|
2804
|
+
|
|
2805
|
+
export interface CreateNavigationFolderResult {
|
|
2806
|
+
folder: Folder;
|
|
2807
|
+
navigation: NavigationEntry[];
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
export const CreateNavigationFolderResultQL = `
|
|
2811
|
+
type CreateNavigationFolderResult {
|
|
2812
|
+
folder: Folder!
|
|
2813
|
+
navigation: [NavigationEntry!]!
|
|
2814
|
+
}`;
|
|
2815
|
+
|
|
2705
2816
|
export const NumberFilterFieldsQL = `
|
|
2706
2817
|
gt: Float
|
|
2707
2818
|
gte: Float
|
|
@@ -3520,6 +3631,9 @@ ${MetadataQL}
|
|
|
3520
3631
|
${FolderQL}
|
|
3521
3632
|
${NavigationQL}
|
|
3522
3633
|
${NavigationItemQL}
|
|
3634
|
+
${NavigationTagEntryQL}
|
|
3635
|
+
${NavigationFolderEntryQL}
|
|
3636
|
+
${NavigationEntryQL}
|
|
3523
3637
|
${SearchQL}
|
|
3524
3638
|
${SyncQL}
|
|
3525
3639
|
${UpdateOneSyncInputQL}
|
|
@@ -3566,6 +3680,10 @@ ${NellySettingsQL}
|
|
|
3566
3680
|
${NellySettingsInputQL}
|
|
3567
3681
|
${NellySettingsPersonalityQL}
|
|
3568
3682
|
${NellySettingsPersonalityInputQL}
|
|
3683
|
+
${ViewConfigQL}
|
|
3684
|
+
${ViewConfigurationsQL}
|
|
3685
|
+
${ViewConfigInputQL}
|
|
3686
|
+
${ViewConfigurationsInputQL}
|
|
3569
3687
|
${TenantLightInputQL}
|
|
3570
3688
|
${TenantLightQL}
|
|
3571
3689
|
${CompleteOnboardingOutputQL}
|
|
@@ -3899,4 +4017,13 @@ ${ExecuteQueryInputQL}
|
|
|
3899
4017
|
${QueryResultRecordQL}
|
|
3900
4018
|
${ExecuteQueryResultQL}
|
|
3901
4019
|
${IngestLinkUrlInputQL}
|
|
4020
|
+
${NavigationItemRefInputQL}
|
|
4021
|
+
${NavigationNewFolderInputQL}
|
|
4022
|
+
${AddTagToNavigationInputQL}
|
|
4023
|
+
${RemoveTagFromNavigationInputQL}
|
|
4024
|
+
${AddTagToFolderInputQL}
|
|
4025
|
+
${RemoveTagFromFolderInputQL}
|
|
4026
|
+
${MoveNavigationItemInputQL}
|
|
4027
|
+
${NavigationMutationResultQL}
|
|
4028
|
+
${CreateNavigationFolderResultQL}
|
|
3902
4029
|
${IngestLinkUrlResultQL}`;
|