Skip to content

Commit

Permalink
Merge branch 'main' into BC-5863-remove-tiptap
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-darsow authored Nov 30, 2023
2 parents 946674e + 88b2b48 commit f8bb295
Showing 1 changed file with 89 additions and 88 deletions.
177 changes: 89 additions & 88 deletions src/serverApi/v3/api.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* tslint:disable */
/* eslint-disable */
/**
* HPI Schul-Cloud Server API
Expand Down Expand Up @@ -297,10 +298,10 @@ export interface CardResponse {
height: number;
/**
*
* @type {Array<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse>}
* @type {Array<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse | DrawingElementResponse>}
* @memberof CardResponse
*/
elements: Array<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse>;
elements: Array<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse | DrawingElementResponse>;
/**
*
* @type {VisibilitySettingsResponse}
Expand Down Expand Up @@ -657,11 +658,11 @@ export interface ConsentSessionResponse {
*/
export enum ContentElementType {
File = 'file',
Drawing = 'drawing',
Link = 'link',
RichText = 'richText',
SubmissionContainer = 'submissionContainer',
ExternalTool = 'externalTool',
Drawing = 'drawing',
ExternalTool = 'externalTool'
}

/**
Expand Down Expand Up @@ -919,6 +920,7 @@ export enum CopyApiResponseTypeEnum {
ExternalToolElement = 'EXTERNAL_TOOL_ELEMENT',
File = 'FILE',
FileElement = 'FILE_ELEMENT',
DrawingElement = 'DRAWING_ELEMENT',
FileGroup = 'FILE_GROUP',
Leaf = 'LEAF',
Lesson = 'LESSON',
Expand Down Expand Up @@ -1055,11 +1057,11 @@ export interface CreateCardBodyParams {
*/
export enum CreateCardBodyParamsRequiredEmptyElementsEnum {
File = 'file',
Drawing = 'drawing',
Link = 'link',
RichText = 'richText',
SubmissionContainer = 'submissionContainer',
ExternalTool = 'externalTool',
Drawing = 'drawing',
ExternalTool = 'externalTool'
}

/**
Expand Down Expand Up @@ -1458,6 +1460,82 @@ export interface DashboardResponse {
*/
gridElements: Array<DashboardGridElementResponse>;
}
/**
*
* @export
* @interface DrawingContentBody
*/
export interface DrawingContentBody {
/**
*
* @type {string}
* @memberof DrawingContentBody
*/
description: string;
}
/**
*
* @export
* @interface DrawingElementContent
*/
export interface DrawingElementContent {
/**
*
* @type {string}
* @memberof DrawingElementContent
*/
description: string;
}
/**
*
* @export
* @interface DrawingElementContentBody
*/
export interface DrawingElementContentBody {
/**
*
* @type {ContentElementType}
* @memberof DrawingElementContentBody
*/
type: ContentElementType;
/**
*
* @type {DrawingContentBody}
* @memberof DrawingElementContentBody
*/
content: DrawingContentBody;
}
/**
*
* @export
* @interface DrawingElementResponse
*/
export interface DrawingElementResponse {
/**
*
* @type {string}
* @memberof DrawingElementResponse
*/
id: string;
/**
*
* @type {ContentElementType}
* @memberof DrawingElementResponse
*/
type: ContentElementType;
/**
*
* @type {TimestampsResponse}
* @memberof DrawingElementResponse
*/
timestamps: TimestampsResponse;
/**
*
* @type {DrawingElementContent}
* @memberof DrawingElementResponse
*/
content: DrawingElementContent;
}
/**
*
* @export
Expand Down Expand Up @@ -4289,83 +4367,6 @@ export interface SingleColumnBoardResponse {
* @memberof SingleColumnBoardResponse
*/
isArchived: boolean;
}/**
*
* @export
* @interface DrawingContentBody
*/
export interface DrawingContentBody {
/**
*
* @type {string}
* @memberof DrawingContentBody
*/
description: string;
}
/**
*
* @export
* @interface DrawingElementContentBody
*/
export interface DrawingElementContentBody {
/**
*
* @type {ContentElementType}
* @memberof DrawingContentBody
*/
type: ContentElementType;
/**
*
* @type {String}
* @memberof DrawingContentBody
*/
content: DrawingContentBody;
}
/**
*
* @export
* @interface DrawingElementContent
*/

export interface DrawingElementContent {
/**
*
* @type {string}
* @memberof DrawingElementContent
*/
description: string;
}
/**
*
* @export
* @interface DrawingElementResponse
*/

export interface DrawingElementResponse {
/**
*
* @type {string}
* @memberof DrawingElementResponse
*/
id: string;
/**
*
* @type {ContentElementType}
* @memberof DrawingElementResponse
*/
type: ContentElementType;
/**
*
* @type {String}
* @memberof DrawingElementResponse
*/
content: DrawingElementContent;
/**
*
* @type {TimestampsResponse}
* @memberof DrawingElementResponse
*/
timestamps: TimestampsResponse;
}
/**
*
Expand Down Expand Up @@ -7013,7 +7014,7 @@ export const BoardCardApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async cardControllerCreateElement(cardId: string, createContentElementBodyParams: CreateContentElementBodyParams, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse| DrawingElementResponse>> {
async cardControllerCreateElement(cardId: string, createContentElementBodyParams: CreateContentElementBodyParams, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse | DrawingElementResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.cardControllerCreateElement(cardId, createContentElementBodyParams, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
Expand Down Expand Up @@ -7167,7 +7168,7 @@ export interface BoardCardApiInterface {
* @throws {RequiredError}
* @memberof BoardCardApiInterface
*/
cardControllerCreateElement(cardId: string, createContentElementBodyParams: CreateContentElementBodyParams, options?: any): AxiosPromise<RichTextElementResponse | LinkElementResponse | FileElementResponse | SubmissionContainerElementResponse | ExternalToolElementResponse | DrawingElementResponse>;
cardControllerCreateElement(cardId: string, createContentElementBodyParams: CreateContentElementBodyParams, options?: any): AxiosPromise<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse | DrawingElementResponse>;

/**
*
Expand Down Expand Up @@ -7936,7 +7937,7 @@ export const BoardElementApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async elementControllerUpdateElement(contentElementId: string, updateElementContentBodyParams: UpdateElementContentBodyParams, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse>> {
async elementControllerUpdateElement(contentElementId: string, updateElementContentBodyParams: UpdateElementContentBodyParams, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse | DrawingElementResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.elementControllerUpdateElement(contentElementId, updateElementContentBodyParams, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
Expand Down Expand Up @@ -7990,7 +7991,7 @@ export const BoardElementApiFactory = function (configuration?: Configuration, b
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
elementControllerUpdateElement(contentElementId: string, updateElementContentBodyParams: UpdateElementContentBodyParams, options?: any): AxiosPromise<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse> {
elementControllerUpdateElement(contentElementId: string, updateElementContentBodyParams: UpdateElementContentBodyParams, options?: any): AxiosPromise<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse | DrawingElementResponse> {
return localVarFp.elementControllerUpdateElement(contentElementId, updateElementContentBodyParams, options).then((request) => request(axios, basePath));
},
};
Expand Down Expand Up @@ -8043,7 +8044,7 @@ export interface BoardElementApiInterface {
* @throws {RequiredError}
* @memberof BoardElementApiInterface
*/
elementControllerUpdateElement(contentElementId: string, updateElementContentBodyParams: UpdateElementContentBodyParams, options?: any): AxiosPromise<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse>;
elementControllerUpdateElement(contentElementId: string, updateElementContentBodyParams: UpdateElementContentBodyParams, options?: any): AxiosPromise<ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse | DrawingElementResponse>;

}

Expand Down

0 comments on commit f8bb295

Please sign in to comment.