@dxs-ts/eveli-ide 0.0.89 → 0.0.91

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 +105 -102
  2. package/build/index.js +4570 -4545
  3. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -631,6 +631,7 @@ export declare namespace StencilApi {
631
631
  value: string;
632
632
  labels: LocaleLabel[];
633
633
  devMode?: boolean;
634
+ anon?: boolean;
634
635
  startDate?: string | undefined;
635
636
  endDate?: string | undefined;
636
637
  };
@@ -641,6 +642,7 @@ export declare namespace StencilApi {
641
642
  articles: ArticleId[] | undefined;
642
643
  labels: LocaleLabel[] | undefined;
643
644
  devMode: boolean | undefined;
645
+ anon: boolean | undefined;
644
646
  startDate?: string | undefined;
645
647
  endDate?: string | undefined;
646
648
  }
@@ -692,6 +694,7 @@ export declare namespace StencilApi {
692
694
  labels: LocaleLabel[];
693
695
  articles: ArticleId[];
694
696
  devMode: boolean | undefined;
697
+ anon: boolean | undefined;
695
698
  startDate?: string | undefined;
696
699
  endDate?: string | undefined;
697
700
  }
@@ -985,6 +988,108 @@ declare namespace HdesClient {
985
988
  }
986
989
 
987
990
 
991
+ declare namespace WrenchComposerApi {
992
+ interface Nav {
993
+ value?: string | null;
994
+ }
995
+ interface TabData {
996
+ nav?: Nav;
997
+ withNav(nav: Nav): TabData;
998
+ }
999
+ interface Tab extends BurgerApi.TabSession<TabData> {
1000
+ }
1001
+ interface DebugSession {
1002
+ error?: HdesApi.StoreError;
1003
+ debug?: HdesApi.DebugResponse;
1004
+ csv?: string;
1005
+ json?: string;
1006
+ selected: HdesApi.EntityId;
1007
+ inputType: DebugInputType;
1008
+ }
1009
+ type DebugInputType = "CSV" | "JSON";
1010
+ interface DebugSessions {
1011
+ selected?: HdesApi.EntityId;
1012
+ values: Record<HdesApi.EntityId, DebugSession>;
1013
+ }
1014
+ interface PageUpdate {
1015
+ saved: boolean;
1016
+ origin: HdesApi.Entity<any>;
1017
+ value: HdesApi.AstCommand[];
1018
+ withValue(value: HdesApi.AstCommand[]): PageUpdate;
1019
+ }
1020
+ interface Session {
1021
+ site: HdesApi.Site;
1022
+ pages: Record<HdesApi.EntityId, PageUpdate>;
1023
+ debug: DebugSessions;
1024
+ branchName?: string;
1025
+ getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
1026
+ getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
1027
+ getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
1028
+ getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
1029
+ withDebug(page: DebugSession): Session;
1030
+ withPage(page: HdesApi.EntityId): Session;
1031
+ withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
1032
+ withoutPages(pages: HdesApi.EntityId[]): Session;
1033
+ withBranch(branchName?: string): Session;
1034
+ withSite(site: HdesApi.Site): Session;
1035
+ }
1036
+ interface Actions {
1037
+ handleLoad(): Promise<void>;
1038
+ handleLoadSite(site?: HdesApi.Site): Promise<void>;
1039
+ handleDebugUpdate(debug: DebugSession): void;
1040
+ handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
1041
+ handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
1042
+ handleBranchUpdate(branchName?: string): void;
1043
+ }
1044
+ interface ContextType {
1045
+ session: Session;
1046
+ actions: Actions;
1047
+ service: HdesApi.Service;
1048
+ }
1049
+ }
1050
+
1051
+
1052
+ declare namespace WrenchComposerApi {
1053
+ class ImmutableTabData implements TabData {
1054
+ private _nav;
1055
+ constructor(props: {
1056
+ nav: Nav;
1057
+ });
1058
+ get nav(): Nav;
1059
+ withNav(nav: Nav): ImmutableTabData;
1060
+ }
1061
+ const createTab: (props: {
1062
+ nav: Nav;
1063
+ page?: HdesApi.Entity<any>;
1064
+ }) => ImmutableTabData;
1065
+ const ComposerContext: React.Context<ContextType>;
1066
+ const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
1067
+ const useComposer: () => {
1068
+ session: Session;
1069
+ service: HdesApi.Service;
1070
+ actions: Actions;
1071
+ site: HdesApi.Site;
1072
+ isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
1073
+ };
1074
+ const useSite: () => HdesApi.Site;
1075
+ const useBranchName: () => string | undefined;
1076
+ const useSession: () => Session;
1077
+ const useNav: () => {
1078
+ handleInTab: (props: {
1079
+ article: HdesApi.Entity<any>;
1080
+ }) => void;
1081
+ findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
1082
+ };
1083
+ const useDebug: () => {
1084
+ handleDebugInit: (selected: HdesApi.EntityId) => void;
1085
+ };
1086
+ const Provider: React.FC<{
1087
+ children: React.ReactNode;
1088
+ service: HdesApi.Service;
1089
+ }>;
1090
+ }
1091
+
1092
+
988
1093
  declare namespace StencilComposerApi {
989
1094
  interface SearchData {
990
1095
  values: readonly SearchDataEntry[];
@@ -1142,108 +1247,6 @@ declare namespace StencilComposerApi {
1142
1247
  }>;
1143
1248
  }
1144
1249
 
1145
-
1146
- declare namespace WrenchComposerApi {
1147
- interface Nav {
1148
- value?: string | null;
1149
- }
1150
- interface TabData {
1151
- nav?: Nav;
1152
- withNav(nav: Nav): TabData;
1153
- }
1154
- interface Tab extends BurgerApi.TabSession<TabData> {
1155
- }
1156
- interface DebugSession {
1157
- error?: HdesApi.StoreError;
1158
- debug?: HdesApi.DebugResponse;
1159
- csv?: string;
1160
- json?: string;
1161
- selected: HdesApi.EntityId;
1162
- inputType: DebugInputType;
1163
- }
1164
- type DebugInputType = "CSV" | "JSON";
1165
- interface DebugSessions {
1166
- selected?: HdesApi.EntityId;
1167
- values: Record<HdesApi.EntityId, DebugSession>;
1168
- }
1169
- interface PageUpdate {
1170
- saved: boolean;
1171
- origin: HdesApi.Entity<any>;
1172
- value: HdesApi.AstCommand[];
1173
- withValue(value: HdesApi.AstCommand[]): PageUpdate;
1174
- }
1175
- interface Session {
1176
- site: HdesApi.Site;
1177
- pages: Record<HdesApi.EntityId, PageUpdate>;
1178
- debug: DebugSessions;
1179
- branchName?: string;
1180
- getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
1181
- getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
1182
- getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
1183
- getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
1184
- withDebug(page: DebugSession): Session;
1185
- withPage(page: HdesApi.EntityId): Session;
1186
- withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
1187
- withoutPages(pages: HdesApi.EntityId[]): Session;
1188
- withBranch(branchName?: string): Session;
1189
- withSite(site: HdesApi.Site): Session;
1190
- }
1191
- interface Actions {
1192
- handleLoad(): Promise<void>;
1193
- handleLoadSite(site?: HdesApi.Site): Promise<void>;
1194
- handleDebugUpdate(debug: DebugSession): void;
1195
- handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
1196
- handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
1197
- handleBranchUpdate(branchName?: string): void;
1198
- }
1199
- interface ContextType {
1200
- session: Session;
1201
- actions: Actions;
1202
- service: HdesApi.Service;
1203
- }
1204
- }
1205
-
1206
-
1207
- declare namespace WrenchComposerApi {
1208
- class ImmutableTabData implements TabData {
1209
- private _nav;
1210
- constructor(props: {
1211
- nav: Nav;
1212
- });
1213
- get nav(): Nav;
1214
- withNav(nav: Nav): ImmutableTabData;
1215
- }
1216
- const createTab: (props: {
1217
- nav: Nav;
1218
- page?: HdesApi.Entity<any>;
1219
- }) => ImmutableTabData;
1220
- const ComposerContext: React.Context<ContextType>;
1221
- const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
1222
- const useComposer: () => {
1223
- session: Session;
1224
- service: HdesApi.Service;
1225
- actions: Actions;
1226
- site: HdesApi.Site;
1227
- isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
1228
- };
1229
- const useSite: () => HdesApi.Site;
1230
- const useBranchName: () => string | undefined;
1231
- const useSession: () => Session;
1232
- const useNav: () => {
1233
- handleInTab: (props: {
1234
- article: HdesApi.Entity<any>;
1235
- }) => void;
1236
- findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
1237
- };
1238
- const useDebug: () => {
1239
- handleDebugInit: (selected: HdesApi.EntityId) => void;
1240
- };
1241
- const Provider: React.FC<{
1242
- children: React.ReactNode;
1243
- service: HdesApi.Service;
1244
- }>;
1245
- }
1246
-
1247
1250
  declare namespace Decision {
1248
1251
  const Table: import("react").FC<{
1249
1252
  ast: import("../../client").HdesApi.AstDecision;