gt-tanstack-start 11.1.5 → 11.1.6
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/CHANGELOG.md +10 -0
- package/dist/index.client.d.mts +16 -1
- package/dist/index.client.d.mts.map +1 -1
- package/dist/index.server.d.mts +16 -1
- package/dist/index.server.d.mts.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# gt-tanstack-start
|
|
2
2
|
|
|
3
|
+
## 11.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b00b93e`](https://github.com/generaltranslation/gt/commit/b00b93eb3b830b8528ef3dbd5f503ff76d1b338a)]:
|
|
8
|
+
- generaltranslation@9.1.2
|
|
9
|
+
- gt-i18n@1.0.12
|
|
10
|
+
- @generaltranslation/react-core@11.1.6
|
|
11
|
+
- gt-react@11.1.6
|
|
12
|
+
|
|
3
13
|
## 11.1.5
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.client.d.mts
CHANGED
|
@@ -48,7 +48,7 @@ type LocaleProperties = {
|
|
|
48
48
|
}; //#endregion
|
|
49
49
|
//#region src/locales/getRegionProperties.d.ts
|
|
50
50
|
//#endregion
|
|
51
|
-
//#region ../core/dist/types-
|
|
51
|
+
//#region ../core/dist/types-DI9Puvx3.d.cts
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region src/types-dir/config.d.ts
|
|
54
54
|
/**
|
|
@@ -106,6 +106,21 @@ type GTConfig = {
|
|
|
106
106
|
runtimeUrl?: string | null;
|
|
107
107
|
modelProvider?: string;
|
|
108
108
|
_disableDevHotReload?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Opt-in id-tagging — **off by default**. When true, each `<T>`'s translation
|
|
111
|
+
* hash is exposed on the DOM as a `data-_gt-hash` attribute so tooling
|
|
112
|
+
* (localized replay, in-context QA) can map a rendered node back to its
|
|
113
|
+
* published translation. No effect on `gt()` string translations; DOM-only
|
|
114
|
+
* (skipped on React Native).
|
|
115
|
+
*
|
|
116
|
+
* ⚠️ Read before enabling — this injects markup. To carry the attribute, GT
|
|
117
|
+
* puts it directly on the element a `<T>` renders when there is one, but a `<T>`
|
|
118
|
+
* that renders bare text or a fragment has no element to hold it, so its output
|
|
119
|
+
* is wrapped in a layout-neutral `display:contents` `<span>`. Enabling this
|
|
120
|
+
* therefore adds `<span>`s around text/fragment `<T>`s — which is why it is not
|
|
121
|
+
* on by default. It is never enabled implicitly.
|
|
122
|
+
*/
|
|
123
|
+
_tagIds?: boolean;
|
|
109
124
|
files?: GTFilesConfig;
|
|
110
125
|
}; //#endregion
|
|
111
126
|
//#region src/types-dir/api/json.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.client.d.mts","names":["CustomMapping","LocaleProperties","Partial","Record","code","name","nativeName","languageCode","languageName","nativeLanguageName","nameWithRegionCode","nativeNameWithRegionCode","regionCode","regionName","nativeRegionName","scriptCode","scriptName","nativeScriptName","maximizedCode","maximizedName","nativeMaximizedName","minimizedCode","minimizedName","nativeMinimizedName","emoji","CustomRegionMapping","region","locale","getRegionProperties","defaultLocale","customMapping","CutoffFormatStyle","TerminatorOptions","terminator","separator","CutoffFormatOptions","maxChars","style","VariableType","Variable","k","i","v","HTML_CONTENT_PROPS","pl","ti","alt","arl","arb","ard","HtmlContentPropKeysRecord","HtmlContentPropValuesRecord","GTProp","JsxChildren","b","t","JsxElement","d","c","JsxChild","StringFormat","DataFormat","StringContent","IcuMessage","StringMessage","I18nextMessage","Content","FormatVariables","Date","S","_","a","f","g","h","l","m","n","o","p","r","s","u","x","y","Content","CustomMapping","CustomMapping$1","CustomRegionMapping","CustomRegionMapping$1","CutoffFormatOptions","CutoffFormatOptions$1","DataFormat","DataFormat$1","FormatVariables","FormatVariables$1","GTProp","HTML_CONTENT_PROPS","HtmlContentPropKeysRecord","HtmlContentPropValuesRecord","I18nextMessage","I18nextMessage$1","IcuMessage","IcuMessage$1","JsxChild","JsxChildren","JsxChildren$1","JsxElement","LocaleProperties","LocaleProperties$1","StringContent","StringFormat","StringFormat$1","StringMessage","StringMessage$1","Variable","VariableType","ActionType","EntryMetadata","id","hash","context","maxChars","dataFormat","actionType","RuntimeTranslateManyOptions","sourceLocale","modelProvider","key","TranslateOptions","targetLocale","TranslateManyEntry","source","metadata","HashMetadata","requiresReview","GTParsingFlags","autoderive","jsx","strings","includeSourceCodeContext","enableAutoJsxInjection","legacyGtReactImportSource","devHotReload","GTOutputFileConfig","output","publish","parsingFlags","GTFilesConfig","gt","fileType","GTConfig","defaultLocale","locales","customMapping","enableI18n","localeRouting","projectId","devApiKey","apiKey","_versionId","_branchId","cacheUrl","cacheExpiryTime","runtimeUrl","_disableDevHotReload","files","JsonPrimitive","JsonValue","JsonObject","CheckFileTranslationsOptions","timeout","FileQuery","fileId","branchId","versionId","FileQueryResult","sourceFile","fileName","fileFormat","createdAt","updatedAt","translations","locale","completedAt","approvedAt","publishedAt","UpdateMetadata","staticId","format","filePaths","sourceCode","contextDeriveExpr","_contextDeriveExpr","Updates","EnqueueFilesResult","jobData","jobId","sourceFileId","force","message","FileFormat","BINARY_FILE_FORMATS","ReadonlySet","isBinaryFileFormat","FormatMetadata","FileToUpload","FileReference","Omit","content","transformFormat","formatMetadata","incomingBranchId","checkedOutBranchId","FileReferenceIds","DownloadFileBatchRequest","useLatestAvailableVersion","DownloadFileBatchOptions","DownloadedFile","data","DownloadFileBatchResult","count","EnqueueFilesOptions","targetLocales","CreateTagFileReference","CreateTagOptions","tagId","CreateTagResult","tag","SetupProjectFileReference","Pick","SetupProjectResult","setupJobId","status","SetupProjectOptions","timeoutMs","GTJsonFormatMetadata","Record","domain","requestVersion","approved_at","approved_by","FileUpload","UploadFilesOptions","UploadFilesResponse","uploadedFiles","PublishFileEntry","PublishFilesResult","results","success","error","DownloadFileOptions","TranslationResultReference","TypedResult","translation","TranslationError","code","RequestSuccess","TranslationResult","TranslateManyResult","BranchDataResult","branches","name","defaultBranch","BranchQuery","branchNames","FileDataQuery","sourceFiles","translatedFiles","FileDataResult","OrphanedFile","GetOrphanedFilesResult","orphanedFiles","MoveMapping","oldFileId","newFileId","newFileName","MoveResult","newSourceFileId","clonedTranslationsCount","ProcessMovesResponse","summary","total","succeeded","failed","ProcessMovesOptions","JobStatus","CheckJobStatusResult","AwaitJobsOptions","pollingIntervalSeconds","timeoutSeconds","JobResult","AwaitJobsResult","complete","jobs","SubmitUserEditDiff","diff","localContent","SubmitUserEditDiffsPayload","diffs","Transformation","BaseTransformation","InjectionType","TransformationPrefix","VariableTransformationSuffix","Metadata","TranslationRequestConfig","baseUrl","$","A","At","B","C","Ct","D","Dt","E","Et","F","G","H","I","J","K","L","M","Mt","N","Nt","O","Ot","P","Pt","Q","R","S","St","T","Tt","U","V","W","X","Y","Z","_","_t","a","at","b","bt","c","ct","d","dt","et","f","ft","g","h","ht","i","it","j","jt","k","kt","l","lt","m","mt","n","nt","o","ot","p","pt","q","r","rt","s","st","t","tt","u","ut","v","vt","w","wt","x","xt","y","yt","z"],"sources":["../src/functions/parseLocale.ts","../src/middleware/gtMiddleware.ts","../../format/dist/types-COaQnqVZ.d.cts","../../core/dist/types-
|
|
1
|
+
{"version":3,"file":"index.client.d.mts","names":["CustomMapping","LocaleProperties","Partial","Record","code","name","nativeName","languageCode","languageName","nativeLanguageName","nameWithRegionCode","nativeNameWithRegionCode","regionCode","regionName","nativeRegionName","scriptCode","scriptName","nativeScriptName","maximizedCode","maximizedName","nativeMaximizedName","minimizedCode","minimizedName","nativeMinimizedName","emoji","CustomRegionMapping","region","locale","getRegionProperties","defaultLocale","customMapping","CutoffFormatStyle","TerminatorOptions","terminator","separator","CutoffFormatOptions","maxChars","style","VariableType","Variable","k","i","v","HTML_CONTENT_PROPS","pl","ti","alt","arl","arb","ard","HtmlContentPropKeysRecord","HtmlContentPropValuesRecord","GTProp","JsxChildren","b","t","JsxElement","d","c","JsxChild","StringFormat","DataFormat","StringContent","IcuMessage","StringMessage","I18nextMessage","Content","FormatVariables","Date","S","_","a","f","g","h","l","m","n","o","p","r","s","u","x","y","Content","CustomMapping","CustomMapping$1","CustomRegionMapping","CustomRegionMapping$1","CutoffFormatOptions","CutoffFormatOptions$1","DataFormat","DataFormat$1","FormatVariables","FormatVariables$1","GTProp","HTML_CONTENT_PROPS","HtmlContentPropKeysRecord","HtmlContentPropValuesRecord","I18nextMessage","I18nextMessage$1","IcuMessage","IcuMessage$1","JsxChild","JsxChildren","JsxChildren$1","JsxElement","LocaleProperties","LocaleProperties$1","StringContent","StringFormat","StringFormat$1","StringMessage","StringMessage$1","Variable","VariableType","ActionType","EntryMetadata","id","hash","context","maxChars","dataFormat","actionType","RuntimeTranslateManyOptions","sourceLocale","modelProvider","key","TranslateOptions","targetLocale","TranslateManyEntry","source","metadata","HashMetadata","requiresReview","GTParsingFlags","autoderive","jsx","strings","includeSourceCodeContext","enableAutoJsxInjection","legacyGtReactImportSource","devHotReload","GTOutputFileConfig","output","publish","parsingFlags","GTFilesConfig","gt","fileType","GTConfig","defaultLocale","locales","customMapping","enableI18n","localeRouting","projectId","devApiKey","apiKey","_versionId","_branchId","cacheUrl","cacheExpiryTime","runtimeUrl","_disableDevHotReload","_tagIds","files","JsonPrimitive","JsonValue","JsonObject","CheckFileTranslationsOptions","timeout","FileQuery","fileId","branchId","versionId","FileQueryResult","sourceFile","fileName","fileFormat","createdAt","updatedAt","translations","locale","completedAt","approvedAt","publishedAt","UpdateMetadata","staticId","format","filePaths","sourceCode","contextDeriveExpr","_contextDeriveExpr","Updates","EnqueueFilesResult","jobData","jobId","sourceFileId","force","message","FileFormat","BINARY_FILE_FORMATS","ReadonlySet","isBinaryFileFormat","FormatMetadata","FileToUpload","FileReference","Omit","content","transformFormat","formatMetadata","incomingBranchId","checkedOutBranchId","FileReferenceIds","DownloadFileBatchRequest","useLatestAvailableVersion","DownloadFileBatchOptions","DownloadedFile","data","DownloadFileBatchResult","count","EnqueueFilesOptions","targetLocales","CreateTagFileReference","CreateTagOptions","tagId","CreateTagResult","tag","SetupProjectFileReference","Pick","SetupProjectResult","setupJobId","status","SetupProjectOptions","timeoutMs","GTJsonFormatMetadata","Record","domain","requestVersion","approved_at","approved_by","FileUpload","UploadFilesOptions","UploadFilesResponse","uploadedFiles","PublishFileEntry","PublishFilesResult","results","success","error","DownloadFileOptions","TranslationResultReference","TypedResult","translation","TranslationError","code","RequestSuccess","TranslationResult","TranslateManyResult","BranchDataResult","branches","name","defaultBranch","BranchQuery","branchNames","FileDataQuery","sourceFiles","translatedFiles","FileDataResult","OrphanedFile","GetOrphanedFilesResult","orphanedFiles","MoveMapping","oldFileId","newFileId","newFileName","MoveResult","newSourceFileId","clonedTranslationsCount","ProcessMovesResponse","summary","total","succeeded","failed","ProcessMovesOptions","JobStatus","CheckJobStatusResult","AwaitJobsOptions","pollingIntervalSeconds","timeoutSeconds","JobResult","AwaitJobsResult","complete","jobs","SubmitUserEditDiff","diff","localContent","SubmitUserEditDiffsPayload","diffs","Transformation","BaseTransformation","InjectionType","TransformationPrefix","VariableTransformationSuffix","Metadata","TranslationRequestConfig","baseUrl","$","A","At","B","C","Ct","D","Dt","E","Et","F","G","H","I","J","K","L","M","Mt","N","Nt","O","Ot","P","Pt","Q","R","S","St","T","Tt","U","V","W","X","Y","Z","_","_t","a","at","b","bt","c","ct","d","dt","et","f","ft","g","h","ht","i","it","j","jt","k","kt","l","lt","m","mt","n","nt","o","ot","p","pt","q","r","rt","s","st","t","tt","u","ut","v","vt","w","wt","x","xt","y","yt","z"],"sources":["../src/functions/parseLocale.ts","../src/middleware/gtMiddleware.ts","../../format/dist/types-COaQnqVZ.d.cts","../../core/dist/types-DI9Puvx3.d.cts","../src/types/InitializeGTParams.ts","../src/functions/runtime.ts","../src/setup/initializeGT.client.ts"],"mappings":";;;;;;;;;AAuBA;;;iBAAgB,WAAA,CAAA;;;;;;;cCbH,YAAA,EAAc,4BAAA;;;;KCTtBA,aAAAA,GAAgBG,MAAAA,kBAAwBD,OAAAA,CAAQD,gBAAAA;AAAAA;AAAAA,KAGhDA,gBAAAA;EACHG,IAAAA;EACAC,IAAAA;EACAC,UAAAA;EACAC,YAAAA;EACAC,YAAAA;EACAC,kBAAAA;EACAC,kBAAAA;EACAC,wBAAAA;EACAC,UAAAA;EACAC,UAAAA;EACAC,gBAAAA;EACAC,UAAAA;EACAC,UAAAA;EACAC,gBAAAA;EACAC,aAAAA;EACAC,aAAAA;EACAC,mBAAAA;EACAC,aAAAA;EACAC,aAAAA;EACAC,mBAAAA;EACAC,KAAAA;AAAAA;AAAAA;;;;;;;;;KCoCGgH,cAAAA;EACHC,UAAAA;IACEC,GAAAA;IACAC,OAAAA;EAAAA;EAEFC,wBAAAA;EACAC,sBAAAA;EACAC,yBAAAA;EACAC,YAAAA;IACEJ,OAAAA;IACAD,GAAAA;EAAAA;AAAAA;;KAICM,kBAAAA;EACHC,MAAAA;EACAC,OAAAA;EACAC,YAAAA,GAAeX,cAAAA,EAPV;EAQLI,wBAAAA;AAAAA;;;;;KAMGQ,aAAAA;EACHC,EAAAA,GAAKL,kBAAAA;EAAAA,CACJM,QAAAA;AAAAA;;;AARuB;;;;;KAiBrBC,QAAAA;EACHC,aAAAA;EACAC,OAAAA;EACAC,aAAAA,GAAgBpE,aAAAA;EAChBqE,UAAAA,YAJW;EAKXC,aAAAA;EACAC,SAAAA;EACAC,SAAAA;EACAC,MAAAA;EACAC,UAAAA;EACAC,SAAAA;EACAC,QAAAA;EACAC,eAAAA;EACAC,UAAAA;EACArC,aAAAA;EACAsC,oBAAAA;EAPAN;;;;;;;;;;;;;;EAsBAO,OAAAA;EACAC,KAAAA,GAAQnB,aAAAA;AAAAA;AAAAA;;;KCzHL,2BAAA,GAA8B,UAAA,QAC1B,mCAAA;AAAA,KAGG,kBAAA,GAAqB,UAAA,QAAkB,cAAA,OACjD,IAAA,CAAK,2BAAA,eACL,IAAA,CAAK,QAAA;;;;cCIM,SAAA;;cAKA,aAAA;;cAKA,KAAA,GAAQ,QAAA,GAAW,OAAA,OAAc,OAAA,CAAQ,cAAA;;cAwBzC,WAAA,QAAmB,OAAA,CAAQ,aAAA;;cAiB3B,eAAA,GAAkB,MAAA,cAAoB,OAAA,CAAQ,aAAA;;;;iBC1D3C,YAAA,CAAa,MAAA,EAAQ,kBAAA"}
|
package/dist/index.server.d.mts
CHANGED
|
@@ -48,7 +48,7 @@ type LocaleProperties = {
|
|
|
48
48
|
}; //#endregion
|
|
49
49
|
//#region src/locales/getRegionProperties.d.ts
|
|
50
50
|
//#endregion
|
|
51
|
-
//#region ../core/dist/types-
|
|
51
|
+
//#region ../core/dist/types-DI9Puvx3.d.cts
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region src/types-dir/config.d.ts
|
|
54
54
|
/**
|
|
@@ -106,6 +106,21 @@ type GTConfig = {
|
|
|
106
106
|
runtimeUrl?: string | null;
|
|
107
107
|
modelProvider?: string;
|
|
108
108
|
_disableDevHotReload?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Opt-in id-tagging — **off by default**. When true, each `<T>`'s translation
|
|
111
|
+
* hash is exposed on the DOM as a `data-_gt-hash` attribute so tooling
|
|
112
|
+
* (localized replay, in-context QA) can map a rendered node back to its
|
|
113
|
+
* published translation. No effect on `gt()` string translations; DOM-only
|
|
114
|
+
* (skipped on React Native).
|
|
115
|
+
*
|
|
116
|
+
* ⚠️ Read before enabling — this injects markup. To carry the attribute, GT
|
|
117
|
+
* puts it directly on the element a `<T>` renders when there is one, but a `<T>`
|
|
118
|
+
* that renders bare text or a fragment has no element to hold it, so its output
|
|
119
|
+
* is wrapped in a layout-neutral `display:contents` `<span>`. Enabling this
|
|
120
|
+
* therefore adds `<span>`s around text/fragment `<T>`s — which is why it is not
|
|
121
|
+
* on by default. It is never enabled implicitly.
|
|
122
|
+
*/
|
|
123
|
+
_tagIds?: boolean;
|
|
109
124
|
files?: GTFilesConfig;
|
|
110
125
|
}; //#endregion
|
|
111
126
|
//#region src/types-dir/api/json.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.server.d.mts","names":["CustomMapping","LocaleProperties","Partial","Record","code","name","nativeName","languageCode","languageName","nativeLanguageName","nameWithRegionCode","nativeNameWithRegionCode","regionCode","regionName","nativeRegionName","scriptCode","scriptName","nativeScriptName","maximizedCode","maximizedName","nativeMaximizedName","minimizedCode","minimizedName","nativeMinimizedName","emoji","CustomRegionMapping","region","locale","getRegionProperties","defaultLocale","customMapping","CutoffFormatStyle","TerminatorOptions","terminator","separator","CutoffFormatOptions","maxChars","style","VariableType","Variable","k","i","v","HTML_CONTENT_PROPS","pl","ti","alt","arl","arb","ard","HtmlContentPropKeysRecord","HtmlContentPropValuesRecord","GTProp","JsxChildren","b","t","JsxElement","d","c","JsxChild","StringFormat","DataFormat","StringContent","IcuMessage","StringMessage","I18nextMessage","Content","FormatVariables","Date","S","_","a","f","g","h","l","m","n","o","p","r","s","u","x","y","Content","CustomMapping","CustomMapping$1","CustomRegionMapping","CustomRegionMapping$1","CutoffFormatOptions","CutoffFormatOptions$1","DataFormat","DataFormat$1","FormatVariables","FormatVariables$1","GTProp","HTML_CONTENT_PROPS","HtmlContentPropKeysRecord","HtmlContentPropValuesRecord","I18nextMessage","I18nextMessage$1","IcuMessage","IcuMessage$1","JsxChild","JsxChildren","JsxChildren$1","JsxElement","LocaleProperties","LocaleProperties$1","StringContent","StringFormat","StringFormat$1","StringMessage","StringMessage$1","Variable","VariableType","ActionType","EntryMetadata","id","hash","context","maxChars","dataFormat","actionType","RuntimeTranslateManyOptions","sourceLocale","modelProvider","key","TranslateOptions","targetLocale","TranslateManyEntry","source","metadata","HashMetadata","requiresReview","GTParsingFlags","autoderive","jsx","strings","includeSourceCodeContext","enableAutoJsxInjection","legacyGtReactImportSource","devHotReload","GTOutputFileConfig","output","publish","parsingFlags","GTFilesConfig","gt","fileType","GTConfig","defaultLocale","locales","customMapping","enableI18n","localeRouting","projectId","devApiKey","apiKey","_versionId","_branchId","cacheUrl","cacheExpiryTime","runtimeUrl","_disableDevHotReload","files","JsonPrimitive","JsonValue","JsonObject","CheckFileTranslationsOptions","timeout","FileQuery","fileId","branchId","versionId","FileQueryResult","sourceFile","fileName","fileFormat","createdAt","updatedAt","translations","locale","completedAt","approvedAt","publishedAt","UpdateMetadata","staticId","format","filePaths","sourceCode","contextDeriveExpr","_contextDeriveExpr","Updates","EnqueueFilesResult","jobData","jobId","sourceFileId","force","message","FileFormat","BINARY_FILE_FORMATS","ReadonlySet","isBinaryFileFormat","FormatMetadata","FileToUpload","FileReference","Omit","content","transformFormat","formatMetadata","incomingBranchId","checkedOutBranchId","FileReferenceIds","DownloadFileBatchRequest","useLatestAvailableVersion","DownloadFileBatchOptions","DownloadedFile","data","DownloadFileBatchResult","count","EnqueueFilesOptions","targetLocales","CreateTagFileReference","CreateTagOptions","tagId","CreateTagResult","tag","SetupProjectFileReference","Pick","SetupProjectResult","setupJobId","status","SetupProjectOptions","timeoutMs","GTJsonFormatMetadata","Record","domain","requestVersion","approved_at","approved_by","FileUpload","UploadFilesOptions","UploadFilesResponse","uploadedFiles","PublishFileEntry","PublishFilesResult","results","success","error","DownloadFileOptions","TranslationResultReference","TypedResult","translation","TranslationError","code","RequestSuccess","TranslationResult","TranslateManyResult","BranchDataResult","branches","name","defaultBranch","BranchQuery","branchNames","FileDataQuery","sourceFiles","translatedFiles","FileDataResult","OrphanedFile","GetOrphanedFilesResult","orphanedFiles","MoveMapping","oldFileId","newFileId","newFileName","MoveResult","newSourceFileId","clonedTranslationsCount","ProcessMovesResponse","summary","total","succeeded","failed","ProcessMovesOptions","JobStatus","CheckJobStatusResult","AwaitJobsOptions","pollingIntervalSeconds","timeoutSeconds","JobResult","AwaitJobsResult","complete","jobs","SubmitUserEditDiff","diff","localContent","SubmitUserEditDiffsPayload","diffs","Transformation","BaseTransformation","InjectionType","TransformationPrefix","VariableTransformationSuffix","Metadata","TranslationRequestConfig","baseUrl","$","A","At","B","C","Ct","D","Dt","E","Et","F","G","H","I","J","K","L","M","Mt","N","Nt","O","Ot","P","Pt","Q","R","S","St","T","Tt","U","V","W","X","Y","Z","_","_t","a","at","b","bt","c","ct","d","dt","et","f","ft","g","h","ht","i","it","j","jt","k","kt","l","lt","m","mt","n","nt","o","ot","p","pt","q","r","rt","s","st","t","tt","u","ut","v","vt","w","wt","x","xt","y","yt","z"],"sources":["../src/functions/parseLocale.ts","../src/middleware/gtMiddleware.ts","../../format/dist/types-COaQnqVZ.d.cts","../../core/dist/types-
|
|
1
|
+
{"version":3,"file":"index.server.d.mts","names":["CustomMapping","LocaleProperties","Partial","Record","code","name","nativeName","languageCode","languageName","nativeLanguageName","nameWithRegionCode","nativeNameWithRegionCode","regionCode","regionName","nativeRegionName","scriptCode","scriptName","nativeScriptName","maximizedCode","maximizedName","nativeMaximizedName","minimizedCode","minimizedName","nativeMinimizedName","emoji","CustomRegionMapping","region","locale","getRegionProperties","defaultLocale","customMapping","CutoffFormatStyle","TerminatorOptions","terminator","separator","CutoffFormatOptions","maxChars","style","VariableType","Variable","k","i","v","HTML_CONTENT_PROPS","pl","ti","alt","arl","arb","ard","HtmlContentPropKeysRecord","HtmlContentPropValuesRecord","GTProp","JsxChildren","b","t","JsxElement","d","c","JsxChild","StringFormat","DataFormat","StringContent","IcuMessage","StringMessage","I18nextMessage","Content","FormatVariables","Date","S","_","a","f","g","h","l","m","n","o","p","r","s","u","x","y","Content","CustomMapping","CustomMapping$1","CustomRegionMapping","CustomRegionMapping$1","CutoffFormatOptions","CutoffFormatOptions$1","DataFormat","DataFormat$1","FormatVariables","FormatVariables$1","GTProp","HTML_CONTENT_PROPS","HtmlContentPropKeysRecord","HtmlContentPropValuesRecord","I18nextMessage","I18nextMessage$1","IcuMessage","IcuMessage$1","JsxChild","JsxChildren","JsxChildren$1","JsxElement","LocaleProperties","LocaleProperties$1","StringContent","StringFormat","StringFormat$1","StringMessage","StringMessage$1","Variable","VariableType","ActionType","EntryMetadata","id","hash","context","maxChars","dataFormat","actionType","RuntimeTranslateManyOptions","sourceLocale","modelProvider","key","TranslateOptions","targetLocale","TranslateManyEntry","source","metadata","HashMetadata","requiresReview","GTParsingFlags","autoderive","jsx","strings","includeSourceCodeContext","enableAutoJsxInjection","legacyGtReactImportSource","devHotReload","GTOutputFileConfig","output","publish","parsingFlags","GTFilesConfig","gt","fileType","GTConfig","defaultLocale","locales","customMapping","enableI18n","localeRouting","projectId","devApiKey","apiKey","_versionId","_branchId","cacheUrl","cacheExpiryTime","runtimeUrl","_disableDevHotReload","_tagIds","files","JsonPrimitive","JsonValue","JsonObject","CheckFileTranslationsOptions","timeout","FileQuery","fileId","branchId","versionId","FileQueryResult","sourceFile","fileName","fileFormat","createdAt","updatedAt","translations","locale","completedAt","approvedAt","publishedAt","UpdateMetadata","staticId","format","filePaths","sourceCode","contextDeriveExpr","_contextDeriveExpr","Updates","EnqueueFilesResult","jobData","jobId","sourceFileId","force","message","FileFormat","BINARY_FILE_FORMATS","ReadonlySet","isBinaryFileFormat","FormatMetadata","FileToUpload","FileReference","Omit","content","transformFormat","formatMetadata","incomingBranchId","checkedOutBranchId","FileReferenceIds","DownloadFileBatchRequest","useLatestAvailableVersion","DownloadFileBatchOptions","DownloadedFile","data","DownloadFileBatchResult","count","EnqueueFilesOptions","targetLocales","CreateTagFileReference","CreateTagOptions","tagId","CreateTagResult","tag","SetupProjectFileReference","Pick","SetupProjectResult","setupJobId","status","SetupProjectOptions","timeoutMs","GTJsonFormatMetadata","Record","domain","requestVersion","approved_at","approved_by","FileUpload","UploadFilesOptions","UploadFilesResponse","uploadedFiles","PublishFileEntry","PublishFilesResult","results","success","error","DownloadFileOptions","TranslationResultReference","TypedResult","translation","TranslationError","code","RequestSuccess","TranslationResult","TranslateManyResult","BranchDataResult","branches","name","defaultBranch","BranchQuery","branchNames","FileDataQuery","sourceFiles","translatedFiles","FileDataResult","OrphanedFile","GetOrphanedFilesResult","orphanedFiles","MoveMapping","oldFileId","newFileId","newFileName","MoveResult","newSourceFileId","clonedTranslationsCount","ProcessMovesResponse","summary","total","succeeded","failed","ProcessMovesOptions","JobStatus","CheckJobStatusResult","AwaitJobsOptions","pollingIntervalSeconds","timeoutSeconds","JobResult","AwaitJobsResult","complete","jobs","SubmitUserEditDiff","diff","localContent","SubmitUserEditDiffsPayload","diffs","Transformation","BaseTransformation","InjectionType","TransformationPrefix","VariableTransformationSuffix","Metadata","TranslationRequestConfig","baseUrl","$","A","At","B","C","Ct","D","Dt","E","Et","F","G","H","I","J","K","L","M","Mt","N","Nt","O","Ot","P","Pt","Q","R","S","St","T","Tt","U","V","W","X","Y","Z","_","_t","a","at","b","bt","c","ct","d","dt","et","f","ft","g","h","ht","i","it","j","jt","k","kt","l","lt","m","mt","n","nt","o","ot","p","pt","q","r","rt","s","st","t","tt","u","ut","v","vt","w","wt","x","xt","y","yt","z"],"sources":["../src/functions/parseLocale.ts","../src/middleware/gtMiddleware.ts","../../format/dist/types-COaQnqVZ.d.cts","../../core/dist/types-DI9Puvx3.d.cts","../src/types/InitializeGTParams.ts","../src/functions/runtime.ts","../src/setup/initializeGT.server.ts"],"mappings":";;;;;;;;;AAuBA;;;iBAAgB,WAAA,CAAA;;;;;;;cCbH,YAAA,EAAc,4BAAA;;;;KCTtBA,aAAAA,GAAgBG,MAAAA,kBAAwBD,OAAAA,CAAQD,gBAAAA;AAAAA;AAAAA,KAGhDA,gBAAAA;EACHG,IAAAA;EACAC,IAAAA;EACAC,UAAAA;EACAC,YAAAA;EACAC,YAAAA;EACAC,kBAAAA;EACAC,kBAAAA;EACAC,wBAAAA;EACAC,UAAAA;EACAC,UAAAA;EACAC,gBAAAA;EACAC,UAAAA;EACAC,UAAAA;EACAC,gBAAAA;EACAC,aAAAA;EACAC,aAAAA;EACAC,mBAAAA;EACAC,aAAAA;EACAC,aAAAA;EACAC,mBAAAA;EACAC,KAAAA;AAAAA;AAAAA;;;;;;;;;KCoCGgH,cAAAA;EACHC,UAAAA;IACEC,GAAAA;IACAC,OAAAA;EAAAA;EAEFC,wBAAAA;EACAC,sBAAAA;EACAC,yBAAAA;EACAC,YAAAA;IACEJ,OAAAA;IACAD,GAAAA;EAAAA;AAAAA;;KAICM,kBAAAA;EACHC,MAAAA;EACAC,OAAAA;EACAC,YAAAA,GAAeX,cAAAA,EAPV;EAQLI,wBAAAA;AAAAA;;;;;KAMGQ,aAAAA;EACHC,EAAAA,GAAKL,kBAAAA;EAAAA,CACJM,QAAAA;AAAAA;;;AARuB;;;;;KAiBrBC,QAAAA;EACHC,aAAAA;EACAC,OAAAA;EACAC,aAAAA,GAAgBpE,aAAAA;EAChBqE,UAAAA,YAJW;EAKXC,aAAAA;EACAC,SAAAA;EACAC,SAAAA;EACAC,MAAAA;EACAC,UAAAA;EACAC,SAAAA;EACAC,QAAAA;EACAC,eAAAA;EACAC,UAAAA;EACArC,aAAAA;EACAsC,oBAAAA;EAPAN;;;;;;;;;;;;;;EAsBAO,OAAAA;EACAC,KAAAA,GAAQnB,aAAAA;AAAAA;AAAAA;;;KCzHL,2BAAA,GAA8B,UAAA,QAC1B,mCAAA;AAAA,KAGG,kBAAA,GAAqB,UAAA,QAAkB,cAAA,OACjD,IAAA,CAAK,2BAAA,eACL,IAAA,CAAK,QAAA;;;;cCIM,SAAA;;cAKA,aAAA;;cAKA,KAAA,GAAQ,QAAA,GAAW,OAAA,OAAc,OAAA,CAAQ,cAAA;;cAwBzC,WAAA,QAAmB,OAAA,CAAQ,aAAA;;cAiB3B,eAAA,GAAkB,MAAA,cAAoB,OAAA,CAAQ,aAAA;;;;iBC7D3C,YAAA,CAAa,MAAA,EAAQ,kBAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gt-tanstack-start",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.6",
|
|
4
4
|
"description": "TanStack Start integration for General Translation",
|
|
5
5
|
"main": "./dist/index.server.mjs",
|
|
6
6
|
"module": "./dist/index.server.mjs",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"@tanstack/react-start": ">=1.159.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"gt-react": "11.1.
|
|
20
|
-
"@generaltranslation/react-core": "11.1.
|
|
21
|
-
"gt-i18n": "1.0.
|
|
22
|
-
"generaltranslation": "9.1.
|
|
19
|
+
"gt-react": "11.1.6",
|
|
20
|
+
"@generaltranslation/react-core": "11.1.6",
|
|
21
|
+
"gt-i18n": "1.0.12",
|
|
22
|
+
"generaltranslation": "9.1.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|