generaltranslation 7.5.0-alpha.0 → 7.6.0

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.
@@ -0,0 +1,8 @@
1
+ export type SetupJobStatus = 'queued' | 'processing' | 'completed' | 'failed';
2
+ export type CheckSetupStatusResult = {
3
+ jobId: string;
4
+ status: SetupJobStatus;
5
+ error?: {
6
+ message: string;
7
+ };
8
+ };
@@ -1 +1,9 @@
1
- export {};
1
+ export type EnqueueOptions = {
2
+ sourceLocale: string;
3
+ targetLocales: string[];
4
+ publish?: boolean;
5
+ requireApproval?: boolean;
6
+ modelProvider?: string;
7
+ force?: boolean;
8
+ timeout?: number;
9
+ };
@@ -0,0 +1,4 @@
1
+ export type SetupProjectResult = {
2
+ setupJobId: string;
3
+ status: 'queued';
4
+ };
@@ -0,0 +1,3 @@
1
+ export type ShouldSetupProjectResult = {
2
+ shouldSetupProject: boolean;
3
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -7,6 +7,13 @@ export type FileUpload = {
7
7
  dataFormat?: DataFormat;
8
8
  locale: string;
9
9
  };
10
+ export type FileUploadRef = {
11
+ fileId: string;
12
+ versionId: string;
13
+ fileName: string;
14
+ fileFormat: FileFormat;
15
+ dataFormat?: DataFormat;
16
+ };
10
17
  export type UploadData = {
11
18
  data: {
12
19
  source: FileUpload;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generaltranslation",
3
- "version": "7.5.0-alpha.0",
3
+ "version": "7.6.0",
4
4
  "description": "A language toolkit for AI developers",
5
5
  "main": "dist/index.cjs.min.cjs",
6
6
  "module": "dist/index.esm.min.mjs",