@quesmed/types 2.6.198 → 2.6.199
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/dist/cjs/models/Picture.d.ts +1 -0
- package/dist/cjs/resolvers/mutation/admin/question.d.ts +2 -1
- package/dist/cjs/resolvers/query/admin/question.js +9 -0
- package/dist/mjs/models/Picture.d.ts +1 -0
- package/dist/mjs/resolvers/mutation/admin/question.d.ts +2 -1
- package/dist/mjs/resolvers/query/admin/question.js +9 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EEntitlementType, IAssetBinding, IQuestion, IQuestionCase, IQuestionChoice, Id } from '../../../models';
|
|
1
|
+
import { EEntitlementType, IAssetBinding, IChapter, IQuestion, IQuestionCase, IQuestionChoice, Id } from '../../../models';
|
|
2
2
|
import { AdminData, graphqlNormalize } from '../../types';
|
|
3
3
|
export declare const UPDATE_QUESTION: import("@apollo/client").DocumentNode;
|
|
4
4
|
export interface IUpdateQuestionVar {
|
|
@@ -18,6 +18,7 @@ export interface IUpdateQuestionVar {
|
|
|
18
18
|
entitlements?: EEntitlementType[];
|
|
19
19
|
createRevision?: boolean;
|
|
20
20
|
assets?: IAssetBinding[];
|
|
21
|
+
stem?: Partial<IChapter>;
|
|
21
22
|
}
|
|
22
23
|
export type IUpdateQuestionData = AdminData<graphqlNormalize & IQuestion, 'updateQuestion'>;
|
|
23
24
|
export declare const RESET_QUESTION: import("@apollo/client").DocumentNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EEntitlementType, IAssetBinding, IQuestion, IQuestionCase, IQuestionChoice, Id } from '../../../models';
|
|
1
|
+
import { EEntitlementType, IAssetBinding, IChapter, IQuestion, IQuestionCase, IQuestionChoice, Id } from '../../../models';
|
|
2
2
|
import { AdminData, graphqlNormalize } from '../../types';
|
|
3
3
|
export declare const UPDATE_QUESTION: import("@apollo/client").DocumentNode;
|
|
4
4
|
export interface IUpdateQuestionVar {
|
|
@@ -18,6 +18,7 @@ export interface IUpdateQuestionVar {
|
|
|
18
18
|
entitlements?: EEntitlementType[];
|
|
19
19
|
createRevision?: boolean;
|
|
20
20
|
assets?: IAssetBinding[];
|
|
21
|
+
stem?: Partial<IChapter>;
|
|
21
22
|
}
|
|
22
23
|
export type IUpdateQuestionData = AdminData<graphqlNormalize & IQuestion, 'updateQuestion'>;
|
|
23
24
|
export declare const RESET_QUESTION: import("@apollo/client").DocumentNode;
|