Skip to content

Commit

Permalink
remove traces of removed exhibition-source, regenerate schema
Browse files Browse the repository at this point in the history
  • Loading branch information
tom95 committed Nov 26, 2023
1 parent ac12a52 commit 4fab159
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 15 deletions.
1 change: 0 additions & 1 deletion projects/bp-gallery/src/graphql/APIConnector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,6 @@ export type ExhibitionFiltersInput = {
export type ExhibitionInput = {
archive_tag?: InputMaybe<Scalars['ID']>;
exhibition_sections?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
exhibition_sources?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
idealot_pictures?: InputMaybe<Array<InputMaybe<Scalars['ID']>>>;
introduction?: InputMaybe<Scalars['String']>;
is_published?: InputMaybe<Scalars['Boolean']>;
Expand Down
14 changes: 0 additions & 14 deletions projects/bp-gallery/src/graphql/schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
42 changes: 42 additions & 0 deletions projects/bp-strapi/schemas.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ export interface ApiArchiveTagArchiveTag extends CollectionTypeSchema {
'oneToMany',
'api::exhibition.exhibition'
>;
hidden: BooleanAttribute & DefaultTo<false>;
createdAt: DateTimeAttribute;
updatedAt: DateTimeAttribute;
publishedAt: DateTimeAttribute;
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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';
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 4fab159

Please sign in to comment.