diff --git a/projects/bp-gallery/src/graphql/APIConnector.tsx b/projects/bp-gallery/src/graphql/APIConnector.tsx index 06ae59cac..9aed213df 100644 --- a/projects/bp-gallery/src/graphql/APIConnector.tsx +++ b/projects/bp-gallery/src/graphql/APIConnector.tsx @@ -494,7 +494,6 @@ export type ExhibitionFiltersInput = { export type ExhibitionInput = { archive_tag?: InputMaybe; exhibition_sections?: InputMaybe>>; - exhibition_sources?: InputMaybe>>; idealot_pictures?: InputMaybe>>; introduction?: InputMaybe; is_published?: InputMaybe; diff --git a/projects/bp-gallery/src/graphql/schema/schema.json b/projects/bp-gallery/src/graphql/schema/schema.json index c5a46ca3f..1723d8963 100644 --- a/projects/bp-gallery/src/graphql/schema/schema.json +++ b/projects/bp-gallery/src/graphql/schema/schema.json @@ -7697,20 +7697,6 @@ }, "defaultValue": null }, - { - "name": "exhibition_sources", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, { "name": "idealot_pictures", "description": null, diff --git a/projects/bp-strapi/schemas.d.ts b/projects/bp-strapi/schemas.d.ts index d75546df6..acc9dc29b 100644 --- a/projects/bp-strapi/schemas.d.ts +++ b/projects/bp-strapi/schemas.d.ts @@ -485,6 +485,7 @@ export interface ApiArchiveTagArchiveTag extends CollectionTypeSchema { 'oneToMany', 'api::exhibition.exhibition' >; + hidden: BooleanAttribute & DefaultTo; createdAt: DateTimeAttribute; updatedAt: DateTimeAttribute; publishedAt: DateTimeAttribute; @@ -1031,6 +1032,12 @@ export interface ApiPicturePicture extends CollectionTypeSchema { >; is_not_a_place_count: IntegerAttribute; face_tags: RelationAttribute<'api::picture.picture', 'oneToMany', 'api::face-tag.face-tag'>; + picture_sequence: RelationAttribute< + 'api::picture.picture', + 'manyToOne', + 'api::picture-sequence.picture-sequence' + >; + picture_sequence_order: IntegerAttribute; exhibition_pictures: RelationAttribute< 'api::picture.picture', 'oneToMany', @@ -1082,6 +1089,40 @@ export interface ApiPictureGeoInfoPictureGeoInfo extends CollectionTypeSchema { }; } +export interface ApiPictureSequencePictureSequence extends CollectionTypeSchema { + info: { + singularName: 'picture-sequence'; + pluralName: 'picture-sequences'; + displayName: 'Picture_Sequence'; + description: ''; + }; + options: { + draftAndPublish: true; + }; + attributes: { + pictures: RelationAttribute< + 'api::picture-sequence.picture-sequence', + 'oneToMany', + 'api::picture.picture' + >; + createdAt: DateTimeAttribute; + updatedAt: DateTimeAttribute; + publishedAt: DateTimeAttribute; + createdBy: RelationAttribute< + 'api::picture-sequence.picture-sequence', + 'oneToOne', + 'admin::user' + > & + PrivateAttribute; + updatedBy: RelationAttribute< + 'api::picture-sequence.picture-sequence', + 'oneToOne', + 'admin::user' + > & + PrivateAttribute; + }; +} + export interface ApiTimeRangeTagTimeRangeTag extends CollectionTypeSchema { info: { singularName: 'time-range-tag'; @@ -1176,6 +1217,7 @@ declare global { 'api::person-tag.person-tag': ApiPersonTagPersonTag; 'api::picture.picture': ApiPicturePicture; 'api::picture-geo-info.picture-geo-info': ApiPictureGeoInfoPictureGeoInfo; + 'api::picture-sequence.picture-sequence': ApiPictureSequencePictureSequence; 'api::time-range-tag.time-range-tag': ApiTimeRangeTagTimeRangeTag; 'common.synonyms': CommonSynonyms; 'location.coordinates': LocationCoordinates;