@quesmed/types 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.
|
@@ -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
|
|
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:
|
|
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:
|
|
127
|
-
$recordId: ID
|
|
128
|
+
$input: JobAssetInput!
|
|
128
129
|
$jobId: ID!
|
|
130
|
+
$recordId: ID
|
|
131
|
+
$referenceId: ID
|
|
129
132
|
) {
|
|
130
133
|
admin {
|
|
131
|
-
createJobAssets(
|
|
134
|
+
createJobAssets(
|
|
135
|
+
input: $input
|
|
136
|
+
jobId: $jobId
|
|
137
|
+
recordId: $recordId
|
|
138
|
+
referenceId: $referenceId
|
|
139
|
+
) {
|
|
132
140
|
...JobAsset
|
|
133
141
|
}
|
|
134
142
|
}
|
|
@@ -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
|
|
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:
|
|
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'>;
|
|
@@ -104,6 +104,7 @@ export const REMOVE_JOB_ASSETS = gql `
|
|
|
104
104
|
$unlink: Boolean
|
|
105
105
|
$ids: [ID!]!
|
|
106
106
|
$recordId: ID
|
|
107
|
+
$referenceId: ID
|
|
107
108
|
) {
|
|
108
109
|
admin {
|
|
109
110
|
removeJobAssets(
|
|
@@ -111,6 +112,7 @@ export const REMOVE_JOB_ASSETS = gql `
|
|
|
111
112
|
unlink: $unlink
|
|
112
113
|
ids: $ids
|
|
113
114
|
recordId: $recordId
|
|
115
|
+
referenceId: $referenceId
|
|
114
116
|
) {
|
|
115
117
|
...JobAsset
|
|
116
118
|
}
|
|
@@ -120,12 +122,18 @@ export const REMOVE_JOB_ASSETS = gql `
|
|
|
120
122
|
export const CREATE_JOB_ASSETS = gql `
|
|
121
123
|
${JOB_ASSET_FRAGMENT}
|
|
122
124
|
mutation CreateJobAssets(
|
|
123
|
-
$input:
|
|
124
|
-
$recordId: ID
|
|
125
|
+
$input: JobAssetInput!
|
|
125
126
|
$jobId: ID!
|
|
127
|
+
$recordId: ID
|
|
128
|
+
$referenceId: ID
|
|
126
129
|
) {
|
|
127
130
|
admin {
|
|
128
|
-
createJobAssets(
|
|
131
|
+
createJobAssets(
|
|
132
|
+
input: $input
|
|
133
|
+
jobId: $jobId
|
|
134
|
+
recordId: $recordId
|
|
135
|
+
referenceId: $referenceId
|
|
136
|
+
) {
|
|
129
137
|
...JobAsset
|
|
130
138
|
}
|
|
131
139
|
}
|