@dxs-ts/eveli-ide 0.0.44 → 0.0.45

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 +7737 -7741
  3. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -970,6 +970,108 @@ declare namespace HdesClient {
970
970
  }
971
971
 
972
972
 
973
+ declare namespace WrenchComposerApi {
974
+ interface Nav {
975
+ value?: string | null;
976
+ }
977
+ interface TabData {
978
+ nav?: Nav;
979
+ withNav(nav: Nav): TabData;
980
+ }
981
+ interface Tab extends BurgerApi.TabSession<TabData> {
982
+ }
983
+ interface DebugSession {
984
+ error?: HdesApi.StoreError;
985
+ debug?: HdesApi.DebugResponse;
986
+ csv?: string;
987
+ json?: string;
988
+ selected: HdesApi.EntityId;
989
+ inputType: DebugInputType;
990
+ }
991
+ type DebugInputType = "CSV" | "JSON";
992
+ interface DebugSessions {
993
+ selected?: HdesApi.EntityId;
994
+ values: Record<HdesApi.EntityId, DebugSession>;
995
+ }
996
+ interface PageUpdate {
997
+ saved: boolean;
998
+ origin: HdesApi.Entity<any>;
999
+ value: HdesApi.AstCommand[];
1000
+ withValue(value: HdesApi.AstCommand[]): PageUpdate;
1001
+ }
1002
+ interface Session {
1003
+ site: HdesApi.Site;
1004
+ pages: Record<HdesApi.EntityId, PageUpdate>;
1005
+ debug: DebugSessions;
1006
+ branchName?: string;
1007
+ getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
1008
+ getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
1009
+ getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
1010
+ getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
1011
+ withDebug(page: DebugSession): Session;
1012
+ withPage(page: HdesApi.EntityId): Session;
1013
+ withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
1014
+ withoutPages(pages: HdesApi.EntityId[]): Session;
1015
+ withBranch(branchName?: string): Session;
1016
+ withSite(site: HdesApi.Site): Session;
1017
+ }
1018
+ interface Actions {
1019
+ handleLoad(): Promise<void>;
1020
+ handleLoadSite(site?: HdesApi.Site): Promise<void>;
1021
+ handleDebugUpdate(debug: DebugSession): void;
1022
+ handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
1023
+ handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
1024
+ handleBranchUpdate(branchName?: string): void;
1025
+ }
1026
+ interface ContextType {
1027
+ session: Session;
1028
+ actions: Actions;
1029
+ service: HdesApi.Service;
1030
+ }
1031
+ }
1032
+
1033
+
1034
+ declare namespace WrenchComposerApi {
1035
+ class ImmutableTabData implements TabData {
1036
+ private _nav;
1037
+ constructor(props: {
1038
+ nav: Nav;
1039
+ });
1040
+ get nav(): Nav;
1041
+ withNav(nav: Nav): ImmutableTabData;
1042
+ }
1043
+ const createTab: (props: {
1044
+ nav: Nav;
1045
+ page?: HdesApi.Entity<any>;
1046
+ }) => ImmutableTabData;
1047
+ const ComposerContext: React.Context<ContextType>;
1048
+ const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
1049
+ const useComposer: () => {
1050
+ session: Session;
1051
+ service: HdesApi.Service;
1052
+ actions: Actions;
1053
+ site: HdesApi.Site;
1054
+ isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
1055
+ };
1056
+ const useSite: () => HdesApi.Site;
1057
+ const useBranchName: () => string | undefined;
1058
+ const useSession: () => Session;
1059
+ const useNav: () => {
1060
+ handleInTab: (props: {
1061
+ article: HdesApi.Entity<any>;
1062
+ }) => void;
1063
+ findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
1064
+ };
1065
+ const useDebug: () => {
1066
+ handleDebugInit: (selected: HdesApi.EntityId) => void;
1067
+ };
1068
+ const Provider: React.FC<{
1069
+ children: React.ReactNode;
1070
+ service: HdesApi.Service;
1071
+ }>;
1072
+ }
1073
+
1074
+
973
1075
  declare namespace StencilComposerApi {
974
1076
  interface SearchData {
975
1077
  values: readonly SearchDataEntry[];
@@ -1127,108 +1229,6 @@ declare namespace StencilComposerApi {
1127
1229
  }>;
1128
1230
  }
1129
1231
 
1130
-
1131
- declare namespace WrenchComposerApi {
1132
- interface Nav {
1133
- value?: string | null;
1134
- }
1135
- interface TabData {
1136
- nav?: Nav;
1137
- withNav(nav: Nav): TabData;
1138
- }
1139
- interface Tab extends BurgerApi.TabSession<TabData> {
1140
- }
1141
- interface DebugSession {
1142
- error?: HdesApi.StoreError;
1143
- debug?: HdesApi.DebugResponse;
1144
- csv?: string;
1145
- json?: string;
1146
- selected: HdesApi.EntityId;
1147
- inputType: DebugInputType;
1148
- }
1149
- type DebugInputType = "CSV" | "JSON";
1150
- interface DebugSessions {
1151
- selected?: HdesApi.EntityId;
1152
- values: Record<HdesApi.EntityId, DebugSession>;
1153
- }
1154
- interface PageUpdate {
1155
- saved: boolean;
1156
- origin: HdesApi.Entity<any>;
1157
- value: HdesApi.AstCommand[];
1158
- withValue(value: HdesApi.AstCommand[]): PageUpdate;
1159
- }
1160
- interface Session {
1161
- site: HdesApi.Site;
1162
- pages: Record<HdesApi.EntityId, PageUpdate>;
1163
- debug: DebugSessions;
1164
- branchName?: string;
1165
- getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
1166
- getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
1167
- getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
1168
- getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
1169
- withDebug(page: DebugSession): Session;
1170
- withPage(page: HdesApi.EntityId): Session;
1171
- withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
1172
- withoutPages(pages: HdesApi.EntityId[]): Session;
1173
- withBranch(branchName?: string): Session;
1174
- withSite(site: HdesApi.Site): Session;
1175
- }
1176
- interface Actions {
1177
- handleLoad(): Promise<void>;
1178
- handleLoadSite(site?: HdesApi.Site): Promise<void>;
1179
- handleDebugUpdate(debug: DebugSession): void;
1180
- handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
1181
- handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
1182
- handleBranchUpdate(branchName?: string): void;
1183
- }
1184
- interface ContextType {
1185
- session: Session;
1186
- actions: Actions;
1187
- service: HdesApi.Service;
1188
- }
1189
- }
1190
-
1191
-
1192
- declare namespace WrenchComposerApi {
1193
- class ImmutableTabData implements TabData {
1194
- private _nav;
1195
- constructor(props: {
1196
- nav: Nav;
1197
- });
1198
- get nav(): Nav;
1199
- withNav(nav: Nav): ImmutableTabData;
1200
- }
1201
- const createTab: (props: {
1202
- nav: Nav;
1203
- page?: HdesApi.Entity<any>;
1204
- }) => ImmutableTabData;
1205
- const ComposerContext: React.Context<ContextType>;
1206
- const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
1207
- const useComposer: () => {
1208
- session: Session;
1209
- service: HdesApi.Service;
1210
- actions: Actions;
1211
- site: HdesApi.Site;
1212
- isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
1213
- };
1214
- const useSite: () => HdesApi.Site;
1215
- const useBranchName: () => string | undefined;
1216
- const useSession: () => Session;
1217
- const useNav: () => {
1218
- handleInTab: (props: {
1219
- article: HdesApi.Entity<any>;
1220
- }) => void;
1221
- findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
1222
- };
1223
- const useDebug: () => {
1224
- handleDebugInit: (selected: HdesApi.EntityId) => void;
1225
- };
1226
- const Provider: React.FC<{
1227
- children: React.ReactNode;
1228
- service: HdesApi.Service;
1229
- }>;
1230
- }
1231
-
1232
1232
  declare namespace Decision {
1233
1233
  const Table: import("react").FC<{
1234
1234
  ast: import("../../client").HdesApi.AstDecision;