@luminocity/lemonate-gateway 8.2.30 → 8.2.32
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/dist/index.d.ts +6 -2
- package/dist/lemonate-gateway.cjs.js +5 -5
- package/dist/lemonate-gateway.cjs.js.map +1 -1
- package/dist/lemonate-gateway.esm.js +5 -5
- package/dist/lemonate-gateway.esm.js.map +1 -1
- package/dist/lemonate-gateway.umd.js +5 -5
- package/dist/lemonate-gateway.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -790,9 +790,13 @@ declare class Block extends Snapshotable {
|
|
|
790
790
|
outputs: any[];
|
|
791
791
|
posX: number;
|
|
792
792
|
posY: number;
|
|
793
|
+
private _fieldsByName;
|
|
794
|
+
private _firstLinkField?;
|
|
793
795
|
constructor(id?: string | Snapshot | undefined, parent?: Block | undefined, type?: string | undefined, name?: string | undefined, displayName?: string | undefined, item?: PreparedItem | undefined);
|
|
794
796
|
getId(): string;
|
|
795
797
|
setSubNodeId(id: string | undefined): void;
|
|
798
|
+
getFirstLinkField(): Field | null;
|
|
799
|
+
findField(name: string): Field | null | undefined;
|
|
796
800
|
getPositionInParent(): number;
|
|
797
801
|
refreshFieldDependencies(): void;
|
|
798
802
|
resetFieldValues(withChildren?: boolean): void;
|
|
@@ -808,7 +812,6 @@ declare class Block extends Snapshotable {
|
|
|
808
812
|
setExpanded(value: boolean): void;
|
|
809
813
|
getRoot(): Block;
|
|
810
814
|
forEachField(func: (field: Field) => void): void;
|
|
811
|
-
findField(name: string): Field | null;
|
|
812
815
|
findBlock(id: string): Block | null;
|
|
813
816
|
removeBlock(block: Block): void;
|
|
814
817
|
addBlock(block: Block, position: number): void;
|
|
@@ -4444,6 +4447,7 @@ declare class ProfilerEntry {
|
|
|
4444
4447
|
}
|
|
4445
4448
|
declare function profileBlock(key: string, func: Function): any;
|
|
4446
4449
|
declare function profileAsyncBlock(key: string, func: Function): Promise<any>;
|
|
4450
|
+
declare function timeFunc(func: Function, name?: string): any;
|
|
4447
4451
|
declare class Profiler {
|
|
4448
4452
|
startTime: number;
|
|
4449
4453
|
endTime: number;
|
|
@@ -12325,5 +12329,5 @@ declare class LinkableItemsCache {
|
|
|
12325
12329
|
loadLinkableItems(item: any, field: Field): Promise<any[] | undefined>;
|
|
12326
12330
|
}
|
|
12327
12331
|
|
|
12328
|
-
export { AccessDeniedException, AggregatedItem, ApiClient, ApiGateway, Block, CustomField, EventEmitter, Field, InvalidArgumentException, InvalidStateException, Item, ItemCache$1 as ItemCache, ItemRepo, ItemVisibility, LinkableItemsCache, LoaderException, Package as PackageTools, PreparedItem, Profiler, Proxifier, ProxyEvent, QuotaExceededException, Script, ScriptField, Snapshot, Storage, Template, TemplateFactory, ThumbCache, UndoManager, eventBus, getDatatypeByName, getDatatypes, hasPermission, profileAsyncBlock, profileBlock, _default as tools, verifyAcl };
|
|
12332
|
+
export { AccessDeniedException, AggregatedItem, ApiClient, ApiGateway, Block, CustomField, EventEmitter, Field, InvalidArgumentException, InvalidStateException, Item, ItemCache$1 as ItemCache, ItemRepo, ItemVisibility, LinkableItemsCache, LoaderException, Package as PackageTools, PreparedItem, Profiler, Proxifier, ProxyEvent, QuotaExceededException, Script, ScriptField, Snapshot, Storage, Template, TemplateFactory, ThumbCache, UndoManager, eventBus, getDatatypeByName, getDatatypes, hasPermission, profileAsyncBlock, profileBlock, timeFunc, _default as tools, verifyAcl };
|
|
12329
12333
|
export type { Acl, Attachments, BaseBlogArticle, ConversationEntry, CustomFieldDefinition, FolderListingOptions, FolderListingWithOptions, ItemOptions, ItemQueryOptions, ItemQueryWithOptions, ItemWithOptions, JobState, Me, ProgressCallback$1 as ProgressCallback, UserInfo };
|