@dxs-ts/eveli-ide 0.0.46 → 0.0.48

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 +108 -102
  2. package/build/index.js +11721 -11660
  3. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -622,6 +622,8 @@ export declare namespace StencilApi {
622
622
  value: string;
623
623
  labels: LocaleLabel[];
624
624
  devMode?: boolean;
625
+ startDate?: string | undefined;
626
+ endDate?: string | undefined;
625
627
  };
626
628
  }
627
629
  export interface WorkflowMutator {
@@ -630,6 +632,8 @@ export declare namespace StencilApi {
630
632
  articles: ArticleId[] | undefined;
631
633
  labels: LocaleLabel[] | undefined;
632
634
  devMode: boolean | undefined;
635
+ startDate?: string | undefined;
636
+ endDate?: string | undefined;
633
637
  }
634
638
  export interface FetchIntegration {
635
639
  fetch<T>(path: string, init?: RequestInit): Promise<T>;
@@ -679,6 +683,8 @@ export declare namespace StencilApi {
679
683
  labels: LocaleLabel[];
680
684
  articles: ArticleId[];
681
685
  devMode: boolean | undefined;
686
+ startDate?: string | undefined;
687
+ endDate?: string | undefined;
682
688
  }
683
689
  export interface CreateRelease {
684
690
  name: string;
@@ -970,6 +976,108 @@ declare namespace HdesClient {
970
976
  }
971
977
 
972
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
+
973
1081
  declare namespace StencilComposerApi {
974
1082
  interface SearchData {
975
1083
  values: readonly SearchDataEntry[];
@@ -1127,108 +1235,6 @@ declare namespace StencilComposerApi {
1127
1235
  }>;
1128
1236
  }
1129
1237
 
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
1238
  declare namespace Decision {
1233
1239
  const Table: import("react").FC<{
1234
1240
  ast: import("../../client").HdesApi.AstDecision;