File tree Expand file tree Collapse file tree 1 file changed +35
-1
lines changed
Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Original file line number Diff line number Diff line change 1+ import { ReplexicaScopeHint } from "./compiler" ;
2+
13export type ReplexicaConfig = {
2- sourceLocale : string ;
4+ locale : {
5+ source : string ;
6+ targets : string [ ] ;
7+ } ;
38 debug ?: boolean ;
49} ;
510
@@ -10,3 +15,32 @@ export type ReplexicaLocaleData = {
1015 } ;
1116 } ;
1217} ;
18+
19+ export type ReplexicaData = {
20+ settings : ReplexicaSettingsData ;
21+ meta : ReplexicaMetaData ;
22+ } ;
23+
24+ export type ReplexicaMetaData = {
25+ files : ReplexicaMetaFileData ;
26+ scopes : ReplexicaMetaScopeData ;
27+ } ;
28+
29+ export type ReplexicaSettingsData = {
30+ locale : {
31+ source : string ;
32+ targets : string [ ] ;
33+ } ;
34+ } ;
35+
36+ export type ReplexicaMetaFileData = {
37+ [ fileId : string ] : {
38+ isClient : boolean ;
39+ } ;
40+ } ;
41+
42+ export type ReplexicaMetaScopeData = {
43+ [ scopeId : string ] : {
44+ hints : ReplexicaScopeHint [ ] ;
45+ } ;
46+ } ;
You can’t perform that action at this time.
0 commit comments