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