@quesmed/types-rn 2.6.181 → 2.6.182

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.181",
3
+ "version": "2.6.182",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -78,10 +78,11 @@ export type IRemoveJobAssetsVar = {
78
78
  unlink?: boolean | null;
79
79
  ids: IJobAsset['id'][];
80
80
  recordId?: IJobRecord['id'] | null;
81
+ referenceId?: IJobRecord['referenceId'] | null;
81
82
  };
82
83
  export type IRemoveJobAssetsData = AdminData<(IJobAsset & graphqlNormalize)[], 'removeJobAssets'>;
83
84
  export declare const CREATE_JOB_ASSETS: import("@apollo/client").DocumentNode;
84
- export interface IJobRecordAssetInput {
85
+ export interface IJobAssetInput {
85
86
  file: File | FileData;
86
87
  jobId: IJob['id'];
87
88
  recordId?: IJobRecord['id'] | null;
@@ -94,8 +95,9 @@ export interface IJobRecordAssetInput {
94
95
  index: number;
95
96
  }
96
97
  export type ICreateJobAssetsVar = {
97
- input: IJobRecordAssetInput;
98
+ input: IJobAssetInput;
98
99
  recordId?: IJobRecord['id'] | null;
100
+ referenceId?: IJobRecord['referenceId'] | null;
99
101
  jobId: IJob['id'];
100
102
  };
101
103
  export type ICreateJobAssetsData = AdminData<(IJobAsset & graphqlNormalize)[], 'createJobAssets'>;
@@ -107,6 +107,7 @@ exports.REMOVE_JOB_ASSETS = (0, client_1.gql) `
107
107
  $unlink: Boolean
108
108
  $ids: [ID!]!
109
109
  $recordId: ID
110
+ $referenceId: ID
110
111
  ) {
111
112
  admin {
112
113
  removeJobAssets(
@@ -114,6 +115,7 @@ exports.REMOVE_JOB_ASSETS = (0, client_1.gql) `
114
115
  unlink: $unlink
115
116
  ids: $ids
116
117
  recordId: $recordId
118
+ referenceId: $referenceId
117
119
  ) {
118
120
  ...JobAsset
119
121
  }
@@ -123,12 +125,18 @@ exports.REMOVE_JOB_ASSETS = (0, client_1.gql) `
123
125
  exports.CREATE_JOB_ASSETS = (0, client_1.gql) `
124
126
  ${fragments_1.JOB_ASSET_FRAGMENT}
125
127
  mutation CreateJobAssets(
126
- $input: JobRecordAssetInput!
127
- $recordId: ID
128
+ $input: JobAssetInput!
128
129
  $jobId: ID!
130
+ $recordId: ID
131
+ $referenceId: ID
129
132
  ) {
130
133
  admin {
131
- createJobAssets(input: $input, recordId: $recordId, jobId: $jobId) {
134
+ createJobAssets(
135
+ input: $input
136
+ jobId: $jobId
137
+ recordId: $recordId
138
+ referenceId: $referenceId
139
+ ) {
132
140
  ...JobAsset
133
141
  }
134
142
  }