@dxs-ts/eveli-ide 0.0.97 → 0.0.99

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.
Files changed (3) hide show
  1. package/build/index.d.ts +102 -102
  2. package/build/index.js +33785 -32412
  3. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -1016,6 +1016,108 @@ declare namespace HdesClient {
1016
1016
  }
1017
1017
 
1018
1018
 
1019
+ declare namespace WrenchComposerApi {
1020
+ interface Nav {
1021
+ value?: string | null;
1022
+ }
1023
+ interface TabData {
1024
+ nav?: Nav;
1025
+ withNav(nav: Nav): TabData;
1026
+ }
1027
+ interface Tab extends BurgerApi.TabSession<TabData> {
1028
+ }
1029
+ interface DebugSession {
1030
+ error?: HdesApi.StoreError;
1031
+ debug?: HdesApi.DebugResponse;
1032
+ csv?: string;
1033
+ json?: string;
1034
+ selected: HdesApi.EntityId;
1035
+ inputType: DebugInputType;
1036
+ }
1037
+ type DebugInputType = "CSV" | "JSON";
1038
+ interface DebugSessions {
1039
+ selected?: HdesApi.EntityId;
1040
+ values: Record<HdesApi.EntityId, DebugSession>;
1041
+ }
1042
+ interface PageUpdate {
1043
+ saved: boolean;
1044
+ origin: HdesApi.Entity<any>;
1045
+ value: HdesApi.AstCommand[];
1046
+ withValue(value: HdesApi.AstCommand[]): PageUpdate;
1047
+ }
1048
+ interface Session {
1049
+ site: HdesApi.Site;
1050
+ pages: Record<HdesApi.EntityId, PageUpdate>;
1051
+ debug: DebugSessions;
1052
+ branchName?: string;
1053
+ getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
1054
+ getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
1055
+ getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
1056
+ getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
1057
+ withDebug(page: DebugSession): Session;
1058
+ withPage(page: HdesApi.EntityId): Session;
1059
+ withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
1060
+ withoutPages(pages: HdesApi.EntityId[]): Session;
1061
+ withBranch(branchName?: string): Session;
1062
+ withSite(site: HdesApi.Site): Session;
1063
+ }
1064
+ interface Actions {
1065
+ handleLoad(): Promise<void>;
1066
+ handleLoadSite(site?: HdesApi.Site): Promise<void>;
1067
+ handleDebugUpdate(debug: DebugSession): void;
1068
+ handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
1069
+ handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
1070
+ handleBranchUpdate(branchName?: string): void;
1071
+ }
1072
+ interface ContextType {
1073
+ session: Session;
1074
+ actions: Actions;
1075
+ service: HdesApi.Service;
1076
+ }
1077
+ }
1078
+
1079
+
1080
+ declare namespace WrenchComposerApi {
1081
+ class ImmutableTabData implements TabData {
1082
+ private _nav;
1083
+ constructor(props: {
1084
+ nav: Nav;
1085
+ });
1086
+ get nav(): Nav;
1087
+ withNav(nav: Nav): ImmutableTabData;
1088
+ }
1089
+ const createTab: (props: {
1090
+ nav: Nav;
1091
+ page?: HdesApi.Entity<any>;
1092
+ }) => ImmutableTabData;
1093
+ const ComposerContext: React.Context<ContextType>;
1094
+ const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
1095
+ const useComposer: () => {
1096
+ session: Session;
1097
+ service: HdesApi.Service;
1098
+ actions: Actions;
1099
+ site: HdesApi.Site;
1100
+ isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
1101
+ };
1102
+ const useSite: () => HdesApi.Site;
1103
+ const useBranchName: () => string | undefined;
1104
+ const useSession: () => Session;
1105
+ const useNav: () => {
1106
+ handleInTab: (props: {
1107
+ article: HdesApi.Entity<any>;
1108
+ }) => void;
1109
+ findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
1110
+ };
1111
+ const useDebug: () => {
1112
+ handleDebugInit: (selected: HdesApi.EntityId) => void;
1113
+ };
1114
+ const Provider: React.FC<{
1115
+ children: React.ReactNode;
1116
+ service: HdesApi.Service;
1117
+ }>;
1118
+ }
1119
+
1120
+
1019
1121
  declare namespace StencilComposerApi {
1020
1122
  interface SearchData {
1021
1123
  values: readonly SearchDataEntry[];
@@ -1173,108 +1275,6 @@ declare namespace StencilComposerApi {
1173
1275
  }>;
1174
1276
  }
1175
1277
 
1176
-
1177
- declare namespace WrenchComposerApi {
1178
- interface Nav {
1179
- value?: string | null;
1180
- }
1181
- interface TabData {
1182
- nav?: Nav;
1183
- withNav(nav: Nav): TabData;
1184
- }
1185
- interface Tab extends BurgerApi.TabSession<TabData> {
1186
- }
1187
- interface DebugSession {
1188
- error?: HdesApi.StoreError;
1189
- debug?: HdesApi.DebugResponse;
1190
- csv?: string;
1191
- json?: string;
1192
- selected: HdesApi.EntityId;
1193
- inputType: DebugInputType;
1194
- }
1195
- type DebugInputType = "CSV" | "JSON";
1196
- interface DebugSessions {
1197
- selected?: HdesApi.EntityId;
1198
- values: Record<HdesApi.EntityId, DebugSession>;
1199
- }
1200
- interface PageUpdate {
1201
- saved: boolean;
1202
- origin: HdesApi.Entity<any>;
1203
- value: HdesApi.AstCommand[];
1204
- withValue(value: HdesApi.AstCommand[]): PageUpdate;
1205
- }
1206
- interface Session {
1207
- site: HdesApi.Site;
1208
- pages: Record<HdesApi.EntityId, PageUpdate>;
1209
- debug: DebugSessions;
1210
- branchName?: string;
1211
- getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
1212
- getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
1213
- getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
1214
- getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
1215
- withDebug(page: DebugSession): Session;
1216
- withPage(page: HdesApi.EntityId): Session;
1217
- withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
1218
- withoutPages(pages: HdesApi.EntityId[]): Session;
1219
- withBranch(branchName?: string): Session;
1220
- withSite(site: HdesApi.Site): Session;
1221
- }
1222
- interface Actions {
1223
- handleLoad(): Promise<void>;
1224
- handleLoadSite(site?: HdesApi.Site): Promise<void>;
1225
- handleDebugUpdate(debug: DebugSession): void;
1226
- handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
1227
- handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
1228
- handleBranchUpdate(branchName?: string): void;
1229
- }
1230
- interface ContextType {
1231
- session: Session;
1232
- actions: Actions;
1233
- service: HdesApi.Service;
1234
- }
1235
- }
1236
-
1237
-
1238
- declare namespace WrenchComposerApi {
1239
- class ImmutableTabData implements TabData {
1240
- private _nav;
1241
- constructor(props: {
1242
- nav: Nav;
1243
- });
1244
- get nav(): Nav;
1245
- withNav(nav: Nav): ImmutableTabData;
1246
- }
1247
- const createTab: (props: {
1248
- nav: Nav;
1249
- page?: HdesApi.Entity<any>;
1250
- }) => ImmutableTabData;
1251
- const ComposerContext: React.Context<ContextType>;
1252
- const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
1253
- const useComposer: () => {
1254
- session: Session;
1255
- service: HdesApi.Service;
1256
- actions: Actions;
1257
- site: HdesApi.Site;
1258
- isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
1259
- };
1260
- const useSite: () => HdesApi.Site;
1261
- const useBranchName: () => string | undefined;
1262
- const useSession: () => Session;
1263
- const useNav: () => {
1264
- handleInTab: (props: {
1265
- article: HdesApi.Entity<any>;
1266
- }) => void;
1267
- findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
1268
- };
1269
- const useDebug: () => {
1270
- handleDebugInit: (selected: HdesApi.EntityId) => void;
1271
- };
1272
- const Provider: React.FC<{
1273
- children: React.ReactNode;
1274
- service: HdesApi.Service;
1275
- }>;
1276
- }
1277
-
1278
1278
  declare namespace Decision {
1279
1279
  const Table: import("react").FC<{
1280
1280
  ast: import("../../client").HdesApi.AstDecision;