mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Add support for submitting performer/scene drafts to stash-box (#2234)
* Add support for submitting performer/scene drafts to stash-box Co-authored-by: Kermie <kermie@isinthe.house>
This commit is contained in:
@@ -1149,3 +1149,19 @@ export const stashBoxPerformerBatchQuery = (
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export const stashBoxSubmitSceneDraft = (
|
||||
input: GQL.StashBoxDraftSubmissionInput
|
||||
) =>
|
||||
client.mutate<GQL.SubmitStashBoxSceneDraftMutation>({
|
||||
mutation: GQL.SubmitStashBoxSceneDraftDocument,
|
||||
variables: { input },
|
||||
});
|
||||
|
||||
export const stashBoxSubmitPerformerDraft = (
|
||||
input: GQL.StashBoxDraftSubmissionInput
|
||||
) =>
|
||||
client.mutate<GQL.SubmitStashBoxPerformerDraftMutation>({
|
||||
mutation: GQL.SubmitStashBoxPerformerDraftDocument,
|
||||
variables: { input },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user