Skip to content

Commit

Permalink
Add atlas_doc_format (#37)
Browse files Browse the repository at this point in the history
* Add atlas_doc_format

* Add collectionName to help with attaching images to confluence pages in ADF

* Make `collectionName` optional

---------

Co-authored-by: Andrew McClenaghan <[email protected]>
  • Loading branch information
andymac4182 and andymac4182 authored Mar 26, 2023
1 parent eaa7c42 commit 1602879
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/api/models/attachment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface Attachment {
comment: string;
mediaTypeDescription: string;
fileId: string;
collectionName?: string;
};
_expandable: {
childTypes: string;
Expand Down
2 changes: 2 additions & 0 deletions src/api/models/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export interface Content {
storage?: ContentBody;
editor2?: ContentBody;
anonymous_export_view?: ContentBody;
atlas_doc_format?: ContentBody;
_expandable: {
editor?: string;
view?: string;
Expand All @@ -39,6 +40,7 @@ export interface Content {
storage?: string;
editor2?: string;
anonymous_export_view?: string;
atlas_doc_format?: string;
};
};
restrictions?: {
Expand Down
1 change: 1 addition & 0 deletions src/api/models/contentCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ export interface ContentCreate {
storage?: ContentBodyCreate;
editor2?: ContentBodyCreate;
anonymous_export_view?: ContentBodyCreate;
atlas_doc_format?: ContentBodyCreate;
};
}
1 change: 1 addition & 0 deletions src/api/models/contentUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ export interface ContentUpdate {
storage?: ContentBodyCreateStorage;
editor2?: ContentBodyCreate;
anonymous_export_view?: ContentBodyCreate;
atlas_doc_format?: ContentBodyCreate;
};
}
2 changes: 2 additions & 0 deletions src/server/models/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export interface Content {
storage?: ContentBody;
editor2?: ContentBody;
anonymous_export_view?: ContentBody;
atlas_doc_format?: ContentBody;
_expandable: {
editor?: string;
view?: string;
Expand All @@ -38,6 +39,7 @@ export interface Content {
storage?: string;
editor2?: string;
anonymous_export_view?: string;
atlas_doc_format?: string;
};
};
restrictions?: {
Expand Down

0 comments on commit 1602879

Please sign in to comment.