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