Skip to content

Commit

Permalink
version comment (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePlenkov authored Apr 5, 2024
1 parent 198bf47 commit 195d37b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/api/models/contentCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,12 @@ export interface ContentCreate {
anonymous_export_view?: ContentBodyCreate;
atlas_doc_format?: ContentBodyCreate;
};
/**
* The new version for the created content.

Check failure on line 53 in src/api/models/contentCreate.ts

View workflow job for this annotation

GitHub Actions / Lint Code

Trailing spaces not allowed
* To get the current version number, use [Get content by ID](#api-content-id-get) and retrieve `version.number`.
*/
version?: {

Check failure on line 56 in src/api/models/contentCreate.ts

View workflow job for this annotation

GitHub Actions / Lint Code

Trailing spaces not allowed
/** The version comment. */
message?: string;
};
}
2 changes: 2 additions & 0 deletions src/api/models/contentUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export interface ContentUpdate {
version: {
/** The version number. */
number: number;
/** The version comment. */
message?: string;
};
/** The updated title of the content. If you are not changing this field, set this to the current `title`. */
title: string;
Expand Down

0 comments on commit 195d37b

Please sign in to comment.