@burdenoff/microfe-bigconsole 2026.1119.10 → 2026.1121.1
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/bigconsole/components/explore/queryAccess/GrantsPanel.d.ts +10 -0
- package/dist/bigconsole/components/explore/queryAccess/GrantsPanel.js +470 -0
- package/dist/bigconsole/components/explore/queryAccess/QueryAccessAdmin.d.ts +5 -0
- package/dist/bigconsole/components/explore/queryAccess/QueryAccessAdmin.js +228 -0
- package/dist/bigconsole/components/explore/queryAccess/QueryAccessEntry.d.ts +5 -0
- package/dist/bigconsole/components/explore/queryAccess/QueryAccessEntry.js +39 -0
- package/dist/bigconsole/components/explore/queryAccess/RelationEditor.d.ts +11 -0
- package/dist/bigconsole/components/explore/queryAccess/RelationEditor.js +279 -0
- package/dist/bigconsole/components/explore/queryAccess/shared.d.ts +16 -0
- package/dist/bigconsole/components/explore/queryAccess/shared.js +26 -0
- package/dist/bigconsole/hooks/useQueryAccess.d.ts +50 -0
- package/dist/bigconsole/hooks/useQueryAccess.js +255 -0
- package/dist/bigconsole/pages/DataSinksPage.js +547 -542
- package/dist/bigconsole/utils/queryAccess.d.ts +169 -0
- package/dist/bigconsole/utils/queryAccess.js +345 -0
- package/dist/generated/wspace-operations.d.ts +177 -0
- package/dist/generated/wspace-operations.js +944 -78
- package/dist/generated/wspace-types.d.ts +2346 -13
- package/dist/generated/wspace-types.js +9 -7
- package/package.json +1 -1
|
@@ -731,6 +731,44 @@ export type BigConsoleNarrativeTrigger =
|
|
|
731
731
|
| 'MANUAL'
|
|
732
732
|
/** A FluidGrids scheduled workflow invoked the console digest. */
|
|
733
733
|
| 'SCHEDULED';
|
|
734
|
+
/**
|
|
735
|
+
* Access a query grant gives to one declared field. A field the grant does not list
|
|
736
|
+
* stays outside the viewer's schema (omitted).
|
|
737
|
+
*/
|
|
738
|
+
export type BigConsoleQueryFieldAccess =
|
|
739
|
+
/** Readable, subject to the sink's own field masking rules and the viewer's role exemptions. */
|
|
740
|
+
'READ'
|
|
741
|
+
/** Visible as a column whose every non-null value reads as [redacted]. */
|
|
742
|
+
| 'REDACT';
|
|
743
|
+
export type BigConsoleQueryFieldGrantInput = {
|
|
744
|
+
access: BigConsoleQueryFieldAccess;
|
|
745
|
+
fieldId: string | number;
|
|
746
|
+
};
|
|
747
|
+
export type BigConsoleQueryFieldInput = {
|
|
748
|
+
id: string | number;
|
|
749
|
+
name: string;
|
|
750
|
+
nullable: boolean;
|
|
751
|
+
path: Array<string>;
|
|
752
|
+
type: string;
|
|
753
|
+
};
|
|
754
|
+
export type BigConsoleQueryGrantInput = {
|
|
755
|
+
/** User ID of an active member of the request workspace. */
|
|
756
|
+
actorId: string | number;
|
|
757
|
+
fields: Array<BigConsoleQueryFieldGrantInput>;
|
|
758
|
+
/** Omit for access to every row. */
|
|
759
|
+
rowFilter?: BigConsoleQueryRowFilterInput | null | undefined;
|
|
760
|
+
};
|
|
761
|
+
export type BigConsoleQueryRelationInput = {
|
|
762
|
+
fields: Array<BigConsoleQueryFieldInput>;
|
|
763
|
+
/** Lowercase SQL identifier, unique in the workspace. */
|
|
764
|
+
name: string;
|
|
765
|
+
};
|
|
766
|
+
export type BigConsoleQueryRowFilterInput = {
|
|
767
|
+
/** A declared field. It does not have to be granted for reading. */
|
|
768
|
+
fieldId: string | number;
|
|
769
|
+
/** Admitted values as text. BOOLEAN fields take true or false. An empty list admits no rows. */
|
|
770
|
+
values: Array<string>;
|
|
771
|
+
};
|
|
734
772
|
/** Input for rating a template */
|
|
735
773
|
export type BigConsoleRateDashboardTemplateInput = {
|
|
736
774
|
/** Rating value (1-5) */
|
|
@@ -5081,6 +5119,137 @@ export type ExplorePagesQuery = {
|
|
|
5081
5119
|
};
|
|
5082
5120
|
} | null;
|
|
5083
5121
|
};
|
|
5122
|
+
export type QueryRelationFieldsFragment = {
|
|
5123
|
+
dataSinkId: string;
|
|
5124
|
+
name: string;
|
|
5125
|
+
grantCount: number;
|
|
5126
|
+
valid: boolean;
|
|
5127
|
+
createdBy: string | null;
|
|
5128
|
+
updatedBy: string | null;
|
|
5129
|
+
fields: Array<{
|
|
5130
|
+
id: string;
|
|
5131
|
+
name: string;
|
|
5132
|
+
path: Array<string>;
|
|
5133
|
+
type: string;
|
|
5134
|
+
nullable: boolean;
|
|
5135
|
+
}>;
|
|
5136
|
+
};
|
|
5137
|
+
export type QueryGrantFieldsFragment = {
|
|
5138
|
+
dataSinkId: string;
|
|
5139
|
+
actorId: string;
|
|
5140
|
+
actorType: string;
|
|
5141
|
+
allRows: boolean;
|
|
5142
|
+
valid: boolean;
|
|
5143
|
+
createdBy: string | null;
|
|
5144
|
+
updatedBy: string | null;
|
|
5145
|
+
rowFilter: {
|
|
5146
|
+
fieldId: string;
|
|
5147
|
+
values: Array<string>;
|
|
5148
|
+
} | null;
|
|
5149
|
+
fields: Array<{
|
|
5150
|
+
fieldId: string;
|
|
5151
|
+
access: Types.BigConsoleQueryFieldAccess;
|
|
5152
|
+
}>;
|
|
5153
|
+
};
|
|
5154
|
+
export type QueryAccessRelationsQueryVariables = Exact<{
|
|
5155
|
+
[key: string]: never;
|
|
5156
|
+
}>;
|
|
5157
|
+
export type QueryAccessRelationsQuery = {
|
|
5158
|
+
bigconsoleQueryRelations: Array<{
|
|
5159
|
+
dataSinkId: string;
|
|
5160
|
+
name: string;
|
|
5161
|
+
grantCount: number;
|
|
5162
|
+
valid: boolean;
|
|
5163
|
+
createdBy: string | null;
|
|
5164
|
+
updatedBy: string | null;
|
|
5165
|
+
fields: Array<{
|
|
5166
|
+
id: string;
|
|
5167
|
+
name: string;
|
|
5168
|
+
path: Array<string>;
|
|
5169
|
+
type: string;
|
|
5170
|
+
nullable: boolean;
|
|
5171
|
+
}>;
|
|
5172
|
+
}>;
|
|
5173
|
+
};
|
|
5174
|
+
export type QueryAccessGrantsQueryVariables = Exact<{
|
|
5175
|
+
dataSinkId: string | number;
|
|
5176
|
+
}>;
|
|
5177
|
+
export type QueryAccessGrantsQuery = {
|
|
5178
|
+
bigconsoleQueryGrants: Array<{
|
|
5179
|
+
dataSinkId: string;
|
|
5180
|
+
actorId: string;
|
|
5181
|
+
actorType: string;
|
|
5182
|
+
allRows: boolean;
|
|
5183
|
+
valid: boolean;
|
|
5184
|
+
createdBy: string | null;
|
|
5185
|
+
updatedBy: string | null;
|
|
5186
|
+
rowFilter: {
|
|
5187
|
+
fieldId: string;
|
|
5188
|
+
values: Array<string>;
|
|
5189
|
+
} | null;
|
|
5190
|
+
fields: Array<{
|
|
5191
|
+
fieldId: string;
|
|
5192
|
+
access: Types.BigConsoleQueryFieldAccess;
|
|
5193
|
+
}>;
|
|
5194
|
+
}>;
|
|
5195
|
+
};
|
|
5196
|
+
export type QueryAccessRegisterRelationMutationVariables = Exact<{
|
|
5197
|
+
dataSinkId: string | number;
|
|
5198
|
+
input: Types.BigConsoleQueryRelationInput;
|
|
5199
|
+
}>;
|
|
5200
|
+
export type QueryAccessRegisterRelationMutation = {
|
|
5201
|
+
bigconsoleRegisterQueryRelation: {
|
|
5202
|
+
dataSinkId: string;
|
|
5203
|
+
name: string;
|
|
5204
|
+
grantCount: number;
|
|
5205
|
+
valid: boolean;
|
|
5206
|
+
createdBy: string | null;
|
|
5207
|
+
updatedBy: string | null;
|
|
5208
|
+
fields: Array<{
|
|
5209
|
+
id: string;
|
|
5210
|
+
name: string;
|
|
5211
|
+
path: Array<string>;
|
|
5212
|
+
type: string;
|
|
5213
|
+
nullable: boolean;
|
|
5214
|
+
}>;
|
|
5215
|
+
};
|
|
5216
|
+
};
|
|
5217
|
+
export type QueryAccessRemoveRelationMutationVariables = Exact<{
|
|
5218
|
+
dataSinkId: string | number;
|
|
5219
|
+
}>;
|
|
5220
|
+
export type QueryAccessRemoveRelationMutation = {
|
|
5221
|
+
bigconsoleRemoveQueryRelation: boolean;
|
|
5222
|
+
};
|
|
5223
|
+
export type QueryAccessSetGrantMutationVariables = Exact<{
|
|
5224
|
+
dataSinkId: string | number;
|
|
5225
|
+
input: Types.BigConsoleQueryGrantInput;
|
|
5226
|
+
}>;
|
|
5227
|
+
export type QueryAccessSetGrantMutation = {
|
|
5228
|
+
bigconsoleSetQueryGrant: {
|
|
5229
|
+
dataSinkId: string;
|
|
5230
|
+
actorId: string;
|
|
5231
|
+
actorType: string;
|
|
5232
|
+
allRows: boolean;
|
|
5233
|
+
valid: boolean;
|
|
5234
|
+
createdBy: string | null;
|
|
5235
|
+
updatedBy: string | null;
|
|
5236
|
+
rowFilter: {
|
|
5237
|
+
fieldId: string;
|
|
5238
|
+
values: Array<string>;
|
|
5239
|
+
} | null;
|
|
5240
|
+
fields: Array<{
|
|
5241
|
+
fieldId: string;
|
|
5242
|
+
access: Types.BigConsoleQueryFieldAccess;
|
|
5243
|
+
}>;
|
|
5244
|
+
};
|
|
5245
|
+
};
|
|
5246
|
+
export type QueryAccessRevokeGrantMutationVariables = Exact<{
|
|
5247
|
+
dataSinkId: string | number;
|
|
5248
|
+
actorId: string | number;
|
|
5249
|
+
}>;
|
|
5250
|
+
export type QueryAccessRevokeGrantMutation = {
|
|
5251
|
+
bigconsoleRevokeQueryGrant: boolean;
|
|
5252
|
+
};
|
|
5084
5253
|
export type FilterPresetFieldsFragment = {
|
|
5085
5254
|
id: string;
|
|
5086
5255
|
dashboardId: string;
|
|
@@ -8781,6 +8950,8 @@ export declare const DataSinkQuotaFieldsFragmentDoc: DocumentNode<DataSinkQuotaF
|
|
|
8781
8950
|
export declare const DataSinkFullFieldsFragmentDoc: DocumentNode<DataSinkFullFieldsFragment, unknown>;
|
|
8782
8951
|
export declare const DataSinkListItemFragmentDoc: DocumentNode<DataSinkListItemFragment, unknown>;
|
|
8783
8952
|
export declare const DataSinkPageInfoFieldsFragmentDoc: DocumentNode<DataSinkPageInfoFieldsFragment, unknown>;
|
|
8953
|
+
export declare const QueryRelationFieldsFragmentDoc: DocumentNode<QueryRelationFieldsFragment, unknown>;
|
|
8954
|
+
export declare const QueryGrantFieldsFragmentDoc: DocumentNode<QueryGrantFieldsFragment, unknown>;
|
|
8784
8955
|
export declare const FilterPresetFieldsFragmentDoc: DocumentNode<FilterPresetFieldsFragment, unknown>;
|
|
8785
8956
|
export declare const NarrativeFieldsFragmentDoc: DocumentNode<NarrativeFieldsFragment, unknown>;
|
|
8786
8957
|
export declare const ParserPageInfoFieldsFragmentDoc: DocumentNode<ParserPageInfoFieldsFragment, unknown>;
|
|
@@ -8917,6 +9088,12 @@ export declare const SaveExploreDocument: DocumentNode<SaveExploreMutation, Save
|
|
|
8917
9088
|
export declare const CreateExploreWidgetDocument: DocumentNode<CreateExploreWidgetMutation, CreateExploreWidgetMutationVariables>;
|
|
8918
9089
|
export declare const ExploreDashboardsDocument: DocumentNode<ExploreDashboardsQuery, ExploreDashboardsQueryVariables>;
|
|
8919
9090
|
export declare const ExplorePagesDocument: DocumentNode<ExplorePagesQuery, ExplorePagesQueryVariables>;
|
|
9091
|
+
export declare const QueryAccessRelationsDocument: DocumentNode<QueryAccessRelationsQuery, QueryAccessRelationsQueryVariables>;
|
|
9092
|
+
export declare const QueryAccessGrantsDocument: DocumentNode<QueryAccessGrantsQuery, QueryAccessGrantsQueryVariables>;
|
|
9093
|
+
export declare const QueryAccessRegisterRelationDocument: DocumentNode<QueryAccessRegisterRelationMutation, QueryAccessRegisterRelationMutationVariables>;
|
|
9094
|
+
export declare const QueryAccessRemoveRelationDocument: DocumentNode<QueryAccessRemoveRelationMutation, QueryAccessRemoveRelationMutationVariables>;
|
|
9095
|
+
export declare const QueryAccessSetGrantDocument: DocumentNode<QueryAccessSetGrantMutation, QueryAccessSetGrantMutationVariables>;
|
|
9096
|
+
export declare const QueryAccessRevokeGrantDocument: DocumentNode<QueryAccessRevokeGrantMutation, QueryAccessRevokeGrantMutationVariables>;
|
|
8920
9097
|
export declare const CreateFilterPresetDocument: DocumentNode<CreateFilterPresetMutation, CreateFilterPresetMutationVariables>;
|
|
8921
9098
|
export declare const DeleteFilterPresetDocument: DocumentNode<DeleteFilterPresetMutation, DeleteFilterPresetMutationVariables>;
|
|
8922
9099
|
export declare const SetDefaultFilterPresetDocument: DocumentNode<SetDefaultFilterPresetMutation, SetDefaultFilterPresetMutationVariables>;
|