@legendsoflearning/lol-sdk-core 0.0.2
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/README.md +172 -0
- package/dist/auth/index.d.mts +1 -0
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.js +12 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/index.mjs +3 -0
- package/dist/auth/index.mjs.map +1 -0
- package/dist/cache/index.d.mts +26 -0
- package/dist/cache/index.d.ts +26 -0
- package/dist/cache/index.js +63 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/cache/index.mjs +60 -0
- package/dist/cache/index.mjs.map +1 -0
- package/dist/chunk-Q4UXELOU.mjs +284 -0
- package/dist/chunk-Q4UXELOU.mjs.map +1 -0
- package/dist/chunk-WWN77BBN.js +286 -0
- package/dist/chunk-WWN77BBN.js.map +1 -0
- package/dist/generated/admins/index.d.mts +2738 -0
- package/dist/generated/admins/index.d.ts +2738 -0
- package/dist/generated/admins/index.js +126 -0
- package/dist/generated/admins/index.js.map +1 -0
- package/dist/generated/admins/index.mjs +108 -0
- package/dist/generated/admins/index.mjs.map +1 -0
- package/dist/generated/agents/index.d.mts +1744 -0
- package/dist/generated/agents/index.d.ts +1744 -0
- package/dist/generated/agents/index.js +220 -0
- package/dist/generated/agents/index.js.map +1 -0
- package/dist/generated/agents/index.mjs +168 -0
- package/dist/generated/agents/index.mjs.map +1 -0
- package/dist/generated/developers/index.d.mts +748 -0
- package/dist/generated/developers/index.d.ts +748 -0
- package/dist/generated/developers/index.js +72 -0
- package/dist/generated/developers/index.js.map +1 -0
- package/dist/generated/developers/index.mjs +54 -0
- package/dist/generated/developers/index.mjs.map +1 -0
- package/dist/generated/parents/index.d.mts +2446 -0
- package/dist/generated/parents/index.d.ts +2446 -0
- package/dist/generated/parents/index.js +272 -0
- package/dist/generated/parents/index.js.map +1 -0
- package/dist/generated/parents/index.mjs +206 -0
- package/dist/generated/parents/index.mjs.map +1 -0
- package/dist/generated/play/index.d.mts +1740 -0
- package/dist/generated/play/index.d.ts +1740 -0
- package/dist/generated/play/index.js +173 -0
- package/dist/generated/play/index.js.map +1 -0
- package/dist/generated/play/index.mjs +139 -0
- package/dist/generated/play/index.mjs.map +1 -0
- package/dist/generated/public/index.d.mts +1126 -0
- package/dist/generated/public/index.d.ts +1126 -0
- package/dist/generated/public/index.js +58 -0
- package/dist/generated/public/index.js.map +1 -0
- package/dist/generated/public/index.mjs +46 -0
- package/dist/generated/public/index.mjs.map +1 -0
- package/dist/generated/teachers/index.d.mts +6205 -0
- package/dist/generated/teachers/index.d.ts +6205 -0
- package/dist/generated/teachers/index.js +353 -0
- package/dist/generated/teachers/index.js.map +1 -0
- package/dist/generated/teachers/index.mjs +282 -0
- package/dist/generated/teachers/index.mjs.map +1 -0
- package/dist/generated/translation-hub/index.d.mts +2018 -0
- package/dist/generated/translation-hub/index.d.ts +2018 -0
- package/dist/generated/translation-hub/index.js +186 -0
- package/dist/generated/translation-hub/index.js.map +1 -0
- package/dist/generated/translation-hub/index.mjs +135 -0
- package/dist/generated/translation-hub/index.mjs.map +1 -0
- package/dist/index-CYIBtoSV.d.mts +173 -0
- package/dist/index-CYIBtoSV.d.ts +173 -0
- package/dist/index.d.mts +154 -0
- package/dist/index.d.ts +154 -0
- package/dist/index.js +364 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +348 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +121 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/generated/translation-hub/fragment-masking.ts
|
|
4
|
+
function useFragment(_documentNode, fragmentType) {
|
|
5
|
+
return fragmentType;
|
|
6
|
+
}
|
|
7
|
+
function makeFragmentData(data, _fragment) {
|
|
8
|
+
return data;
|
|
9
|
+
}
|
|
10
|
+
function isFragmentReady(queryNode, fragmentNode, data) {
|
|
11
|
+
const deferredFields = queryNode.__meta__?.deferredFields;
|
|
12
|
+
if (!deferredFields) return true;
|
|
13
|
+
const fragDef = fragmentNode.definitions[0];
|
|
14
|
+
const fragName = fragDef?.name?.value;
|
|
15
|
+
const fields = fragName && deferredFields[fragName] || [];
|
|
16
|
+
return fields.length > 0 && fields.every((field) => data && field in data);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// src/generated/translation-hub/graphql.ts
|
|
20
|
+
var AssignmentPriority = /* @__PURE__ */ ((AssignmentPriority2) => {
|
|
21
|
+
AssignmentPriority2["High"] = "HIGH";
|
|
22
|
+
AssignmentPriority2["Low"] = "LOW";
|
|
23
|
+
AssignmentPriority2["Medium"] = "MEDIUM";
|
|
24
|
+
AssignmentPriority2["Urgent"] = "URGENT";
|
|
25
|
+
return AssignmentPriority2;
|
|
26
|
+
})(AssignmentPriority || {});
|
|
27
|
+
var TranslationReviewerStatus = /* @__PURE__ */ ((TranslationReviewerStatus2) => {
|
|
28
|
+
TranslationReviewerStatus2["Approved"] = "APPROVED";
|
|
29
|
+
TranslationReviewerStatus2["Pending"] = "PENDING";
|
|
30
|
+
TranslationReviewerStatus2["Rejected"] = "REJECTED";
|
|
31
|
+
TranslationReviewerStatus2["Suspended"] = "SUSPENDED";
|
|
32
|
+
return TranslationReviewerStatus2;
|
|
33
|
+
})(TranslationReviewerStatus || {});
|
|
34
|
+
var TranslationStatus = /* @__PURE__ */ ((TranslationStatus2) => {
|
|
35
|
+
TranslationStatus2["Completed"] = "COMPLETED";
|
|
36
|
+
TranslationStatus2["InProgress"] = "IN_PROGRESS";
|
|
37
|
+
TranslationStatus2["NeedsRevision"] = "NEEDS_REVISION";
|
|
38
|
+
TranslationStatus2["Pending"] = "PENDING";
|
|
39
|
+
return TranslationStatus2;
|
|
40
|
+
})(TranslationStatus || {});
|
|
41
|
+
var TranslationHubLoginDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "TranslationHubLogin" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "email" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "password" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "translationHubLogin" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "email" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "email" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "password" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "password" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "reviewer" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedLanguages" } }] } }] } }] } }] };
|
|
42
|
+
var TranslationHubSignupDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "TranslationHubSignup" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateTranslationReviewerInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "translationHubSignup" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "reviewer" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "languages" } }] } }] } }] } }] };
|
|
43
|
+
var TranslationHubLogoutDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "TranslationHubLogout" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "translationHubLogout" } }] } }] };
|
|
44
|
+
var SaveTranslationEntriesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SaveTranslationEntries" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SaveTranslationEntriesInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "saveTranslationEntries" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "success" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "translation" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedKeys" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedEntries" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "translatedText" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isApproved" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isEdited" } }, { "kind": "Field", "name": { "kind": "Name", "value": "reviewerNotes" } }] } }] } }] } }] };
|
|
45
|
+
var CompleteHubTranslationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CompleteHubTranslation" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "translationId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "completeHubTranslation" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "translationId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "translationId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }] } }] } }] };
|
|
46
|
+
var UseAiSuggestionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UseAiSuggestion" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "entryId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "useAiSuggestion" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "entryId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "entryId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "translatedText" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isApproved" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isEdited" } }] } }] } }] };
|
|
47
|
+
var ReviewTranslationReviewerDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ReviewTranslationReviewer" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ReviewReviewerInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "reviewTranslationReviewer" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedLanguages" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedById" } }] } }] } }] };
|
|
48
|
+
var SuspendTranslationReviewerDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SuspendTranslationReviewer" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "reviewerId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "reason" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "suspendTranslationReviewer" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "reviewerId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "reviewerId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "reason" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "reason" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }] } }] } }] };
|
|
49
|
+
var ReactivateTranslationReviewerDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ReactivateTranslationReviewer" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "reviewerId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "reactivateTranslationReviewer" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "reviewerId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "reviewerId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }] } }] } }] };
|
|
50
|
+
var ApproveReviewerLanguagesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ApproveReviewerLanguages" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "reviewerId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "languages" } }, "type": { "kind": "NonNullType", "type": { "kind": "ListType", "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "approveReviewerLanguages" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "reviewerId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "reviewerId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "languages" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "languages" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedLanguages" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedLanguageDetails" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }] } }] } }] };
|
|
51
|
+
var AssignHubTranslationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "AssignHubTranslation" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AssignTranslationInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "assignHubTranslation" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedToId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedReviewer" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedAt" } }] } }] } }] };
|
|
52
|
+
var ReassignHubTranslationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ReassignHubTranslation" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "translationId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "newReviewerId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "reassignHubTranslation" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "translationId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "translationId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "newReviewerId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "newReviewerId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedToId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedReviewer" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedAt" } }] } }] } }] };
|
|
53
|
+
var UnassignHubTranslationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UnassignHubTranslation" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "translationId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "unassignHubTranslation" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "translationId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "translationId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedToId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedAt" } }] } }] } }] };
|
|
54
|
+
var RequestTranslationRevisionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "RequestTranslationRevision" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "translationId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "reason" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "requestTranslationRevision" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "translationId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "translationId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "reason" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "reason" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }] } }] } }] };
|
|
55
|
+
var GenerateAiTranslationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GenerateAiTranslations" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "gameVersionId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "targetLanguages" } }, "type": { "kind": "NonNullType", "type": { "kind": "ListType", "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "generateAiTranslations" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "gameVersionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "gameVersionId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "targetLanguages" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "targetLanguages" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "aiGenerated" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalKeys" } }] } }] } }] };
|
|
56
|
+
var UpsertAiPromptDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpsertAiPrompt" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AiPromptInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "upsertAiPrompt" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "purpose" } }, { "kind": "Field", "name": { "kind": "Name", "value": "template" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variables" } }, { "kind": "Field", "name": { "kind": "Name", "value": "model" } }, { "kind": "Field", "name": { "kind": "Name", "value": "temperature" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isActive" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
57
|
+
var CreateAiPromptVersionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateAiPromptVersion" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AiPromptVersionInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createAiPromptVersion" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "promptId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }, { "kind": "Field", "name": { "kind": "Name", "value": "template" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variables" } }, { "kind": "Field", "name": { "kind": "Name", "value": "model" } }, { "kind": "Field", "name": { "kind": "Name", "value": "temperature" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "changeNote" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }] } }] } }] };
|
|
58
|
+
var SaveAiTranslationEntriesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SaveAiTranslationEntries" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SaveAiTranslationEntriesInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "saveAiTranslationEntries" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "success" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "translation" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "aiGenerated" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedEntries" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "translatedText" } }, { "kind": "Field", "name": { "kind": "Name", "value": "aiSuggestion" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isApproved" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isEdited" } }] } }] } }] } }] };
|
|
59
|
+
var GetMeDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetMe" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "me" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avatar" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "languages" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedLanguages" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bio" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedTranslations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "averageRating" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appliedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedAt" } }] } }] } }] };
|
|
60
|
+
var GetReviewerDashboardDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetReviewerDashboard" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "reviewerDashboard" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "reviewer" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avatar" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedLanguages" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "activeGameGroups" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "game" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameVersion" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "translations" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedKeys" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalProgress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedKeys" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "recentlyCompleted" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "game" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "translations" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "stats" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "assignedTranslations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedTranslations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "pendingReview" } }, { "kind": "Field", "name": { "kind": "Name", "value": "averageCompletionTime" } }, { "kind": "Field", "name": { "kind": "Name", "value": "activeGames" } }, { "kind": "Field", "name": { "kind": "Name", "value": "activeLanguages" } }] } }] } }] } }] };
|
|
61
|
+
var GetMyQueueDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetMyQueue" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "searchQuery" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "myQueue" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "searchQuery" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "searchQuery" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "game" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subject" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gradeLevel" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameVersion" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "translations" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguageDetails" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "nativeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedAt" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalProgress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "earliestAssignmentDate" } }] } }] } }] };
|
|
62
|
+
var GetMyStatsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetMyStats" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "myStats" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "assignedTranslations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedTranslations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "pendingReview" } }, { "kind": "Field", "name": { "kind": "Name", "value": "averageCompletionTime" } }, { "kind": "Field", "name": { "kind": "Name", "value": "activeGames" } }, { "kind": "Field", "name": { "kind": "Name", "value": "activeLanguages" } }] } }] } }] };
|
|
63
|
+
var GetTranslationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetTranslation" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "translation" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameVersionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "game" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "playUrl" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameVersion" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }, { "kind": "Field", "name": { "kind": "Name", "value": "translationKeys" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguageDetails" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "nativeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedToId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "aiGenerated" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalEntries" } }, { "kind": "Field", "name": { "kind": "Name", "value": "siblingTranslations" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguageDetails" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }] } }] } }] } }] };
|
|
64
|
+
var GetTranslationEntriesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetTranslationEntries" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "translationId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "pendingOnly" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "approvedOnly" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "translationEntries" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "translationId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "translationId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "offset" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "pendingOnly" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "pendingOnly" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "approvedOnly" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "approvedOnly" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "translationId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "key" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sourceText" } }, { "kind": "Field", "name": { "kind": "Name", "value": "translatedText" } }, { "kind": "Field", "name": { "kind": "Name", "value": "aiSuggestion" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isApproved" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isEdited" } }, { "kind": "Field", "name": { "kind": "Name", "value": "context" } }, { "kind": "Field", "name": { "kind": "Name", "value": "reviewerNotes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "order" } }, { "kind": "Field", "name": { "kind": "Name", "value": "audioFiles" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "speed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }] } }] } }] } }] };
|
|
65
|
+
var GetSiblingTranslationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetSiblingTranslations" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "translationId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "siblingTranslations" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "translationId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "translationId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguageDetails" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "nativeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedKeys" } }] } }] } }] };
|
|
66
|
+
var GetMyCompletedTranslationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetMyCompletedTranslations" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "myCompletedTranslations" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "game" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameVersion" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "translations" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }] } }] } }] } }] };
|
|
67
|
+
var GetTranslationHubAdminDashboardDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetTranslationHubAdminDashboard" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "translationHubAdminDashboard" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "stats" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pendingReviewers" } }, { "kind": "Field", "name": { "kind": "Name", "value": "activeReviewers" } }, { "kind": "Field", "name": { "kind": "Name", "value": "pendingTranslations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedThisMonth" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalGames" } }, { "kind": "Field", "name": { "kind": "Name", "value": "languagesCovered" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalPendingStrings" } }, { "kind": "Field", "name": { "kind": "Name", "value": "averageCompletionDays" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pendingReviewers" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "languages" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bio" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appliedAt" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "activeTranslations" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "game" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedReviewer" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "recentGames" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }] } }] } }] } }] };
|
|
68
|
+
var GetTranslationHubAdminStatsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetTranslationHubAdminStats" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "translationHubAdminStats" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pendingReviewers" } }, { "kind": "Field", "name": { "kind": "Name", "value": "activeReviewers" } }, { "kind": "Field", "name": { "kind": "Name", "value": "pendingTranslations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedThisMonth" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalGames" } }, { "kind": "Field", "name": { "kind": "Name", "value": "languagesCovered" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalPendingStrings" } }, { "kind": "Field", "name": { "kind": "Name", "value": "averageCompletionDays" } }] } }] } }] };
|
|
69
|
+
var GetTranslationReviewersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetTranslationReviewers" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ReviewerFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "translationReviewers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "offset" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avatar" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "languages" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedLanguages" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bio" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedTranslations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "averageRating" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appliedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedAt" } }] } }] } }] };
|
|
70
|
+
var GetTranslationReviewerDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetTranslationReviewer" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "translationReviewer" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "avatar" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "languages" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedLanguages" } }, { "kind": "Field", "name": { "kind": "Name", "value": "languageDetails" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "nativeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedLanguageDetails" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "nativeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "bio" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedTranslations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "averageRating" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appliedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedById" } }, { "kind": "Field", "name": { "kind": "Name", "value": "translations" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "activeOnly" }, "value": { "kind": "BooleanValue", "value": true } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "game" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }] } }] } }] } }] };
|
|
71
|
+
var GetPendingTranslationReviewersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetPendingTranslationReviewers" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "pendingTranslationReviewers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "languages" } }, { "kind": "Field", "name": { "kind": "Name", "value": "languageDetails" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "nativeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "bio" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appliedAt" } }] } }] } }] };
|
|
72
|
+
var GetEligibleReviewersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetEligibleReviewers" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "languageCode" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "eligibleReviewers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "languageCode" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "languageCode" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "approvedLanguages" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedTranslations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "averageRating" } }] } }] } }] };
|
|
73
|
+
var GetHubTranslationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetHubTranslations" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TranslationFilterInput" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hubTranslations" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "filter" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "filter" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "offset" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "game" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "gameVersion" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguageDetails" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedToId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedReviewer" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "aiGenerated" } }] } }] } }] };
|
|
74
|
+
var GetUnassignedTranslationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetUnassignedTranslations" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "languageCode" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "unassignedTranslations" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "languageCode" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "languageCode" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "game" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguageDetails" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "aiGenerated" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }] } }] } }] };
|
|
75
|
+
var GetActiveHubTranslationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetActiveHubTranslations" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "activeHubTranslations" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "game" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedReviewer" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedAt" } }] } }] } }] };
|
|
76
|
+
var GetHubGamesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetHubGames" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "searchQuery" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hubGames" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "offset" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "searchQuery" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "searchQuery" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subject" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gradeLevel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentVersion" } }, { "kind": "Field", "name": { "kind": "Name", "value": "developer" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "companyName" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "translations" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }] } }] } }] } }] };
|
|
77
|
+
var GetRecentHubGamesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetRecentHubGames" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "recentHubGames" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentVersion" } }] } }] } }] };
|
|
78
|
+
var GetHubGameDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetHubGame" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hubGame" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subject" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gradeLevel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentVersion" } }, { "kind": "Field", "name": { "kind": "Name", "value": "developer" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "companyName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "translations" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targetLanguageDetails" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "progress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "assignedReviewer" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "aiGenerated" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "playUrl" } }] } }] } }] };
|
|
79
|
+
var GetSupportedLanguagesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetSupportedLanguages" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "supportedLanguages" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "nativeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }] } }] };
|
|
80
|
+
var GetTranslationLanguageDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetTranslationLanguage" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "code" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "translationLanguage" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "code" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "code" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "nativeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flag" } }] } }] } }] };
|
|
81
|
+
var GetAiPromptsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAiPrompts" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "purpose" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "activeOnly" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "aiPrompts" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "purpose" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "purpose" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "activeOnly" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "activeOnly" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "purpose" } }, { "kind": "Field", "name": { "kind": "Name", "value": "template" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variables" } }, { "kind": "Field", "name": { "kind": "Name", "value": "model" } }, { "kind": "Field", "name": { "kind": "Name", "value": "temperature" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isActive" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
82
|
+
var GetAiPromptDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAiPrompt" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "aiPrompt" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "id" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "purpose" } }, { "kind": "Field", "name": { "kind": "Name", "value": "template" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variables" } }, { "kind": "Field", "name": { "kind": "Name", "value": "model" } }, { "kind": "Field", "name": { "kind": "Name", "value": "temperature" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isActive" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "versions" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }, { "kind": "Field", "name": { "kind": "Name", "value": "template" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variables" } }, { "kind": "Field", "name": { "kind": "Name", "value": "model" } }, { "kind": "Field", "name": { "kind": "Name", "value": "temperature" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "changeNote" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }] } }] } }] } }] };
|
|
83
|
+
var GetAiPromptVersionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetAiPromptVersions" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "promptId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "aiPromptVersions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "promptId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "promptId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "promptId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }, { "kind": "Field", "name": { "kind": "Name", "value": "template" } }, { "kind": "Field", "name": { "kind": "Name", "value": "variables" } }, { "kind": "Field", "name": { "kind": "Name", "value": "model" } }, { "kind": "Field", "name": { "kind": "Name", "value": "temperature" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxTokens" } }, { "kind": "Field", "name": { "kind": "Name", "value": "changeNote" } }, { "kind": "Field", "name": { "kind": "Name", "value": "insertedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
84
|
+
|
|
85
|
+
// src/generated/translation-hub/gql.ts
|
|
86
|
+
var documents = {
|
|
87
|
+
"\n mutation TranslationHubLogin($email: String!, $password: String!) {\n translationHubLogin(email: $email, password: $password) {\n token\n reviewer {\n id\n email\n name\n status\n approvedLanguages\n }\n }\n }\n": TranslationHubLoginDocument,
|
|
88
|
+
"\n mutation TranslationHubSignup($input: CreateTranslationReviewerInput!) {\n translationHubSignup(input: $input) {\n token\n reviewer {\n id\n email\n name\n status\n languages\n }\n }\n }\n": TranslationHubSignupDocument,
|
|
89
|
+
"\n mutation TranslationHubLogout {\n translationHubLogout\n }\n": TranslationHubLogoutDocument,
|
|
90
|
+
"\n mutation SaveTranslationEntries($input: SaveTranslationEntriesInput!) {\n saveTranslationEntries(input: $input) {\n success\n updatedCount\n translation {\n id\n status\n progress\n completedKeys\n }\n updatedEntries {\n id\n translatedText\n isApproved\n isEdited\n reviewerNotes\n }\n }\n }\n": SaveTranslationEntriesDocument,
|
|
91
|
+
"\n mutation CompleteHubTranslation($translationId: ID!) {\n completeHubTranslation(translationId: $translationId) {\n id\n status\n progress\n completedAt\n }\n }\n": CompleteHubTranslationDocument,
|
|
92
|
+
"\n mutation UseAiSuggestion($entryId: ID!) {\n useAiSuggestion(entryId: $entryId) {\n id\n translatedText\n isApproved\n isEdited\n }\n }\n": UseAiSuggestionDocument,
|
|
93
|
+
"\n mutation ReviewTranslationReviewer($input: ReviewReviewerInput!) {\n reviewTranslationReviewer(input: $input) {\n id\n status\n approvedLanguages\n approvedAt\n approvedById\n }\n }\n": ReviewTranslationReviewerDocument,
|
|
94
|
+
"\n mutation SuspendTranslationReviewer($reviewerId: ID!, $reason: String) {\n suspendTranslationReviewer(reviewerId: $reviewerId, reason: $reason) {\n id\n status\n }\n }\n": SuspendTranslationReviewerDocument,
|
|
95
|
+
"\n mutation ReactivateTranslationReviewer($reviewerId: ID!) {\n reactivateTranslationReviewer(reviewerId: $reviewerId) {\n id\n status\n }\n }\n": ReactivateTranslationReviewerDocument,
|
|
96
|
+
"\n mutation ApproveReviewerLanguages($reviewerId: ID!, $languages: [String!]!) {\n approveReviewerLanguages(reviewerId: $reviewerId, languages: $languages) {\n id\n approvedLanguages\n approvedLanguageDetails {\n code\n name\n flag\n }\n }\n }\n": ApproveReviewerLanguagesDocument,
|
|
97
|
+
"\n mutation AssignHubTranslation($input: AssignTranslationInput!) {\n assignHubTranslation(input: $input) {\n id\n status\n assignedToId\n assignedReviewer {\n id\n name\n }\n assignedAt\n }\n }\n": AssignHubTranslationDocument,
|
|
98
|
+
"\n mutation ReassignHubTranslation($translationId: ID!, $newReviewerId: ID!) {\n reassignHubTranslation(translationId: $translationId, newReviewerId: $newReviewerId) {\n id\n assignedToId\n assignedReviewer {\n id\n name\n }\n assignedAt\n }\n }\n": ReassignHubTranslationDocument,
|
|
99
|
+
"\n mutation UnassignHubTranslation($translationId: ID!) {\n unassignHubTranslation(translationId: $translationId) {\n id\n status\n assignedToId\n assignedAt\n }\n }\n": UnassignHubTranslationDocument,
|
|
100
|
+
"\n mutation RequestTranslationRevision($translationId: ID!, $reason: String!) {\n requestTranslationRevision(translationId: $translationId, reason: $reason) {\n id\n status\n }\n }\n": RequestTranslationRevisionDocument,
|
|
101
|
+
"\n mutation GenerateAiTranslations($gameVersionId: ID!, $targetLanguages: [String!]!) {\n generateAiTranslations(gameVersionId: $gameVersionId, targetLanguages: $targetLanguages) {\n id\n targetLanguage\n status\n aiGenerated\n totalKeys\n }\n }\n": GenerateAiTranslationsDocument,
|
|
102
|
+
"\n mutation UpsertAiPrompt($input: AiPromptInput!) {\n upsertAiPrompt(input: $input) {\n id\n name\n description\n purpose\n template\n variables\n model\n temperature\n maxTokens\n isActive\n insertedAt\n updatedAt\n }\n }\n": UpsertAiPromptDocument,
|
|
103
|
+
"\n mutation CreateAiPromptVersion($input: AiPromptVersionInput!) {\n createAiPromptVersion(input: $input) {\n id\n promptId\n version\n template\n variables\n model\n temperature\n maxTokens\n changeNote\n insertedAt\n }\n }\n": CreateAiPromptVersionDocument,
|
|
104
|
+
"\n mutation SaveAiTranslationEntries($input: SaveAiTranslationEntriesInput!) {\n saveAiTranslationEntries(input: $input) {\n success\n updatedCount\n translation {\n id\n status\n progress\n completedKeys\n aiGenerated\n }\n updatedEntries {\n id\n translatedText\n aiSuggestion\n isApproved\n isEdited\n }\n }\n }\n": SaveAiTranslationEntriesDocument,
|
|
105
|
+
"\n query GetMe {\n me {\n id\n email\n name\n avatar\n status\n languages\n approvedLanguages\n bio\n completedTranslations\n averageRating\n appliedAt\n approvedAt\n }\n }\n": GetMeDocument,
|
|
106
|
+
"\n query GetReviewerDashboard {\n reviewerDashboard {\n reviewer {\n id\n name\n email\n avatar\n status\n approvedLanguages\n }\n activeGameGroups {\n gameId\n game {\n id\n title\n thumbnailUrl\n }\n gameVersion {\n id\n version\n }\n translations {\n id\n targetLanguage\n status\n progress\n totalKeys\n completedKeys\n }\n totalProgress\n totalKeys\n completedKeys\n }\n recentlyCompleted {\n gameId\n game {\n id\n title\n }\n translations {\n id\n targetLanguage\n completedAt\n }\n }\n stats {\n assignedTranslations\n completedTranslations\n pendingReview\n averageCompletionTime\n activeGames\n activeLanguages\n }\n }\n }\n": GetReviewerDashboardDocument,
|
|
107
|
+
"\n query GetMyQueue($searchQuery: String) {\n myQueue(searchQuery: $searchQuery) {\n gameId\n game {\n id\n title\n thumbnailUrl\n subject\n gradeLevel\n }\n gameVersion {\n id\n version\n }\n translations {\n id\n targetLanguage\n targetLanguageDetails {\n code\n name\n nativeName\n flag\n }\n status\n progress\n totalKeys\n completedKeys\n assignedAt\n }\n totalProgress\n totalKeys\n completedKeys\n earliestAssignmentDate\n }\n }\n": GetMyQueueDocument,
|
|
108
|
+
"\n query GetMyStats {\n myStats {\n assignedTranslations\n completedTranslations\n pendingReview\n averageCompletionTime\n activeGames\n activeLanguages\n }\n }\n": GetMyStatsDocument,
|
|
109
|
+
"\n query GetTranslation($id: ID!) {\n translation(id: $id) {\n id\n gameVersionId\n game {\n id\n title\n thumbnailUrl\n playUrl\n }\n gameVersion {\n id\n version\n translationKeys\n }\n targetLanguage\n targetLanguageDetails {\n code\n name\n nativeName\n flag\n }\n status\n progress\n totalKeys\n completedKeys\n assignedToId\n assignedAt\n completedAt\n aiGenerated\n totalEntries\n siblingTranslations {\n id\n targetLanguage\n targetLanguageDetails {\n code\n name\n flag\n }\n status\n progress\n }\n }\n }\n": GetTranslationDocument,
|
|
110
|
+
"\n query GetTranslationEntries(\n $translationId: ID!\n $limit: Int\n $offset: Int\n $pendingOnly: Boolean\n $approvedOnly: Boolean\n ) {\n translationEntries(\n translationId: $translationId\n limit: $limit\n offset: $offset\n pendingOnly: $pendingOnly\n approvedOnly: $approvedOnly\n ) {\n id\n translationId\n key\n sourceText\n translatedText\n aiSuggestion\n isApproved\n isEdited\n context\n reviewerNotes\n order\n audioFiles {\n id\n speed\n url\n }\n }\n }\n": GetTranslationEntriesDocument,
|
|
111
|
+
"\n query GetSiblingTranslations($translationId: ID!) {\n siblingTranslations(translationId: $translationId) {\n id\n targetLanguage\n targetLanguageDetails {\n code\n name\n nativeName\n flag\n }\n status\n progress\n totalKeys\n completedKeys\n }\n }\n": GetSiblingTranslationsDocument,
|
|
112
|
+
"\n query GetMyCompletedTranslations($limit: Int) {\n myCompletedTranslations(limit: $limit) {\n gameId\n game {\n id\n title\n thumbnailUrl\n }\n gameVersion {\n id\n version\n }\n translations {\n id\n targetLanguage\n completedAt\n }\n }\n }\n": GetMyCompletedTranslationsDocument,
|
|
113
|
+
"\n query GetTranslationHubAdminDashboard {\n translationHubAdminDashboard {\n stats {\n pendingReviewers\n activeReviewers\n pendingTranslations\n completedThisMonth\n totalGames\n languagesCovered\n totalPendingStrings\n averageCompletionDays\n }\n pendingReviewers {\n id\n name\n email\n languages\n bio\n appliedAt\n }\n activeTranslations {\n id\n game {\n id\n title\n }\n targetLanguage\n status\n progress\n assignedReviewer {\n id\n name\n }\n }\n recentGames {\n id\n title\n thumbnailUrl\n }\n }\n }\n": GetTranslationHubAdminDashboardDocument,
|
|
114
|
+
"\n query GetTranslationHubAdminStats {\n translationHubAdminStats {\n pendingReviewers\n activeReviewers\n pendingTranslations\n completedThisMonth\n totalGames\n languagesCovered\n totalPendingStrings\n averageCompletionDays\n }\n }\n": GetTranslationHubAdminStatsDocument,
|
|
115
|
+
"\n query GetTranslationReviewers(\n $filter: ReviewerFilterInput\n $limit: Int\n $offset: Int\n ) {\n translationReviewers(filter: $filter, limit: $limit, offset: $offset) {\n id\n email\n name\n avatar\n status\n languages\n approvedLanguages\n bio\n completedTranslations\n averageRating\n appliedAt\n approvedAt\n }\n }\n": GetTranslationReviewersDocument,
|
|
116
|
+
"\n query GetTranslationReviewer($id: ID!) {\n translationReviewer(id: $id) {\n id\n email\n name\n avatar\n status\n languages\n approvedLanguages\n languageDetails {\n code\n name\n nativeName\n flag\n }\n approvedLanguageDetails {\n code\n name\n nativeName\n flag\n }\n bio\n completedTranslations\n averageRating\n appliedAt\n approvedAt\n approvedById\n translations(activeOnly: true) {\n id\n game {\n id\n title\n }\n targetLanguage\n status\n progress\n }\n }\n }\n": GetTranslationReviewerDocument,
|
|
117
|
+
"\n query GetPendingTranslationReviewers($limit: Int) {\n pendingTranslationReviewers(limit: $limit) {\n id\n email\n name\n languages\n languageDetails {\n code\n name\n nativeName\n flag\n }\n bio\n appliedAt\n }\n }\n": GetPendingTranslationReviewersDocument,
|
|
118
|
+
"\n query GetEligibleReviewers($languageCode: String!) {\n eligibleReviewers(languageCode: $languageCode) {\n id\n name\n email\n approvedLanguages\n completedTranslations\n averageRating\n }\n }\n": GetEligibleReviewersDocument,
|
|
119
|
+
"\n query GetHubTranslations(\n $filter: TranslationFilterInput\n $limit: Int\n $offset: Int\n ) {\n hubTranslations(filter: $filter, limit: $limit, offset: $offset) {\n id\n game {\n id\n title\n thumbnailUrl\n }\n gameVersion {\n id\n version\n }\n targetLanguage\n targetLanguageDetails {\n code\n name\n flag\n }\n status\n progress\n totalKeys\n completedKeys\n assignedToId\n assignedReviewer {\n id\n name\n }\n assignedAt\n completedAt\n aiGenerated\n }\n }\n": GetHubTranslationsDocument,
|
|
120
|
+
"\n query GetUnassignedTranslations($languageCode: String) {\n unassignedTranslations(languageCode: $languageCode) {\n id\n game {\n id\n title\n thumbnailUrl\n }\n targetLanguage\n targetLanguageDetails {\n code\n name\n flag\n }\n totalKeys\n aiGenerated\n insertedAt\n }\n }\n": GetUnassignedTranslationsDocument,
|
|
121
|
+
"\n query GetActiveHubTranslations($limit: Int) {\n activeHubTranslations(limit: $limit) {\n id\n game {\n id\n title\n }\n targetLanguage\n status\n progress\n assignedReviewer {\n id\n name\n }\n assignedAt\n }\n }\n": GetActiveHubTranslationsDocument,
|
|
122
|
+
"\n query GetHubGames($limit: Int, $offset: Int, $searchQuery: String) {\n hubGames(limit: $limit, offset: $offset, searchQuery: $searchQuery) {\n id\n title\n description\n thumbnailUrl\n subject\n gradeLevel\n currentVersion\n developer {\n id\n name\n companyName\n }\n translations {\n id\n targetLanguage\n status\n progress\n }\n }\n }\n": GetHubGamesDocument,
|
|
123
|
+
"\n query GetRecentHubGames($limit: Int) {\n recentHubGames(limit: $limit) {\n id\n title\n thumbnailUrl\n currentVersion\n }\n }\n": GetRecentHubGamesDocument,
|
|
124
|
+
"\n query GetHubGame($id: ID!) {\n hubGame(id: $id) {\n id\n title\n description\n thumbnailUrl\n subject\n gradeLevel\n currentVersion\n developer {\n id\n name\n companyName\n email\n }\n translations {\n id\n targetLanguage\n targetLanguageDetails {\n code\n name\n flag\n }\n status\n progress\n totalKeys\n completedKeys\n assignedReviewer {\n id\n name\n }\n aiGenerated\n }\n playUrl\n }\n }\n": GetHubGameDocument,
|
|
125
|
+
"\n query GetSupportedLanguages {\n supportedLanguages {\n code\n name\n nativeName\n flag\n }\n }\n": GetSupportedLanguagesDocument,
|
|
126
|
+
"\n query GetTranslationLanguage($code: String!) {\n translationLanguage(code: $code) {\n code\n name\n nativeName\n flag\n }\n }\n": GetTranslationLanguageDocument,
|
|
127
|
+
"\n query GetAiPrompts($purpose: String, $activeOnly: Boolean) {\n aiPrompts(purpose: $purpose, activeOnly: $activeOnly) {\n id\n name\n description\n purpose\n template\n variables\n model\n temperature\n maxTokens\n isActive\n insertedAt\n updatedAt\n }\n }\n": GetAiPromptsDocument,
|
|
128
|
+
"\n query GetAiPrompt($id: ID!) {\n aiPrompt(id: $id) {\n id\n name\n description\n purpose\n template\n variables\n model\n temperature\n maxTokens\n isActive\n insertedAt\n updatedAt\n versions {\n id\n version\n template\n variables\n model\n temperature\n maxTokens\n changeNote\n insertedAt\n }\n }\n }\n": GetAiPromptDocument,
|
|
129
|
+
"\n query GetAiPromptVersions($promptId: ID!) {\n aiPromptVersions(promptId: $promptId) {\n id\n promptId\n version\n template\n variables\n model\n temperature\n maxTokens\n changeNote\n insertedAt\n updatedAt\n }\n }\n": GetAiPromptVersionsDocument
|
|
130
|
+
};
|
|
131
|
+
function graphql(source) {
|
|
132
|
+
return documents[source] ?? {};
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
exports.ApproveReviewerLanguagesDocument = ApproveReviewerLanguagesDocument;
|
|
136
|
+
exports.AssignHubTranslationDocument = AssignHubTranslationDocument;
|
|
137
|
+
exports.AssignmentPriority = AssignmentPriority;
|
|
138
|
+
exports.CompleteHubTranslationDocument = CompleteHubTranslationDocument;
|
|
139
|
+
exports.CreateAiPromptVersionDocument = CreateAiPromptVersionDocument;
|
|
140
|
+
exports.GenerateAiTranslationsDocument = GenerateAiTranslationsDocument;
|
|
141
|
+
exports.GetActiveHubTranslationsDocument = GetActiveHubTranslationsDocument;
|
|
142
|
+
exports.GetAiPromptDocument = GetAiPromptDocument;
|
|
143
|
+
exports.GetAiPromptVersionsDocument = GetAiPromptVersionsDocument;
|
|
144
|
+
exports.GetAiPromptsDocument = GetAiPromptsDocument;
|
|
145
|
+
exports.GetEligibleReviewersDocument = GetEligibleReviewersDocument;
|
|
146
|
+
exports.GetHubGameDocument = GetHubGameDocument;
|
|
147
|
+
exports.GetHubGamesDocument = GetHubGamesDocument;
|
|
148
|
+
exports.GetHubTranslationsDocument = GetHubTranslationsDocument;
|
|
149
|
+
exports.GetMeDocument = GetMeDocument;
|
|
150
|
+
exports.GetMyCompletedTranslationsDocument = GetMyCompletedTranslationsDocument;
|
|
151
|
+
exports.GetMyQueueDocument = GetMyQueueDocument;
|
|
152
|
+
exports.GetMyStatsDocument = GetMyStatsDocument;
|
|
153
|
+
exports.GetPendingTranslationReviewersDocument = GetPendingTranslationReviewersDocument;
|
|
154
|
+
exports.GetRecentHubGamesDocument = GetRecentHubGamesDocument;
|
|
155
|
+
exports.GetReviewerDashboardDocument = GetReviewerDashboardDocument;
|
|
156
|
+
exports.GetSiblingTranslationsDocument = GetSiblingTranslationsDocument;
|
|
157
|
+
exports.GetSupportedLanguagesDocument = GetSupportedLanguagesDocument;
|
|
158
|
+
exports.GetTranslationDocument = GetTranslationDocument;
|
|
159
|
+
exports.GetTranslationEntriesDocument = GetTranslationEntriesDocument;
|
|
160
|
+
exports.GetTranslationHubAdminDashboardDocument = GetTranslationHubAdminDashboardDocument;
|
|
161
|
+
exports.GetTranslationHubAdminStatsDocument = GetTranslationHubAdminStatsDocument;
|
|
162
|
+
exports.GetTranslationLanguageDocument = GetTranslationLanguageDocument;
|
|
163
|
+
exports.GetTranslationReviewerDocument = GetTranslationReviewerDocument;
|
|
164
|
+
exports.GetTranslationReviewersDocument = GetTranslationReviewersDocument;
|
|
165
|
+
exports.GetUnassignedTranslationsDocument = GetUnassignedTranslationsDocument;
|
|
166
|
+
exports.ReactivateTranslationReviewerDocument = ReactivateTranslationReviewerDocument;
|
|
167
|
+
exports.ReassignHubTranslationDocument = ReassignHubTranslationDocument;
|
|
168
|
+
exports.RequestTranslationRevisionDocument = RequestTranslationRevisionDocument;
|
|
169
|
+
exports.ReviewTranslationReviewerDocument = ReviewTranslationReviewerDocument;
|
|
170
|
+
exports.SaveAiTranslationEntriesDocument = SaveAiTranslationEntriesDocument;
|
|
171
|
+
exports.SaveTranslationEntriesDocument = SaveTranslationEntriesDocument;
|
|
172
|
+
exports.SuspendTranslationReviewerDocument = SuspendTranslationReviewerDocument;
|
|
173
|
+
exports.TranslationHubLoginDocument = TranslationHubLoginDocument;
|
|
174
|
+
exports.TranslationHubLogoutDocument = TranslationHubLogoutDocument;
|
|
175
|
+
exports.TranslationHubSignupDocument = TranslationHubSignupDocument;
|
|
176
|
+
exports.TranslationReviewerStatus = TranslationReviewerStatus;
|
|
177
|
+
exports.TranslationStatus = TranslationStatus;
|
|
178
|
+
exports.UnassignHubTranslationDocument = UnassignHubTranslationDocument;
|
|
179
|
+
exports.UpsertAiPromptDocument = UpsertAiPromptDocument;
|
|
180
|
+
exports.UseAiSuggestionDocument = UseAiSuggestionDocument;
|
|
181
|
+
exports.graphql = graphql;
|
|
182
|
+
exports.isFragmentReady = isFragmentReady;
|
|
183
|
+
exports.makeFragmentData = makeFragmentData;
|
|
184
|
+
exports.useFragment = useFragment;
|
|
185
|
+
//# sourceMappingURL=index.js.map
|
|
186
|
+
//# sourceMappingURL=index.js.map
|