diff --git a/apps/core/config/default.js b/apps/core/config/default.js index 47f939e55..726df0136 100644 --- a/apps/core/config/default.js +++ b/apps/core/config/default.js @@ -57,7 +57,7 @@ module.exports = { }, lang: { available: process.env.LANG_AVAILABLE || ['fr', 'en'], - default: process.env.LANG_DEFAULT || 'fr' + default: process.env.LANG_DEFAULT || 'en' }, logs: { level: process.env.LOG_LEVEL || 'info', @@ -139,7 +139,7 @@ module.exports = { endpoint: process.env.IMPORT_ENDPOINT || 'imports', sizeLimit: process.env.IMPORT_SIZE_LIMIT || 10, // megabytes groupData: process.env.IMPORT_GROUP_DATA || 50, // number of elements processed at the same time, - maxStackedElements: process.env.IMPORT_MAX_STACKED_ELEMENTS || 10000, // We clear the parser value stack based on the number of elements present + maxStackedElements: process.env.IMPORT_MAX_STACKED_ELEMENTS || 10000 // We clear the parser value stack based on the number of elements present }, preview: { directory: process.env.PREVIEWS_DIRECTORY || '/results' diff --git a/apps/core/src/__tests__/e2e/api/applications/applications.test.ts b/apps/core/src/__tests__/e2e/api/applications/applications.test.ts index 86a719fcc..1639c28ec 100644 --- a/apps/core/src/__tests__/e2e/api/applications/applications.test.ts +++ b/apps/core/src/__tests__/e2e/api/applications/applications.test.ts @@ -8,7 +8,7 @@ describe('Applications', () => { const res = await makeGraphQlCall(`mutation { saveApplication(application: { id: "test_app", - label: {fr: "Test app"}, + label: {en: "Test app"}, endpoint: "my-app", module: "data-studio" }) { @@ -49,7 +49,6 @@ describe('Applications', () => { test('Get applications list', async () => { const res = await makeGraphQlCall('{ applications { list { id } } }'); - expect(res.status).toBe(200); expect(res.data.data.applications.list.length).toBeGreaterThanOrEqual(1); expect(res.data.errors).toBeUndefined(); diff --git a/apps/core/src/__tests__/e2e/api/e2eUtils.ts b/apps/core/src/__tests__/e2e/api/e2eUtils.ts index 059dfaa61..657d11f1e 100644 --- a/apps/core/src/__tests__/e2e/api/e2eUtils.ts +++ b/apps/core/src/__tests__/e2e/api/e2eUtils.ts @@ -74,7 +74,7 @@ export async function gqlSaveLibrary(id: string, label: string, additionalAttrib `mutation { saveLibrary(library: { id: "${id}", - label: {fr: "${label}"}, + label: {en: "${label}"}, attributes: [${libAttributes.map(a => `"${a}"`).join(', ')}] }) { id } }`, @@ -89,7 +89,7 @@ export async function gqlSaveApplication(id: string, label: string, endpoint: st `mutation { saveApplication(application: { id: "${id}", - label: {fr: "${label}"}, + label: {en: "${label}"}, endpoint: "${endpoint}", module: "data-studio" }) { id } @@ -136,7 +136,7 @@ export async function gqlSaveAttribute(params: { { id: "${field.id}", format: ${field.format ?? 'null'}, - label: {fr: "${field.id}"}, + label: {en: "${field.id}"}, validation_regex: ${field.validation_regex ? `"${field.validation_regex}"` : 'null'}, embedded_fields: ${ field.embedded_fields ? `[${field.embedded_fields.map(_convertEmbeddedFields).join(', ')}]` : 'null' @@ -174,8 +174,8 @@ export async function gqlSaveAttribute(params: { id: "${id}", type: ${type}, format: ${format}, - label: {fr: "${label}"}, - description: {fr: "${description ? `"${description}"` : 'null'}"}, + label: {en: "${label}"}, + description: {en: "${description ? `"${description}"` : 'null'}"}, linked_library: ${linkedLibrary ? `"${linkedLibrary}"` : 'null'}, reverse_link: ${reverseLink ? `"${reverseLink}"` : 'null'}, linked_tree: ${linkedTree ? `"${linkedTree}"` : 'null'}, @@ -206,7 +206,7 @@ export async function gqlSaveTree(id: string, label: string, libraries: string[] saveTree( tree: { id: "${id}", - label: {fr: "${label}"}, + label: {en: "${label}"}, libraries: [${libraries .map( l => @@ -304,7 +304,7 @@ export async function gqlSaveVersionProfile(profileId: string, label: string, tr `mutation { saveVersionProfile(versionProfile: { id: "${profileId}", - label: {fr: "label"}, + label: {en: "label"}, trees: [${trees.map(a => `"${a}"`).join(', ')}] }) { id diff --git a/apps/core/src/__tests__/e2e/api/forms/forms.test.ts b/apps/core/src/__tests__/e2e/api/forms/forms.test.ts index 14998cea3..5212c41d1 100644 --- a/apps/core/src/__tests__/e2e/api/forms/forms.test.ts +++ b/apps/core/src/__tests__/e2e/api/forms/forms.test.ts @@ -17,18 +17,18 @@ describe('Forms', () => { await makeGraphQlCall(`mutation { l1: saveLibrary(library: { id: "${libraryId}", - label: {fr: "Test lib"} + label: {en: "Test lib"} }) { id }, l2: saveLibrary(library: { id: "${libraryId2}", - label: {fr: "Test lib"} + label: {en: "Test lib"} }) { id }, a: saveAttribute( attribute: { id: "${fieldAttributeId}", type: simple, format: text, - label: {fr: "Test attr simple"} + label: {en: "Test attr simple"} } ) { id @@ -44,7 +44,7 @@ describe('Forms', () => { form: { id: "${formName}" library: "${libraryId}" - label: { fr: "Formulaire édition" } + label: { en: "Formulaire édition" } elements: [ { elements: [ @@ -96,7 +96,7 @@ describe('Forms', () => { form: { id: "${formName}" library: "${libraryId}" - label: { fr: "Formulaire édition" } + label: { en: "Formulaire édition" } elements: [ { elements: [ @@ -146,7 +146,7 @@ describe('Forms', () => { form: { id: "${formName}" library: "${libraryId2}" - label: { fr: "Formulaire édition" } + label: { en: "Formulaire édition" } } ) { id @@ -203,7 +203,7 @@ describe('Forms', () => { form: { id: "${formName2}" library: "${libraryId}" - label: { fr: "Formulaire édition" } + label: { en: "Formulaire édition" } elements: [ { elements: [ @@ -230,7 +230,7 @@ describe('Forms', () => { form: { id: "${formName2}" library: "${libraryId}" - label: { fr: "Formulaire édition modifié" } + label: { en: "Formulaire édition modifié" } } ) { id @@ -273,7 +273,7 @@ describe('Forms', () => { form: { id: "${formName}_for_record_form" library: "${libraryId}" - label: { fr: "Formulaire édition" } + label: { en: "Formulaire édition" } elements: [ { elements: [ diff --git a/apps/core/src/__tests__/e2e/api/libraries/libraries.test.ts b/apps/core/src/__tests__/e2e/api/libraries/libraries.test.ts index e72f2c303..b4a29b49f 100644 --- a/apps/core/src/__tests__/e2e/api/libraries/libraries.test.ts +++ b/apps/core/src/__tests__/e2e/api/libraries/libraries.test.ts @@ -14,7 +14,7 @@ describe('Libraries', () => { test('Create library', async () => { const res = await makeGraphQlCall(`mutation { - saveLibrary(library: {id: "libraries_test", label: {fr: "Test lib"}}) { + saveLibrary(library: {id: "libraries_test", label: {en: "Test lib"}}) { id attributes {id type} fullTextAttributes { id } @@ -42,7 +42,7 @@ describe('Libraries', () => { test('Create files library', async () => { const res = await makeGraphQlCall(`mutation { - saveLibrary(library: {id: "libraries_files_test", label: {fr: "Test lib"}, behavior: files}) { + saveLibrary(library: {id: "libraries_files_test", label: {en: "Test lib"}, behavior: files}) { id attributes { id diff --git a/apps/core/src/__tests__/e2e/api/permissions/permissions.test.ts b/apps/core/src/__tests__/e2e/api/permissions/permissions.test.ts index cbd2ab327..49941a4a4 100644 --- a/apps/core/src/__tests__/e2e/api/permissions/permissions.test.ts +++ b/apps/core/src/__tests__/e2e/api/permissions/permissions.test.ts @@ -83,7 +83,7 @@ describe('Permissions', () => { id: "${testPermAttrId}", type: simple, format: text, - label: {fr: "Permissions Test Attribute"}, + label: {en: "Permissions Test Attribute"}, permissions_conf: {permissionTreeAttributes: ["${testLibAttrId}"], relation: and} }) { permissions_conf { @@ -348,8 +348,8 @@ describe('Permissions', () => { beforeAll(async () => { // Create new test libs await makeGraphQlCall(`mutation { - l1: saveLibrary(library: {id: "${inheritTestLibName}", label: {fr: "Test lib"}}) { id }, - l2: saveLibrary(library: {id: "${inheritTestTreeElemLibName}", label: {fr: "Test lib"}}) { id } + l1: saveLibrary(library: {id: "${inheritTestLibName}", label: {en: "Test lib"}}) { id }, + l2: saveLibrary(library: {id: "${inheritTestTreeElemLibName}", label: {en: "Test lib"}}) { id } }`); // Create test tree diff --git a/apps/core/src/__tests__/e2e/api/permissions/treeNodePermissions.test.ts b/apps/core/src/__tests__/e2e/api/permissions/treeNodePermissions.test.ts index b9425e162..d93119630 100644 --- a/apps/core/src/__tests__/e2e/api/permissions/treeNodePermissions.test.ts +++ b/apps/core/src/__tests__/e2e/api/permissions/treeNodePermissions.test.ts @@ -51,7 +51,7 @@ describe('TreeNodePermissions', () => { saveTree( tree: { id: "${elementsTreeId}", - label: {fr: "${elementsTreeId}"}, + label: {en: "${elementsTreeId}"}, libraries: [{ library: "${elementsTreeLibId}", settings: {allowMultiplePositions: false, allowedAtRoot: true, allowedChildren: ["__all__"]} diff --git a/apps/core/src/__tests__/e2e/api/records/recordIdentity.test.ts b/apps/core/src/__tests__/e2e/api/records/recordIdentity.test.ts index 1289b7197..c4b25fc32 100644 --- a/apps/core/src/__tests__/e2e/api/records/recordIdentity.test.ts +++ b/apps/core/src/__tests__/e2e/api/records/recordIdentity.test.ts @@ -69,7 +69,7 @@ describe('Record identity', () => { `mutation { saveLibrary(library: { id: "${testLinkedLibraryId}", - label: {fr: "Test Lib"}, + label: {en: "Test Lib"}, attributes: ["${testLabelAttributeId}", "${testColorAttributeId}"] recordIdentityConf: { label: "${testLabelAttributeId}", @@ -84,7 +84,7 @@ describe('Record identity', () => { `mutation { saveLibrary(library: { id: "${testTreeRecordLibraryId}", - label: {fr: "Test Lib"}, + label: {en: "Test Lib"}, attributes: ["${testLabelAttributeId}", "${testColorAttributeId}"] recordIdentityConf: { label: "${testLabelAttributeId}", @@ -99,7 +99,7 @@ describe('Record identity', () => { `mutation { saveLibrary(library: { id: "${testLinkedIdentityLibraryId}", - label: {fr: "Test Lib"}, + label: {en: "Test Lib"}, attributes: ["${testLinkAttributeId}"] recordIdentityConf: { label: "${testLinkAttributeId}", @@ -124,7 +124,7 @@ describe('Record identity', () => { `mutation { saveLibrary(library: { id: "${testTreeIdentityLibraryId}", - label: {fr: "Test Lib"}, + label: {en: "Test Lib"}, attributes: ["${testTreeAttributeId}"], recordIdentityConf: { label: "${testTreeAttributeId}", diff --git a/apps/core/src/__tests__/e2e/api/trees/trees.test.ts b/apps/core/src/__tests__/e2e/api/trees/trees.test.ts index 0939c4420..60f31f661 100644 --- a/apps/core/src/__tests__/e2e/api/trees/trees.test.ts +++ b/apps/core/src/__tests__/e2e/api/trees/trees.test.ts @@ -23,7 +23,7 @@ describe('Trees', () => { saveTree( tree: { id: "${testTreeName}", - label: {fr: "Test tree"}, + label: {en: "Test tree"}, libraries: [{ library: "users", settings: {allowMultiplePositions: true, allowedAtRoot: true, allowedChildren: ["__all__"]} diff --git a/apps/core/src/__tests__/e2e/api/values/values.test.ts b/apps/core/src/__tests__/e2e/api/values/values.test.ts index dc5e7b966..ec21b4494 100644 --- a/apps/core/src/__tests__/e2e/api/values/values.test.ts +++ b/apps/core/src/__tests__/e2e/api/values/values.test.ts @@ -37,7 +37,7 @@ describe('Values', () => { type: simple, format: text, unique: true, - label: {fr: "Test attr simple"}, + label: {en: "Test attr simple"}, actions_list: { saveValue: [ {id: "validateFormat",}, @@ -56,7 +56,7 @@ describe('Values', () => { id: "${attrSimpleExtendedName}", type: simple, format: extended, - label: {fr: "Test attr simple étendu"}, + label: {en: "Test attr simple étendu"}, embedded_fields: [ { format: text, @@ -90,7 +90,7 @@ describe('Values', () => { id: "${attrAdvancedName}", type: advanced, format: text, - label: {fr: "Test attr advanced"} + label: {en: "Test attr advanced"} } ) { id } }`); @@ -102,7 +102,7 @@ describe('Values', () => { type: simple_link, format: text, linked_library: "${testLibName}", - label: {fr: "Test attr simple link"} + label: {en: "Test attr simple link"} } ) { id } }`); @@ -114,7 +114,7 @@ describe('Values', () => { type: advanced_link, format: text, linked_library: "${testLibName}", - label: {fr: "Test attr advanced link"} + label: {en: "Test attr advanced link"} } ) { id } }`); @@ -126,7 +126,7 @@ describe('Values', () => { type: advanced_link, format: text, linked_library: "${testLibName}", - label: {fr: "Test attr advanced link"}, + label: {en: "Test attr advanced link"}, reverse_link: "${attrAdvancedLinkName}" } ) { id } @@ -139,7 +139,7 @@ describe('Values', () => { type: advanced_link, format: text, linked_library: "${testLibName}", - label: {fr: "Test attr advanced link"}, + label: {en: "Test attr advanced link"}, reverse_link: "${attrSimpleLinkName}" } ) { id } @@ -154,7 +154,7 @@ describe('Values', () => { // Create library to use in tree await makeGraphQlCall(`mutation { - saveLibrary(library: {id: "${treeLibName}", label: {fr: "Test tree lib"}}) { id } + saveLibrary(library: {id: "${treeLibName}", label: {en: "Test tree lib"}}) { id } }`); // create tree @@ -167,7 +167,7 @@ describe('Values', () => { id: "${attrTreeName}", type: tree, linked_tree: "${treeName}", - label: {fr: "Test tree attr"} + label: {en: "Test tree attr"} } ) { id } }`); @@ -176,7 +176,7 @@ describe('Values', () => { await makeGraphQlCall(`mutation { saveLibrary(library: { id: "${testLibName}", - label: {fr: "Test lib"}, + label: {en: "Test lib"}, attributes: [ "id", "modified_by", diff --git a/apps/core/src/__tests__/e2e/api/versionProfile/versionProfile.test.ts b/apps/core/src/__tests__/e2e/api/versionProfile/versionProfile.test.ts index 7f2381a5c..6481cbbc0 100644 --- a/apps/core/src/__tests__/e2e/api/versionProfile/versionProfile.test.ts +++ b/apps/core/src/__tests__/e2e/api/versionProfile/versionProfile.test.ts @@ -16,8 +16,8 @@ describe('VersionProfiles', () => { const resSaveProfile = await makeGraphQlCall(`mutation { saveVersionProfile(versionProfile: { id: "${profileId}", - label: {fr: "test_profile"}, - description: {fr: "Best profile ever!"}, + label: {en: "test_profile"}, + description: {en: "Best profile ever!"}, trees: ["${testTreeName}"], }) { id @@ -54,7 +54,7 @@ describe('VersionProfiles', () => { const resUpdateProfile = await makeGraphQlCall(`mutation { saveVersionProfile(versionProfile: { id: "${profileId}", - label: {fr: "test_profile modified"}, + label: {en: "test_profile modified"}, }) { id label @@ -64,7 +64,7 @@ describe('VersionProfiles', () => { expect(resUpdateProfile.status).toBe(200); expect(resUpdateProfile.data.errors).toBeUndefined(); - expect(resUpdateProfile.data.data.saveVersionProfile.label.fr).toBe('test_profile modified'); + expect(resUpdateProfile.data.data.saveVersionProfile.label.en).toBe('test_profile modified'); // Delete view const resDeleteProfile = await makeGraphQlCall(`mutation { diff --git a/apps/core/src/__tests__/e2e/api/views/views.test.ts b/apps/core/src/__tests__/e2e/api/views/views.test.ts index 7cf07d882..3acbe5473 100644 --- a/apps/core/src/__tests__/e2e/api/views/views.test.ts +++ b/apps/core/src/__tests__/e2e/api/views/views.test.ts @@ -19,8 +19,8 @@ describe('Views', () => { library: "${testLibName}", display: {type: ${ViewTypes.LIST}, size: ${ViewSizes.MEDIUM}}, shared: true, - label: {fr: "test_first_view"}, - description: {fr: "Best view ever!"}, + label: {en: "test_first_view"}, + description: {en: "Best view ever!"}, color: "#FFFFFF", filters: [ {field: "label", value: "Test", condition: ${AttributeCondition.EQUAL}} @@ -33,8 +33,8 @@ describe('Views', () => { library: "${testLibName}", display: {type: ${ViewTypes.LIST}, size: ${ViewSizes.MEDIUM}}, shared: true, - label: {fr: "test_second_view"}, - description: {fr: "Best view ever!"}, + label: {en: "test_second_view"}, + description: {en: "Best view ever!"}, color: "#FFFFFF", filters: [ {field: "label", value: "Test", condition: ${AttributeCondition.EQUAL}} @@ -83,8 +83,8 @@ describe('Views', () => { library: "${testLibName}", display: {type: ${ViewTypes.LIST}, size: ${ViewSizes.MEDIUM}}, shared: true, - label: {fr: "My super view!"}, - description: {fr: "Best view ever!"}, + label: {en: "My super view!"}, + description: {en: "Best view ever!"}, color: "#000000", filters: [ {field: "label", value: "Test", condition: EQUAL} diff --git a/apps/portal/src/components/UserMenu/UserMenu.test.tsx b/apps/portal/src/components/UserMenu/UserMenu.test.tsx index f9fae1e55..c66f36708 100644 --- a/apps/portal/src/components/UserMenu/UserMenu.test.tsx +++ b/apps/portal/src/components/UserMenu/UserMenu.test.tsx @@ -10,9 +10,9 @@ import UserMenu from './UserMenu'; describe('UserMenu', () => { const mockLangContext: leavUi.ILangContext = { - lang: ['fr'], + lang: ['en'], availableLangs: ['fr', 'en'], - defaultLang: 'fr', + defaultLang: 'en', setLang: jest.fn() }; @@ -47,7 +47,7 @@ describe('UserMenu', () => { // the button as no accessible name we can use userEvent.click(screen.getByTestId('user-panel').getElementsByClassName('kit-action-more')[0]); - userEvent.click(await screen.findByText(/fr/i)); + userEvent.click(await screen.findByText(/en/i)); expect(mockLangContext.setLang).toHaveBeenCalled(); }); }); diff --git a/libs/ui/src/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.ts b/libs/ui/src/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.ts index 2dd00fba2..9af7748e4 100644 --- a/libs/ui/src/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.ts +++ b/libs/ui/src/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.ts @@ -1,5 +1,8 @@ // Copyright LEAV Solutions 2017 // This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 import {IField} from '_ui/types/search'; import { diff --git a/libs/ui/src/_gqlTypes/index.ts b/libs/ui/src/_gqlTypes/index.ts index 96bf96644..d437a2bda 100644 --- a/libs/ui/src/_gqlTypes/index.ts +++ b/libs/ui/src/_gqlTypes/index.ts @@ -1,1866 +1,5115 @@ -import {IPreviewScalar} from '@leav/utils' -import { gql } from '@apollo/client'; +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt +import {IPreviewScalar} from '@leav/utils'; +import {gql} from '@apollo/client'; import * as Apollo from '@apollo/client'; export type Maybe = T | null; export type InputMaybe = Maybe; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +export type Exact = {[K in keyof T]: T[K]}; +export type MakeOptional = Omit & {[SubKey in K]?: Maybe}; +export type MakeMaybe = Omit & {[SubKey in K]: Maybe}; const defaultOptions = {} as const; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; - Any: any; - DateTime: any; - FullTreeContent: any; - JSON: any; - JSONObject: any; - Preview: IPreviewScalar; - SystemTranslation: any; - SystemTranslationOptional: any; - TaskPriority: any; - Upload: any; + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; + Any: any; + DateTime: any; + FullTreeContent: any; + JSON: any; + JSONObject: any; + Preview: IPreviewScalar; + SystemTranslation: any; + SystemTranslationOptional: any; + TaskPriority: any; + Upload: any; }; export type ActionConfigurationInput = { - error_message?: InputMaybe; - id: Scalars['ID']; - params?: InputMaybe>; + error_message?: InputMaybe; + id: Scalars['ID']; + params?: InputMaybe>; }; export type ActionConfigurationParamInput = { - name: Scalars['String']; - value: Scalars['String']; + name: Scalars['String']; + value: Scalars['String']; }; export enum ActionIoTypes { - boolean = 'boolean', - number = 'number', - object = 'object', - string = 'string' + boolean = 'boolean', + number = 'number', + object = 'object', + string = 'string' } export type ActionsListConfigurationInput = { - deleteValue?: InputMaybe>; - getValue?: InputMaybe>; - saveValue?: InputMaybe>; + deleteValue?: InputMaybe>; + getValue?: InputMaybe>; + saveValue?: InputMaybe>; }; export type ApiKeyInput = { - expiresAt?: InputMaybe; - id?: InputMaybe; - label: Scalars['String']; - userId: Scalars['String']; + expiresAt?: InputMaybe; + id?: InputMaybe; + label: Scalars['String']; + userId: Scalars['String']; }; export type ApiKeysFiltersInput = { - createdBy?: InputMaybe; - label?: InputMaybe; - modifiedBy?: InputMaybe; - user_id?: InputMaybe; + createdBy?: InputMaybe; + label?: InputMaybe; + modifiedBy?: InputMaybe; + user_id?: InputMaybe; }; export enum ApiKeysSortableFields { - createdAt = 'createdAt', - createdBy = 'createdBy', - expiresAt = 'expiresAt', - label = 'label', - modifiedAt = 'modifiedAt', - modifiedBy = 'modifiedBy' + createdAt = 'createdAt', + createdBy = 'createdBy', + expiresAt = 'expiresAt', + label = 'label', + modifiedAt = 'modifiedAt', + modifiedBy = 'modifiedBy' } export type ApplicationEventFiltersInput = { - applicationId?: InputMaybe; - events?: InputMaybe>; - ignoreOwnEvents?: InputMaybe; + applicationId?: InputMaybe; + events?: InputMaybe>; + ignoreOwnEvents?: InputMaybe; }; export enum ApplicationEventTypes { - DELETE = 'DELETE', - SAVE = 'SAVE' + DELETE = 'DELETE', + SAVE = 'SAVE' } export type ApplicationIconInput = { - libraryId: Scalars['String']; - recordId: Scalars['String']; + libraryId: Scalars['String']; + recordId: Scalars['String']; }; export type ApplicationInput = { - color?: InputMaybe; - description?: InputMaybe; - endpoint?: InputMaybe; - icon?: InputMaybe; - id: Scalars['ID']; - label?: InputMaybe; - module?: InputMaybe; - settings?: InputMaybe; - type?: InputMaybe; + color?: InputMaybe; + description?: InputMaybe; + endpoint?: InputMaybe; + icon?: InputMaybe; + id: Scalars['ID']; + label?: InputMaybe; + module?: InputMaybe; + settings?: InputMaybe; + type?: InputMaybe; }; export enum ApplicationSortableFields { - endpoint = 'endpoint', - id = 'id', - module = 'module', - system = 'system', - type = 'type' + endpoint = 'endpoint', + id = 'id', + module = 'module', + system = 'system', + type = 'type' } export enum ApplicationType { - external = 'external', - internal = 'internal' + external = 'external', + internal = 'internal' } export type ApplicationsFiltersInput = { - endpoint?: InputMaybe; - id?: InputMaybe; - label?: InputMaybe; - module?: InputMaybe; - system?: InputMaybe; - type?: InputMaybe>>; + endpoint?: InputMaybe; + id?: InputMaybe; + label?: InputMaybe; + module?: InputMaybe; + system?: InputMaybe; + type?: InputMaybe>>; }; export enum AttributeFormat { - boolean = 'boolean', - color = 'color', - date = 'date', - date_range = 'date_range', - encrypted = 'encrypted', - extended = 'extended', - numeric = 'numeric', - rich_text = 'rich_text', - text = 'text' + boolean = 'boolean', + color = 'color', + date = 'date', + date_range = 'date_range', + encrypted = 'encrypted', + extended = 'extended', + numeric = 'numeric', + rich_text = 'rich_text', + text = 'text' } export type AttributeInput = { - actions_list?: InputMaybe; - description?: InputMaybe; - embedded_fields?: InputMaybe>>; - format?: InputMaybe; - id: Scalars['ID']; - label?: InputMaybe; - linked_library?: InputMaybe; - linked_tree?: InputMaybe; - metadata_fields?: InputMaybe>; - multiple_values?: InputMaybe; - permissions_conf?: InputMaybe; - readonly?: InputMaybe; - reverse_link?: InputMaybe; - type?: InputMaybe; - unique?: InputMaybe; - values_list?: InputMaybe; - versions_conf?: InputMaybe; + actions_list?: InputMaybe; + description?: InputMaybe; + embedded_fields?: InputMaybe>>; + format?: InputMaybe; + id: Scalars['ID']; + label?: InputMaybe; + linked_library?: InputMaybe; + linked_tree?: InputMaybe; + metadata_fields?: InputMaybe>; + multiple_values?: InputMaybe; + permissions_conf?: InputMaybe; + readonly?: InputMaybe; + reverse_link?: InputMaybe; + type?: InputMaybe; + unique?: InputMaybe; + values_list?: InputMaybe; + versions_conf?: InputMaybe; }; export type AttributePermissionsRecord = { - id?: InputMaybe; - library: Scalars['String']; + id?: InputMaybe; + library: Scalars['String']; }; export enum AttributeType { - advanced = 'advanced', - advanced_link = 'advanced_link', - simple = 'simple', - simple_link = 'simple_link', - tree = 'tree' + advanced = 'advanced', + advanced_link = 'advanced_link', + simple = 'simple', + simple_link = 'simple_link', + tree = 'tree' } export type AttributesFiltersInput = { - format?: InputMaybe>>; - id?: InputMaybe; - label?: InputMaybe; - libraries?: InputMaybe>>; - librariesExcluded?: InputMaybe>>; - multiple_values?: InputMaybe; - system?: InputMaybe; - type?: InputMaybe>>; - versionable?: InputMaybe; + format?: InputMaybe>>; + id?: InputMaybe; + label?: InputMaybe; + libraries?: InputMaybe>>; + librariesExcluded?: InputMaybe>>; + multiple_values?: InputMaybe; + system?: InputMaybe; + type?: InputMaybe>>; + versionable?: InputMaybe; }; export enum AttributesSortableFields { - format = 'format', - id = 'id', - linked_library = 'linked_library', - linked_tree = 'linked_tree', - multiple_values = 'multiple_values', - type = 'type' + format = 'format', + id = 'id', + linked_library = 'linked_library', + linked_tree = 'linked_tree', + multiple_values = 'multiple_values', + type = 'type' } export enum AvailableLanguage { - en = 'en', - fr = 'fr' + en = 'en', + fr = 'fr' } export type CreateRecordDataInput = { - values?: InputMaybe>; - version?: InputMaybe>; + values?: InputMaybe>; + version?: InputMaybe>; }; export type DeleteTaskInput = { - archive: Scalars['Boolean']; - id: Scalars['ID']; + archive: Scalars['Boolean']; + id: Scalars['ID']; }; export type EmbeddedAttributeInput = { - description?: InputMaybe; - embedded_fields?: InputMaybe>>; - format?: InputMaybe; - id: Scalars['ID']; - label?: InputMaybe; - validation_regex?: InputMaybe; + description?: InputMaybe; + embedded_fields?: InputMaybe>>; + format?: InputMaybe; + id: Scalars['ID']; + label?: InputMaybe; + validation_regex?: InputMaybe; }; export type FileInput = { - data: Scalars['Upload']; - replace?: InputMaybe; - size?: InputMaybe; - uid: Scalars['String']; + data: Scalars['Upload']; + replace?: InputMaybe; + size?: InputMaybe; + uid: Scalars['String']; }; export enum FileType { - audio = 'audio', - document = 'document', - image = 'image', - other = 'other', - video = 'video' + audio = 'audio', + document = 'document', + image = 'image', + other = 'other', + video = 'video' } export type FormDependencyValueInput = { - attribute: Scalars['ID']; - value: Scalars['ID']; + attribute: Scalars['ID']; + value: Scalars['ID']; }; export type FormElementInput = { - containerId: Scalars['ID']; - id: Scalars['ID']; - order: Scalars['Int']; - settings: Array; - type: FormElementTypes; - uiElementType: Scalars['String']; + containerId: Scalars['ID']; + id: Scalars['ID']; + order: Scalars['Int']; + settings: Array; + type: FormElementTypes; + uiElementType: Scalars['String']; }; export type FormElementSettingsInput = { - key: Scalars['String']; - value: Scalars['Any']; + key: Scalars['String']; + value: Scalars['Any']; }; export enum FormElementTypes { - field = 'field', - layout = 'layout' + field = 'field', + layout = 'layout' } export type FormElementsByDepsInput = { - dependencyValue?: InputMaybe; - elements: Array; + dependencyValue?: InputMaybe; + elements: Array; }; export type FormFiltersInput = { - id?: InputMaybe; - label?: InputMaybe; - library: Scalars['ID']; - system?: InputMaybe; + id?: InputMaybe; + label?: InputMaybe; + library: Scalars['ID']; + system?: InputMaybe; }; export type FormInput = { - dependencyAttributes?: InputMaybe>; - elements?: InputMaybe>; - id: Scalars['ID']; - label?: InputMaybe; - library: Scalars['ID']; + dependencyAttributes?: InputMaybe>; + elements?: InputMaybe>; + id: Scalars['ID']; + label?: InputMaybe; + library: Scalars['ID']; }; export enum FormsSortableFields { - id = 'id', - library = 'library', - system = 'system' + id = 'id', + library = 'library', + system = 'system' } export type GlobalSettingsIconInput = { - library: Scalars['String']; - recordId: Scalars['String']; + library: Scalars['String']; + recordId: Scalars['String']; }; export type GlobalSettingsInput = { - icon?: InputMaybe; - name?: InputMaybe; + icon?: InputMaybe; + name?: InputMaybe; }; export enum IoTypes { - boolean = 'boolean', - number = 'number', - object = 'object', - string = 'string' + boolean = 'boolean', + number = 'number', + object = 'object', + string = 'string' } export enum ImportMode { - insert = 'insert', - update = 'update', - upsert = 'upsert' + insert = 'insert', + update = 'update', + upsert = 'upsert' } export enum ImportType { - IGNORE = 'IGNORE', - LINK = 'LINK', - STANDARD = 'STANDARD' + IGNORE = 'IGNORE', + LINK = 'LINK', + STANDARD = 'STANDARD' } export type LibrariesFiltersInput = { - behavior?: InputMaybe>; - id?: InputMaybe>; - label?: InputMaybe>; - system?: InputMaybe; + behavior?: InputMaybe>; + id?: InputMaybe>; + label?: InputMaybe>; + system?: InputMaybe; }; export enum LibrariesSortableFields { - behavior = 'behavior', - id = 'id', - system = 'system' + behavior = 'behavior', + id = 'id', + system = 'system' } export enum LibraryBehavior { - directories = 'directories', - files = 'files', - standard = 'standard' + directories = 'directories', + files = 'files', + standard = 'standard' } export type LibraryIconInput = { - libraryId: Scalars['String']; - recordId: Scalars['String']; + libraryId: Scalars['String']; + recordId: Scalars['String']; }; export type LibraryInput = { - attributes?: InputMaybe>; - behavior?: InputMaybe; - defaultView?: InputMaybe; - fullTextAttributes?: InputMaybe>; - icon?: InputMaybe; - id: Scalars['ID']; - label?: InputMaybe; - permissions_conf?: InputMaybe; - previewsSettings?: InputMaybe>; - recordIdentityConf?: InputMaybe; + attributes?: InputMaybe>; + behavior?: InputMaybe; + defaultView?: InputMaybe; + fullTextAttributes?: InputMaybe>; + icon?: InputMaybe; + id: Scalars['ID']; + label?: InputMaybe; + permissions_conf?: InputMaybe; + previewsSettings?: InputMaybe>; + recordIdentityConf?: InputMaybe; }; export type LibraryPreviewsSettingsInput = { - description?: InputMaybe; - label: Scalars['SystemTranslation']; - versions: PreviewVersionInput; + description?: InputMaybe; + label: Scalars['SystemTranslation']; + versions: PreviewVersionInput; }; export enum LogAction { - API_KEY_DELETE = 'API_KEY_DELETE', - API_KEY_SAVE = 'API_KEY_SAVE', - APP_DELETE = 'APP_DELETE', - APP_SAVE = 'APP_SAVE', - ATTRIBUTE_DELETE = 'ATTRIBUTE_DELETE', - ATTRIBUTE_SAVE = 'ATTRIBUTE_SAVE', - CONFIG_IMPORT_END = 'CONFIG_IMPORT_END', - CONFIG_IMPORT_START = 'CONFIG_IMPORT_START', - DATA_IMPORT_END = 'DATA_IMPORT_END', - DATA_IMPORT_START = 'DATA_IMPORT_START', - EXPORT_END = 'EXPORT_END', - EXPORT_START = 'EXPORT_START', - GLOBAL_SETTINGS_SAVE = 'GLOBAL_SETTINGS_SAVE', - LIBRARY_DELETE = 'LIBRARY_DELETE', - LIBRARY_PURGE = 'LIBRARY_PURGE', - LIBRARY_SAVE = 'LIBRARY_SAVE', - PERMISSION_SAVE = 'PERMISSION_SAVE', - RECORD_DELETE = 'RECORD_DELETE', - RECORD_SAVE = 'RECORD_SAVE', - TASKS_DELETE = 'TASKS_DELETE', - TREE_ADD_ELEMENT = 'TREE_ADD_ELEMENT', - TREE_DELETE = 'TREE_DELETE', - TREE_DELETE_ELEMENT = 'TREE_DELETE_ELEMENT', - TREE_MOVE_ELEMENT = 'TREE_MOVE_ELEMENT', - TREE_SAVE = 'TREE_SAVE', - VALUE_DELETE = 'VALUE_DELETE', - VALUE_SAVE = 'VALUE_SAVE', - VERSION_PROFILE_DELETE = 'VERSION_PROFILE_DELETE', - VERSION_PROFILE_SAVE = 'VERSION_PROFILE_SAVE' + API_KEY_DELETE = 'API_KEY_DELETE', + API_KEY_SAVE = 'API_KEY_SAVE', + APP_DELETE = 'APP_DELETE', + APP_SAVE = 'APP_SAVE', + ATTRIBUTE_DELETE = 'ATTRIBUTE_DELETE', + ATTRIBUTE_SAVE = 'ATTRIBUTE_SAVE', + CONFIG_IMPORT_END = 'CONFIG_IMPORT_END', + CONFIG_IMPORT_START = 'CONFIG_IMPORT_START', + DATA_IMPORT_END = 'DATA_IMPORT_END', + DATA_IMPORT_START = 'DATA_IMPORT_START', + EXPORT_END = 'EXPORT_END', + EXPORT_START = 'EXPORT_START', + GLOBAL_SETTINGS_SAVE = 'GLOBAL_SETTINGS_SAVE', + LIBRARY_DELETE = 'LIBRARY_DELETE', + LIBRARY_PURGE = 'LIBRARY_PURGE', + LIBRARY_SAVE = 'LIBRARY_SAVE', + PERMISSION_SAVE = 'PERMISSION_SAVE', + RECORD_DELETE = 'RECORD_DELETE', + RECORD_SAVE = 'RECORD_SAVE', + TASKS_DELETE = 'TASKS_DELETE', + TREE_ADD_ELEMENT = 'TREE_ADD_ELEMENT', + TREE_DELETE = 'TREE_DELETE', + TREE_DELETE_ELEMENT = 'TREE_DELETE_ELEMENT', + TREE_MOVE_ELEMENT = 'TREE_MOVE_ELEMENT', + TREE_SAVE = 'TREE_SAVE', + VALUE_DELETE = 'VALUE_DELETE', + VALUE_SAVE = 'VALUE_SAVE', + VERSION_PROFILE_DELETE = 'VERSION_PROFILE_DELETE', + VERSION_PROFILE_SAVE = 'VERSION_PROFILE_SAVE' } export type LogFilterInput = { - actions?: InputMaybe>; - instanceId?: InputMaybe; - queryId?: InputMaybe; - time?: InputMaybe; - topic?: InputMaybe; - trigger?: InputMaybe; - userId?: InputMaybe; + actions?: InputMaybe>; + instanceId?: InputMaybe; + queryId?: InputMaybe; + time?: InputMaybe; + topic?: InputMaybe; + trigger?: InputMaybe; + userId?: InputMaybe; }; export type LogFilterTimeInput = { - from?: InputMaybe; - to?: InputMaybe; + from?: InputMaybe; + to?: InputMaybe; }; export type LogSortInput = { - field: LogSortableField; - order: SortOrder; + field: LogSortableField; + order: SortOrder; }; export enum LogSortableField { - action = 'action', - instanceId = 'instanceId', - queryId = 'queryId', - time = 'time', - trigger = 'trigger', - userId = 'userId' + action = 'action', + instanceId = 'instanceId', + queryId = 'queryId', + time = 'time', + trigger = 'trigger', + userId = 'userId' } export type LogTopicFilterInput = { - apiKey?: InputMaybe; - attribute?: InputMaybe; - filename?: InputMaybe; - library?: InputMaybe; - permission?: InputMaybe; - profile?: InputMaybe; - record?: InputMaybe; - tree?: InputMaybe; + apiKey?: InputMaybe; + attribute?: InputMaybe; + filename?: InputMaybe; + library?: InputMaybe; + permission?: InputMaybe; + profile?: InputMaybe; + record?: InputMaybe; + tree?: InputMaybe; }; export type LogTopicPermissionFilterInput = { - applyTo?: InputMaybe; - type?: InputMaybe; + applyTo?: InputMaybe; + type?: InputMaybe; }; export type LogTopicRecordFilterInput = { - id?: InputMaybe; - libraryId?: InputMaybe; + id?: InputMaybe; + libraryId?: InputMaybe; }; export type Pagination = { - limit: Scalars['Int']; - offset: Scalars['Int']; + limit: Scalars['Int']; + offset: Scalars['Int']; }; export type PermissionActionInput = { - allowed?: InputMaybe; - name: PermissionsActions; + allowed?: InputMaybe; + name: PermissionsActions; }; export type PermissionInput = { - actions: Array; - applyTo?: InputMaybe; - permissionTreeTarget?: InputMaybe; - type: PermissionTypes; - usersGroup?: InputMaybe; + actions: Array; + applyTo?: InputMaybe; + permissionTreeTarget?: InputMaybe; + type: PermissionTypes; + usersGroup?: InputMaybe; }; export type PermissionTarget = { - attributeId?: InputMaybe; - libraryId?: InputMaybe; - nodeId?: InputMaybe; - recordId?: InputMaybe; + attributeId?: InputMaybe; + libraryId?: InputMaybe; + nodeId?: InputMaybe; + recordId?: InputMaybe; }; export enum PermissionTypes { - admin = 'admin', - application = 'application', - attribute = 'attribute', - library = 'library', - record = 'record', - record_attribute = 'record_attribute', - tree = 'tree', - tree_library = 'tree_library', - tree_node = 'tree_node' + admin = 'admin', + application = 'application', + attribute = 'attribute', + library = 'library', + record = 'record', + record_attribute = 'record_attribute', + tree = 'tree', + tree_library = 'tree_library', + tree_node = 'tree_node' } export enum PermissionsActions { - access_application = 'access_application', - access_attribute = 'access_attribute', - access_library = 'access_library', - access_record = 'access_record', - access_tree = 'access_tree', - admin_access_api_keys = 'admin_access_api_keys', - admin_access_applications = 'admin_access_applications', - admin_access_attributes = 'admin_access_attributes', - admin_access_libraries = 'admin_access_libraries', - admin_access_permissions = 'admin_access_permissions', - admin_access_tasks = 'admin_access_tasks', - admin_access_trees = 'admin_access_trees', - admin_access_version_profiles = 'admin_access_version_profiles', - admin_application = 'admin_application', - admin_cancel_task = 'admin_cancel_task', - admin_create_api_key = 'admin_create_api_key', - admin_create_application = 'admin_create_application', - admin_create_attribute = 'admin_create_attribute', - admin_create_library = 'admin_create_library', - admin_create_tree = 'admin_create_tree', - admin_create_version_profile = 'admin_create_version_profile', - admin_delete_api_key = 'admin_delete_api_key', - admin_delete_application = 'admin_delete_application', - admin_delete_attribute = 'admin_delete_attribute', - admin_delete_library = 'admin_delete_library', - admin_delete_task = 'admin_delete_task', - admin_delete_tree = 'admin_delete_tree', - admin_delete_version_profile = 'admin_delete_version_profile', - admin_edit_api_key = 'admin_edit_api_key', - admin_edit_application = 'admin_edit_application', - admin_edit_attribute = 'admin_edit_attribute', - admin_edit_global_settings = 'admin_edit_global_settings', - admin_edit_library = 'admin_edit_library', - admin_edit_permission = 'admin_edit_permission', - admin_edit_tree = 'admin_edit_tree', - admin_edit_version_profile = 'admin_edit_version_profile', - admin_library = 'admin_library', - admin_manage_global_preferences = 'admin_manage_global_preferences', - create_record = 'create_record', - delete_record = 'delete_record', - detach = 'detach', - edit_children = 'edit_children', - edit_record = 'edit_record', - edit_value = 'edit_value' + access_application = 'access_application', + access_attribute = 'access_attribute', + access_library = 'access_library', + access_record = 'access_record', + access_tree = 'access_tree', + admin_access_api_keys = 'admin_access_api_keys', + admin_access_applications = 'admin_access_applications', + admin_access_attributes = 'admin_access_attributes', + admin_access_libraries = 'admin_access_libraries', + admin_access_permissions = 'admin_access_permissions', + admin_access_tasks = 'admin_access_tasks', + admin_access_trees = 'admin_access_trees', + admin_access_version_profiles = 'admin_access_version_profiles', + admin_application = 'admin_application', + admin_cancel_task = 'admin_cancel_task', + admin_create_api_key = 'admin_create_api_key', + admin_create_application = 'admin_create_application', + admin_create_attribute = 'admin_create_attribute', + admin_create_library = 'admin_create_library', + admin_create_tree = 'admin_create_tree', + admin_create_version_profile = 'admin_create_version_profile', + admin_delete_api_key = 'admin_delete_api_key', + admin_delete_application = 'admin_delete_application', + admin_delete_attribute = 'admin_delete_attribute', + admin_delete_library = 'admin_delete_library', + admin_delete_task = 'admin_delete_task', + admin_delete_tree = 'admin_delete_tree', + admin_delete_version_profile = 'admin_delete_version_profile', + admin_edit_api_key = 'admin_edit_api_key', + admin_edit_application = 'admin_edit_application', + admin_edit_attribute = 'admin_edit_attribute', + admin_edit_global_settings = 'admin_edit_global_settings', + admin_edit_library = 'admin_edit_library', + admin_edit_permission = 'admin_edit_permission', + admin_edit_tree = 'admin_edit_tree', + admin_edit_version_profile = 'admin_edit_version_profile', + admin_library = 'admin_library', + admin_manage_global_preferences = 'admin_manage_global_preferences', + create_record = 'create_record', + delete_record = 'delete_record', + detach = 'detach', + edit_children = 'edit_children', + edit_record = 'edit_record', + edit_value = 'edit_value' } export enum PermissionsRelation { - and = 'and', - or = 'or' + and = 'and', + or = 'or' } export type PermissionsTreeTargetInput = { - nodeId?: InputMaybe; - tree: Scalars['ID']; + nodeId?: InputMaybe; + tree: Scalars['ID']; }; export type PreviewVersionInput = { - background: Scalars['String']; - density: Scalars['Int']; - sizes: Array; + background: Scalars['String']; + density: Scalars['Int']; + sizes: Array; }; export type PreviewVersionSizeInput = { - name: Scalars['String']; - size: Scalars['Int']; + name: Scalars['String']; + size: Scalars['Int']; }; export enum RecordFilterCondition { - BEGIN_WITH = 'BEGIN_WITH', - BETWEEN = 'BETWEEN', - CLASSIFIED_IN = 'CLASSIFIED_IN', - CONTAINS = 'CONTAINS', - END_AFTER = 'END_AFTER', - END_BEFORE = 'END_BEFORE', - END_ON = 'END_ON', - END_WITH = 'END_WITH', - EQUAL = 'EQUAL', - GREATER_THAN = 'GREATER_THAN', - IS_EMPTY = 'IS_EMPTY', - IS_NOT_EMPTY = 'IS_NOT_EMPTY', - LAST_MONTH = 'LAST_MONTH', - LESS_THAN = 'LESS_THAN', - NEXT_MONTH = 'NEXT_MONTH', - NOT_CLASSIFIED_IN = 'NOT_CLASSIFIED_IN', - NOT_CONTAINS = 'NOT_CONTAINS', - NOT_EQUAL = 'NOT_EQUAL', - START_AFTER = 'START_AFTER', - START_BEFORE = 'START_BEFORE', - START_ON = 'START_ON', - TODAY = 'TODAY', - TOMORROW = 'TOMORROW', - VALUES_COUNT_EQUAL = 'VALUES_COUNT_EQUAL', - VALUES_COUNT_GREATER_THAN = 'VALUES_COUNT_GREATER_THAN', - VALUES_COUNT_LOWER_THAN = 'VALUES_COUNT_LOWER_THAN', - YESTERDAY = 'YESTERDAY' + BEGIN_WITH = 'BEGIN_WITH', + BETWEEN = 'BETWEEN', + CLASSIFIED_IN = 'CLASSIFIED_IN', + CONTAINS = 'CONTAINS', + END_AFTER = 'END_AFTER', + END_BEFORE = 'END_BEFORE', + END_ON = 'END_ON', + END_WITH = 'END_WITH', + EQUAL = 'EQUAL', + GREATER_THAN = 'GREATER_THAN', + IS_EMPTY = 'IS_EMPTY', + IS_NOT_EMPTY = 'IS_NOT_EMPTY', + LAST_MONTH = 'LAST_MONTH', + LESS_THAN = 'LESS_THAN', + NEXT_MONTH = 'NEXT_MONTH', + NOT_CLASSIFIED_IN = 'NOT_CLASSIFIED_IN', + NOT_CONTAINS = 'NOT_CONTAINS', + NOT_EQUAL = 'NOT_EQUAL', + START_AFTER = 'START_AFTER', + START_BEFORE = 'START_BEFORE', + START_ON = 'START_ON', + TODAY = 'TODAY', + TOMORROW = 'TOMORROW', + VALUES_COUNT_EQUAL = 'VALUES_COUNT_EQUAL', + VALUES_COUNT_GREATER_THAN = 'VALUES_COUNT_GREATER_THAN', + VALUES_COUNT_LOWER_THAN = 'VALUES_COUNT_LOWER_THAN', + YESTERDAY = 'YESTERDAY' } export type RecordFilterInput = { - condition?: InputMaybe; - field?: InputMaybe; - operator?: InputMaybe; - treeId?: InputMaybe; - value?: InputMaybe; + condition?: InputMaybe; + field?: InputMaybe; + operator?: InputMaybe; + treeId?: InputMaybe; + value?: InputMaybe; }; export enum RecordFilterOperator { - AND = 'AND', - CLOSE_BRACKET = 'CLOSE_BRACKET', - OPEN_BRACKET = 'OPEN_BRACKET', - OR = 'OR' + AND = 'AND', + CLOSE_BRACKET = 'CLOSE_BRACKET', + OPEN_BRACKET = 'OPEN_BRACKET', + OR = 'OR' } export type RecordIdentityConfInput = { - color?: InputMaybe; - label?: InputMaybe; - preview?: InputMaybe; - subLabel?: InputMaybe; - treeColorPreview?: InputMaybe; + color?: InputMaybe; + label?: InputMaybe; + preview?: InputMaybe; + subLabel?: InputMaybe; + treeColorPreview?: InputMaybe; }; export type RecordInput = { - id: Scalars['ID']; - library: Scalars['String']; + id: Scalars['ID']; + library: Scalars['String']; }; export type RecordSortInput = { - field: Scalars['String']; - order: SortOrder; + field: Scalars['String']; + order: SortOrder; }; export type RecordUpdateFilterInput = { - ignoreOwnEvents?: InputMaybe; - libraries?: InputMaybe>; - records?: InputMaybe>; + ignoreOwnEvents?: InputMaybe; + libraries?: InputMaybe>; + records?: InputMaybe>; }; export type RecordsPagination = { - cursor?: InputMaybe; - limit: Scalars['Int']; - offset?: InputMaybe; + cursor?: InputMaybe; + limit: Scalars['Int']; + offset?: InputMaybe; }; export type SheetInput = { - keyIndex?: InputMaybe; - keyToIndex?: InputMaybe; - library: Scalars['String']; - linkAttribute?: InputMaybe; - mapping?: InputMaybe>>; - mode: ImportMode; - treeLinkLibrary?: InputMaybe; - type: ImportType; + keyIndex?: InputMaybe; + keyToIndex?: InputMaybe; + library: Scalars['String']; + linkAttribute?: InputMaybe; + mapping?: InputMaybe>>; + mode: ImportMode; + treeLinkLibrary?: InputMaybe; + type: ImportType; }; export type SortApiKeysInput = { - field: ApiKeysSortableFields; - order?: InputMaybe; + field: ApiKeysSortableFields; + order?: InputMaybe; }; export type SortApplications = { - field: ApplicationSortableFields; - order?: InputMaybe; + field: ApplicationSortableFields; + order?: InputMaybe; }; export type SortAttributes = { - field: AttributesSortableFields; - order?: InputMaybe; + field: AttributesSortableFields; + order?: InputMaybe; }; export type SortForms = { - field: FormsSortableFields; - order?: InputMaybe; + field: FormsSortableFields; + order?: InputMaybe; }; export type SortLibraries = { - field: LibrariesSortableFields; - order?: InputMaybe; + field: LibrariesSortableFields; + order?: InputMaybe; }; export enum SortOrder { - asc = 'asc', - desc = 'desc' + asc = 'asc', + desc = 'desc' } export type SortTrees = { - field: TreesSortableFields; - order?: InputMaybe; + field: TreesSortableFields; + order?: InputMaybe; }; export type SortVersionProfilesInput = { - field: VersionProfilesSortableFields; - order?: InputMaybe; + field: VersionProfilesSortableFields; + order?: InputMaybe; }; export type TaskFiltersInput = { - archive?: InputMaybe; - created_by?: InputMaybe; - id?: InputMaybe; - status?: InputMaybe; - type?: InputMaybe; + archive?: InputMaybe; + created_by?: InputMaybe; + id?: InputMaybe; + status?: InputMaybe; + type?: InputMaybe; }; export enum TaskStatus { - CANCELED = 'CANCELED', - CREATED = 'CREATED', - DONE = 'DONE', - FAILED = 'FAILED', - PENDING = 'PENDING', - PENDING_CANCEL = 'PENDING_CANCEL', - RUNNING = 'RUNNING' + CANCELED = 'CANCELED', + CREATED = 'CREATED', + DONE = 'DONE', + FAILED = 'FAILED', + PENDING = 'PENDING', + PENDING_CANCEL = 'PENDING_CANCEL', + RUNNING = 'RUNNING' } export enum TaskType { - EXPORT = 'EXPORT', - IMPORT_CONFIG = 'IMPORT_CONFIG', - IMPORT_DATA = 'IMPORT_DATA', - INDEXATION = 'INDEXATION' + EXPORT = 'EXPORT', + IMPORT_CONFIG = 'IMPORT_CONFIG', + IMPORT_DATA = 'IMPORT_DATA', + INDEXATION = 'INDEXATION' } export enum TreeBehavior { - files = 'files', - standard = 'standard' + files = 'files', + standard = 'standard' } export type TreeElementInput = { - id: Scalars['ID']; - library: Scalars['String']; + id: Scalars['ID']; + library: Scalars['String']; }; export type TreeEventFiltersInput = { - events?: InputMaybe>; - ignoreOwnEvents?: InputMaybe; - nodes?: InputMaybe>>; - treeId: Scalars['ID']; + events?: InputMaybe>; + ignoreOwnEvents?: InputMaybe; + nodes?: InputMaybe>>; + treeId: Scalars['ID']; }; export enum TreeEventTypes { - add = 'add', - move = 'move', - remove = 'remove' + add = 'add', + move = 'move', + remove = 'remove' } export type TreeInput = { - behavior?: InputMaybe; - id: Scalars['ID']; - label?: InputMaybe; - libraries?: InputMaybe>; - permissions_conf?: InputMaybe>; + behavior?: InputMaybe; + id: Scalars['ID']; + label?: InputMaybe; + libraries?: InputMaybe>; + permissions_conf?: InputMaybe>; }; export type TreeLibraryInput = { - library: Scalars['ID']; - settings: TreeLibrarySettingsInput; + library: Scalars['ID']; + settings: TreeLibrarySettingsInput; }; export type TreeLibrarySettingsInput = { - allowMultiplePositions: Scalars['Boolean']; - allowedAtRoot: Scalars['Boolean']; - allowedChildren: Array; + allowMultiplePositions: Scalars['Boolean']; + allowedAtRoot: Scalars['Boolean']; + allowedChildren: Array; }; export type TreeNodePermissionsConfInput = { - libraryId: Scalars['ID']; - permissionsConf: TreepermissionsConfInput; + libraryId: Scalars['ID']; + permissionsConf: TreepermissionsConfInput; }; export type TreepermissionsConfInput = { - permissionTreeAttributes: Array; - relation: PermissionsRelation; + permissionTreeAttributes: Array; + relation: PermissionsRelation; }; export type TreesFiltersInput = { - behavior?: InputMaybe; - id?: InputMaybe>; - label?: InputMaybe>; - library?: InputMaybe; - system?: InputMaybe; + behavior?: InputMaybe; + id?: InputMaybe>; + label?: InputMaybe>; + library?: InputMaybe; + system?: InputMaybe; }; export enum TreesSortableFields { - behavior = 'behavior', - id = 'id', - system = 'system' + behavior = 'behavior', + id = 'id', + system = 'system' } export type UploadFiltersInput = { - uid?: InputMaybe; - userId?: InputMaybe; + uid?: InputMaybe; + userId?: InputMaybe; }; export enum UserCoreDataKeys { - applications_consultation = 'applications_consultation' + applications_consultation = 'applications_consultation' } export type ValueBatchInput = { - attribute?: InputMaybe; - id_value?: InputMaybe; - metadata?: InputMaybe>>; - value?: InputMaybe; + attribute?: InputMaybe; + id_value?: InputMaybe; + metadata?: InputMaybe>>; + value?: InputMaybe; }; export type ValueInput = { - id_value?: InputMaybe; - metadata?: InputMaybe>>; - value?: InputMaybe; - version?: InputMaybe>>; + id_value?: InputMaybe; + metadata?: InputMaybe>>; + value?: InputMaybe; + version?: InputMaybe>>; }; export type ValueMetadataInput = { - name: Scalars['String']; - value?: InputMaybe; + name: Scalars['String']; + value?: InputMaybe; }; export type ValueVersionInput = { - treeId: Scalars['String']; - treeNodeId: Scalars['String']; + treeId: Scalars['String']; + treeNodeId: Scalars['String']; }; export enum ValueVersionMode { - simple = 'simple', - smart = 'smart' + simple = 'simple', + smart = 'smart' } export type ValuesListConfInput = { - allowFreeEntry?: InputMaybe; - enable: Scalars['Boolean']; - values?: InputMaybe>; + allowFreeEntry?: InputMaybe; + enable: Scalars['Boolean']; + values?: InputMaybe>; }; export type ValuesVersionsConfInput = { - mode?: InputMaybe; - profile?: InputMaybe; - versionable: Scalars['Boolean']; + mode?: InputMaybe; + profile?: InputMaybe; + versionable: Scalars['Boolean']; }; export type VersionProfileInput = { - description?: InputMaybe; - id: Scalars['String']; - label?: InputMaybe; - trees?: InputMaybe>; + description?: InputMaybe; + id: Scalars['String']; + label?: InputMaybe; + trees?: InputMaybe>; }; export type VersionProfilesFiltersInput = { - id?: InputMaybe; - label?: InputMaybe; - trees?: InputMaybe; + id?: InputMaybe; + label?: InputMaybe; + trees?: InputMaybe; }; export enum VersionProfilesSortableFields { - id = 'id' + id = 'id' } export type ViewDisplayInput = { - size: ViewSizes; - type: ViewTypes; + size: ViewSizes; + type: ViewTypes; }; export type ViewInput = { - color?: InputMaybe; - description?: InputMaybe; - display: ViewDisplayInput; - filters?: InputMaybe>; - id?: InputMaybe; - label?: InputMaybe; - library: Scalars['String']; - settings?: InputMaybe>; - shared: Scalars['Boolean']; - sort?: InputMaybe; - valuesVersions?: InputMaybe>; + color?: InputMaybe; + description?: InputMaybe; + display: ViewDisplayInput; + filters?: InputMaybe>; + id?: InputMaybe; + label?: InputMaybe; + library: Scalars['String']; + settings?: InputMaybe>; + shared: Scalars['Boolean']; + sort?: InputMaybe; + valuesVersions?: InputMaybe>; }; export type ViewSettingsInput = { - name: Scalars['String']; - value?: InputMaybe; + name: Scalars['String']; + value?: InputMaybe; }; export enum ViewSizes { - BIG = 'BIG', - MEDIUM = 'MEDIUM', - SMALL = 'SMALL' + BIG = 'BIG', + MEDIUM = 'MEDIUM', + SMALL = 'SMALL' } export enum ViewTypes { - cards = 'cards', - list = 'list', - timeline = 'timeline' + cards = 'cards', + list = 'list', + timeline = 'timeline' } export type ViewValuesVersionInput = { - treeId: Scalars['String']; - treeNode: Scalars['String']; + treeId: Scalars['String']; + treeNode: Scalars['String']; }; -export type DetailsApplicationFragment = { id: string, label: any, type: ApplicationType, description?: any | null, endpoint?: string | null, url?: string | null, color?: string | null, module?: string | null, settings?: any | null, icon?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, permissions: { access_application: boolean, admin_application: boolean } }; - -export type RecordIdentityFragment = { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }; - -export type AttributeDetailsLinkAttributeFragment = { reverse_link?: string | null, id: string, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, label?: any | null, description?: any | null, multiple_values: boolean, linked_library?: { id: string, label?: any | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, type: AttributeType, format?: AttributeFormat | null }> | null, versions_conf?: { versionable: boolean, mode?: ValueVersionMode | null, profile?: { id: string, label: any, trees: Array<{ id: string, label?: any | null }> } | null } | null, libraries?: Array<{ id: string, label?: any | null }> | null }; - -export type AttributeDetailsStandardAttributeFragment = { unique?: boolean | null, id: string, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, label?: any | null, description?: any | null, multiple_values: boolean, metadata_fields?: Array<{ id: string, label?: any | null, type: AttributeType, format?: AttributeFormat | null }> | null, versions_conf?: { versionable: boolean, mode?: ValueVersionMode | null, profile?: { id: string, label: any, trees: Array<{ id: string, label?: any | null }> } | null } | null, libraries?: Array<{ id: string, label?: any | null }> | null }; - -export type AttributeDetailsTreeAttributeFragment = { id: string, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, label?: any | null, description?: any | null, multiple_values: boolean, linked_tree?: { id: string, label?: any | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, type: AttributeType, format?: AttributeFormat | null }> | null, versions_conf?: { versionable: boolean, mode?: ValueVersionMode | null, profile?: { id: string, label: any, trees: Array<{ id: string, label?: any | null }> } | null } | null, libraries?: Array<{ id: string, label?: any | null }> | null }; +export type DetailsApplicationFragment = { + id: string; + label: any; + type: ApplicationType; + description?: any | null; + endpoint?: string | null; + url?: string | null; + color?: string | null; + module?: string | null; + settings?: any | null; + icon?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + permissions: {access_application: boolean; admin_application: boolean}; +}; -export type AttributeDetailsFragment = AttributeDetailsLinkAttributeFragment | AttributeDetailsStandardAttributeFragment | AttributeDetailsTreeAttributeFragment; +export type RecordIdentityFragment = { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; +}; -export type AttributesByLibAttributeLinkAttributeFragment = { id: string, type: AttributeType, format?: AttributeFormat | null, label?: any | null, multiple_values: boolean, system: boolean, readonly: boolean, linked_library?: { id: string } | null }; +export type AttributeDetailsLinkAttributeFragment = { + reverse_link?: string | null; + id: string; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + label?: any | null; + description?: any | null; + multiple_values: boolean; + linked_library?: {id: string; label?: any | null} | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + }> | null; + versions_conf?: { + versionable: boolean; + mode?: ValueVersionMode | null; + profile?: {id: string; label: any; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + libraries?: Array<{id: string; label?: any | null}> | null; +}; -export type AttributesByLibAttributeStandardAttributeFragment = { id: string, type: AttributeType, format?: AttributeFormat | null, label?: any | null, multiple_values: boolean, system: boolean, readonly: boolean, embedded_fields?: Array<{ id: string, format?: AttributeFormat | null, label?: any | null } | null> | null }; +export type AttributeDetailsStandardAttributeFragment = { + unique?: boolean | null; + id: string; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + label?: any | null; + description?: any | null; + multiple_values: boolean; + metadata_fields?: Array<{ + id: string; + label?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + }> | null; + versions_conf?: { + versionable: boolean; + mode?: ValueVersionMode | null; + profile?: {id: string; label: any; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + libraries?: Array<{id: string; label?: any | null}> | null; +}; -export type AttributesByLibAttributeTreeAttributeFragment = { id: string, type: AttributeType, format?: AttributeFormat | null, label?: any | null, multiple_values: boolean, system: boolean, readonly: boolean, linked_tree?: { id: string, label?: any | null, libraries: Array<{ library: { id: string, label?: any | null } }> } | null }; +export type AttributeDetailsTreeAttributeFragment = { + id: string; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + label?: any | null; + description?: any | null; + multiple_values: boolean; + linked_tree?: {id: string; label?: any | null} | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + }> | null; + versions_conf?: { + versionable: boolean; + mode?: ValueVersionMode | null; + profile?: {id: string; label: any; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + libraries?: Array<{id: string; label?: any | null}> | null; +}; -export type AttributesByLibAttributeFragment = AttributesByLibAttributeLinkAttributeFragment | AttributesByLibAttributeStandardAttributeFragment | AttributesByLibAttributeTreeAttributeFragment; +export type AttributeDetailsFragment = + | AttributeDetailsLinkAttributeFragment + | AttributeDetailsStandardAttributeFragment + | AttributeDetailsTreeAttributeFragment; + +export type AttributesByLibAttributeLinkAttributeFragment = { + id: string; + type: AttributeType; + format?: AttributeFormat | null; + label?: any | null; + multiple_values: boolean; + system: boolean; + readonly: boolean; + linked_library?: {id: string} | null; +}; -export type LibraryLightFragment = { id: string, label?: any | null, icon?: { id: string, whoAmI: { id: string, preview?: IPreviewScalar | null, library: { id: string } } } | null }; +export type AttributesByLibAttributeStandardAttributeFragment = { + id: string; + type: AttributeType; + format?: AttributeFormat | null; + label?: any | null; + multiple_values: boolean; + system: boolean; + readonly: boolean; + embedded_fields?: Array<{id: string; format?: AttributeFormat | null; label?: any | null} | null> | null; +}; -export type LibraryDetailsFragment = { id: string, label?: any | null, behavior: LibraryBehavior, system?: boolean | null, fullTextAttributes?: Array<{ id: string, label?: any | null }> | null, attributes?: Array<{ id: string, label?: any | null, system: boolean, type: AttributeType, format?: AttributeFormat | null, linked_library?: { id: string, behavior: LibraryBehavior } | null } | { id: string, label?: any | null, system: boolean, type: AttributeType, format?: AttributeFormat | null }> | null, permissions_conf?: { relation: PermissionsRelation, permissionTreeAttributes: Array<{ id: string, label?: any | null } | { id: string, label?: any | null, linked_tree?: { id: string } | null }> } | null, recordIdentityConf?: { label?: string | null, subLabel?: string | null, color?: string | null, preview?: string | null, treeColorPreview?: string | null } | null, permissions?: { admin_library: boolean, access_library: boolean, access_record: boolean, create_record: boolean, edit_record: boolean, delete_record: boolean } | null, icon?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, previewsSettings?: Array<{ label: any, description?: any | null, system: boolean, versions: { background: string, density: number, sizes: Array<{ name: string, size: number }> } }> | null }; +export type AttributesByLibAttributeTreeAttributeFragment = { + id: string; + type: AttributeType; + format?: AttributeFormat | null; + label?: any | null; + multiple_values: boolean; + system: boolean; + readonly: boolean; + linked_tree?: { + id: string; + label?: any | null; + libraries: Array<{library: {id: string; label?: any | null}}>; + } | null; +}; -export type LibraryAttributesLinkAttributeFragment = { id: string, label?: any | null, system: boolean, type: AttributeType, format?: AttributeFormat | null, linked_library?: { id: string, behavior: LibraryBehavior } | null }; +export type AttributesByLibAttributeFragment = + | AttributesByLibAttributeLinkAttributeFragment + | AttributesByLibAttributeStandardAttributeFragment + | AttributesByLibAttributeTreeAttributeFragment; -export type LibraryAttributesStandardAttributeTreeAttributeFragment = { id: string, label?: any | null, system: boolean, type: AttributeType, format?: AttributeFormat | null }; +export type LibraryLightFragment = { + id: string; + label?: any | null; + icon?: {id: string; whoAmI: {id: string; preview?: IPreviewScalar | null; library: {id: string}}} | null; +}; -export type LibraryAttributesFragment = LibraryAttributesLinkAttributeFragment | LibraryAttributesStandardAttributeTreeAttributeFragment; +export type LibraryDetailsFragment = { + id: string; + label?: any | null; + behavior: LibraryBehavior; + system?: boolean | null; + fullTextAttributes?: Array<{id: string; label?: any | null}> | null; + attributes?: Array< + | { + id: string; + label?: any | null; + system: boolean; + type: AttributeType; + format?: AttributeFormat | null; + linked_library?: {id: string; behavior: LibraryBehavior} | null; + } + | {id: string; label?: any | null; system: boolean; type: AttributeType; format?: AttributeFormat | null} + > | null; + permissions_conf?: { + relation: PermissionsRelation; + permissionTreeAttributes: Array< + {id: string; label?: any | null} | {id: string; label?: any | null; linked_tree?: {id: string} | null} + >; + } | null; + recordIdentityConf?: { + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: string | null; + treeColorPreview?: string | null; + } | null; + permissions?: { + admin_library: boolean; + access_library: boolean; + access_record: boolean; + create_record: boolean; + edit_record: boolean; + delete_record: boolean; + } | null; + icon?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + previewsSettings?: Array<{ + label: any; + description?: any | null; + system: boolean; + versions: {background: string; density: number; sizes: Array<{name: string; size: number}>}; + }> | null; +}; -export type LibraryLinkAttributeDetailsFragment = { linked_library?: { id: string, behavior: LibraryBehavior } | null }; +export type LibraryAttributesLinkAttributeFragment = { + id: string; + label?: any | null; + system: boolean; + type: AttributeType; + format?: AttributeFormat | null; + linked_library?: {id: string; behavior: LibraryBehavior} | null; +}; -export type LibraryPreviewsSettingsFragment = { label: any, description?: any | null, system: boolean, versions: { background: string, density: number, sizes: Array<{ name: string, size: number }> } }; +export type LibraryAttributesStandardAttributeTreeAttributeFragment = { + id: string; + label?: any | null; + system: boolean; + type: AttributeType; + format?: AttributeFormat | null; +}; -export type RecordFormElementFragment = { id: string, containerId: string, uiElementType: string, type: FormElementTypes, valueError?: string | null, values?: Array<{ id_value?: string | null, modified_at?: number | null, created_at?: number | null, linkValue?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null } | { id_value?: string | null, modified_at?: number | null, created_at?: number | null, treeValue?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }, ancestors?: Array<{ record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }> | null } | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null } | { value?: any | null, raw_value?: any | null, id_value?: string | null, modified_at?: number | null, created_at?: number | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null }> | null, attribute?: { id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, linked_library?: { id: string, label?: any | null, behavior: LibraryBehavior, permissions?: { create_record: boolean } | null } | null, linkValuesList?: { enable: boolean, allowFreeEntry?: boolean | null, values?: Array<{ id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }> | null } | null, permissions: { access_attribute: boolean, edit_value: boolean }, versions_conf?: { versionable: boolean, profile?: { id: string, trees: Array<{ id: string, label?: any | null }> } | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, permissions: { access_attribute: boolean, edit_value: boolean }, values_list?: { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null } | { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null } | null, metadata_fields?: Array<{ id: string }> | null }> | null } | { id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, values_list?: { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null } | { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null } | null, permissions: { access_attribute: boolean, edit_value: boolean }, versions_conf?: { versionable: boolean, profile?: { id: string, trees: Array<{ id: string, label?: any | null }> } | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, permissions: { access_attribute: boolean, edit_value: boolean }, values_list?: { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null } | { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null } | null, metadata_fields?: Array<{ id: string }> | null }> | null } | { id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, linked_tree?: { id: string, label?: any | null } | null, treeValuesList?: { enable: boolean, allowFreeEntry?: boolean | null, values?: Array<{ id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }, ancestors?: Array<{ record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }> | null }> | null } | null, permissions: { access_attribute: boolean, edit_value: boolean }, versions_conf?: { versionable: boolean, profile?: { id: string, trees: Array<{ id: string, label?: any | null }> } | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, permissions: { access_attribute: boolean, edit_value: boolean }, values_list?: { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null } | { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null } | null, metadata_fields?: Array<{ id: string }> | null }> | null } | null, settings: Array<{ key: string, value: any }> }; +export type LibraryAttributesFragment = + | LibraryAttributesLinkAttributeFragment + | LibraryAttributesStandardAttributeTreeAttributeFragment; -export type ValueDetailsLinkValueFragment = { id_value?: string | null, modified_at?: number | null, created_at?: number | null, linkValue?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null }; +export type LibraryLinkAttributeDetailsFragment = {linked_library?: {id: string; behavior: LibraryBehavior} | null}; -export type ValueDetailsTreeValueFragment = { id_value?: string | null, modified_at?: number | null, created_at?: number | null, treeValue?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }, ancestors?: Array<{ record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }> | null } | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null }; +export type LibraryPreviewsSettingsFragment = { + label: any; + description?: any | null; + system: boolean; + versions: {background: string; density: number; sizes: Array<{name: string; size: number}>}; +}; -export type ValueDetailsValueFragment = { value?: any | null, raw_value?: any | null, id_value?: string | null, modified_at?: number | null, created_at?: number | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null }; +export type RecordFormElementFragment = { + id: string; + containerId: string; + uiElementType: string; + type: FormElementTypes; + valueError?: string | null; + values?: Array< + | { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + linkValue?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: {id: string; format?: AttributeFormat | null; type: AttributeType; system: boolean} | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + | { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + treeValue?: { + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + ancestors?: Array<{ + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }> | null; + } | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: {id: string; format?: AttributeFormat | null; type: AttributeType; system: boolean} | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + | { + value?: any | null; + raw_value?: any | null; + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: {id: string; format?: AttributeFormat | null; type: AttributeType; system: boolean} | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + > | null; + attribute?: + | { + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + linked_library?: { + id: string; + label?: any | null; + behavior: LibraryBehavior; + permissions?: {create_record: boolean} | null; + } | null; + linkValuesList?: { + enable: boolean; + allowFreeEntry?: boolean | null; + values?: Array<{ + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }> | null; + } | null; + permissions: {access_attribute: boolean; edit_value: boolean}; + versions_conf?: { + versionable: boolean; + profile?: {id: string; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + permissions: {access_attribute: boolean; edit_value: boolean}; + values_list?: + | { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; + } + | {enable: boolean; allowFreeEntry?: boolean | null; values?: Array | null} + | null; + metadata_fields?: Array<{id: string}> | null; + }> | null; + } + | { + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + values_list?: + | { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; + } + | {enable: boolean; allowFreeEntry?: boolean | null; values?: Array | null} + | null; + permissions: {access_attribute: boolean; edit_value: boolean}; + versions_conf?: { + versionable: boolean; + profile?: {id: string; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + permissions: {access_attribute: boolean; edit_value: boolean}; + values_list?: + | { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; + } + | {enable: boolean; allowFreeEntry?: boolean | null; values?: Array | null} + | null; + metadata_fields?: Array<{id: string}> | null; + }> | null; + } + | { + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + linked_tree?: {id: string; label?: any | null} | null; + treeValuesList?: { + enable: boolean; + allowFreeEntry?: boolean | null; + values?: Array<{ + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + ancestors?: Array<{ + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }> | null; + }> | null; + } | null; + permissions: {access_attribute: boolean; edit_value: boolean}; + versions_conf?: { + versionable: boolean; + profile?: {id: string; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + permissions: {access_attribute: boolean; edit_value: boolean}; + values_list?: + | { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; + } + | {enable: boolean; allowFreeEntry?: boolean | null; values?: Array | null} + | null; + metadata_fields?: Array<{id: string}> | null; + }> | null; + } + | null; + settings: Array<{key: string; value: any}>; +}; -export type ValueDetailsFragment = ValueDetailsLinkValueFragment | ValueDetailsTreeValueFragment | ValueDetailsValueFragment; +export type ValueDetailsLinkValueFragment = { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + linkValue?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: {id: string; format?: AttributeFormat | null; type: AttributeType; system: boolean} | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + } | null; + } | null> | null; +}; -export type ValuesVersionDetailsFragment = { treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null }; +export type ValueDetailsTreeValueFragment = { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + treeValue?: { + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + ancestors?: Array<{ + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }> | null; + } | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: {id: string; format?: AttributeFormat | null; type: AttributeType; system: boolean} | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + } | null; + } | null> | null; +}; -export type RecordFormAttributeLinkAttributeFragment = { id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, linked_library?: { id: string, label?: any | null, behavior: LibraryBehavior, permissions?: { create_record: boolean } | null } | null, linkValuesList?: { enable: boolean, allowFreeEntry?: boolean | null, values?: Array<{ id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }> | null } | null, permissions: { access_attribute: boolean, edit_value: boolean }, versions_conf?: { versionable: boolean, profile?: { id: string, trees: Array<{ id: string, label?: any | null }> } | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, permissions: { access_attribute: boolean, edit_value: boolean }, values_list?: { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null } | { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null } | null, metadata_fields?: Array<{ id: string }> | null }> | null }; +export type ValueDetailsValueFragment = { + value?: any | null; + raw_value?: any | null; + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: {id: string; format?: AttributeFormat | null; type: AttributeType; system: boolean} | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + } | null; + } | null> | null; +}; -export type RecordFormAttributeStandardAttributeFragment = { id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, values_list?: { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null } | { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null } | null, permissions: { access_attribute: boolean, edit_value: boolean }, versions_conf?: { versionable: boolean, profile?: { id: string, trees: Array<{ id: string, label?: any | null }> } | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, permissions: { access_attribute: boolean, edit_value: boolean }, values_list?: { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null } | { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null } | null, metadata_fields?: Array<{ id: string }> | null }> | null }; +export type ValueDetailsFragment = + | ValueDetailsLinkValueFragment + | ValueDetailsTreeValueFragment + | ValueDetailsValueFragment; + +export type ValuesVersionDetailsFragment = { + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; +}; -export type RecordFormAttributeTreeAttributeFragment = { id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, linked_tree?: { id: string, label?: any | null } | null, treeValuesList?: { enable: boolean, allowFreeEntry?: boolean | null, values?: Array<{ id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }, ancestors?: Array<{ record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }> | null }> | null } | null, permissions: { access_attribute: boolean, edit_value: boolean }, versions_conf?: { versionable: boolean, profile?: { id: string, trees: Array<{ id: string, label?: any | null }> } | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, permissions: { access_attribute: boolean, edit_value: boolean }, values_list?: { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null } | { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null } | null, metadata_fields?: Array<{ id: string }> | null }> | null }; +export type RecordFormAttributeLinkAttributeFragment = { + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + linked_library?: { + id: string; + label?: any | null; + behavior: LibraryBehavior; + permissions?: {create_record: boolean} | null; + } | null; + linkValuesList?: { + enable: boolean; + allowFreeEntry?: boolean | null; + values?: Array<{ + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }> | null; + } | null; + permissions: {access_attribute: boolean; edit_value: boolean}; + versions_conf?: { + versionable: boolean; + profile?: {id: string; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + permissions: {access_attribute: boolean; edit_value: boolean}; + values_list?: + | { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; + } + | {enable: boolean; allowFreeEntry?: boolean | null; values?: Array | null} + | null; + metadata_fields?: Array<{id: string}> | null; + }> | null; +}; -export type RecordFormAttributeFragment = RecordFormAttributeLinkAttributeFragment | RecordFormAttributeStandardAttributeFragment | RecordFormAttributeTreeAttributeFragment; +export type RecordFormAttributeStandardAttributeFragment = { + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + values_list?: + | { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; + } + | {enable: boolean; allowFreeEntry?: boolean | null; values?: Array | null} + | null; + permissions: {access_attribute: boolean; edit_value: boolean}; + versions_conf?: { + versionable: boolean; + profile?: {id: string; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + permissions: {access_attribute: boolean; edit_value: boolean}; + values_list?: + | { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; + } + | {enable: boolean; allowFreeEntry?: boolean | null; values?: Array | null} + | null; + metadata_fields?: Array<{id: string}> | null; + }> | null; +}; -export type StandardValuesListFragmentStandardDateRangeValuesListConfFragment = { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null }; +export type RecordFormAttributeTreeAttributeFragment = { + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + linked_tree?: {id: string; label?: any | null} | null; + treeValuesList?: { + enable: boolean; + allowFreeEntry?: boolean | null; + values?: Array<{ + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + ancestors?: Array<{ + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }> | null; + }> | null; + } | null; + permissions: {access_attribute: boolean; edit_value: boolean}; + versions_conf?: { + versionable: boolean; + profile?: {id: string; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + permissions: {access_attribute: boolean; edit_value: boolean}; + values_list?: + | { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; + } + | {enable: boolean; allowFreeEntry?: boolean | null; values?: Array | null} + | null; + metadata_fields?: Array<{id: string}> | null; + }> | null; +}; -export type StandardValuesListFragmentStandardStringValuesListConfFragment = { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null }; +export type RecordFormAttributeFragment = + | RecordFormAttributeLinkAttributeFragment + | RecordFormAttributeStandardAttributeFragment + | RecordFormAttributeTreeAttributeFragment; -export type StandardValuesListFragmentFragment = StandardValuesListFragmentStandardDateRangeValuesListConfFragment | StandardValuesListFragmentStandardStringValuesListConfFragment; +export type StandardValuesListFragmentStandardDateRangeValuesListConfFragment = { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; +}; -export type TreeDetailsFragment = { id: string, label?: any | null, behavior: TreeBehavior, system: boolean, libraries: Array<{ library: { id: string, label?: any | null }, settings: { allowMultiplePositions: boolean, allowedAtRoot: boolean, allowedChildren: Array } }> }; +export type StandardValuesListFragmentStandardStringValuesListConfFragment = { + enable: boolean; + allowFreeEntry?: boolean | null; + values?: Array | null; +}; -export type TreeLightFragment = { id: string, label?: any | null }; +export type StandardValuesListFragmentFragment = + | StandardValuesListFragmentStandardDateRangeValuesListConfFragment + | StandardValuesListFragmentStandardStringValuesListConfFragment; + +export type TreeDetailsFragment = { + id: string; + label?: any | null; + behavior: TreeBehavior; + system: boolean; + libraries: Array<{ + library: {id: string; label?: any | null}; + settings: {allowMultiplePositions: boolean; allowedAtRoot: boolean; allowedChildren: Array}; + }>; +}; -export type TreeNodeChildFragment = { id: string, order?: number | null, childrenCount?: number | null, record: { id: string, active?: Array<{ value?: any | null }> | null, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }, ancestors?: Array<{ id: string, record: { id: string, library: { id: string, label?: any | null }, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }> | null, permissions: { access_tree: boolean, detach: boolean, edit_children: boolean } }; +export type TreeLightFragment = {id: string; label?: any | null}; + +export type TreeNodeChildFragment = { + id: string; + order?: number | null; + childrenCount?: number | null; + record: { + id: string; + active?: Array<{value?: any | null}> | null; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + ancestors?: Array<{ + id: string; + record: { + id: string; + library: {id: string; label?: any | null}; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }> | null; + permissions: {access_tree: boolean; detach: boolean; edit_children: boolean}; +}; -export type ViewDetailsFragment = { id: string, shared: boolean, label: any, description?: any | null, color?: string | null, display: { size: ViewSizes, type: ViewTypes }, created_by: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } }, filters?: Array<{ field?: string | null, value?: string | null, condition?: RecordFilterCondition | null, operator?: RecordFilterOperator | null, tree?: { id: string, label?: any | null } | null }> | null, sort?: { field: string, order: SortOrder } | null, valuesVersions?: Array<{ treeId: string, treeNode: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } } }> | null, settings?: Array<{ name: string, value?: any | null }> | null }; +export type ViewDetailsFragment = { + id: string; + shared: boolean; + label: any; + description?: any | null; + color?: string | null; + display: {size: ViewSizes; type: ViewTypes}; + created_by: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + filters?: Array<{ + field?: string | null; + value?: string | null; + condition?: RecordFilterCondition | null; + operator?: RecordFilterOperator | null; + tree?: {id: string; label?: any | null} | null; + }> | null; + sort?: {field: string; order: SortOrder} | null; + valuesVersions?: Array<{ + treeId: string; + treeNode: { + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }; + }> | null; + settings?: Array<{name: string; value?: any | null}> | null; +}; export type CheckApplicationExistenceQueryVariables = Exact<{ - id?: InputMaybe; - endpoint?: InputMaybe; + id?: InputMaybe; + endpoint?: InputMaybe; }>; - -export type CheckApplicationExistenceQuery = { applications?: { totalCount: number } | null }; +export type CheckApplicationExistenceQuery = {applications?: {totalCount: number} | null}; export type GetApplicationByIdQueryVariables = Exact<{ - id: Scalars['ID']; + id: Scalars['ID']; }>; +export type GetApplicationByIdQuery = { + applications?: { + list: Array<{ + id: string; + label: any; + type: ApplicationType; + description?: any | null; + endpoint?: string | null; + url?: string | null; + color?: string | null; + module?: string | null; + settings?: any | null; + icon?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + permissions: {access_application: boolean; admin_application: boolean}; + }>; + } | null; +}; -export type GetApplicationByIdQuery = { applications?: { list: Array<{ id: string, label: any, type: ApplicationType, description?: any | null, endpoint?: string | null, url?: string | null, color?: string | null, module?: string | null, settings?: any | null, icon?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, permissions: { access_application: boolean, admin_application: boolean } }> } | null }; - -export type GetApplicationModulesQueryVariables = Exact<{ [key: string]: never; }>; - +export type GetApplicationModulesQueryVariables = Exact<{[key: string]: never}>; -export type GetApplicationModulesQuery = { applicationsModules: Array<{ id: string, description?: string | null, version?: string | null }> }; +export type GetApplicationModulesQuery = { + applicationsModules: Array<{id: string; description?: string | null; version?: string | null}>; +}; export type SaveApplicationMutationVariables = Exact<{ - application: ApplicationInput; + application: ApplicationInput; }>; - -export type SaveApplicationMutation = { saveApplication: { id: string, label: any, type: ApplicationType, description?: any | null, endpoint?: string | null, url?: string | null, color?: string | null, module?: string | null, settings?: any | null, icon?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, permissions: { access_application: boolean, admin_application: boolean } } }; +export type SaveApplicationMutation = { + saveApplication: { + id: string; + label: any; + type: ApplicationType; + description?: any | null; + endpoint?: string | null; + url?: string | null; + color?: string | null; + module?: string | null; + settings?: any | null; + icon?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + permissions: {access_application: boolean; admin_application: boolean}; + }; +}; export type CheckAttributeExistenceQueryVariables = Exact<{ - id: Scalars['ID']; + id: Scalars['ID']; }>; - -export type CheckAttributeExistenceQuery = { attributes?: { totalCount: number } | null }; +export type CheckAttributeExistenceQuery = {attributes?: {totalCount: number} | null}; export type DeleteAttributeMutationVariables = Exact<{ - id?: InputMaybe; + id?: InputMaybe; }>; - -export type DeleteAttributeMutation = { deleteAttribute: { id: string } }; +export type DeleteAttributeMutation = {deleteAttribute: {id: string}}; export type GetAttributeByIdQueryVariables = Exact<{ - id?: InputMaybe; + id?: InputMaybe; }>; - -export type GetAttributeByIdQuery = { attributes?: { list: Array<{ reverse_link?: string | null, id: string, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, label?: any | null, description?: any | null, multiple_values: boolean, linked_library?: { id: string, label?: any | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, type: AttributeType, format?: AttributeFormat | null }> | null, versions_conf?: { versionable: boolean, mode?: ValueVersionMode | null, profile?: { id: string, label: any, trees: Array<{ id: string, label?: any | null }> } | null } | null, libraries?: Array<{ id: string, label?: any | null }> | null } | { unique?: boolean | null, id: string, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, label?: any | null, description?: any | null, multiple_values: boolean, metadata_fields?: Array<{ id: string, label?: any | null, type: AttributeType, format?: AttributeFormat | null }> | null, versions_conf?: { versionable: boolean, mode?: ValueVersionMode | null, profile?: { id: string, label: any, trees: Array<{ id: string, label?: any | null }> } | null } | null, libraries?: Array<{ id: string, label?: any | null }> | null } | { id: string, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, label?: any | null, description?: any | null, multiple_values: boolean, linked_tree?: { id: string, label?: any | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, type: AttributeType, format?: AttributeFormat | null }> | null, versions_conf?: { versionable: boolean, mode?: ValueVersionMode | null, profile?: { id: string, label: any, trees: Array<{ id: string, label?: any | null }> } | null } | null, libraries?: Array<{ id: string, label?: any | null }> | null }> } | null }; +export type GetAttributeByIdQuery = { + attributes?: { + list: Array< + | { + reverse_link?: string | null; + id: string; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + label?: any | null; + description?: any | null; + multiple_values: boolean; + linked_library?: {id: string; label?: any | null} | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + }> | null; + versions_conf?: { + versionable: boolean; + mode?: ValueVersionMode | null; + profile?: {id: string; label: any; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + libraries?: Array<{id: string; label?: any | null}> | null; + } + | { + unique?: boolean | null; + id: string; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + label?: any | null; + description?: any | null; + multiple_values: boolean; + metadata_fields?: Array<{ + id: string; + label?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + }> | null; + versions_conf?: { + versionable: boolean; + mode?: ValueVersionMode | null; + profile?: {id: string; label: any; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + libraries?: Array<{id: string; label?: any | null}> | null; + } + | { + id: string; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + label?: any | null; + description?: any | null; + multiple_values: boolean; + linked_tree?: {id: string; label?: any | null} | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + }> | null; + versions_conf?: { + versionable: boolean; + mode?: ValueVersionMode | null; + profile?: {id: string; label: any; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + libraries?: Array<{id: string; label?: any | null}> | null; + } + >; + } | null; +}; export type GetAttributesByLibQueryVariables = Exact<{ - library: Scalars['String']; + library: Scalars['String']; }>; - -export type GetAttributesByLibQuery = { attributes?: { list: Array<{ id: string, type: AttributeType, format?: AttributeFormat | null, label?: any | null, multiple_values: boolean, system: boolean, readonly: boolean, linked_library?: { id: string } | null } | { id: string, type: AttributeType, format?: AttributeFormat | null, label?: any | null, multiple_values: boolean, system: boolean, readonly: boolean, embedded_fields?: Array<{ id: string, format?: AttributeFormat | null, label?: any | null } | null> | null } | { id: string, type: AttributeType, format?: AttributeFormat | null, label?: any | null, multiple_values: boolean, system: boolean, readonly: boolean, linked_tree?: { id: string, label?: any | null, libraries: Array<{ library: { id: string, label?: any | null } }> } | null }> } | null }; +export type GetAttributesByLibQuery = { + attributes?: { + list: Array< + | { + id: string; + type: AttributeType; + format?: AttributeFormat | null; + label?: any | null; + multiple_values: boolean; + system: boolean; + readonly: boolean; + linked_library?: {id: string} | null; + } + | { + id: string; + type: AttributeType; + format?: AttributeFormat | null; + label?: any | null; + multiple_values: boolean; + system: boolean; + readonly: boolean; + embedded_fields?: Array<{ + id: string; + format?: AttributeFormat | null; + label?: any | null; + } | null> | null; + } + | { + id: string; + type: AttributeType; + format?: AttributeFormat | null; + label?: any | null; + multiple_values: boolean; + system: boolean; + readonly: boolean; + linked_tree?: { + id: string; + label?: any | null; + libraries: Array<{library: {id: string; label?: any | null}}>; + } | null; + } + >; + } | null; +}; export type GetAttributesQueryVariables = Exact<{ - pagination?: InputMaybe; - sort?: InputMaybe; - filters?: InputMaybe; + pagination?: InputMaybe; + sort?: InputMaybe; + filters?: InputMaybe; }>; - -export type GetAttributesQuery = { attributes?: { totalCount: number, list: Array<{ id: string, label?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean }> } | null }; +export type GetAttributesQuery = { + attributes?: { + totalCount: number; + list: Array<{ + id: string; + label?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + }>; + } | null; +}; export type GetVersionProfilesQueryVariables = Exact<{ - filters?: InputMaybe; - sort?: InputMaybe; + filters?: InputMaybe; + sort?: InputMaybe; }>; - -export type GetVersionProfilesQuery = { versionProfiles: { list: Array<{ id: string, label: any }> } }; +export type GetVersionProfilesQuery = {versionProfiles: {list: Array<{id: string; label: any}>}}; export type GetVersionableAttributesByLibraryQueryVariables = Exact<{ - libraryId: Scalars['String']; + libraryId: Scalars['String']; }>; - -export type GetVersionableAttributesByLibraryQuery = { attributes?: { list: Array<{ id: string, versions_conf?: { versionable: boolean, profile?: { id: string, trees: Array<{ id: string, label?: any | null }> } | null } | null }> } | null }; +export type GetVersionableAttributesByLibraryQuery = { + attributes?: { + list: Array<{ + id: string; + versions_conf?: { + versionable: boolean; + profile?: {id: string; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + }>; + } | null; +}; export type SaveAttributeMutationVariables = Exact<{ - attribute: AttributeInput; + attribute: AttributeInput; }>; - -export type SaveAttributeMutation = { saveAttribute: { reverse_link?: string | null, id: string, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, label?: any | null, description?: any | null, multiple_values: boolean, linked_library?: { id: string, label?: any | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, type: AttributeType, format?: AttributeFormat | null }> | null, versions_conf?: { versionable: boolean, mode?: ValueVersionMode | null, profile?: { id: string, label: any, trees: Array<{ id: string, label?: any | null }> } | null } | null, libraries?: Array<{ id: string, label?: any | null }> | null } | { unique?: boolean | null, id: string, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, label?: any | null, description?: any | null, multiple_values: boolean, metadata_fields?: Array<{ id: string, label?: any | null, type: AttributeType, format?: AttributeFormat | null }> | null, versions_conf?: { versionable: boolean, mode?: ValueVersionMode | null, profile?: { id: string, label: any, trees: Array<{ id: string, label?: any | null }> } | null } | null, libraries?: Array<{ id: string, label?: any | null }> | null } | { id: string, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, label?: any | null, description?: any | null, multiple_values: boolean, linked_tree?: { id: string, label?: any | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, type: AttributeType, format?: AttributeFormat | null }> | null, versions_conf?: { versionable: boolean, mode?: ValueVersionMode | null, profile?: { id: string, label: any, trees: Array<{ id: string, label?: any | null }> } | null } | null, libraries?: Array<{ id: string, label?: any | null }> | null } }; +export type SaveAttributeMutation = { + saveAttribute: + | { + reverse_link?: string | null; + id: string; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + label?: any | null; + description?: any | null; + multiple_values: boolean; + linked_library?: {id: string; label?: any | null} | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + }> | null; + versions_conf?: { + versionable: boolean; + mode?: ValueVersionMode | null; + profile?: {id: string; label: any; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + libraries?: Array<{id: string; label?: any | null}> | null; + } + | { + unique?: boolean | null; + id: string; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + label?: any | null; + description?: any | null; + multiple_values: boolean; + metadata_fields?: Array<{ + id: string; + label?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + }> | null; + versions_conf?: { + versionable: boolean; + mode?: ValueVersionMode | null; + profile?: {id: string; label: any; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + libraries?: Array<{id: string; label?: any | null}> | null; + } + | { + id: string; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + label?: any | null; + description?: any | null; + multiple_values: boolean; + linked_tree?: {id: string; label?: any | null} | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + }> | null; + versions_conf?: { + versionable: boolean; + mode?: ValueVersionMode | null; + profile?: {id: string; label: any; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + libraries?: Array<{id: string; label?: any | null}> | null; + }; +}; export type ExportQueryVariables = Exact<{ - library: Scalars['ID']; - attributes?: InputMaybe | Scalars['ID']>; - filters?: InputMaybe | RecordFilterInput>; + library: Scalars['ID']; + attributes?: InputMaybe | Scalars['ID']>; + filters?: InputMaybe | RecordFilterInput>; }>; - -export type ExportQuery = { export: string }; +export type ExportQuery = {export: string}; export type CreateDirectoryMutationVariables = Exact<{ - library: Scalars['String']; - nodeId: Scalars['String']; - name: Scalars['String']; + library: Scalars['String']; + nodeId: Scalars['String']; + name: Scalars['String']; }>; - -export type CreateDirectoryMutation = { createDirectory: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }; +export type CreateDirectoryMutation = { + createDirectory: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; +}; export type ForcePreviewsGenerationMutationVariables = Exact<{ - libraryId: Scalars['ID']; - filters?: InputMaybe | RecordFilterInput>; - recordIds?: InputMaybe | Scalars['ID']>; - failedOnly?: InputMaybe; - previewVersionSizeNames?: InputMaybe | Scalars['String']>; + libraryId: Scalars['ID']; + filters?: InputMaybe | RecordFilterInput>; + recordIds?: InputMaybe | Scalars['ID']>; + failedOnly?: InputMaybe; + previewVersionSizeNames?: InputMaybe | Scalars['String']>; }>; - -export type ForcePreviewsGenerationMutation = { forcePreviewsGeneration: boolean }; +export type ForcePreviewsGenerationMutation = {forcePreviewsGeneration: boolean}; export type GetDirectoryDataQueryVariables = Exact<{ - library: Scalars['ID']; - directoryId: Scalars['String']; + library: Scalars['ID']; + directoryId: Scalars['String']; }>; - -export type GetDirectoryDataQuery = { records: { list: Array<{ id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } }, created_at?: Array<{ value?: any | null }> | null, created_by?: Array<{ value?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null }> | null, modified_at?: Array<{ value?: any | null }> | null, modified_by?: Array<{ value?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null }> | null, file_name?: Array<{ value?: any | null }> | null, file_path?: Array<{ value?: any | null }> | null, library: { behavior: LibraryBehavior } }> } }; +export type GetDirectoryDataQuery = { + records: { + list: Array<{ + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + created_at?: Array<{value?: any | null}> | null; + created_by?: Array<{ + value?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + }> | null; + modified_at?: Array<{value?: any | null}> | null; + modified_by?: Array<{ + value?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + }> | null; + file_name?: Array<{value?: any | null}> | null; + file_path?: Array<{value?: any | null}> | null; + library: {behavior: LibraryBehavior}; + }>; + }; +}; export type UploadUpdateSubscriptionVariables = Exact<{ - filters?: InputMaybe; + filters?: InputMaybe; }>; - -export type UploadUpdateSubscription = { upload: { userId: string, uid: string, progress: { length?: number | null, transferred?: number | null, speed?: number | null, runtime?: number | null, remaining?: number | null, percentage?: number | null, eta?: number | null, delta?: number | null } } }; +export type UploadUpdateSubscription = { + upload: { + userId: string; + uid: string; + progress: { + length?: number | null; + transferred?: number | null; + speed?: number | null; + runtime?: number | null; + remaining?: number | null; + percentage?: number | null; + eta?: number | null; + delta?: number | null; + }; + }; +}; export type UploadMutationVariables = Exact<{ - library: Scalars['String']; - nodeId: Scalars['String']; - files: Array | FileInput; + library: Scalars['String']; + nodeId: Scalars['String']; + files: Array | FileInput; }>; - -export type UploadMutation = { upload: Array<{ uid: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }> }; +export type UploadMutation = { + upload: Array<{ + uid: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }>; +}; export type ImportExcelMutationVariables = Exact<{ - file: Scalars['Upload']; - sheets?: InputMaybe> | InputMaybe>; - startAt?: InputMaybe; + file: Scalars['Upload']; + sheets?: InputMaybe> | InputMaybe>; + startAt?: InputMaybe; }>; - -export type ImportExcelMutation = { importExcel: string }; +export type ImportExcelMutation = {importExcel: string}; export type CheckLibraryExistenceQueryVariables = Exact<{ - id?: InputMaybe | Scalars['ID']>; + id?: InputMaybe | Scalars['ID']>; }>; - -export type CheckLibraryExistenceQuery = { libraries?: { totalCount: number } | null }; +export type CheckLibraryExistenceQuery = {libraries?: {totalCount: number} | null}; export type DeleteLibraryMutationVariables = Exact<{ - id?: InputMaybe; + id?: InputMaybe; }>; +export type DeleteLibraryMutation = {deleteLibrary: {id: string}}; -export type DeleteLibraryMutation = { deleteLibrary: { id: string } }; +export type GetLibrariesQueryVariables = Exact<{[key: string]: never}>; -export type GetLibrariesQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetLibrariesQuery = { libraries?: { list: Array<{ id: string, label?: any | null, icon?: { id: string, whoAmI: { id: string, preview?: IPreviewScalar | null, library: { id: string } } } | null }> } | null }; +export type GetLibrariesQuery = { + libraries?: { + list: Array<{ + id: string; + label?: any | null; + icon?: {id: string; whoAmI: {id: string; preview?: IPreviewScalar | null; library: {id: string}}} | null; + }>; + } | null; +}; export type GetLibraryByIdQueryVariables = Exact<{ - id?: InputMaybe | Scalars['ID']>; + id?: InputMaybe | Scalars['ID']>; }>; - -export type GetLibraryByIdQuery = { libraries?: { list: Array<{ id: string, label?: any | null, behavior: LibraryBehavior, system?: boolean | null, fullTextAttributes?: Array<{ id: string, label?: any | null }> | null, attributes?: Array<{ id: string, label?: any | null, system: boolean, type: AttributeType, format?: AttributeFormat | null, linked_library?: { id: string, behavior: LibraryBehavior } | null } | { id: string, label?: any | null, system: boolean, type: AttributeType, format?: AttributeFormat | null }> | null, permissions_conf?: { relation: PermissionsRelation, permissionTreeAttributes: Array<{ id: string, label?: any | null } | { id: string, label?: any | null, linked_tree?: { id: string } | null }> } | null, recordIdentityConf?: { label?: string | null, subLabel?: string | null, color?: string | null, preview?: string | null, treeColorPreview?: string | null } | null, permissions?: { admin_library: boolean, access_library: boolean, access_record: boolean, create_record: boolean, edit_record: boolean, delete_record: boolean } | null, icon?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, previewsSettings?: Array<{ label: any, description?: any | null, system: boolean, versions: { background: string, density: number, sizes: Array<{ name: string, size: number }> } }> | null }> } | null }; +export type GetLibraryByIdQuery = { + libraries?: { + list: Array<{ + id: string; + label?: any | null; + behavior: LibraryBehavior; + system?: boolean | null; + fullTextAttributes?: Array<{id: string; label?: any | null}> | null; + attributes?: Array< + | { + id: string; + label?: any | null; + system: boolean; + type: AttributeType; + format?: AttributeFormat | null; + linked_library?: {id: string; behavior: LibraryBehavior} | null; + } + | { + id: string; + label?: any | null; + system: boolean; + type: AttributeType; + format?: AttributeFormat | null; + } + > | null; + permissions_conf?: { + relation: PermissionsRelation; + permissionTreeAttributes: Array< + | {id: string; label?: any | null} + | {id: string; label?: any | null; linked_tree?: {id: string} | null} + >; + } | null; + recordIdentityConf?: { + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: string | null; + treeColorPreview?: string | null; + } | null; + permissions?: { + admin_library: boolean; + access_library: boolean; + access_record: boolean; + create_record: boolean; + edit_record: boolean; + delete_record: boolean; + } | null; + icon?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + previewsSettings?: Array<{ + label: any; + description?: any | null; + system: boolean; + versions: {background: string; density: number; sizes: Array<{name: string; size: number}>}; + }> | null; + }>; + } | null; +}; export type GetLibraryPermissionsQueryVariables = Exact<{ - libraryId?: InputMaybe | Scalars['ID']>; + libraryId?: InputMaybe | Scalars['ID']>; }>; - -export type GetLibraryPermissionsQuery = { libraries?: { list: Array<{ permissions?: { access_library: boolean, access_record: boolean, create_record: boolean, edit_record: boolean, delete_record: boolean } | null }> } | null }; +export type GetLibraryPermissionsQuery = { + libraries?: { + list: Array<{ + permissions?: { + access_library: boolean; + access_record: boolean; + create_record: boolean; + edit_record: boolean; + delete_record: boolean; + } | null; + }>; + } | null; +}; export type GetLibraryPreviewsSettingsQueryVariables = Exact<{ - id: Scalars['ID']; + id: Scalars['ID']; }>; - -export type GetLibraryPreviewsSettingsQuery = { libraries?: { list: Array<{ id: string, label?: any | null, behavior: LibraryBehavior, previewsSettings?: Array<{ description?: any | null, label: any, system: boolean, versions: { background: string, density: number, sizes: Array<{ name: string, size: number }> } }> | null }> } | null }; +export type GetLibraryPreviewsSettingsQuery = { + libraries?: { + list: Array<{ + id: string; + label?: any | null; + behavior: LibraryBehavior; + previewsSettings?: Array<{ + description?: any | null; + label: any; + system: boolean; + versions: {background: string; density: number; sizes: Array<{name: string; size: number}>}; + }> | null; + }>; + } | null; +}; export type SaveLibraryMutationVariables = Exact<{ - library: LibraryInput; + library: LibraryInput; }>; - -export type SaveLibraryMutation = { saveLibrary: { id: string, label?: any | null, behavior: LibraryBehavior, system?: boolean | null, fullTextAttributes?: Array<{ id: string, label?: any | null }> | null, attributes?: Array<{ id: string, label?: any | null, system: boolean, type: AttributeType, format?: AttributeFormat | null, linked_library?: { id: string, behavior: LibraryBehavior } | null } | { id: string, label?: any | null, system: boolean, type: AttributeType, format?: AttributeFormat | null }> | null, permissions_conf?: { relation: PermissionsRelation, permissionTreeAttributes: Array<{ id: string, label?: any | null } | { id: string, label?: any | null, linked_tree?: { id: string } | null }> } | null, recordIdentityConf?: { label?: string | null, subLabel?: string | null, color?: string | null, preview?: string | null, treeColorPreview?: string | null } | null, permissions?: { admin_library: boolean, access_library: boolean, access_record: boolean, create_record: boolean, edit_record: boolean, delete_record: boolean } | null, icon?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, previewsSettings?: Array<{ label: any, description?: any | null, system: boolean, versions: { background: string, density: number, sizes: Array<{ name: string, size: number }> } }> | null } }; +export type SaveLibraryMutation = { + saveLibrary: { + id: string; + label?: any | null; + behavior: LibraryBehavior; + system?: boolean | null; + fullTextAttributes?: Array<{id: string; label?: any | null}> | null; + attributes?: Array< + | { + id: string; + label?: any | null; + system: boolean; + type: AttributeType; + format?: AttributeFormat | null; + linked_library?: {id: string; behavior: LibraryBehavior} | null; + } + | {id: string; label?: any | null; system: boolean; type: AttributeType; format?: AttributeFormat | null} + > | null; + permissions_conf?: { + relation: PermissionsRelation; + permissionTreeAttributes: Array< + {id: string; label?: any | null} | {id: string; label?: any | null; linked_tree?: {id: string} | null} + >; + } | null; + recordIdentityConf?: { + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: string | null; + treeColorPreview?: string | null; + } | null; + permissions?: { + admin_library: boolean; + access_library: boolean; + access_record: boolean; + create_record: boolean; + edit_record: boolean; + delete_record: boolean; + } | null; + icon?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + previewsSettings?: Array<{ + label: any; + description?: any | null; + system: boolean; + versions: {background: string; density: number; sizes: Array<{name: string; size: number}>}; + }> | null; + }; +}; export type IsAllowedQueryVariables = Exact<{ - type: PermissionTypes; - actions: Array | PermissionsActions; - applyTo?: InputMaybe; - target?: InputMaybe; + type: PermissionTypes; + actions: Array | PermissionsActions; + applyTo?: InputMaybe; + target?: InputMaybe; }>; - -export type IsAllowedQuery = { isAllowed?: Array<{ name: PermissionsActions, allowed?: boolean | null }> | null }; +export type IsAllowedQuery = {isAllowed?: Array<{name: PermissionsActions; allowed?: boolean | null}> | null}; export type CreateRecordMutationVariables = Exact<{ - library: Scalars['ID']; - data?: InputMaybe; + library: Scalars['ID']; + data?: InputMaybe; }>; - -export type CreateRecordMutation = { createRecord: { record?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, valuesErrors?: Array<{ attributeId: string, id_value?: string | null, input?: string | null, message?: string | null, type: string }> | null } }; +export type CreateRecordMutation = { + createRecord: { + record?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + valuesErrors?: Array<{ + attributeId: string; + id_value?: string | null; + input?: string | null; + message?: string | null; + type: string; + }> | null; + }; +}; export type DeactivateRecordsMutationVariables = Exact<{ - libraryId: Scalars['String']; - recordsIds?: InputMaybe | Scalars['String']>; - filters?: InputMaybe | RecordFilterInput>; + libraryId: Scalars['String']; + recordsIds?: InputMaybe | Scalars['String']>; + filters?: InputMaybe | RecordFilterInput>; }>; - -export type DeactivateRecordsMutation = { deactivateRecords: Array<{ id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }> }; +export type DeactivateRecordsMutation = { + deactivateRecords: Array<{ + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }>; +}; export type DoesFileExistAsChildQueryVariables = Exact<{ - parentNode?: InputMaybe; - treeId: Scalars['ID']; - filename: Scalars['String']; + parentNode?: InputMaybe; + treeId: Scalars['ID']; + filename: Scalars['String']; }>; - -export type DoesFileExistAsChildQuery = { doesFileExistAsChild?: boolean | null }; +export type DoesFileExistAsChildQuery = {doesFileExistAsChild?: boolean | null}; export type GetFileDataQueryVariables = Exact<{ - library: Scalars['ID']; - fileId: Scalars['String']; - previewsStatusAttribute: Scalars['ID']; + library: Scalars['ID']; + fileId: Scalars['String']; + previewsStatusAttribute: Scalars['ID']; }>; - -export type GetFileDataQuery = { records: { list: Array<{ id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } }, created_at?: Array<{ value?: any | null }> | null, created_by?: Array<{ value?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null }> | null, modified_at?: Array<{ value?: any | null }> | null, modified_by?: Array<{ value?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null }> | null, file_name?: Array<{ value?: any | null }> | null, file_path?: Array<{ value?: any | null }> | null, previews_status?: Array<{ value?: any | null }> | null, library: { behavior: LibraryBehavior } }> } }; +export type GetFileDataQuery = { + records: { + list: Array<{ + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + created_at?: Array<{value?: any | null}> | null; + created_by?: Array<{ + value?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + }> | null; + modified_at?: Array<{value?: any | null}> | null; + modified_by?: Array<{ + value?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + }> | null; + file_name?: Array<{value?: any | null}> | null; + file_path?: Array<{value?: any | null}> | null; + previews_status?: Array<{value?: any | null}> | null; + library: {behavior: LibraryBehavior}; + }>; + }; +}; export type RecordFormQueryVariables = Exact<{ - libraryId: Scalars['String']; - formId: Scalars['String']; - recordId?: InputMaybe; - version?: InputMaybe | ValueVersionInput>; + libraryId: Scalars['String']; + formId: Scalars['String']; + recordId?: InputMaybe; + version?: InputMaybe | ValueVersionInput>; }>; - -export type RecordFormQuery = { recordForm?: { id: string, recordId?: string | null, library: { id: string }, dependencyAttributes?: Array<{ id: string }> | null, elements: Array<{ id: string, containerId: string, uiElementType: string, type: FormElementTypes, valueError?: string | null, values?: Array<{ id_value?: string | null, modified_at?: number | null, created_at?: number | null, linkValue?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null } | { id_value?: string | null, modified_at?: number | null, created_at?: number | null, treeValue?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }, ancestors?: Array<{ record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }> | null } | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null } | { value?: any | null, raw_value?: any | null, id_value?: string | null, modified_at?: number | null, created_at?: number | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null }> | null, attribute?: { id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, linked_library?: { id: string, label?: any | null, behavior: LibraryBehavior, permissions?: { create_record: boolean } | null } | null, linkValuesList?: { enable: boolean, allowFreeEntry?: boolean | null, values?: Array<{ id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }> | null } | null, permissions: { access_attribute: boolean, edit_value: boolean }, versions_conf?: { versionable: boolean, profile?: { id: string, trees: Array<{ id: string, label?: any | null }> } | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, permissions: { access_attribute: boolean, edit_value: boolean }, values_list?: { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null } | { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null } | null, metadata_fields?: Array<{ id: string }> | null }> | null } | { id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, values_list?: { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null } | { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null } | null, permissions: { access_attribute: boolean, edit_value: boolean }, versions_conf?: { versionable: boolean, profile?: { id: string, trees: Array<{ id: string, label?: any | null }> } | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, permissions: { access_attribute: boolean, edit_value: boolean }, values_list?: { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null } | { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null } | null, metadata_fields?: Array<{ id: string }> | null }> | null } | { id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, linked_tree?: { id: string, label?: any | null } | null, treeValuesList?: { enable: boolean, allowFreeEntry?: boolean | null, values?: Array<{ id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }, ancestors?: Array<{ record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }> | null }> | null } | null, permissions: { access_attribute: boolean, edit_value: boolean }, versions_conf?: { versionable: boolean, profile?: { id: string, trees: Array<{ id: string, label?: any | null }> } | null } | null, metadata_fields?: Array<{ id: string, label?: any | null, description?: any | null, type: AttributeType, format?: AttributeFormat | null, system: boolean, readonly: boolean, multiple_values: boolean, permissions: { access_attribute: boolean, edit_value: boolean }, values_list?: { enable: boolean, allowFreeEntry?: boolean | null, dateRangeValues?: Array<{ from?: string | null, to?: string | null }> | null } | { enable: boolean, allowFreeEntry?: boolean | null, values?: Array | null } | null, metadata_fields?: Array<{ id: string }> | null }> | null } | null, settings: Array<{ key: string, value: any }> }> } | null }; +export type RecordFormQuery = { + recordForm?: { + id: string; + recordId?: string | null; + library: {id: string}; + dependencyAttributes?: Array<{id: string}> | null; + elements: Array<{ + id: string; + containerId: string; + uiElementType: string; + type: FormElementTypes; + valueError?: string | null; + values?: Array< + | { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + linkValue?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: { + id: string; + format?: AttributeFormat | null; + type: AttributeType; + system: boolean; + } | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: { + id: string; + whoAmI: {id: string; label?: string | null; library: {id: string}}; + }; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + | { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + treeValue?: { + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + ancestors?: Array<{ + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }> | null; + } | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: { + id: string; + format?: AttributeFormat | null; + type: AttributeType; + system: boolean; + } | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: { + id: string; + whoAmI: {id: string; label?: string | null; library: {id: string}}; + }; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + | { + value?: any | null; + raw_value?: any | null; + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: { + id: string; + format?: AttributeFormat | null; + type: AttributeType; + system: boolean; + } | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: { + id: string; + whoAmI: {id: string; label?: string | null; library: {id: string}}; + }; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + > | null; + attribute?: + | { + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + linked_library?: { + id: string; + label?: any | null; + behavior: LibraryBehavior; + permissions?: {create_record: boolean} | null; + } | null; + linkValuesList?: { + enable: boolean; + allowFreeEntry?: boolean | null; + values?: Array<{ + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }> | null; + } | null; + permissions: {access_attribute: boolean; edit_value: boolean}; + versions_conf?: { + versionable: boolean; + profile?: {id: string; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + permissions: {access_attribute: boolean; edit_value: boolean}; + values_list?: + | { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; + } + | {enable: boolean; allowFreeEntry?: boolean | null; values?: Array | null} + | null; + metadata_fields?: Array<{id: string}> | null; + }> | null; + } + | { + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + values_list?: + | { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; + } + | {enable: boolean; allowFreeEntry?: boolean | null; values?: Array | null} + | null; + permissions: {access_attribute: boolean; edit_value: boolean}; + versions_conf?: { + versionable: boolean; + profile?: {id: string; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + permissions: {access_attribute: boolean; edit_value: boolean}; + values_list?: + | { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; + } + | {enable: boolean; allowFreeEntry?: boolean | null; values?: Array | null} + | null; + metadata_fields?: Array<{id: string}> | null; + }> | null; + } + | { + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + linked_tree?: {id: string; label?: any | null} | null; + treeValuesList?: { + enable: boolean; + allowFreeEntry?: boolean | null; + values?: Array<{ + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + ancestors?: Array<{ + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }> | null; + }> | null; + } | null; + permissions: {access_attribute: boolean; edit_value: boolean}; + versions_conf?: { + versionable: boolean; + profile?: {id: string; trees: Array<{id: string; label?: any | null}>} | null; + } | null; + metadata_fields?: Array<{ + id: string; + label?: any | null; + description?: any | null; + type: AttributeType; + format?: AttributeFormat | null; + system: boolean; + readonly: boolean; + multiple_values: boolean; + permissions: {access_attribute: boolean; edit_value: boolean}; + values_list?: + | { + enable: boolean; + allowFreeEntry?: boolean | null; + dateRangeValues?: Array<{from?: string | null; to?: string | null}> | null; + } + | {enable: boolean; allowFreeEntry?: boolean | null; values?: Array | null} + | null; + metadata_fields?: Array<{id: string}> | null; + }> | null; + } + | null; + settings: Array<{key: string; value: any}>; + }>; + } | null; +}; export type RecordUpdateSubscriptionVariables = Exact<{ - filters?: InputMaybe; + filters?: InputMaybe; }>; - -export type RecordUpdateSubscription = { recordUpdate: { record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } }, modified_by?: Array<{ value?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null }> | null }, updatedValues: Array<{ attribute: string, value: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, linkValue?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null } | { id_value?: string | null, modified_at?: number | null, created_at?: number | null, treeValue?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }, ancestors?: Array<{ record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }> | null } | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null } | { value?: any | null, raw_value?: any | null, id_value?: string | null, modified_at?: number | null, created_at?: number | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null } }> } }; +export type RecordUpdateSubscription = { + recordUpdate: { + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + modified_by?: Array<{ + value?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + }> | null; + }; + updatedValues: Array<{ + attribute: string; + value: + | { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + linkValue?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: { + id: string; + format?: AttributeFormat | null; + type: AttributeType; + system: boolean; + } | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: { + id: string; + whoAmI: {id: string; label?: string | null; library: {id: string}}; + }; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + | { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + treeValue?: { + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + ancestors?: Array<{ + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }> | null; + } | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: { + id: string; + format?: AttributeFormat | null; + type: AttributeType; + system: boolean; + } | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: { + id: string; + whoAmI: {id: string; label?: string | null; library: {id: string}}; + }; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + | { + value?: any | null; + raw_value?: any | null; + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: { + id: string; + format?: AttributeFormat | null; + type: AttributeType; + system: boolean; + } | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: { + id: string; + whoAmI: {id: string; label?: string | null; library: {id: string}}; + }; + } | null; + } | null> | null; + } | null; + } | null> | null; + }; + }>; + }; +}; export type IndexRecordsMutationVariables = Exact<{ - libraryId: Scalars['String']; - records?: InputMaybe | Scalars['String']>; + libraryId: Scalars['String']; + records?: InputMaybe | Scalars['String']>; }>; - -export type IndexRecordsMutation = { indexRecords: boolean }; +export type IndexRecordsMutation = {indexRecords: boolean}; export type CancelTaskMutationVariables = Exact<{ - taskId: Scalars['ID']; + taskId: Scalars['ID']; }>; - -export type CancelTaskMutation = { cancelTask: boolean }; +export type CancelTaskMutation = {cancelTask: boolean}; export type CheckTreeExistenceQueryVariables = Exact<{ - id?: InputMaybe | Scalars['ID']>; + id?: InputMaybe | Scalars['ID']>; }>; - -export type CheckTreeExistenceQuery = { trees?: { totalCount: number } | null }; +export type CheckTreeExistenceQuery = {trees?: {totalCount: number} | null}; export type DeleteTreeMutationVariables = Exact<{ - id: Scalars['ID']; + id: Scalars['ID']; }>; - -export type DeleteTreeMutation = { deleteTree: { id: string } }; +export type DeleteTreeMutation = {deleteTree: {id: string}}; export type GetTreeByIdQueryVariables = Exact<{ - id?: InputMaybe | Scalars['ID']>; + id?: InputMaybe | Scalars['ID']>; }>; - -export type GetTreeByIdQuery = { trees?: { list: Array<{ id: string, label?: any | null, behavior: TreeBehavior, system: boolean, libraries: Array<{ library: { id: string, label?: any | null }, settings: { allowMultiplePositions: boolean, allowedAtRoot: boolean, allowedChildren: Array } }> }> } | null }; +export type GetTreeByIdQuery = { + trees?: { + list: Array<{ + id: string; + label?: any | null; + behavior: TreeBehavior; + system: boolean; + libraries: Array<{ + library: {id: string; label?: any | null}; + settings: {allowMultiplePositions: boolean; allowedAtRoot: boolean; allowedChildren: Array}; + }>; + }>; + } | null; +}; export type GetTreeLibrariesQueryVariables = Exact<{ - treeId?: InputMaybe | Scalars['ID']>; - library?: InputMaybe; + treeId?: InputMaybe | Scalars['ID']>; + library?: InputMaybe; }>; +export type GetTreeLibrariesQuery = { + trees?: { + totalCount: number; + list: Array<{ + id: string; + behavior: TreeBehavior; + system: boolean; + libraries: Array<{ + library: {id: string; label?: any | null; behavior: LibraryBehavior; system?: boolean | null}; + settings: {allowMultiplePositions: boolean; allowedChildren: Array; allowedAtRoot: boolean}; + }>; + }>; + } | null; +}; -export type GetTreeLibrariesQuery = { trees?: { totalCount: number, list: Array<{ id: string, behavior: TreeBehavior, system: boolean, libraries: Array<{ library: { id: string, label?: any | null, behavior: LibraryBehavior, system?: boolean | null }, settings: { allowMultiplePositions: boolean, allowedChildren: Array, allowedAtRoot: boolean } }> }> } | null }; - -export type GetTreesQueryVariables = Exact<{ [key: string]: never; }>; - +export type GetTreesQueryVariables = Exact<{[key: string]: never}>; -export type GetTreesQuery = { trees?: { list: Array<{ id: string, label?: any | null }> } | null }; +export type GetTreesQuery = {trees?: {list: Array<{id: string; label?: any | null}>} | null}; export type SaveTreeMutationVariables = Exact<{ - tree: TreeInput; + tree: TreeInput; }>; - -export type SaveTreeMutation = { saveTree: { id: string, label?: any | null, behavior: TreeBehavior, system: boolean, libraries: Array<{ library: { id: string, label?: any | null }, settings: { allowMultiplePositions: boolean, allowedAtRoot: boolean, allowedChildren: Array } }> } }; +export type SaveTreeMutation = { + saveTree: { + id: string; + label?: any | null; + behavior: TreeBehavior; + system: boolean; + libraries: Array<{ + library: {id: string; label?: any | null}; + settings: {allowMultiplePositions: boolean; allowedAtRoot: boolean; allowedChildren: Array}; + }>; + }; +}; export type TreeNodeChildrenQueryVariables = Exact<{ - treeId: Scalars['ID']; - node?: InputMaybe; - pagination?: InputMaybe; + treeId: Scalars['ID']; + node?: InputMaybe; + pagination?: InputMaybe; }>; - -export type TreeNodeChildrenQuery = { treeNodeChildren: { totalCount?: number | null, list: Array<{ id: string, order?: number | null, childrenCount?: number | null, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } }, active?: Array<{ value?: any | null }> | null }, ancestors?: Array<{ id: string, record: { id: string, library: { id: string, label?: any | null }, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }> | null, permissions: { access_tree: boolean, detach: boolean, edit_children: boolean } }> } }; +export type TreeNodeChildrenQuery = { + treeNodeChildren: { + totalCount?: number | null; + list: Array<{ + id: string; + order?: number | null; + childrenCount?: number | null; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + active?: Array<{value?: any | null}> | null; + }; + ancestors?: Array<{ + id: string; + record: { + id: string; + library: {id: string; label?: any | null}; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }> | null; + permissions: {access_tree: boolean; detach: boolean; edit_children: boolean}; + }>; + }; +}; export type GetUserDataQueryVariables = Exact<{ - keys: Array | Scalars['String']; - global?: InputMaybe; + keys: Array | Scalars['String']; + global?: InputMaybe; }>; - -export type GetUserDataQuery = { userData: { global: boolean, data?: any | null } }; +export type GetUserDataQuery = {userData: {global: boolean; data?: any | null}}; export type SaveUserDataMutationVariables = Exact<{ - key: Scalars['String']; - value?: InputMaybe; - global: Scalars['Boolean']; + key: Scalars['String']; + value?: InputMaybe; + global: Scalars['Boolean']; }>; - -export type SaveUserDataMutation = { saveUserData: { global: boolean, data?: any | null } }; +export type SaveUserDataMutation = {saveUserData: {global: boolean; data?: any | null}}; export type DeleteValueMutationVariables = Exact<{ - library: Scalars['ID']; - recordId: Scalars['ID']; - attribute: Scalars['ID']; - value?: InputMaybe; + library: Scalars['ID']; + recordId: Scalars['ID']; + attribute: Scalars['ID']; + value?: InputMaybe; }>; - -export type DeleteValueMutation = { deleteValue: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, linkValue?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null } | { id_value?: string | null, modified_at?: number | null, created_at?: number | null, treeValue?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }, ancestors?: Array<{ record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }> | null } | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null } | { value?: any | null, raw_value?: any | null, id_value?: string | null, modified_at?: number | null, created_at?: number | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null } }; +export type DeleteValueMutation = { + deleteValue: + | { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + linkValue?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: {id: string; format?: AttributeFormat | null; type: AttributeType; system: boolean} | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + | { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + treeValue?: { + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + ancestors?: Array<{ + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }> | null; + } | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: {id: string; format?: AttributeFormat | null; type: AttributeType; system: boolean} | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + | { + value?: any | null; + raw_value?: any | null; + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: {id: string; format?: AttributeFormat | null; type: AttributeType; system: boolean} | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + } | null; + } | null> | null; + }; +}; export type SaveValueBatchMutationVariables = Exact<{ - library: Scalars['ID']; - recordId: Scalars['ID']; - version?: InputMaybe | ValueVersionInput>; - values: Array | ValueBatchInput; - deleteEmpty?: InputMaybe; + library: Scalars['ID']; + recordId: Scalars['ID']; + version?: InputMaybe | ValueVersionInput>; + values: Array | ValueBatchInput; + deleteEmpty?: InputMaybe; }>; - -export type SaveValueBatchMutation = { saveValueBatch: { values?: Array<{ id_value?: string | null, modified_at?: number | null, created_at?: number | null, linkValue?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null } | { id_value?: string | null, modified_at?: number | null, created_at?: number | null, treeValue?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } }, ancestors?: Array<{ record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } }> | null } | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null } | { value?: any | null, raw_value?: any | null, id_value?: string | null, modified_at?: number | null, created_at?: number | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null, attribute?: { id: string, format?: AttributeFormat | null, type: AttributeType, system: boolean } | null, metadata?: Array<{ name: string, value?: { id_value?: string | null, modified_at?: number | null, created_at?: number | null, value?: any | null, raw_value?: any | null, modified_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, created_by?: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } | null, version?: Array<{ treeId: string, treeNode?: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } } } | null } | null> | null } | null } | null> | null }> | null, errors?: Array<{ type: string, attribute: string, input?: string | null, message: string }> | null } }; +export type SaveValueBatchMutation = { + saveValueBatch: { + values?: Array< + | { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + linkValue?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: { + id: string; + format?: AttributeFormat | null; + type: AttributeType; + system: boolean; + } | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: { + id: string; + whoAmI: {id: string; label?: string | null; library: {id: string}}; + }; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + | { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + treeValue?: { + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + ancestors?: Array<{ + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }> | null; + } | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: { + id: string; + format?: AttributeFormat | null; + type: AttributeType; + system: boolean; + } | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: { + id: string; + whoAmI: {id: string; label?: string | null; library: {id: string}}; + }; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + | { + value?: any | null; + raw_value?: any | null; + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + } | null; + } | null> | null; + attribute?: { + id: string; + format?: AttributeFormat | null; + type: AttributeType; + system: boolean; + } | null; + metadata?: Array<{ + name: string; + value?: { + id_value?: string | null; + modified_at?: number | null; + created_at?: number | null; + value?: any | null; + raw_value?: any | null; + modified_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + created_by?: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + } | null; + version?: Array<{ + treeId: string; + treeNode?: { + id: string; + record: { + id: string; + whoAmI: {id: string; label?: string | null; library: {id: string}}; + }; + } | null; + } | null> | null; + } | null; + } | null> | null; + } + > | null; + errors?: Array<{type: string; attribute: string; input?: string | null; message: string}> | null; + }; +}; export type DeleteViewMutationVariables = Exact<{ - viewId: Scalars['String']; + viewId: Scalars['String']; }>; - -export type DeleteViewMutation = { deleteView: { id: string, library: string } }; +export type DeleteViewMutation = {deleteView: {id: string; library: string}}; export type GetViewQueryVariables = Exact<{ - viewId: Scalars['String']; + viewId: Scalars['String']; }>; - -export type GetViewQuery = { view: { id: string, shared: boolean, label: any, description?: any | null, color?: string | null, display: { size: ViewSizes, type: ViewTypes }, created_by: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } }, filters?: Array<{ field?: string | null, value?: string | null, condition?: RecordFilterCondition | null, operator?: RecordFilterOperator | null, tree?: { id: string, label?: any | null } | null }> | null, sort?: { field: string, order: SortOrder } | null, valuesVersions?: Array<{ treeId: string, treeNode: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } } }> | null, settings?: Array<{ name: string, value?: any | null }> | null } }; +export type GetViewQuery = { + view: { + id: string; + shared: boolean; + label: any; + description?: any | null; + color?: string | null; + display: {size: ViewSizes; type: ViewTypes}; + created_by: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + filters?: Array<{ + field?: string | null; + value?: string | null; + condition?: RecordFilterCondition | null; + operator?: RecordFilterOperator | null; + tree?: {id: string; label?: any | null} | null; + }> | null; + sort?: {field: string; order: SortOrder} | null; + valuesVersions?: Array<{ + treeId: string; + treeNode: { + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }; + }> | null; + settings?: Array<{name: string; value?: any | null}> | null; + }; +}; export type GetViewsListQueryVariables = Exact<{ - libraryId: Scalars['String']; + libraryId: Scalars['String']; }>; - -export type GetViewsListQuery = { views: { totalCount: number, list: Array<{ id: string, shared: boolean, label: any, description?: any | null, color?: string | null, display: { size: ViewSizes, type: ViewTypes }, created_by: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } }, filters?: Array<{ field?: string | null, value?: string | null, condition?: RecordFilterCondition | null, operator?: RecordFilterOperator | null, tree?: { id: string, label?: any | null } | null }> | null, sort?: { field: string, order: SortOrder } | null, valuesVersions?: Array<{ treeId: string, treeNode: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } } }> | null, settings?: Array<{ name: string, value?: any | null }> | null }> } }; +export type GetViewsListQuery = { + views: { + totalCount: number; + list: Array<{ + id: string; + shared: boolean; + label: any; + description?: any | null; + color?: string | null; + display: {size: ViewSizes; type: ViewTypes}; + created_by: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + filters?: Array<{ + field?: string | null; + value?: string | null; + condition?: RecordFilterCondition | null; + operator?: RecordFilterOperator | null; + tree?: {id: string; label?: any | null} | null; + }> | null; + sort?: {field: string; order: SortOrder} | null; + valuesVersions?: Array<{ + treeId: string; + treeNode: { + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }; + }> | null; + settings?: Array<{name: string; value?: any | null}> | null; + }>; + }; +}; export type AddViewMutationVariables = Exact<{ - view: ViewInput; + view: ViewInput; }>; - -export type AddViewMutation = { saveView: { id: string, shared: boolean, label: any, description?: any | null, color?: string | null, display: { size: ViewSizes, type: ViewTypes }, created_by: { id: string, whoAmI: { id: string, label?: string | null, library: { id: string } } }, filters?: Array<{ field?: string | null, value?: string | null, condition?: RecordFilterCondition | null, operator?: RecordFilterOperator | null, tree?: { id: string, label?: any | null } | null }> | null, sort?: { field: string, order: SortOrder } | null, valuesVersions?: Array<{ treeId: string, treeNode: { id: string, record: { id: string, whoAmI: { id: string, label?: string | null, subLabel?: string | null, color?: string | null, preview?: IPreviewScalar | null, library: { id: string, label?: any | null } } } } }> | null, settings?: Array<{ name: string, value?: any | null }> | null } }; +export type AddViewMutation = { + saveView: { + id: string; + shared: boolean; + label: any; + description?: any | null; + color?: string | null; + display: {size: ViewSizes; type: ViewTypes}; + created_by: {id: string; whoAmI: {id: string; label?: string | null; library: {id: string}}}; + filters?: Array<{ + field?: string | null; + value?: string | null; + condition?: RecordFilterCondition | null; + operator?: RecordFilterOperator | null; + tree?: {id: string; label?: any | null} | null; + }> | null; + sort?: {field: string; order: SortOrder} | null; + valuesVersions?: Array<{ + treeId: string; + treeNode: { + id: string; + record: { + id: string; + whoAmI: { + id: string; + label?: string | null; + subLabel?: string | null; + color?: string | null; + preview?: IPreviewScalar | null; + library: {id: string; label?: any | null}; + }; + }; + }; + }> | null; + settings?: Array<{name: string; value?: any | null}> | null; + }; +}; export const RecordIdentityFragmentDoc = gql` fragment RecordIdentity on Record { - id - whoAmI { - id - label - subLabel - color - library { - id - label - } - preview - } -} - `; + id + whoAmI { + id + label + subLabel + color + library { + id + label + } + preview + } + } +`; export const DetailsApplicationFragmentDoc = gql` fragment DetailsApplication on Application { - id - label - type - description - endpoint - url - color - icon { - ...RecordIdentity - } - module - permissions { - access_application - admin_application - } - settings -} - ${RecordIdentityFragmentDoc}`; + id + label + type + description + endpoint + url + color + icon { + ...RecordIdentity + } + module + permissions { + access_application + admin_application + } + settings + } + ${RecordIdentityFragmentDoc} +`; export const AttributeDetailsFragmentDoc = gql` fragment AttributeDetails on Attribute { - id - type - format - system - readonly - label - description - multiple_values - metadata_fields { - id - label - type - format - } - versions_conf { - versionable - mode - profile { - id - label - trees { id + type + format + system + readonly label - } - } - } - libraries { - id - label - } - ... on StandardAttribute { - unique - } - ... on LinkAttribute { - linked_library { - id - label - } - reverse_link - } - ... on TreeAttribute { - linked_tree { - id - label - } - } -} - `; + description + multiple_values + metadata_fields { + id + label + type + format + } + versions_conf { + versionable + mode + profile { + id + label + trees { + id + label + } + } + } + libraries { + id + label + } + ... on StandardAttribute { + unique + } + ... on LinkAttribute { + linked_library { + id + label + } + reverse_link + } + ... on TreeAttribute { + linked_tree { + id + label + } + } + } +`; export const AttributesByLibAttributeFragmentDoc = gql` fragment AttributesByLibAttribute on Attribute { - id - type - format - label - multiple_values - system - readonly - ... on LinkAttribute { - linked_library { - id - } - } - ... on TreeAttribute { - linked_tree { - id - label - libraries { - library { - id - label - } - } - } - } - ... on StandardAttribute { - embedded_fields { - id - format - label - } - } -} - `; + id + type + format + label + multiple_values + system + readonly + ... on LinkAttribute { + linked_library { + id + } + } + ... on TreeAttribute { + linked_tree { + id + label + libraries { + library { + id + label + } + } + } + } + ... on StandardAttribute { + embedded_fields { + id + format + label + } + } + } +`; export const LibraryLightFragmentDoc = gql` fragment LibraryLight on Library { - id - label - icon { - id - whoAmI { - id - library { id - } - preview + label + icon { + id + whoAmI { + id + library { + id + } + preview + } + } } - } -} - `; +`; export const LibraryLinkAttributeDetailsFragmentDoc = gql` fragment LibraryLinkAttributeDetails on LinkAttribute { - linked_library { - id - behavior - } -} - `; + linked_library { + id + behavior + } + } +`; export const LibraryAttributesFragmentDoc = gql` fragment LibraryAttributes on Attribute { - id - label - system - type - format - ...LibraryLinkAttributeDetails -} - ${LibraryLinkAttributeDetailsFragmentDoc}`; + id + label + system + type + format + ...LibraryLinkAttributeDetails + } + ${LibraryLinkAttributeDetailsFragmentDoc} +`; export const LibraryPreviewsSettingsFragmentDoc = gql` fragment LibraryPreviewsSettings on LibraryPreviewsSettings { - label - description - system - versions { - background - density - sizes { - name - size - } - } -} - `; + label + description + system + versions { + background + density + sizes { + name + size + } + } + } +`; export const LibraryDetailsFragmentDoc = gql` fragment LibraryDetails on Library { - id - label - behavior - system - label - fullTextAttributes { - id - label - } - attributes { - ...LibraryAttributes - } - permissions_conf { - permissionTreeAttributes { - id - ... on TreeAttribute { - linked_tree { - id - } - } - label - } - relation - } - recordIdentityConf { - label - subLabel - color - preview - treeColorPreview - } - permissions { - admin_library - access_library - access_record - create_record - edit_record - delete_record - } - icon { - ...RecordIdentity - } - previewsSettings { - ...LibraryPreviewsSettings - } -} + id + label + behavior + system + label + fullTextAttributes { + id + label + } + attributes { + ...LibraryAttributes + } + permissions_conf { + permissionTreeAttributes { + id + ... on TreeAttribute { + linked_tree { + id + } + } + label + } + relation + } + recordIdentityConf { + label + subLabel + color + preview + treeColorPreview + } + permissions { + admin_library + access_library + access_record + create_record + edit_record + delete_record + } + icon { + ...RecordIdentity + } + previewsSettings { + ...LibraryPreviewsSettings + } + } ${LibraryAttributesFragmentDoc} -${RecordIdentityFragmentDoc} -${LibraryPreviewsSettingsFragmentDoc}`; + ${RecordIdentityFragmentDoc} + ${LibraryPreviewsSettingsFragmentDoc} +`; export const ValuesVersionDetailsFragmentDoc = gql` fragment ValuesVersionDetails on ValueVersion { - treeId - treeNode { - id - record { - id - whoAmI { - id - label - library { - id + treeId + treeNode { + id + record { + id + whoAmI { + id + label + library { + id + } + } + } } - } } - } -} - `; +`; export const ValueDetailsFragmentDoc = gql` fragment ValueDetails on GenericValue { - id_value - modified_at - modified_by { - ...RecordIdentity - } - created_at - created_by { - ...RecordIdentity - } - version { - ...ValuesVersionDetails - } - attribute { - id - format - type - system - } - metadata { - name - value { - id_value - modified_at - modified_by { - ...RecordIdentity - } - created_at - created_by { - ...RecordIdentity - } - version { - ...ValuesVersionDetails - } - value - raw_value - } - } - ... on Value { - value - raw_value - } - ... on LinkValue { - linkValue: value { - ...RecordIdentity - } - } - ... on TreeValue { - treeValue: value { - id - record { - ...RecordIdentity - } - ancestors { - record { - ...RecordIdentity + id_value + modified_at + modified_by { + ...RecordIdentity + } + created_at + created_by { + ...RecordIdentity + } + version { + ...ValuesVersionDetails + } + attribute { + id + format + type + system + } + metadata { + name + value { + id_value + modified_at + modified_by { + ...RecordIdentity + } + created_at + created_by { + ...RecordIdentity + } + version { + ...ValuesVersionDetails + } + value + raw_value + } + } + ... on Value { + value + raw_value + } + ... on LinkValue { + linkValue: value { + ...RecordIdentity + } + } + ... on TreeValue { + treeValue: value { + id + record { + ...RecordIdentity + } + ancestors { + record { + ...RecordIdentity + } + } + } } - } } - } -} ${RecordIdentityFragmentDoc} -${ValuesVersionDetailsFragmentDoc}`; + ${ValuesVersionDetailsFragmentDoc} +`; export const StandardValuesListFragmentFragmentDoc = gql` fragment StandardValuesListFragment on StandardValuesListConf { - ... on StandardStringValuesListConf { - enable - allowFreeEntry - values - } - ... on StandardDateRangeValuesListConf { - enable - allowFreeEntry - dateRangeValues: values { - from - to - } - } -} - `; + ... on StandardStringValuesListConf { + enable + allowFreeEntry + values + } + ... on StandardDateRangeValuesListConf { + enable + allowFreeEntry + dateRangeValues: values { + from + to + } + } + } +`; export const RecordFormAttributeFragmentDoc = gql` fragment RecordFormAttribute on Attribute { - id - label - description - type - format - system - readonly - multiple_values - permissions(record: {id: $recordId, library: $libraryId}) { - access_attribute - edit_value - } - versions_conf { - versionable - profile { - id - trees { id label - } - } - } - metadata_fields { - id - label - description - type - format - system - readonly - multiple_values - permissions(record: {id: $recordId, library: $libraryId}) { - access_attribute - edit_value - } - values_list { - ...StandardValuesListFragment - } - metadata_fields { - id - } - } - ... on StandardAttribute { - values_list { - ...StandardValuesListFragment - } - } - ... on LinkAttribute { - linked_library { - id - label - behavior - permissions { - create_record - } - } - linkValuesList: values_list { - enable - allowFreeEntry - values { - ...RecordIdentity - } - } - } - ... on TreeAttribute { - linked_tree { - id - label - } - treeValuesList: values_list { - enable - allowFreeEntry - values { - id - record { - ...RecordIdentity + description + type + format + system + readonly + multiple_values + permissions(record: {id: $recordId, library: $libraryId}) { + access_attribute + edit_value } - ancestors { - record { - ...RecordIdentity - } + versions_conf { + versionable + profile { + id + trees { + id + label + } + } + } + metadata_fields { + id + label + description + type + format + system + readonly + multiple_values + permissions(record: {id: $recordId, library: $libraryId}) { + access_attribute + edit_value + } + values_list { + ...StandardValuesListFragment + } + metadata_fields { + id + } + } + ... on StandardAttribute { + values_list { + ...StandardValuesListFragment + } + } + ... on LinkAttribute { + linked_library { + id + label + behavior + permissions { + create_record + } + } + linkValuesList: values_list { + enable + allowFreeEntry + values { + ...RecordIdentity + } + } + } + ... on TreeAttribute { + linked_tree { + id + label + } + treeValuesList: values_list { + enable + allowFreeEntry + values { + id + record { + ...RecordIdentity + } + ancestors { + record { + ...RecordIdentity + } + } + } + } } - } } - } -} ${StandardValuesListFragmentFragmentDoc} -${RecordIdentityFragmentDoc}`; + ${RecordIdentityFragmentDoc} +`; export const RecordFormElementFragmentDoc = gql` fragment RecordFormElement on FormElementWithValues { - id - containerId - uiElementType - type - valueError - values { - ...ValueDetails - } - attribute { - ...RecordFormAttribute - } - settings { - key - value - } -} + id + containerId + uiElementType + type + valueError + values { + ...ValueDetails + } + attribute { + ...RecordFormAttribute + } + settings { + key + value + } + } ${ValueDetailsFragmentDoc} -${RecordFormAttributeFragmentDoc}`; + ${RecordFormAttributeFragmentDoc} +`; export const TreeLightFragmentDoc = gql` fragment TreeLight on Tree { - id - label -} - `; + id + label + } +`; export const TreeDetailsFragmentDoc = gql` fragment TreeDetails on Tree { - id - label - behavior - system - libraries { - library { - id - label - } - settings { - allowMultiplePositions - allowedAtRoot - allowedChildren - } - } -} - `; + id + label + behavior + system + libraries { + library { + id + label + } + settings { + allowMultiplePositions + allowedAtRoot + allowedChildren + } + } + } +`; export const TreeNodeChildFragmentDoc = gql` fragment TreeNodeChild on TreeNodeLight { - id - order - childrenCount - record { - ...RecordIdentity - active: property(attribute: "active") { - ... on Value { - value - } - } - } - ancestors { - id - record { - id - library { id - label - } - ...RecordIdentity + order + childrenCount + record { + ...RecordIdentity + active: property(attribute: "active") { + ... on Value { + value + } + } + } + ancestors { + id + record { + id + library { + id + label + } + ...RecordIdentity + } + } + permissions { + access_tree + detach + edit_children + } } - } - permissions { - access_tree - detach - edit_children - } -} - ${RecordIdentityFragmentDoc}`; + ${RecordIdentityFragmentDoc} +`; export const ViewDetailsFragmentDoc = gql` fragment ViewDetails on View { - id - display { - size - type - } - shared - created_by { - id - whoAmI { - id - label - library { id - } - } - } - label - description - color - filters { - field - value - tree { - id - label - } - condition - operator - } - sort { - field - order - } - valuesVersions { - treeId - treeNode { - id - record { - ...RecordIdentity - } - } - } - settings { - name - value - } -} - ${RecordIdentityFragmentDoc}`; + display { + size + type + } + shared + created_by { + id + whoAmI { + id + label + library { + id + } + } + } + label + description + color + filters { + field + value + tree { + id + label + } + condition + operator + } + sort { + field + order + } + valuesVersions { + treeId + treeNode { + id + record { + ...RecordIdentity + } + } + } + settings { + name + value + } + } + ${RecordIdentityFragmentDoc} +`; export const CheckApplicationExistenceDocument = gql` query CHECK_APPLICATION_EXISTENCE($id: ID, $endpoint: String) { - applications(filters: {id: $id, endpoint: $endpoint}) { - totalCount - } -} - `; + applications(filters: {id: $id, endpoint: $endpoint}) { + totalCount + } + } +`; /** * __useCheckApplicationExistenceQuery__ @@ -1879,26 +5128,40 @@ export const CheckApplicationExistenceDocument = gql` * }, * }); */ -export function useCheckApplicationExistenceQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(CheckApplicationExistenceDocument, options); - } -export function useCheckApplicationExistenceLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options); - } +export function useCheckApplicationExistenceQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery( + CheckApplicationExistenceDocument, + options + ); +} +export function useCheckApplicationExistenceLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + CheckApplicationExistenceDocument, + options + ); +} export type CheckApplicationExistenceQueryHookResult = ReturnType; export type CheckApplicationExistenceLazyQueryHookResult = ReturnType; -export type CheckApplicationExistenceQueryResult = Apollo.QueryResult; +export type CheckApplicationExistenceQueryResult = Apollo.QueryResult< + CheckApplicationExistenceQuery, + CheckApplicationExistenceQueryVariables +>; export const GetApplicationByIdDocument = gql` query GET_APPLICATION_BY_ID($id: ID!) { - applications(filters: {id: $id}) { - list { - ...DetailsApplication + applications(filters: {id: $id}) { + list { + ...DetailsApplication + } + } } - } -} - ${DetailsApplicationFragmentDoc}`; + ${DetailsApplicationFragmentDoc} +`; /** * __useGetApplicationByIdQuery__ @@ -1916,26 +5179,39 @@ export const GetApplicationByIdDocument = gql` * }, * }); */ -export function useGetApplicationByIdQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetApplicationByIdDocument, options); - } -export function useGetApplicationByIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetApplicationByIdDocument, options); - } +export function useGetApplicationByIdQuery( + baseOptions: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery( + GetApplicationByIdDocument, + options + ); +} +export function useGetApplicationByIdLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + GetApplicationByIdDocument, + options + ); +} export type GetApplicationByIdQueryHookResult = ReturnType; export type GetApplicationByIdLazyQueryHookResult = ReturnType; -export type GetApplicationByIdQueryResult = Apollo.QueryResult; +export type GetApplicationByIdQueryResult = Apollo.QueryResult< + GetApplicationByIdQuery, + GetApplicationByIdQueryVariables +>; export const GetApplicationModulesDocument = gql` query GET_APPLICATION_MODULES { - applicationsModules { - id - description - version - } -} - `; + applicationsModules { + id + description + version + } + } +`; /** * __useGetApplicationModulesQuery__ @@ -1952,25 +5228,42 @@ export const GetApplicationModulesDocument = gql` * }, * }); */ -export function useGetApplicationModulesQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetApplicationModulesDocument, options); - } -export function useGetApplicationModulesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetApplicationModulesDocument, options); - } +export function useGetApplicationModulesQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery( + GetApplicationModulesDocument, + options + ); +} +export function useGetApplicationModulesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + GetApplicationModulesDocument, + options + ); +} export type GetApplicationModulesQueryHookResult = ReturnType; export type GetApplicationModulesLazyQueryHookResult = ReturnType; -export type GetApplicationModulesQueryResult = Apollo.QueryResult; +export type GetApplicationModulesQueryResult = Apollo.QueryResult< + GetApplicationModulesQuery, + GetApplicationModulesQueryVariables +>; export const SaveApplicationDocument = gql` mutation SAVE_APPLICATION($application: ApplicationInput!) { - saveApplication(application: $application) { - ...DetailsApplication - } -} - ${DetailsApplicationFragmentDoc}`; -export type SaveApplicationMutationFn = Apollo.MutationFunction; + saveApplication(application: $application) { + ...DetailsApplication + } + } + ${DetailsApplicationFragmentDoc} +`; +export type SaveApplicationMutationFn = Apollo.MutationFunction< + SaveApplicationMutation, + SaveApplicationMutationVariables +>; /** * __useSaveApplicationMutation__ @@ -1989,20 +5282,28 @@ export type SaveApplicationMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(SaveApplicationDocument, options); - } +export function useSaveApplicationMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation( + SaveApplicationDocument, + options + ); +} export type SaveApplicationMutationHookResult = ReturnType; export type SaveApplicationMutationResult = Apollo.MutationResult; -export type SaveApplicationMutationOptions = Apollo.BaseMutationOptions; +export type SaveApplicationMutationOptions = Apollo.BaseMutationOptions< + SaveApplicationMutation, + SaveApplicationMutationVariables +>; export const CheckAttributeExistenceDocument = gql` query CHECK_ATTRIBUTE_EXISTENCE($id: ID!) { - attributes(filters: {id: $id}) { - totalCount - } -} - `; + attributes(filters: {id: $id}) { + totalCount + } + } +`; /** * __useCheckAttributeExistenceQuery__ @@ -2020,25 +5321,41 @@ export const CheckAttributeExistenceDocument = gql` * }, * }); */ -export function useCheckAttributeExistenceQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(CheckAttributeExistenceDocument, options); - } -export function useCheckAttributeExistenceLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options); - } +export function useCheckAttributeExistenceQuery( + baseOptions: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery( + CheckAttributeExistenceDocument, + options + ); +} +export function useCheckAttributeExistenceLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + CheckAttributeExistenceDocument, + options + ); +} export type CheckAttributeExistenceQueryHookResult = ReturnType; export type CheckAttributeExistenceLazyQueryHookResult = ReturnType; -export type CheckAttributeExistenceQueryResult = Apollo.QueryResult; +export type CheckAttributeExistenceQueryResult = Apollo.QueryResult< + CheckAttributeExistenceQuery, + CheckAttributeExistenceQueryVariables +>; export const DeleteAttributeDocument = gql` mutation DELETE_ATTRIBUTE($id: ID) { - deleteAttribute(id: $id) { - id - } -} - `; -export type DeleteAttributeMutationFn = Apollo.MutationFunction; + deleteAttribute(id: $id) { + id + } + } +`; +export type DeleteAttributeMutationFn = Apollo.MutationFunction< + DeleteAttributeMutation, + DeleteAttributeMutationVariables +>; /** * __useDeleteAttributeMutation__ @@ -2057,22 +5374,31 @@ export type DeleteAttributeMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(DeleteAttributeDocument, options); - } +export function useDeleteAttributeMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation( + DeleteAttributeDocument, + options + ); +} export type DeleteAttributeMutationHookResult = ReturnType; export type DeleteAttributeMutationResult = Apollo.MutationResult; -export type DeleteAttributeMutationOptions = Apollo.BaseMutationOptions; +export type DeleteAttributeMutationOptions = Apollo.BaseMutationOptions< + DeleteAttributeMutation, + DeleteAttributeMutationVariables +>; export const GetAttributeByIdDocument = gql` query GET_ATTRIBUTE_BY_ID($id: ID) { - attributes(filters: {id: $id}) { - list { - ...AttributeDetails + attributes(filters: {id: $id}) { + list { + ...AttributeDetails + } + } } - } -} - ${AttributeDetailsFragmentDoc}`; + ${AttributeDetailsFragmentDoc} +`; /** * __useGetAttributeByIdQuery__ @@ -2090,26 +5416,34 @@ export const GetAttributeByIdDocument = gql` * }, * }); */ -export function useGetAttributeByIdQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetAttributeByIdDocument, options); - } -export function useGetAttributeByIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetAttributeByIdDocument, options); - } +export function useGetAttributeByIdQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(GetAttributeByIdDocument, options); +} +export function useGetAttributeByIdLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + GetAttributeByIdDocument, + options + ); +} export type GetAttributeByIdQueryHookResult = ReturnType; export type GetAttributeByIdLazyQueryHookResult = ReturnType; export type GetAttributeByIdQueryResult = Apollo.QueryResult; export const GetAttributesByLibDocument = gql` query GET_ATTRIBUTES_BY_LIB($library: String!) { - attributes(filters: {libraries: [$library]}) { - list { - ...AttributesByLibAttribute + attributes(filters: {libraries: [$library]}) { + list { + ...AttributesByLibAttribute + } + } } - } -} - ${AttributesByLibAttributeFragmentDoc}`; + ${AttributesByLibAttributeFragmentDoc} +`; /** * __useGetAttributesByLibQuery__ @@ -2127,31 +5461,44 @@ export const GetAttributesByLibDocument = gql` * }, * }); */ -export function useGetAttributesByLibQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetAttributesByLibDocument, options); - } -export function useGetAttributesByLibLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetAttributesByLibDocument, options); - } +export function useGetAttributesByLibQuery( + baseOptions: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery( + GetAttributesByLibDocument, + options + ); +} +export function useGetAttributesByLibLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + GetAttributesByLibDocument, + options + ); +} export type GetAttributesByLibQueryHookResult = ReturnType; export type GetAttributesByLibLazyQueryHookResult = ReturnType; -export type GetAttributesByLibQueryResult = Apollo.QueryResult; +export type GetAttributesByLibQueryResult = Apollo.QueryResult< + GetAttributesByLibQuery, + GetAttributesByLibQueryVariables +>; export const GetAttributesDocument = gql` query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) { - attributes(pagination: $pagination, sort: $sort, filters: $filters) { - totalCount - list { - id - label - type - format - system + attributes(pagination: $pagination, sort: $sort, filters: $filters) { + totalCount + list { + id + label + type + format + system + } + } } - } -} - `; +`; /** * __useGetAttributesQuery__ @@ -2171,27 +5518,31 @@ export const GetAttributesDocument = gql` * }, * }); */ -export function useGetAttributesQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetAttributesDocument, options); - } -export function useGetAttributesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetAttributesDocument, options); - } +export function useGetAttributesQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(GetAttributesDocument, options); +} +export function useGetAttributesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery(GetAttributesDocument, options); +} export type GetAttributesQueryHookResult = ReturnType; export type GetAttributesLazyQueryHookResult = ReturnType; export type GetAttributesQueryResult = Apollo.QueryResult; export const GetVersionProfilesDocument = gql` query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) { - versionProfiles(filters: $filters, sort: $sort) { - list { - id - label + versionProfiles(filters: $filters, sort: $sort) { + list { + id + label + } + } } - } -} - `; +`; /** * __useGetVersionProfilesQuery__ @@ -2210,36 +5561,49 @@ export const GetVersionProfilesDocument = gql` * }, * }); */ -export function useGetVersionProfilesQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetVersionProfilesDocument, options); - } -export function useGetVersionProfilesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetVersionProfilesDocument, options); - } +export function useGetVersionProfilesQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery( + GetVersionProfilesDocument, + options + ); +} +export function useGetVersionProfilesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + GetVersionProfilesDocument, + options + ); +} export type GetVersionProfilesQueryHookResult = ReturnType; export type GetVersionProfilesLazyQueryHookResult = ReturnType; -export type GetVersionProfilesQueryResult = Apollo.QueryResult; +export type GetVersionProfilesQueryResult = Apollo.QueryResult< + GetVersionProfilesQuery, + GetVersionProfilesQueryVariables +>; export const GetVersionableAttributesByLibraryDocument = gql` query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) { - attributes(filters: {libraries: [$libraryId], versionable: true}) { - list { - id - versions_conf { - versionable - profile { - id - trees { - id - label - } + attributes(filters: {libraries: [$libraryId], versionable: true}) { + list { + id + versions_conf { + versionable + profile { + id + trees { + id + label + } + } + } + } } - } } - } -} - `; +`; /** * __useGetVersionableAttributesByLibraryQuery__ @@ -2257,24 +5621,48 @@ export const GetVersionableAttributesByLibraryDocument = gql` * }, * }); */ -export function useGetVersionableAttributesByLibraryQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetVersionableAttributesByLibraryDocument, options); - } -export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options); - } -export type GetVersionableAttributesByLibraryQueryHookResult = ReturnType; -export type GetVersionableAttributesByLibraryLazyQueryHookResult = ReturnType; -export type GetVersionableAttributesByLibraryQueryResult = Apollo.QueryResult; +export function useGetVersionableAttributesByLibraryQuery( + baseOptions: Apollo.QueryHookOptions< + GetVersionableAttributesByLibraryQuery, + GetVersionableAttributesByLibraryQueryVariables + > +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery( + GetVersionableAttributesByLibraryDocument, + options + ); +} +export function useGetVersionableAttributesByLibraryLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions< + GetVersionableAttributesByLibraryQuery, + GetVersionableAttributesByLibraryQueryVariables + > +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + GetVersionableAttributesByLibraryDocument, + options + ); +} +export type GetVersionableAttributesByLibraryQueryHookResult = ReturnType< + typeof useGetVersionableAttributesByLibraryQuery +>; +export type GetVersionableAttributesByLibraryLazyQueryHookResult = ReturnType< + typeof useGetVersionableAttributesByLibraryLazyQuery +>; +export type GetVersionableAttributesByLibraryQueryResult = Apollo.QueryResult< + GetVersionableAttributesByLibraryQuery, + GetVersionableAttributesByLibraryQueryVariables +>; export const SaveAttributeDocument = gql` mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) { - saveAttribute(attribute: $attribute) { - ...AttributeDetails - } -} - ${AttributeDetailsFragmentDoc}`; + saveAttribute(attribute: $attribute) { + ...AttributeDetails + } + } + ${AttributeDetailsFragmentDoc} +`; export type SaveAttributeMutationFn = Apollo.MutationFunction; /** @@ -2294,18 +5682,23 @@ export type SaveAttributeMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(SaveAttributeDocument, options); - } +export function useSaveAttributeMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(SaveAttributeDocument, options); +} export type SaveAttributeMutationHookResult = ReturnType; export type SaveAttributeMutationResult = Apollo.MutationResult; -export type SaveAttributeMutationOptions = Apollo.BaseMutationOptions; +export type SaveAttributeMutationOptions = Apollo.BaseMutationOptions< + SaveAttributeMutation, + SaveAttributeMutationVariables +>; export const ExportDocument = gql` query EXPORT($library: ID!, $attributes: [ID!], $filters: [RecordFilterInput!]) { - export(library: $library, attributes: $attributes, filters: $filters) -} - `; + export(library: $library, attributes: $attributes, filters: $filters) + } +`; /** * __useExportQuery__ @@ -2326,24 +5719,28 @@ export const ExportDocument = gql` * }); */ export function useExportQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(ExportDocument, options); - } + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(ExportDocument, options); +} export function useExportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(ExportDocument, options); - } + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery(ExportDocument, options); +} export type ExportQueryHookResult = ReturnType; export type ExportLazyQueryHookResult = ReturnType; export type ExportQueryResult = Apollo.QueryResult; export const CreateDirectoryDocument = gql` mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) { - createDirectory(library: $library, nodeId: $nodeId, name: $name) { - ...RecordIdentity - } -} - ${RecordIdentityFragmentDoc}`; -export type CreateDirectoryMutationFn = Apollo.MutationFunction; + createDirectory(library: $library, nodeId: $nodeId, name: $name) { + ...RecordIdentity + } + } + ${RecordIdentityFragmentDoc} +`; +export type CreateDirectoryMutationFn = Apollo.MutationFunction< + CreateDirectoryMutation, + CreateDirectoryMutationVariables +>; /** * __useCreateDirectoryMutation__ @@ -2364,25 +5761,42 @@ export type CreateDirectoryMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(CreateDirectoryDocument, options); - } +export function useCreateDirectoryMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation( + CreateDirectoryDocument, + options + ); +} export type CreateDirectoryMutationHookResult = ReturnType; export type CreateDirectoryMutationResult = Apollo.MutationResult; -export type CreateDirectoryMutationOptions = Apollo.BaseMutationOptions; +export type CreateDirectoryMutationOptions = Apollo.BaseMutationOptions< + CreateDirectoryMutation, + CreateDirectoryMutationVariables +>; export const ForcePreviewsGenerationDocument = gql` - mutation FORCE_PREVIEWS_GENERATION($libraryId: ID!, $filters: [RecordFilterInput!], $recordIds: [ID!], $failedOnly: Boolean, $previewVersionSizeNames: [String!]) { - forcePreviewsGeneration( - libraryId: $libraryId - filters: $filters - recordIds: $recordIds - failedOnly: $failedOnly - previewVersionSizeNames: $previewVersionSizeNames - ) -} - `; -export type ForcePreviewsGenerationMutationFn = Apollo.MutationFunction; + mutation FORCE_PREVIEWS_GENERATION( + $libraryId: ID! + $filters: [RecordFilterInput!] + $recordIds: [ID!] + $failedOnly: Boolean + $previewVersionSizeNames: [String!] + ) { + forcePreviewsGeneration( + libraryId: $libraryId + filters: $filters + recordIds: $recordIds + failedOnly: $failedOnly + previewVersionSizeNames: $previewVersionSizeNames + ) + } +`; +export type ForcePreviewsGenerationMutationFn = Apollo.MutationFunction< + ForcePreviewsGenerationMutation, + ForcePreviewsGenerationMutationVariables +>; /** * __useForcePreviewsGenerationMutation__ @@ -2405,62 +5819,68 @@ export type ForcePreviewsGenerationMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(ForcePreviewsGenerationDocument, options); - } +export function useForcePreviewsGenerationMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation( + ForcePreviewsGenerationDocument, + options + ); +} export type ForcePreviewsGenerationMutationHookResult = ReturnType; export type ForcePreviewsGenerationMutationResult = Apollo.MutationResult; -export type ForcePreviewsGenerationMutationOptions = Apollo.BaseMutationOptions; +export type ForcePreviewsGenerationMutationOptions = Apollo.BaseMutationOptions< + ForcePreviewsGenerationMutation, + ForcePreviewsGenerationMutationVariables +>; export const GetDirectoryDataDocument = gql` query GET_DIRECTORY_DATA($library: ID!, $directoryId: String!) { - records( - library: $library - filters: [{field: "id", value: $directoryId, condition: EQUAL}] - ) { - list { - ...RecordIdentity - created_at: property(attribute: "created_at") { - ... on Value { - value - } - } - created_by: property(attribute: "created_by") { - ... on LinkValue { - value { - ...RecordIdentity - } + records(library: $library, filters: [{field: "id", value: $directoryId, condition: EQUAL}]) { + list { + ...RecordIdentity + created_at: property(attribute: "created_at") { + ... on Value { + value + } + } + created_by: property(attribute: "created_by") { + ... on LinkValue { + value { + ...RecordIdentity + } + } + } + modified_at: property(attribute: "modified_at") { + ... on Value { + value + } + } + modified_by: property(attribute: "modified_by") { + ... on LinkValue { + value { + ...RecordIdentity + } + } + } + file_name: property(attribute: "file_name") { + ... on Value { + value + } + } + file_path: property(attribute: "file_path") { + ... on Value { + value + } + } + library { + behavior + } + } } - } - modified_at: property(attribute: "modified_at") { - ... on Value { - value - } - } - modified_by: property(attribute: "modified_by") { - ... on LinkValue { - value { - ...RecordIdentity - } - } - } - file_name: property(attribute: "file_name") { - ... on Value { - value - } - } - file_path: property(attribute: "file_path") { - ... on Value { - value - } - } - library { - behavior - } } - } -} - ${RecordIdentityFragmentDoc}`; + ${RecordIdentityFragmentDoc} +`; /** * __useGetDirectoryDataQuery__ @@ -2479,35 +5899,42 @@ export const GetDirectoryDataDocument = gql` * }, * }); */ -export function useGetDirectoryDataQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetDirectoryDataDocument, options); - } -export function useGetDirectoryDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetDirectoryDataDocument, options); - } +export function useGetDirectoryDataQuery( + baseOptions: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(GetDirectoryDataDocument, options); +} +export function useGetDirectoryDataLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + GetDirectoryDataDocument, + options + ); +} export type GetDirectoryDataQueryHookResult = ReturnType; export type GetDirectoryDataLazyQueryHookResult = ReturnType; export type GetDirectoryDataQueryResult = Apollo.QueryResult; export const UploadUpdateDocument = gql` subscription UPLOAD_UPDATE($filters: UploadFiltersInput) { - upload(filters: $filters) { - userId - progress { - length - transferred - speed - runtime - remaining - percentage - eta - delta - } - uid - } -} - `; + upload(filters: $filters) { + userId + progress { + length + transferred + speed + runtime + remaining + percentage + eta + delta + } + uid + } + } +`; /** * __useUploadUpdateSubscription__ @@ -2525,22 +5952,28 @@ export const UploadUpdateDocument = gql` * }, * }); */ -export function useUploadUpdateSubscription(baseOptions?: Apollo.SubscriptionHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useSubscription(UploadUpdateDocument, options); - } +export function useUploadUpdateSubscription( + baseOptions?: Apollo.SubscriptionHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useSubscription( + UploadUpdateDocument, + options + ); +} export type UploadUpdateSubscriptionHookResult = ReturnType; export type UploadUpdateSubscriptionResult = Apollo.SubscriptionResult; export const UploadDocument = gql` mutation UPLOAD($library: String!, $nodeId: String!, $files: [FileInput!]!) { - upload(library: $library, nodeId: $nodeId, files: $files) { - uid - record { - ...RecordIdentity + upload(library: $library, nodeId: $nodeId, files: $files) { + uid + record { + ...RecordIdentity + } + } } - } -} - ${RecordIdentityFragmentDoc}`; + ${RecordIdentityFragmentDoc} +`; export type UploadMutationFn = Apollo.MutationFunction; /** @@ -2563,17 +5996,17 @@ export type UploadMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(UploadDocument, options); - } + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(UploadDocument, options); +} export type UploadMutationHookResult = ReturnType; export type UploadMutationResult = Apollo.MutationResult; export type UploadMutationOptions = Apollo.BaseMutationOptions; export const ImportExcelDocument = gql` mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) { - importExcel(file: $file, sheets: $sheets, startAt: $startAt) -} - `; + importExcel(file: $file, sheets: $sheets, startAt: $startAt) + } +`; export type ImportExcelMutationFn = Apollo.MutationFunction; /** @@ -2595,20 +6028,22 @@ export type ImportExcelMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(ImportExcelDocument, options); - } +export function useImportExcelMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(ImportExcelDocument, options); +} export type ImportExcelMutationHookResult = ReturnType; export type ImportExcelMutationResult = Apollo.MutationResult; export type ImportExcelMutationOptions = Apollo.BaseMutationOptions; export const CheckLibraryExistenceDocument = gql` query CHECK_LIBRARY_EXISTENCE($id: [ID!]) { - libraries(filters: {id: $id}) { - totalCount - } -} - `; + libraries(filters: {id: $id}) { + totalCount + } + } +`; /** * __useCheckLibraryExistenceQuery__ @@ -2626,24 +6061,37 @@ export const CheckLibraryExistenceDocument = gql` * }, * }); */ -export function useCheckLibraryExistenceQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(CheckLibraryExistenceDocument, options); - } -export function useCheckLibraryExistenceLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options); - } +export function useCheckLibraryExistenceQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery( + CheckLibraryExistenceDocument, + options + ); +} +export function useCheckLibraryExistenceLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + CheckLibraryExistenceDocument, + options + ); +} export type CheckLibraryExistenceQueryHookResult = ReturnType; export type CheckLibraryExistenceLazyQueryHookResult = ReturnType; -export type CheckLibraryExistenceQueryResult = Apollo.QueryResult; +export type CheckLibraryExistenceQueryResult = Apollo.QueryResult< + CheckLibraryExistenceQuery, + CheckLibraryExistenceQueryVariables +>; export const DeleteLibraryDocument = gql` mutation DELETE_LIBRARY($id: ID) { - deleteLibrary(id: $id) { - id - } -} - `; + deleteLibrary(id: $id) { + id + } + } +`; export type DeleteLibraryMutationFn = Apollo.MutationFunction; /** @@ -2663,22 +6111,28 @@ export type DeleteLibraryMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(DeleteLibraryDocument, options); - } +export function useDeleteLibraryMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(DeleteLibraryDocument, options); +} export type DeleteLibraryMutationHookResult = ReturnType; export type DeleteLibraryMutationResult = Apollo.MutationResult; -export type DeleteLibraryMutationOptions = Apollo.BaseMutationOptions; +export type DeleteLibraryMutationOptions = Apollo.BaseMutationOptions< + DeleteLibraryMutation, + DeleteLibraryMutationVariables +>; export const GetLibrariesDocument = gql` query GET_LIBRARIES { - libraries { - list { - ...LibraryLight + libraries { + list { + ...LibraryLight + } + } } - } -} - ${LibraryLightFragmentDoc}`; + ${LibraryLightFragmentDoc} +`; /** * __useGetLibrariesQuery__ @@ -2695,26 +6149,31 @@ export const GetLibrariesDocument = gql` * }, * }); */ -export function useGetLibrariesQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetLibrariesDocument, options); - } -export function useGetLibrariesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetLibrariesDocument, options); - } +export function useGetLibrariesQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(GetLibrariesDocument, options); +} +export function useGetLibrariesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery(GetLibrariesDocument, options); +} export type GetLibrariesQueryHookResult = ReturnType; export type GetLibrariesLazyQueryHookResult = ReturnType; export type GetLibrariesQueryResult = Apollo.QueryResult; export const GetLibraryByIdDocument = gql` query GET_LIBRARY_BY_ID($id: [ID!]) { - libraries(filters: {id: $id}) { - list { - ...LibraryDetails + libraries(filters: {id: $id}) { + list { + ...LibraryDetails + } + } } - } -} - ${LibraryDetailsFragmentDoc}`; + ${LibraryDetailsFragmentDoc} +`; /** * __useGetLibraryByIdQuery__ @@ -2732,32 +6191,36 @@ export const GetLibraryByIdDocument = gql` * }, * }); */ -export function useGetLibraryByIdQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetLibraryByIdDocument, options); - } -export function useGetLibraryByIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetLibraryByIdDocument, options); - } +export function useGetLibraryByIdQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(GetLibraryByIdDocument, options); +} +export function useGetLibraryByIdLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery(GetLibraryByIdDocument, options); +} export type GetLibraryByIdQueryHookResult = ReturnType; export type GetLibraryByIdLazyQueryHookResult = ReturnType; export type GetLibraryByIdQueryResult = Apollo.QueryResult; export const GetLibraryPermissionsDocument = gql` query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) { - libraries(filters: {id: $libraryId}) { - list { - permissions { - access_library - access_record - create_record - edit_record - delete_record - } + libraries(filters: {id: $libraryId}) { + list { + permissions { + access_library + access_record + create_record + edit_record + delete_record + } + } + } } - } -} - `; +`; /** * __useGetLibraryPermissionsQuery__ @@ -2775,41 +6238,54 @@ export const GetLibraryPermissionsDocument = gql` * }, * }); */ -export function useGetLibraryPermissionsQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetLibraryPermissionsDocument, options); - } -export function useGetLibraryPermissionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options); - } +export function useGetLibraryPermissionsQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery( + GetLibraryPermissionsDocument, + options + ); +} +export function useGetLibraryPermissionsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + GetLibraryPermissionsDocument, + options + ); +} export type GetLibraryPermissionsQueryHookResult = ReturnType; export type GetLibraryPermissionsLazyQueryHookResult = ReturnType; -export type GetLibraryPermissionsQueryResult = Apollo.QueryResult; +export type GetLibraryPermissionsQueryResult = Apollo.QueryResult< + GetLibraryPermissionsQuery, + GetLibraryPermissionsQueryVariables +>; export const GetLibraryPreviewsSettingsDocument = gql` query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) { - libraries(filters: {id: [$id]}) { - list { - id - label - behavior - previewsSettings { - description - label - system - versions { - background - density - sizes { - name - size - } + libraries(filters: {id: [$id]}) { + list { + id + label + behavior + previewsSettings { + description + label + system + versions { + background + density + sizes { + name + size + } + } + } + } } - } } - } -} - `; +`; /** * __useGetLibraryPreviewsSettingsQuery__ @@ -2827,24 +6303,38 @@ export const GetLibraryPreviewsSettingsDocument = gql` * }, * }); */ -export function useGetLibraryPreviewsSettingsQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetLibraryPreviewsSettingsDocument, options); - } -export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options); - } +export function useGetLibraryPreviewsSettingsQuery( + baseOptions: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery( + GetLibraryPreviewsSettingsDocument, + options + ); +} +export function useGetLibraryPreviewsSettingsLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + GetLibraryPreviewsSettingsDocument, + options + ); +} export type GetLibraryPreviewsSettingsQueryHookResult = ReturnType; export type GetLibraryPreviewsSettingsLazyQueryHookResult = ReturnType; -export type GetLibraryPreviewsSettingsQueryResult = Apollo.QueryResult; +export type GetLibraryPreviewsSettingsQueryResult = Apollo.QueryResult< + GetLibraryPreviewsSettingsQuery, + GetLibraryPreviewsSettingsQueryVariables +>; export const SaveLibraryDocument = gql` mutation saveLibrary($library: LibraryInput!) { - saveLibrary(library: $library) { - ...LibraryDetails - } -} - ${LibraryDetailsFragmentDoc}`; + saveLibrary(library: $library) { + ...LibraryDetails + } + } + ${LibraryDetailsFragmentDoc} +`; export type SaveLibraryMutationFn = Apollo.MutationFunction; /** @@ -2864,21 +6354,28 @@ export type SaveLibraryMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(SaveLibraryDocument, options); - } +export function useSaveLibraryMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(SaveLibraryDocument, options); +} export type SaveLibraryMutationHookResult = ReturnType; export type SaveLibraryMutationResult = Apollo.MutationResult; export type SaveLibraryMutationOptions = Apollo.BaseMutationOptions; export const IsAllowedDocument = gql` - query IS_ALLOWED($type: PermissionTypes!, $actions: [PermissionsActions!]!, $applyTo: ID, $target: PermissionTarget) { - isAllowed(type: $type, actions: $actions, applyTo: $applyTo, target: $target) { - name - allowed - } -} - `; + query IS_ALLOWED( + $type: PermissionTypes! + $actions: [PermissionsActions!]! + $applyTo: ID + $target: PermissionTarget + ) { + isAllowed(type: $type, actions: $actions, applyTo: $applyTo, target: $target) { + name + allowed + } + } +`; /** * __useIsAllowedQuery__ @@ -2900,32 +6397,35 @@ export const IsAllowedDocument = gql` * }); */ export function useIsAllowedQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(IsAllowedDocument, options); - } -export function useIsAllowedLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(IsAllowedDocument, options); - } + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(IsAllowedDocument, options); +} +export function useIsAllowedLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery(IsAllowedDocument, options); +} export type IsAllowedQueryHookResult = ReturnType; export type IsAllowedLazyQueryHookResult = ReturnType; export type IsAllowedQueryResult = Apollo.QueryResult; export const CreateRecordDocument = gql` mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) { - createRecord(library: $library, data: $data) { - record { - ...RecordIdentity - } - valuesErrors { - attributeId - id_value - input - message - type + createRecord(library: $library, data: $data) { + record { + ...RecordIdentity + } + valuesErrors { + attributeId + id_value + input + message + type + } + } } - } -} - ${RecordIdentityFragmentDoc}`; + ${RecordIdentityFragmentDoc} +`; export type CreateRecordMutationFn = Apollo.MutationFunction; /** @@ -2946,26 +6446,31 @@ export type CreateRecordMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(CreateRecordDocument, options); - } +export function useCreateRecordMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(CreateRecordDocument, options); +} export type CreateRecordMutationHookResult = ReturnType; export type CreateRecordMutationResult = Apollo.MutationResult; -export type CreateRecordMutationOptions = Apollo.BaseMutationOptions; +export type CreateRecordMutationOptions = Apollo.BaseMutationOptions< + CreateRecordMutation, + CreateRecordMutationVariables +>; export const DeactivateRecordsDocument = gql` mutation DEACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) { - deactivateRecords( - recordsIds: $recordsIds - filters: $filters - libraryId: $libraryId - ) { - id - ...RecordIdentity - } -} - ${RecordIdentityFragmentDoc}`; -export type DeactivateRecordsMutationFn = Apollo.MutationFunction; + deactivateRecords(recordsIds: $recordsIds, filters: $filters, libraryId: $libraryId) { + id + ...RecordIdentity + } + } + ${RecordIdentityFragmentDoc} +`; +export type DeactivateRecordsMutationFn = Apollo.MutationFunction< + DeactivateRecordsMutation, + DeactivateRecordsMutationVariables +>; /** * __useDeactivateRecordsMutation__ @@ -2986,22 +6491,26 @@ export type DeactivateRecordsMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(DeactivateRecordsDocument, options); - } +export function useDeactivateRecordsMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation( + DeactivateRecordsDocument, + options + ); +} export type DeactivateRecordsMutationHookResult = ReturnType; export type DeactivateRecordsMutationResult = Apollo.MutationResult; -export type DeactivateRecordsMutationOptions = Apollo.BaseMutationOptions; +export type DeactivateRecordsMutationOptions = Apollo.BaseMutationOptions< + DeactivateRecordsMutation, + DeactivateRecordsMutationVariables +>; export const DoesFileExistAsChildDocument = gql` query DOES_FILE_EXIST_AS_CHILD($parentNode: ID, $treeId: ID!, $filename: String!) { - doesFileExistAsChild( - parentNode: $parentNode - treeId: $treeId - filename: $filename - ) -} - `; + doesFileExistAsChild(parentNode: $parentNode, treeId: $treeId, filename: $filename) + } +`; /** * __useDoesFileExistAsChildQuery__ @@ -3021,71 +6530,82 @@ export const DoesFileExistAsChildDocument = gql` * }, * }); */ -export function useDoesFileExistAsChildQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(DoesFileExistAsChildDocument, options); - } -export function useDoesFileExistAsChildLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options); - } +export function useDoesFileExistAsChildQuery( + baseOptions: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery( + DoesFileExistAsChildDocument, + options + ); +} +export function useDoesFileExistAsChildLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + DoesFileExistAsChildDocument, + options + ); +} export type DoesFileExistAsChildQueryHookResult = ReturnType; export type DoesFileExistAsChildLazyQueryHookResult = ReturnType; -export type DoesFileExistAsChildQueryResult = Apollo.QueryResult; +export type DoesFileExistAsChildQueryResult = Apollo.QueryResult< + DoesFileExistAsChildQuery, + DoesFileExistAsChildQueryVariables +>; export const GetFileDataDocument = gql` query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) { - records( - library: $library - filters: [{field: "id", value: $fileId, condition: EQUAL}] - ) { - list { - ...RecordIdentity - created_at: property(attribute: "created_at") { - ... on Value { - value - } - } - created_by: property(attribute: "created_by") { - ... on LinkValue { - value { - ...RecordIdentity - } - } - } - modified_at: property(attribute: "modified_at") { - ... on Value { - value - } - } - modified_by: property(attribute: "modified_by") { - ... on LinkValue { - value { - ...RecordIdentity - } - } - } - file_name: property(attribute: "file_name") { - ... on Value { - value - } - } - file_path: property(attribute: "file_path") { - ... on Value { - value - } - } - previews_status: property(attribute: $previewsStatusAttribute) { - ... on Value { - value + records(library: $library, filters: [{field: "id", value: $fileId, condition: EQUAL}]) { + list { + ...RecordIdentity + created_at: property(attribute: "created_at") { + ... on Value { + value + } + } + created_by: property(attribute: "created_by") { + ... on LinkValue { + value { + ...RecordIdentity + } + } + } + modified_at: property(attribute: "modified_at") { + ... on Value { + value + } + } + modified_by: property(attribute: "modified_by") { + ... on LinkValue { + value { + ...RecordIdentity + } + } + } + file_name: property(attribute: "file_name") { + ... on Value { + value + } + } + file_path: property(attribute: "file_path") { + ... on Value { + value + } + } + previews_status: property(attribute: $previewsStatusAttribute) { + ... on Value { + value + } + } + library { + behavior + } + } } - } - library { - behavior - } } - } -} - ${RecordIdentityFragmentDoc}`; + ${RecordIdentityFragmentDoc} +`; /** * __useGetFileDataQuery__ @@ -3106,38 +6626,36 @@ export const GetFileDataDocument = gql` * }); */ export function useGetFileDataQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetFileDataDocument, options); - } -export function useGetFileDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetFileDataDocument, options); - } + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(GetFileDataDocument, options); +} +export function useGetFileDataLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery(GetFileDataDocument, options); +} export type GetFileDataQueryHookResult = ReturnType; export type GetFileDataLazyQueryHookResult = ReturnType; export type GetFileDataQueryResult = Apollo.QueryResult; export const RecordFormDocument = gql` query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) { - recordForm( - recordId: $recordId - libraryId: $libraryId - formId: $formId - version: $version - ) { - id - recordId - library { - id - } - dependencyAttributes { - id - } - elements { - ...RecordFormElement + recordForm(recordId: $recordId, libraryId: $libraryId, formId: $formId, version: $version) { + id + recordId + library { + id + } + dependencyAttributes { + id + } + elements { + ...RecordFormElement + } + } } - } -} - ${RecordFormElementFragmentDoc}`; + ${RecordFormElementFragmentDoc} +`; /** * __useRecordFormQuery__ @@ -3159,39 +6677,42 @@ export const RecordFormDocument = gql` * }); */ export function useRecordFormQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(RecordFormDocument, options); - } -export function useRecordFormLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(RecordFormDocument, options); - } + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(RecordFormDocument, options); +} +export function useRecordFormLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery(RecordFormDocument, options); +} export type RecordFormQueryHookResult = ReturnType; export type RecordFormLazyQueryHookResult = ReturnType; export type RecordFormQueryResult = Apollo.QueryResult; export const RecordUpdateDocument = gql` subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) { - recordUpdate(filters: $filters) { - record { - ...RecordIdentity - modified_by: property(attribute: "modified_by") { - ... on LinkValue { - value { - ...RecordIdentity - } + recordUpdate(filters: $filters) { + record { + ...RecordIdentity + modified_by: property(attribute: "modified_by") { + ... on LinkValue { + value { + ...RecordIdentity + } + } + } + } + updatedValues { + attribute + value { + ...ValueDetails + } + } } - } } - updatedValues { - attribute - value { - ...ValueDetails - } - } - } -} ${RecordIdentityFragmentDoc} -${ValueDetailsFragmentDoc}`; + ${ValueDetailsFragmentDoc} +`; /** * __useRecordUpdateSubscription__ @@ -3209,17 +6730,22 @@ ${ValueDetailsFragmentDoc}`; * }, * }); */ -export function useRecordUpdateSubscription(baseOptions?: Apollo.SubscriptionHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useSubscription(RecordUpdateDocument, options); - } +export function useRecordUpdateSubscription( + baseOptions?: Apollo.SubscriptionHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useSubscription( + RecordUpdateDocument, + options + ); +} export type RecordUpdateSubscriptionHookResult = ReturnType; export type RecordUpdateSubscriptionResult = Apollo.SubscriptionResult; export const IndexRecordsDocument = gql` mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) { - indexRecords(libraryId: $libraryId, records: $records) -} - `; + indexRecords(libraryId: $libraryId, records: $records) + } +`; export type IndexRecordsMutationFn = Apollo.MutationFunction; /** @@ -3240,18 +6766,23 @@ export type IndexRecordsMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(IndexRecordsDocument, options); - } +export function useIndexRecordsMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(IndexRecordsDocument, options); +} export type IndexRecordsMutationHookResult = ReturnType; export type IndexRecordsMutationResult = Apollo.MutationResult; -export type IndexRecordsMutationOptions = Apollo.BaseMutationOptions; +export type IndexRecordsMutationOptions = Apollo.BaseMutationOptions< + IndexRecordsMutation, + IndexRecordsMutationVariables +>; export const CancelTaskDocument = gql` mutation CANCEL_TASK($taskId: ID!) { - cancelTask(taskId: $taskId) -} - `; + cancelTask(taskId: $taskId) + } +`; export type CancelTaskMutationFn = Apollo.MutationFunction; /** @@ -3271,20 +6802,22 @@ export type CancelTaskMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(CancelTaskDocument, options); - } +export function useCancelTaskMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(CancelTaskDocument, options); +} export type CancelTaskMutationHookResult = ReturnType; export type CancelTaskMutationResult = Apollo.MutationResult; export type CancelTaskMutationOptions = Apollo.BaseMutationOptions; export const CheckTreeExistenceDocument = gql` query CHECK_TREE_EXISTENCE($id: [ID!]) { - trees(filters: {id: $id}) { - totalCount - } -} - `; + trees(filters: {id: $id}) { + totalCount + } + } +`; /** * __useCheckTreeExistenceQuery__ @@ -3302,24 +6835,37 @@ export const CheckTreeExistenceDocument = gql` * }, * }); */ -export function useCheckTreeExistenceQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(CheckTreeExistenceDocument, options); - } -export function useCheckTreeExistenceLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(CheckTreeExistenceDocument, options); - } +export function useCheckTreeExistenceQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery( + CheckTreeExistenceDocument, + options + ); +} +export function useCheckTreeExistenceLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + CheckTreeExistenceDocument, + options + ); +} export type CheckTreeExistenceQueryHookResult = ReturnType; export type CheckTreeExistenceLazyQueryHookResult = ReturnType; -export type CheckTreeExistenceQueryResult = Apollo.QueryResult; +export type CheckTreeExistenceQueryResult = Apollo.QueryResult< + CheckTreeExistenceQuery, + CheckTreeExistenceQueryVariables +>; export const DeleteTreeDocument = gql` mutation DELETE_TREE($id: ID!) { - deleteTree(id: $id) { - id - } -} - `; + deleteTree(id: $id) { + id + } + } +`; export type DeleteTreeMutationFn = Apollo.MutationFunction; /** @@ -3339,22 +6885,25 @@ export type DeleteTreeMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(DeleteTreeDocument, options); - } +export function useDeleteTreeMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(DeleteTreeDocument, options); +} export type DeleteTreeMutationHookResult = ReturnType; export type DeleteTreeMutationResult = Apollo.MutationResult; export type DeleteTreeMutationOptions = Apollo.BaseMutationOptions; export const GetTreeByIdDocument = gql` query GET_TREE_BY_ID($id: [ID!]) { - trees(filters: {id: $id}) { - list { - ...TreeDetails + trees(filters: {id: $id}) { + list { + ...TreeDetails + } + } } - } -} - ${TreeDetailsFragmentDoc}`; + ${TreeDetailsFragmentDoc} +`; /** * __useGetTreeByIdQuery__ @@ -3372,42 +6921,46 @@ export const GetTreeByIdDocument = gql` * }, * }); */ -export function useGetTreeByIdQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetTreeByIdDocument, options); - } -export function useGetTreeByIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetTreeByIdDocument, options); - } +export function useGetTreeByIdQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(GetTreeByIdDocument, options); +} +export function useGetTreeByIdLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery(GetTreeByIdDocument, options); +} export type GetTreeByIdQueryHookResult = ReturnType; export type GetTreeByIdLazyQueryHookResult = ReturnType; export type GetTreeByIdQueryResult = Apollo.QueryResult; export const GetTreeLibrariesDocument = gql` query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) { - trees(filters: {id: $treeId, library: $library}) { - totalCount - list { - id - behavior - system - libraries { - library { - id - label - behavior - system - } - settings { - allowMultiplePositions - allowedChildren - allowedAtRoot + trees(filters: {id: $treeId, library: $library}) { + totalCount + list { + id + behavior + system + libraries { + library { + id + label + behavior + system + } + settings { + allowMultiplePositions + allowedChildren + allowedAtRoot + } + } + } } - } } - } -} - `; +`; /** * __useGetTreeLibrariesQuery__ @@ -3426,26 +6979,34 @@ export const GetTreeLibrariesDocument = gql` * }, * }); */ -export function useGetTreeLibrariesQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetTreeLibrariesDocument, options); - } -export function useGetTreeLibrariesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetTreeLibrariesDocument, options); - } +export function useGetTreeLibrariesQuery( + baseOptions?: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(GetTreeLibrariesDocument, options); +} +export function useGetTreeLibrariesLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + GetTreeLibrariesDocument, + options + ); +} export type GetTreeLibrariesQueryHookResult = ReturnType; export type GetTreeLibrariesLazyQueryHookResult = ReturnType; export type GetTreeLibrariesQueryResult = Apollo.QueryResult; export const GetTreesDocument = gql` query GET_TREES { - trees { - list { - ...TreeLight + trees { + list { + ...TreeLight + } + } } - } -} - ${TreeLightFragmentDoc}`; + ${TreeLightFragmentDoc} +`; /** * __useGetTreesQuery__ @@ -3463,23 +7024,24 @@ export const GetTreesDocument = gql` * }); */ export function useGetTreesQuery(baseOptions?: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetTreesDocument, options); - } + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(GetTreesDocument, options); +} export function useGetTreesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetTreesDocument, options); - } + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery(GetTreesDocument, options); +} export type GetTreesQueryHookResult = ReturnType; export type GetTreesLazyQueryHookResult = ReturnType; export type GetTreesQueryResult = Apollo.QueryResult; export const SaveTreeDocument = gql` mutation SAVE_TREE($tree: TreeInput!) { - saveTree(tree: $tree) { - ...TreeDetails - } -} - ${TreeDetailsFragmentDoc}`; + saveTree(tree: $tree) { + ...TreeDetails + } + } + ${TreeDetailsFragmentDoc} +`; export type SaveTreeMutationFn = Apollo.MutationFunction; /** @@ -3499,23 +7061,26 @@ export type SaveTreeMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(SaveTreeDocument, options); - } +export function useSaveTreeMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(SaveTreeDocument, options); +} export type SaveTreeMutationHookResult = ReturnType; export type SaveTreeMutationResult = Apollo.MutationResult; export type SaveTreeMutationOptions = Apollo.BaseMutationOptions; export const TreeNodeChildrenDocument = gql` query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) { - treeNodeChildren(treeId: $treeId, node: $node, pagination: $pagination) { - totalCount - list { - ...TreeNodeChild + treeNodeChildren(treeId: $treeId, node: $node, pagination: $pagination) { + totalCount + list { + ...TreeNodeChild + } + } } - } -} - ${TreeNodeChildFragmentDoc}`; + ${TreeNodeChildFragmentDoc} +`; /** * __useTreeNodeChildrenQuery__ @@ -3535,25 +7100,32 @@ export const TreeNodeChildrenDocument = gql` * }, * }); */ -export function useTreeNodeChildrenQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(TreeNodeChildrenDocument, options); - } -export function useTreeNodeChildrenLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(TreeNodeChildrenDocument, options); - } +export function useTreeNodeChildrenQuery( + baseOptions: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(TreeNodeChildrenDocument, options); +} +export function useTreeNodeChildrenLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery( + TreeNodeChildrenDocument, + options + ); +} export type TreeNodeChildrenQueryHookResult = ReturnType; export type TreeNodeChildrenLazyQueryHookResult = ReturnType; export type TreeNodeChildrenQueryResult = Apollo.QueryResult; export const GetUserDataDocument = gql` query GET_USER_DATA($keys: [String!]!, $global: Boolean) { - userData(keys: $keys, global: $global) { - global - data - } -} - `; + userData(keys: $keys, global: $global) { + global + data + } + } +`; /** * __useGetUserDataQuery__ @@ -3573,24 +7145,26 @@ export const GetUserDataDocument = gql` * }); */ export function useGetUserDataQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetUserDataDocument, options); - } -export function useGetUserDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetUserDataDocument, options); - } + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(GetUserDataDocument, options); +} +export function useGetUserDataLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery(GetUserDataDocument, options); +} export type GetUserDataQueryHookResult = ReturnType; export type GetUserDataLazyQueryHookResult = ReturnType; export type GetUserDataQueryResult = Apollo.QueryResult; export const SaveUserDataDocument = gql` mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) { - saveUserData(key: $key, value: $value, global: $global) { - global - data - } -} - `; + saveUserData(key: $key, value: $value, global: $global) { + global + data + } + } +`; export type SaveUserDataMutationFn = Apollo.MutationFunction; /** @@ -3612,25 +7186,26 @@ export type SaveUserDataMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(SaveUserDataDocument, options); - } +export function useSaveUserDataMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(SaveUserDataDocument, options); +} export type SaveUserDataMutationHookResult = ReturnType; export type SaveUserDataMutationResult = Apollo.MutationResult; -export type SaveUserDataMutationOptions = Apollo.BaseMutationOptions; +export type SaveUserDataMutationOptions = Apollo.BaseMutationOptions< + SaveUserDataMutation, + SaveUserDataMutationVariables +>; export const DeleteValueDocument = gql` mutation DELETE_VALUE($library: ID!, $recordId: ID!, $attribute: ID!, $value: ValueInput) { - deleteValue( - library: $library - recordId: $recordId - attribute: $attribute - value: $value - ) { - ...ValueDetails - } -} - ${ValueDetailsFragmentDoc}`; + deleteValue(library: $library, recordId: $recordId, attribute: $attribute, value: $value) { + ...ValueDetails + } + } + ${ValueDetailsFragmentDoc} +`; export type DeleteValueMutationFn = Apollo.MutationFunction; /** @@ -3653,34 +7228,43 @@ export type DeleteValueMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(DeleteValueDocument, options); - } +export function useDeleteValueMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(DeleteValueDocument, options); +} export type DeleteValueMutationHookResult = ReturnType; export type DeleteValueMutationResult = Apollo.MutationResult; export type DeleteValueMutationOptions = Apollo.BaseMutationOptions; export const SaveValueBatchDocument = gql` - mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) { - saveValueBatch( - library: $library - recordId: $recordId - version: $version - values: $values - deleteEmpty: $deleteEmpty - ) { - values { - ...ValueDetails - } - errors { - type - attribute - input - message - } - } -} - ${ValueDetailsFragmentDoc}`; + mutation SAVE_VALUE_BATCH( + $library: ID! + $recordId: ID! + $version: [ValueVersionInput!] + $values: [ValueBatchInput!]! + $deleteEmpty: Boolean + ) { + saveValueBatch( + library: $library + recordId: $recordId + version: $version + values: $values + deleteEmpty: $deleteEmpty + ) { + values { + ...ValueDetails + } + errors { + type + attribute + input + message + } + } + } + ${ValueDetailsFragmentDoc} +`; export type SaveValueBatchMutationFn = Apollo.MutationFunction; /** @@ -3704,21 +7288,26 @@ export type SaveValueBatchMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(SaveValueBatchDocument, options); - } +export function useSaveValueBatchMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(SaveValueBatchDocument, options); +} export type SaveValueBatchMutationHookResult = ReturnType; export type SaveValueBatchMutationResult = Apollo.MutationResult; -export type SaveValueBatchMutationOptions = Apollo.BaseMutationOptions; +export type SaveValueBatchMutationOptions = Apollo.BaseMutationOptions< + SaveValueBatchMutation, + SaveValueBatchMutationVariables +>; export const DeleteViewDocument = gql` mutation DELETE_VIEW($viewId: String!) { - deleteView(viewId: $viewId) { - id - library - } -} - `; + deleteView(viewId: $viewId) { + id + library + } + } +`; export type DeleteViewMutationFn = Apollo.MutationFunction; /** @@ -3738,20 +7327,23 @@ export type DeleteViewMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(DeleteViewDocument, options); - } +export function useDeleteViewMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(DeleteViewDocument, options); +} export type DeleteViewMutationHookResult = ReturnType; export type DeleteViewMutationResult = Apollo.MutationResult; export type DeleteViewMutationOptions = Apollo.BaseMutationOptions; export const GetViewDocument = gql` query GET_VIEW($viewId: String!) { - view(viewId: $viewId) { - ...ViewDetails - } -} - ${ViewDetailsFragmentDoc}`; + view(viewId: $viewId) { + ...ViewDetails + } + } + ${ViewDetailsFragmentDoc} +`; /** * __useGetViewQuery__ @@ -3770,26 +7362,27 @@ export const GetViewDocument = gql` * }); */ export function useGetViewQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetViewDocument, options); - } + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(GetViewDocument, options); +} export function useGetViewLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetViewDocument, options); - } + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery(GetViewDocument, options); +} export type GetViewQueryHookResult = ReturnType; export type GetViewLazyQueryHookResult = ReturnType; export type GetViewQueryResult = Apollo.QueryResult; export const GetViewsListDocument = gql` query GET_VIEWS_LIST($libraryId: String!) { - views(library: $libraryId) { - totalCount - list { - ...ViewDetails + views(library: $libraryId) { + totalCount + list { + ...ViewDetails + } + } } - } -} - ${ViewDetailsFragmentDoc}`; + ${ViewDetailsFragmentDoc} +`; /** * __useGetViewsListQuery__ @@ -3807,24 +7400,29 @@ export const GetViewsListDocument = gql` * }, * }); */ -export function useGetViewsListQuery(baseOptions: Apollo.QueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useQuery(GetViewsListDocument, options); - } -export function useGetViewsListLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useLazyQuery(GetViewsListDocument, options); - } +export function useGetViewsListQuery( + baseOptions: Apollo.QueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useQuery(GetViewsListDocument, options); +} +export function useGetViewsListLazyQuery( + baseOptions?: Apollo.LazyQueryHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useLazyQuery(GetViewsListDocument, options); +} export type GetViewsListQueryHookResult = ReturnType; export type GetViewsListLazyQueryHookResult = ReturnType; export type GetViewsListQueryResult = Apollo.QueryResult; export const AddViewDocument = gql` mutation ADD_VIEW($view: ViewInput!) { - saveView(view: $view) { - ...ViewDetails - } -} - ${ViewDetailsFragmentDoc}`; + saveView(view: $view) { + ...ViewDetails + } + } + ${ViewDetailsFragmentDoc} +`; export type AddViewMutationFn = Apollo.MutationFunction; /** @@ -3844,10 +7442,12 @@ export type AddViewMutationFn = Apollo.MutationFunction) { - const options = {...defaultOptions, ...baseOptions} - return Apollo.useMutation(AddViewDocument, options); - } +export function useAddViewMutation( + baseOptions?: Apollo.MutationHookOptions +) { + const options = {...defaultOptions, ...baseOptions}; + return Apollo.useMutation(AddViewDocument, options); +} export type AddViewMutationHookResult = ReturnType; export type AddViewMutationResult = Apollo.MutationResult; -export type AddViewMutationOptions = Apollo.BaseMutationOptions; \ No newline at end of file +export type AddViewMutationOptions = Apollo.BaseMutationOptions; diff --git a/libs/ui/src/_queries/records/recordFormAttributeFragment.ts b/libs/ui/src/_queries/records/recordFormAttributeFragment.ts index 39ab6772b..b0a0658ab 100644 --- a/libs/ui/src/_queries/records/recordFormAttributeFragment.ts +++ b/libs/ui/src/_queries/records/recordFormAttributeFragment.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import {gql} from '@apollo/client'; export const recordFormAttributeFragment = gql` diff --git a/libs/ui/src/_utils/index.ts b/libs/ui/src/_utils/index.ts index d377e6cf5..3315cd9ab 100644 --- a/libs/ui/src/_utils/index.ts +++ b/libs/ui/src/_utils/index.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import {gql} from '@apollo/client'; import {IDateRangeValue, isTypeLink, objectToNameValueArray, omit, WithTypename} from '@leav/utils'; import {TFunction} from 'i18next'; diff --git a/libs/ui/src/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.ts b/libs/ui/src/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.ts index d06605da9..29491f974 100644 --- a/libs/ui/src/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.ts +++ b/libs/ui/src/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import pick from 'lodash/pick'; import {ISelectedAttribute} from '_ui/types/attributes'; import {AttributesByLibAttributeFragment} from '_ui/_gqlTypes'; diff --git a/libs/ui/src/components/LibraryItemsList/constants.ts b/libs/ui/src/components/LibraryItemsList/constants.ts index 01ed2187c..07ea63340 100644 --- a/libs/ui/src/components/LibraryItemsList/constants.ts +++ b/libs/ui/src/components/LibraryItemsList/constants.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import {IView} from '_ui/types/views'; import {AttributeFormat, ViewSizes, ViewTypes} from '_ui/_gqlTypes'; diff --git a/libs/ui/src/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.ts b/libs/ui/src/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.ts index eddc6f2b1..012b5d654 100644 --- a/libs/ui/src/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.ts +++ b/libs/ui/src/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import {AttributeConditionFilter, AttributeConditionType} from '_ui/types/search'; import {AttributeFormat} from '_ui/_gqlTypes'; diff --git a/libs/ui/src/components/LibraryItemsList/helpers/displayTypeToPreviewSize.ts b/libs/ui/src/components/LibraryItemsList/helpers/displayTypeToPreviewSize.ts index f15c6b179..0e24658e0 100644 --- a/libs/ui/src/components/LibraryItemsList/helpers/displayTypeToPreviewSize.ts +++ b/libs/ui/src/components/LibraryItemsList/helpers/displayTypeToPreviewSize.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import {PreviewSize} from '_ui/constants'; import {ViewSizes} from '_ui/_gqlTypes'; diff --git a/libs/ui/src/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.ts b/libs/ui/src/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.ts index 5231d565a..3465bcc75 100644 --- a/libs/ui/src/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.ts +++ b/libs/ui/src/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import {ISelectedAttribute} from '_ui/types/attributes'; import {AttributeFormat, AttributeType} from '_ui/_gqlTypes'; diff --git a/libs/ui/src/components/LibraryItemsList/helpers/getSortFieldByAttributeType.ts b/libs/ui/src/components/LibraryItemsList/helpers/getSortFieldByAttributeType.ts index 64da9693e..9cf5188de 100644 --- a/libs/ui/src/components/LibraryItemsList/helpers/getSortFieldByAttributeType.ts +++ b/libs/ui/src/components/LibraryItemsList/helpers/getSortFieldByAttributeType.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import {AttributeType} from '_ui/_gqlTypes'; import {infosCol} from '../constants'; diff --git a/libs/ui/src/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.tsx b/libs/ui/src/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.tsx index 034b9f139..ab1a3d812 100644 --- a/libs/ui/src/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.tsx +++ b/libs/ui/src/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.tsx @@ -1,5 +1,8 @@ // Copyright LEAV Solutions 2017 // This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 // License text available at https://www.gnu.org/licenses:lgpl-3.0.txt import styled from 'styled-components'; import {useSharedTranslation} from '_ui/hooks/useSharedTranslation'; diff --git a/libs/ui/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.test.tsx b/libs/ui/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.test.tsx index d6fe72f44..8a6653200 100644 --- a/libs/ui/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.test.tsx +++ b/libs/ui/src/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.test.tsx @@ -61,7 +61,7 @@ describe('StandardField', () => { const mockAttribute: IRecordPropertyAttribute = { id: 'test_attribute', - label: {fr: 'Test Attribute'}, + label: {en: 'Test Attribute'}, format: AttributeFormat.text, type: AttributeType.simple, system: false diff --git a/libs/ui/src/components/RecordEdition/index.ts b/libs/ui/src/components/RecordEdition/index.ts index 2dbba2404..79173b04a 100644 --- a/libs/ui/src/components/RecordEdition/index.ts +++ b/libs/ui/src/components/RecordEdition/index.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt export {default as EditRecord} from './EditRecord'; export {default as EditRecordBtn} from './EditRecordBtn'; export {default as EditRecordModal} from './EditRecordModal'; diff --git a/libs/ui/src/components/TriggerPreviewsGenerationModal/index.ts b/libs/ui/src/components/TriggerPreviewsGenerationModal/index.ts index 789c3c77a..b5b3d91b5 100644 --- a/libs/ui/src/components/TriggerPreviewsGenerationModal/index.ts +++ b/libs/ui/src/components/TriggerPreviewsGenerationModal/index.ts @@ -1,2 +1,5 @@ // Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt +// Copyright LEAV Solutions 2017 export {default as TriggerPreviewsGenerationModal} from './TriggerPreviewsGenerationModal'; diff --git a/libs/ui/src/contexts/UserContext/index.ts b/libs/ui/src/contexts/UserContext/index.ts index 9a79f5ed0..5d16fa446 100644 --- a/libs/ui/src/contexts/UserContext/index.ts +++ b/libs/ui/src/contexts/UserContext/index.ts @@ -1,2 +1,5 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt export * from './types'; export {UserContext} from './UserContext'; diff --git a/libs/ui/src/contexts/UserContext/types.ts b/libs/ui/src/contexts/UserContext/types.ts index 481828783..c650eaf1f 100644 --- a/libs/ui/src/contexts/UserContext/types.ts +++ b/libs/ui/src/contexts/UserContext/types.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import {IRecordIdentityWhoAmI} from '_ui/types/records'; export interface IUserContextData { diff --git a/libs/ui/src/hooks/useCanEditRecord/index.ts b/libs/ui/src/hooks/useCanEditRecord/index.ts index 5d6faf87b..d67f3fdce 100644 --- a/libs/ui/src/hooks/useCanEditRecord/index.ts +++ b/libs/ui/src/hooks/useCanEditRecord/index.ts @@ -1 +1,4 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt export {useCanEditRecord} from './useCanEditRecord'; diff --git a/libs/ui/src/hooks/useUser/index.ts b/libs/ui/src/hooks/useUser/index.ts index 25f3494ff..4b84db85a 100644 --- a/libs/ui/src/hooks/useUser/index.ts +++ b/libs/ui/src/hooks/useUser/index.ts @@ -1 +1,4 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt export {useUser} from './useUser'; diff --git a/libs/ui/src/types/attributes.ts b/libs/ui/src/types/attributes.ts index d302a2b8a..c35130a59 100644 --- a/libs/ui/src/types/attributes.ts +++ b/libs/ui/src/types/attributes.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import {AttributeFormat, AttributeType} from '_ui/_gqlTypes'; import {SystemTranslation} from './scalars'; import {IParentAttributeData, ITreeData} from './search'; diff --git a/libs/ui/src/types/index.ts b/libs/ui/src/types/index.ts index 9c14ab8fd..b9d53e55d 100644 --- a/libs/ui/src/types/index.ts +++ b/libs/ui/src/types/index.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt export * from './attributes'; export * from './misc'; export * from './records'; diff --git a/libs/ui/src/types/misc.ts b/libs/ui/src/types/misc.ts index 482d5b9a5..6c9880399 100644 --- a/libs/ui/src/types/misc.ts +++ b/libs/ui/src/types/misc.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt export type ValueOf = T[keyof T]; export type ILang = string[]; diff --git a/libs/ui/src/types/search.ts b/libs/ui/src/types/search.ts index e99a30489..22035ee9c 100644 --- a/libs/ui/src/types/search.ts +++ b/libs/ui/src/types/search.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import {IDateRangeValue} from '@leav/utils'; import {ReactNode} from 'react'; import { diff --git a/libs/ui/src/types/trees.ts b/libs/ui/src/types/trees.ts index 59f35ae95..a61d18b44 100644 --- a/libs/ui/src/types/trees.ts +++ b/libs/ui/src/types/trees.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import {ReactNode} from 'react'; import {IRecordIdentity} from './records'; diff --git a/libs/ui/src/types/values.ts b/libs/ui/src/types/values.ts index 1fca4dd96..37a0317db 100644 --- a/libs/ui/src/types/values.ts +++ b/libs/ui/src/types/values.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt export interface IValueVersionTreeNode { id: string; label: string; diff --git a/libs/ui/src/types/views.ts b/libs/ui/src/types/views.ts index 49509779e..bd7cc244c 100644 --- a/libs/ui/src/types/views.ts +++ b/libs/ui/src/types/views.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt import {SortOrder, ViewSizes, ViewTypes} from '_ui/_gqlTypes'; import {SystemTranslation} from './scalars'; import {IFilter} from './search'; diff --git a/libs/utils/src/types/attributes.ts b/libs/utils/src/types/attributes.ts index 11ee75463..c7c81820b 100644 --- a/libs/utils/src/types/attributes.ts +++ b/libs/utils/src/types/attributes.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt export enum AttributeType { advanced = 'advanced', advanced_link = 'advanced_link', diff --git a/libs/utils/src/types/values.ts b/libs/utils/src/types/values.ts index ccb98d2f4..5408a0566 100644 --- a/libs/utils/src/types/values.ts +++ b/libs/utils/src/types/values.ts @@ -1,3 +1,6 @@ +// Copyright LEAV Solutions 2017 +// This file is released under LGPL V3 +// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt export interface IDateRangeValue { from: string; to: string;