mftsccs-browser 2.2.38-beta → 2.2.39-beta

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.
@@ -10,6 +10,7 @@ export declare class BaseUrl {
10
10
  static DOCUMENTATION_WIDGET: number;
11
11
  static isNearestCache: boolean;
12
12
  static ACCESS_CONTROL_BASE_URL: string;
13
+ static isPwa: boolean;
13
14
  static FLAGS: any;
14
15
  static BASE_RANDOMIZER: number;
15
16
  static setRandomizer(id: number): void;
@@ -1,2 +1,3 @@
1
1
  export declare function GetRelation(id: number, relation: string, inpage?: number, page?: number, reverse?: boolean): Promise<any>;
2
+ export declare function GetRelationNew(id: number, relation: string, inpage?: number, page?: number, reverse?: boolean): Promise<void>;
2
3
  export declare function GetRelationRaw(id: number, relation: string, inpage?: number, page?: number, reverse?: boolean): Promise<any>;
@@ -0,0 +1,9 @@
1
+ import { Concept, Connection, LocalTransaction } from "../../app";
2
+ export declare class VisualTree {
3
+ static concepts: Concept[];
4
+ static connections: Connection[];
5
+ static transactions: LocalTransaction[];
6
+ static setTransaction(transaction: LocalTransaction): void;
7
+ static renderVisualTree(): void;
8
+ static getLocalConcepts(): Promise<void>;
9
+ }
@@ -0,0 +1,17 @@
1
+ export declare class WidgetCacheManager {
2
+ private static WIDGET_PREFIX;
3
+ private static LATEST_PREFIX;
4
+ private static RECENT_PREFIX;
5
+ static getWidget(id: number): any | null;
6
+ static setWidget(id: number, data: any): void;
7
+ static getLatest(id: number): any | null;
8
+ static setLatest(id: number, data: any): void;
9
+ static getRecent(id: number): any | null;
10
+ static setRecent(id: number, data: any): void;
11
+ static removeWidget(id: number): void;
12
+ static removeLatest(id: number): void;
13
+ static removeRecent(id: number): void;
14
+ static clearAll(): void;
15
+ private static _get;
16
+ private static _set;
17
+ }
@@ -0,0 +1,10 @@
1
+ export declare class QueryCacheManager {
2
+ private static prefix;
3
+ static getHash(query: any): Promise<string>;
4
+ static get(hash: string): any | null;
5
+ static set(hash: string, data: any): void;
6
+ static subscribe(hash: string, callback: (data: any) => void): () => void;
7
+ static remove(hash: string): void;
8
+ static clearAll(): void;
9
+ }
10
+ export declare function hashJsonObject(obj: any): Promise<string>;
@@ -13,6 +13,8 @@ export declare class SearchLinkMultipleAllObservable extends DependencyObserver
13
13
  order: string;
14
14
  /** Total count of matching results */
15
15
  totalCount: number;
16
+ /** Cleanup function for cache subscription */
17
+ private unsubscribeCache;
16
18
  /**
17
19
  * Creates a new schema query observable.
18
20
  * @param query - FreeschemaQuery object with search parameters
@@ -43,7 +43,7 @@ export { GetCompositionWithCache, GetCompositionWithDataIdWithCache, GetComposit
43
43
  export { CreateSession } from './Api/Session/CreateSession';
44
44
  export { CreateSessionVisit } from './Api/Session/CreateSessionVisit';
45
45
  export {} from './Api/GetConceptByCharacterAndType';
46
- export { GetRelation, GetRelationRaw } from './Services/GetRelation';
46
+ export { GetRelation, GetRelationRaw, GetRelationNew } from './Services/GetRelation';
47
47
  export { recursiveFetchNew } from './Services/Composition/BuildComposition';
48
48
  export { CreateTheCompositionWithCache } from './Services/Composition/CreateCompositionCache';
49
49
  export { CreateDefaultLConcept } from './Services/Local/CreateDefaultLConcept';
@@ -347,6 +347,7 @@ declare function init(url?: string, aiurl?: string, accessToken?: string, nodeUr
347
347
  isTest?: boolean;
348
348
  }, parameters?: {
349
349
  logserver?: string;
350
+ isPwa?: boolean;
350
351
  }, accessControlUrl?: string): Promise<true | undefined>;
351
352
  /**
352
353
  * Method to send message to the service worker from main thread
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mftsccs-browser",
3
- "version": "2.2.38-beta",
3
+ "version": "2.2.39-beta",
4
4
 
5
5
  "environment": "production",
6
6
  "description": "Full Pack of concept and connection system",