backend.ai-ui 25.18.0-canary-2e72edfbc-20251219 → 25.18.0-canary-ee47c4e58-20251222

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.
Files changed (36) hide show
  1. package/dist/__generated__/BAIDomainSelectorQuery.graphql.d.ts +13 -0
  2. package/dist/__generated__/BAIProjectBulkEditModalFragment.graphql.d.ts +12 -0
  3. package/dist/__generated__/BAIProjectBulkEditModalProjectMutation.graphql.d.ts +29 -0
  4. package/dist/__generated__/BAIProjectResourcePolicySelectorQuery.graphql.d.ts +14 -0
  5. package/dist/__generated__/BAIProjectSettingModalAssociateMutation.graphql.d.ts +17 -0
  6. package/dist/__generated__/BAIProjectSettingModalCreateMutation.graphql.d.ts +31 -0
  7. package/dist/__generated__/BAIProjectSettingModalFragment.graphql.d.ts +23 -0
  8. package/dist/__generated__/BAIProjectSettingModalModifyMutation.graphql.d.ts +45 -0
  9. package/dist/__generated__/BAIProjectSettingModalQuery.graphql.d.ts +13 -0
  10. package/dist/__generated__/BAIProjectTableDeleteMutation.graphql.d.ts +16 -0
  11. package/dist/__generated__/BAIProjectTablePurgeMutation.graphql.d.ts +16 -0
  12. package/dist/__generated__/BAIResourceGroupSelectQuery.graphql.d.ts +13 -0
  13. package/dist/backend.ai-ui.js +15811 -14072
  14. package/dist/backend.ai-ui.js.map +1 -1
  15. package/dist/components/BAIAlert.d.ts +7 -0
  16. package/dist/components/BAIAllowedHostNamesSelect.d.ts +6 -0
  17. package/dist/components/BAIDynamicUnitInputNumber.d.ts +15 -0
  18. package/dist/components/BAIDynamicUnitInputNumberWithSlider.d.ts +12 -0
  19. package/dist/components/BAIProjectResourceGroupSelect.d.ts +9 -0
  20. package/dist/components/BAITextHighlighter.d.ts +8 -0
  21. package/dist/components/fragments/BAIDomainSelector.d.ts +7 -0
  22. package/dist/components/fragments/BAIProjectBulkEditModal.d.ts +7 -0
  23. package/dist/components/fragments/BAIProjectResourcePolicySelector.d.ts +5 -0
  24. package/dist/components/fragments/BAIProjectSettingModal.d.ts +8 -0
  25. package/dist/components/fragments/BAIProjectTable.d.ts +3 -2
  26. package/dist/components/fragments/BAIResourceGroupSelect.d.ts +5 -0
  27. package/dist/components/fragments/index.d.ts +9 -0
  28. package/dist/components/index.d.ts +9 -0
  29. package/dist/components/provider/BAIClientProvider/types.d.ts +4 -0
  30. package/dist/components/provider/BAIMetaDataProvider/types.d.ts +1 -11
  31. package/dist/helper/index.d.ts +1 -0
  32. package/dist/helper/reactQueryAlias.d.ts +18 -0
  33. package/dist/hooks/index.d.ts +70 -0
  34. package/dist/hooks/useEventNotStable.d.ts +1 -1
  35. package/dist/hooks/usePaginatedQuery.d.ts +1 -1
  36. package/package.json +4 -2
@@ -0,0 +1,13 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type BAIDomainSelectorQuery$variables = Record<PropertyKey, never>;
3
+ export type BAIDomainSelectorQuery$data = {
4
+ readonly domains: ReadonlyArray<{
5
+ readonly name: string | null | undefined;
6
+ } | null | undefined> | null | undefined;
7
+ };
8
+ export type BAIDomainSelectorQuery = {
9
+ response: BAIDomainSelectorQuery$data;
10
+ variables: BAIDomainSelectorQuery$variables;
11
+ };
12
+ declare const node: ConcreteRequest;
13
+ export default node;
@@ -0,0 +1,12 @@
1
+ import { ReaderFragment, FragmentRefs } from 'relay-runtime';
2
+ export type BAIProjectBulkEditModalFragment$data = ReadonlyArray<{
3
+ readonly name: string | null | undefined;
4
+ readonly row_id: string | null | undefined;
5
+ readonly " $fragmentType": "BAIProjectBulkEditModalFragment";
6
+ }>;
7
+ export type BAIProjectBulkEditModalFragment$key = ReadonlyArray<{
8
+ readonly " $data"?: BAIProjectBulkEditModalFragment$data;
9
+ readonly " $fragmentSpreads": FragmentRefs<"BAIProjectBulkEditModalFragment">;
10
+ }>;
11
+ declare const node: ReaderFragment;
12
+ export default node;
@@ -0,0 +1,29 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type ModifyGroupInput = {
3
+ allowed_vfolder_hosts?: string | null | undefined;
4
+ container_registry?: string | null | undefined;
5
+ description?: string | null | undefined;
6
+ domain_name?: string | null | undefined;
7
+ integration_id?: string | null | undefined;
8
+ is_active?: boolean | null | undefined;
9
+ name?: string | null | undefined;
10
+ resource_policy?: string | null | undefined;
11
+ total_resource_slots?: string | null | undefined;
12
+ user_update_mode?: string | null | undefined;
13
+ user_uuids?: ReadonlyArray<string | null | undefined> | null | undefined;
14
+ };
15
+ export type BAIProjectBulkEditModalProjectMutation$variables = {
16
+ gid: string;
17
+ props: ModifyGroupInput;
18
+ };
19
+ export type BAIProjectBulkEditModalProjectMutation$data = {
20
+ readonly modify_group: {
21
+ readonly ok: boolean | null | undefined;
22
+ } | null | undefined;
23
+ };
24
+ export type BAIProjectBulkEditModalProjectMutation = {
25
+ response: BAIProjectBulkEditModalProjectMutation$data;
26
+ variables: BAIProjectBulkEditModalProjectMutation$variables;
27
+ };
28
+ declare const node: ConcreteRequest;
29
+ export default node;
@@ -0,0 +1,14 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type BAIProjectResourcePolicySelectorQuery$variables = Record<PropertyKey, never>;
3
+ export type BAIProjectResourcePolicySelectorQuery$data = {
4
+ readonly project_resource_policies: ReadonlyArray<{
5
+ readonly id: string;
6
+ readonly name: string;
7
+ } | null | undefined> | null | undefined;
8
+ };
9
+ export type BAIProjectResourcePolicySelectorQuery = {
10
+ response: BAIProjectResourcePolicySelectorQuery$data;
11
+ variables: BAIProjectResourcePolicySelectorQuery$variables;
12
+ };
13
+ declare const node: ConcreteRequest;
14
+ export default node;
@@ -0,0 +1,17 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type BAIProjectSettingModalAssociateMutation$variables = {
3
+ scaling_groups: ReadonlyArray<string | null | undefined>;
4
+ user_group: string;
5
+ };
6
+ export type BAIProjectSettingModalAssociateMutation$data = {
7
+ readonly associate_scaling_groups_with_user_group: {
8
+ readonly msg: string | null | undefined;
9
+ readonly ok: boolean | null | undefined;
10
+ } | null | undefined;
11
+ };
12
+ export type BAIProjectSettingModalAssociateMutation = {
13
+ response: BAIProjectSettingModalAssociateMutation$data;
14
+ variables: BAIProjectSettingModalAssociateMutation$variables;
15
+ };
16
+ declare const node: ConcreteRequest;
17
+ export default node;
@@ -0,0 +1,31 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type GroupInput = {
3
+ allowed_vfolder_hosts?: string | null | undefined;
4
+ container_registry?: string | null | undefined;
5
+ description?: string | null | undefined;
6
+ domain_name: string;
7
+ integration_id?: string | null | undefined;
8
+ is_active?: boolean | null | undefined;
9
+ resource_policy?: string | null | undefined;
10
+ total_resource_slots?: string | null | undefined;
11
+ type?: string | null | undefined;
12
+ };
13
+ export type BAIProjectSettingModalCreateMutation$variables = {
14
+ name: string;
15
+ props: GroupInput;
16
+ };
17
+ export type BAIProjectSettingModalCreateMutation$data = {
18
+ readonly create_group: {
19
+ readonly group: {
20
+ readonly id: string | null | undefined;
21
+ } | null | undefined;
22
+ readonly msg: string | null | undefined;
23
+ readonly ok: boolean | null | undefined;
24
+ } | null | undefined;
25
+ };
26
+ export type BAIProjectSettingModalCreateMutation = {
27
+ response: BAIProjectSettingModalCreateMutation$data;
28
+ variables: BAIProjectSettingModalCreateMutation$variables;
29
+ };
30
+ declare const node: ConcreteRequest;
31
+ export default node;
@@ -0,0 +1,23 @@
1
+ import { ReaderFragment, FragmentRefs } from 'relay-runtime';
2
+ export type BAIProjectSettingModalFragment$data = {
3
+ readonly allowed_vfolder_hosts: string | null | undefined;
4
+ readonly container_registry: string | null | undefined;
5
+ readonly description: string | null | undefined;
6
+ readonly domain_name: string | null | undefined;
7
+ readonly id: string;
8
+ readonly integration_id: string | null | undefined;
9
+ readonly is_active: boolean | null | undefined;
10
+ readonly name: string | null | undefined;
11
+ readonly resource_policy: string | null | undefined;
12
+ readonly row_id: string | null | undefined;
13
+ readonly scaling_groups: ReadonlyArray<string | null | undefined> | null | undefined;
14
+ readonly total_resource_slots: string | null | undefined;
15
+ readonly type: string | null | undefined;
16
+ readonly " $fragmentType": "BAIProjectSettingModalFragment";
17
+ };
18
+ export type BAIProjectSettingModalFragment$key = {
19
+ readonly " $data"?: BAIProjectSettingModalFragment$data;
20
+ readonly " $fragmentSpreads": FragmentRefs<"BAIProjectSettingModalFragment">;
21
+ };
22
+ declare const node: ReaderFragment;
23
+ export default node;
@@ -0,0 +1,45 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type ModifyGroupInput = {
3
+ allowed_vfolder_hosts?: string | null | undefined;
4
+ container_registry?: string | null | undefined;
5
+ description?: string | null | undefined;
6
+ domain_name?: string | null | undefined;
7
+ integration_id?: string | null | undefined;
8
+ is_active?: boolean | null | undefined;
9
+ name?: string | null | undefined;
10
+ resource_policy?: string | null | undefined;
11
+ total_resource_slots?: string | null | undefined;
12
+ user_update_mode?: string | null | undefined;
13
+ user_uuids?: ReadonlyArray<string | null | undefined> | null | undefined;
14
+ };
15
+ export type BAIProjectSettingModalModifyMutation$variables = {
16
+ gid: string;
17
+ isFetchedResourceGroupsEmpty: boolean;
18
+ isResourceGroupsEmpty: boolean;
19
+ props: ModifyGroupInput;
20
+ scaling_groups: ReadonlyArray<string | null | undefined>;
21
+ };
22
+ export type BAIProjectSettingModalModifyMutation$data = {
23
+ readonly associate_scaling_groups_with_user_group?: {
24
+ readonly msg: string | null | undefined;
25
+ readonly ok: boolean | null | undefined;
26
+ } | null | undefined;
27
+ readonly disassociate_all_scaling_groups_with_group?: {
28
+ readonly msg: string | null | undefined;
29
+ readonly ok: boolean | null | undefined;
30
+ } | null | undefined;
31
+ readonly modify_group: {
32
+ readonly group: {
33
+ readonly id: string | null | undefined;
34
+ readonly scaling_groups: ReadonlyArray<string | null | undefined> | null | undefined;
35
+ } | null | undefined;
36
+ readonly msg: string | null | undefined;
37
+ readonly ok: boolean | null | undefined;
38
+ } | null | undefined;
39
+ };
40
+ export type BAIProjectSettingModalModifyMutation = {
41
+ response: BAIProjectSettingModalModifyMutation$data;
42
+ variables: BAIProjectSettingModalModifyMutation$variables;
43
+ };
44
+ declare const node: ConcreteRequest;
45
+ export default node;
@@ -0,0 +1,13 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type BAIProjectSettingModalQuery$variables = Record<PropertyKey, never>;
3
+ export type BAIProjectSettingModalQuery$data = {
4
+ readonly vfolder_host_permissions: {
5
+ readonly vfolder_host_permission_list: ReadonlyArray<string | null | undefined> | null | undefined;
6
+ } | null | undefined;
7
+ };
8
+ export type BAIProjectSettingModalQuery = {
9
+ response: BAIProjectSettingModalQuery$data;
10
+ variables: BAIProjectSettingModalQuery$variables;
11
+ };
12
+ declare const node: ConcreteRequest;
13
+ export default node;
@@ -0,0 +1,16 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type BAIProjectTableDeleteMutation$variables = {
3
+ gid: string;
4
+ };
5
+ export type BAIProjectTableDeleteMutation$data = {
6
+ readonly delete_group: {
7
+ readonly msg: string | null | undefined;
8
+ readonly ok: boolean | null | undefined;
9
+ } | null | undefined;
10
+ };
11
+ export type BAIProjectTableDeleteMutation = {
12
+ response: BAIProjectTableDeleteMutation$data;
13
+ variables: BAIProjectTableDeleteMutation$variables;
14
+ };
15
+ declare const node: ConcreteRequest;
16
+ export default node;
@@ -0,0 +1,16 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type BAIProjectTablePurgeMutation$variables = {
3
+ gid: string;
4
+ };
5
+ export type BAIProjectTablePurgeMutation$data = {
6
+ readonly purge_group: {
7
+ readonly msg: string | null | undefined;
8
+ readonly ok: boolean | null | undefined;
9
+ } | null | undefined;
10
+ };
11
+ export type BAIProjectTablePurgeMutation = {
12
+ response: BAIProjectTablePurgeMutation$data;
13
+ variables: BAIProjectTablePurgeMutation$variables;
14
+ };
15
+ declare const node: ConcreteRequest;
16
+ export default node;
@@ -0,0 +1,13 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type BAIResourceGroupSelectQuery$variables = Record<PropertyKey, never>;
3
+ export type BAIResourceGroupSelectQuery$data = {
4
+ readonly scaling_groups: ReadonlyArray<{
5
+ readonly name: string | null | undefined;
6
+ } | null | undefined> | null | undefined;
7
+ };
8
+ export type BAIResourceGroupSelectQuery = {
9
+ response: BAIResourceGroupSelectQuery$data;
10
+ variables: BAIResourceGroupSelectQuery$variables;
11
+ };
12
+ declare const node: ConcreteRequest;
13
+ export default node;