Skip to content

Commit

Permalink
PREAPPS-6793: - Adding doc input in Save document request for Making …
Browse files Browse the repository at this point in the history
…older version as current
  • Loading branch information
Mitesh Savani authored and silentsakky committed Jun 22, 2022
1 parent 77d39df commit b99e5a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/normalize/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,8 @@ export const SaveDocument = new Entity({
ver: 'version', //same item may have different versions (i.e same names) will need to implement ListDocumentRevisionsRequest
ct: 'contentType',
descEnabled: 'descriptionEnabled',
m: ['messageData', MessagePartInputForDocuments]
m: ['messageData', MessagePartInputForDocuments],
doc: ['document', Document]
});

export const SearchResponse = new Entity({
Expand Down
1 change: 1 addition & 0 deletions src/schema/generated-schema-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3795,6 +3795,7 @@ export type SaveDocumentInput = {
action?: InputMaybe<SaveDocumentAction>;
contentType?: InputMaybe<Scalars['String']>;
descriptionEnabled?: InputMaybe<Scalars['Boolean']>;
document?: InputMaybe<SaveDocumentInput>;
folderId?: InputMaybe<Scalars['ID']>;
id?: InputMaybe<Scalars['ID']>;
messageData?: InputMaybe<Array<InputMaybe<MessagePartForDocument>>>;
Expand Down
1 change: 1 addition & 0 deletions src/schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2981,6 +2981,7 @@ input SaveDocumentInput {
descriptionEnabled: Boolean #descEnabled
action: SaveDocumentAction
type: SaveDocumentType
document: SaveDocumentInput
}

type SaveDocument {
Expand Down

0 comments on commit b99e5a9

Please sign in to comment.