Skip to content

Commit 1602879

Browse files
authored
Add atlas_doc_format (#37)
* 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]>
1 parent eaa7c42 commit 1602879

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

src/api/models/attachment.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export interface Attachment {
1414
comment: string;
1515
mediaTypeDescription: string;
1616
fileId: string;
17+
collectionName?: string;
1718
};
1819
_expandable: {
1920
childTypes: string;

src/api/models/content.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export interface Content {
3131
storage?: ContentBody;
3232
editor2?: ContentBody;
3333
anonymous_export_view?: ContentBody;
34+
atlas_doc_format?: ContentBody;
3435
_expandable: {
3536
editor?: string;
3637
view?: string;
@@ -39,6 +40,7 @@ export interface Content {
3940
storage?: string;
4041
editor2?: string;
4142
anonymous_export_view?: string;
43+
atlas_doc_format?: string;
4244
};
4345
};
4446
restrictions?: {

src/api/models/contentCreate.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,6 @@ export interface ContentCreate {
4747
storage?: ContentBodyCreate;
4848
editor2?: ContentBodyCreate;
4949
anonymous_export_view?: ContentBodyCreate;
50+
atlas_doc_format?: ContentBodyCreate;
5051
};
5152
}

src/api/models/contentUpdate.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@ export interface ContentUpdate {
3838
storage?: ContentBodyCreateStorage;
3939
editor2?: ContentBodyCreate;
4040
anonymous_export_view?: ContentBodyCreate;
41+
atlas_doc_format?: ContentBodyCreate;
4142
};
4243
}

src/server/models/content.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export interface Content {
3030
storage?: ContentBody;
3131
editor2?: ContentBody;
3232
anonymous_export_view?: ContentBody;
33+
atlas_doc_format?: ContentBody;
3334
_expandable: {
3435
editor?: string;
3536
view?: string;
@@ -38,6 +39,7 @@ export interface Content {
3839
storage?: string;
3940
editor2?: string;
4041
anonymous_export_view?: string;
42+
atlas_doc_format?: string;
4143
};
4244
};
4345
restrictions?: {

0 commit comments

Comments
 (0)