mftsccs-browser 2.2.4-beta → 2.2.5-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.
- package/dist/main.bundle.js +1 -1
- package/dist/main.bundle.js.map +1 -1
- package/dist/serviceWorker.bundle.js +1 -1
- package/dist/serviceWorker.bundle.js.map +1 -1
- package/dist/types/Api/GetConnectionToTheConcept.d.ts +2 -0
- package/dist/types/Constants/page.const.d.ts +5 -0
- package/dist/types/DataStructures/BaseUrl.d.ts +1 -1
- package/dist/types/Services/CreateConnection/CreateConnectionEntity.d.ts +2 -2
- package/dist/types/Services/GetRelation.d.ts +2 -2
- package/dist/types/Services/Local/CreateTheConnectionLocal.d.ts +2 -1
- package/dist/types/Services/Search/DataFormat.d.ts +23 -0
- package/dist/types/Services/Security/GetRequestHeader.d.ts +1 -1
- package/dist/types/Services/Transaction/LocalTransaction.d.ts +2 -0
- package/dist/types/Widgets/RenderPage.service.d.ts +12 -0
- package/dist/types/app.d.ts +2 -5
- package/package.json +1 -1
|
@@ -7,7 +7,6 @@ export declare class BaseUrl {
|
|
|
7
7
|
static LOG_SERVER: string;
|
|
8
8
|
static MQTT_CONNECTION: any;
|
|
9
9
|
static BASE_APPLICATION: string;
|
|
10
|
-
static ACCESS_CONTROL_BASE_URL: string;
|
|
11
10
|
static FLAGS: any;
|
|
12
11
|
static BASE_RANDOMIZER: number;
|
|
13
12
|
static setRandomizer(id: number): void;
|
|
@@ -27,6 +26,7 @@ export declare class BaseUrl {
|
|
|
27
26
|
static GetCharacterByCharacterUrl(): string;
|
|
28
27
|
static GetAllConceptsByTypeUrl(): string;
|
|
29
28
|
static GetAllConnectionsOfConceptUrl(): string;
|
|
29
|
+
static GetAllConnectionsToConceptUrl(): string;
|
|
30
30
|
static GetAllAiData(): string;
|
|
31
31
|
static getMyCacheServer(): string;
|
|
32
32
|
static PostPrefetchConceptConnections(): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Concept } from "../../app";
|
|
2
|
-
export declare function CreateConnectionBetweenEntityLocal(concept1Data: Concept, concept2Data: Concept, linker: string): Promise<
|
|
1
|
+
import { Concept, InnerActions } from "../../app";
|
|
2
|
+
export declare function CreateConnectionBetweenEntityLocal(concept1Data: Concept, concept2Data: Concept, linker: string, actions?: InnerActions): Promise<any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function GetRelation(id: number, relation: string, inpage?: number, page?: number): Promise<any>;
|
|
2
|
-
export declare function GetRelationRaw(id: number, relation: string, inpage?: number, page?: number): Promise<any>;
|
|
1
|
+
export declare function GetRelation(id: number, relation: string, inpage?: number, page?: number, reverse?: boolean): Promise<any>;
|
|
2
|
+
export declare function GetRelationRaw(id: number, relation: string, inpage?: number, page?: number, reverse?: boolean): Promise<any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InnerActions } from "../../app";
|
|
1
|
+
import { Concept, InnerActions } from "../../app";
|
|
2
2
|
/**
|
|
3
3
|
* This function creates a connection for the concept connection system. This connection will only be created in real sense
|
|
4
4
|
* once the data is synced using LocalSyncData.SyncDataOnline()
|
|
@@ -13,3 +13,4 @@ import { InnerActions } from "../../app";
|
|
|
13
13
|
* @returns a connection that is created and stored in the local system.
|
|
14
14
|
*/
|
|
15
15
|
export declare function CreateTheConnectionLocal(ofTheConceptId: number, toTheConceptId: number, typeId: number, orderId?: number, typeString?: string, userId?: number, actions?: InnerActions): Promise<any>;
|
|
16
|
+
export declare function CreateConnection(ofTheConcept: Concept, toTheConcept: Concept, connectionTypeString: string, actions?: InnerActions): Promise<any>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Connection } from "../../app";
|
|
2
|
+
/**
|
|
3
|
+
* ## Format Just-Id ##
|
|
4
|
+
* this function takes in connections and creates a single level objects so that all the data are added to its object/ array.
|
|
5
|
+
* This is then passed on further for stiching.
|
|
6
|
+
* @param connections
|
|
7
|
+
* @param compositionData
|
|
8
|
+
* @param reverse
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
export declare function FormatFunctionDataForClean(connections: Connection[], compositionData: any[], reverse?: number[]): Promise<any[]>;
|
|
12
|
+
/**
|
|
13
|
+
* ############ Format is Just Id and is used for list. ############
|
|
14
|
+
* This is helpful in building a format that has multiple mainCompositions i.e. in the context of the list
|
|
15
|
+
* The list format is helpful because you do not have to go over each individual query.
|
|
16
|
+
* @param connections the type connections that need (external connections) to be passed
|
|
17
|
+
* @param compositionData this is a dictionary type of format that has all the build compositions {id: { actual data}}
|
|
18
|
+
* @param mainComposition this is list of ids of the main composition that builds the tree
|
|
19
|
+
* @param reverse this is the list of connections ids that needs to go to the reverse direction (to---->from)
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
export declare function FormatFromConnectionsAlteredArrayExternalClean(connections: Connection[], compositionData: any[], mainComposition: number[], reverse: number[] | undefined, CountDictionary: any[]): Promise<any[]>;
|
|
23
|
+
export declare function AddCount(ofTheConceptId: number, CountDictionary: any, newData: any): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare function GetRequestHeader(contentType?: string,
|
|
1
|
+
export declare function GetRequestHeader(contentType?: string, Accept?: string): {};
|
|
2
2
|
export declare function GetRequestHeaderWithAuthorization(contentType?: string, token?: string, Accept?: string): {};
|
|
3
3
|
export declare function GetOnlyTokenHeader(): Headers;
|
|
@@ -32,6 +32,8 @@ export declare class LocalTransaction {
|
|
|
32
32
|
*/
|
|
33
33
|
CreateConnectionBetweenTwoConceptsLocal(ofTheConcept: Concept, toTheConcept: Concept, linker: string, both?: boolean): Promise<any>;
|
|
34
34
|
CreateTheConnectionLocal(ofTheConceptId: number, toTheConceptId: number, typeId: number, orderId?: number, typeString?: string, userId?: number): Promise<any>;
|
|
35
|
+
CreateConnection(ofTheConcept: Concept, toTheConcept: Concept, connectionTypeString: string): Promise<any>;
|
|
36
|
+
CreateConnectionBetweenEntityLocal(concept1Data: Concept, concept2Data: Concept, linker: string): Promise<any>;
|
|
35
37
|
/**
|
|
36
38
|
* Compositions
|
|
37
39
|
*/
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param pageData
|
|
4
|
+
*/
|
|
5
|
+
export declare function applyPageProperties(pageData: any): Promise<void>;
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* @param property
|
|
9
|
+
* @param value
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare function applyPageProperty(property: string, value: any): Promise<void>;
|
package/dist/types/app.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export { recursiveFetchNew } from './Services/Composition/BuildComposition';
|
|
|
48
48
|
export { CreateTheCompositionWithCache } from './Services/Composition/CreateCompositionCache';
|
|
49
49
|
export { CreateDefaultLConcept } from './Services/Local/CreateDefaultLConcept';
|
|
50
50
|
export { CreateTheConnectionGeneral } from './Services/CreateTheConnectionGeneral';
|
|
51
|
-
export { CreateTheConnectionLocal } from './Services/Local/CreateTheConnectionLocal';
|
|
51
|
+
export { CreateTheConnectionLocal, CreateConnection } from './Services/Local/CreateTheConnectionLocal';
|
|
52
52
|
export { GetCompositionListAll, GetCompositionListAllWithId, GetCompositionListWithIdUpdated } from './Services/GetCompositionList';
|
|
53
53
|
export { GetUserGhostId, AddGhostConcept } from './Services/User/UserTranslation';
|
|
54
54
|
export { SearchLinkMultipleAll, FormatFromConnections } from './Services/Search/SearchLinkMultiple';
|
|
@@ -123,8 +123,6 @@ export { CreateConnectionBetweenEntityLocal } from './Services/CreateConnection/
|
|
|
123
123
|
export { BuildWidgetFromId } from './Widgets/WidgetBuild';
|
|
124
124
|
export { removeAllChildren } from './Services/Common/RemoveAllChild';
|
|
125
125
|
export { Selector } from './Api/Prototype/Selector';
|
|
126
|
-
export { AccessControlService } from './Services/AccessControl/AccessControl';
|
|
127
|
-
export { renderLatestWidget, renderPage, renderWidget, convertWidgetTreeToWidgetWithWrapper, getWidgetFromId, convertWidgetTreeToWidget, unwrapContainers, getWidgetBulkFromId } from './Widgets/RenderWidgetService';
|
|
128
126
|
export { CreateData } from './Services/automated/automated-concept-connection';
|
|
129
127
|
export { Prototype } from './DataStructures/Prototype/Prototype';
|
|
130
128
|
export { createPrototypeLocal } from './prototype/prototype.service';
|
|
@@ -147,7 +145,6 @@ declare function updateAccessToken(accessToken?: string, session?: any): void;
|
|
|
147
145
|
*
|
|
148
146
|
* @param url This is the url for the backend c# system or our main data fabric server
|
|
149
147
|
* @param aiurl This is the AI url that pulls in the data using our AI system . If you do not enter this then also disable the enableAi flag.
|
|
150
|
-
* @param accessControlUrl This is the url for the access control system. This is another server in the data fabric that is used as server for business logic and security features.
|
|
151
148
|
* @param accessToken This is the JWT token that needs to be passed (But since you have just initilized the system). There is no way we can get access token
|
|
152
149
|
* So this access token can be empty string. You can set it afterwards with another function UpdateAccessToken();
|
|
153
150
|
* @param nodeUrl This is the url for the node server. This is another server in the data fabric that is used as server for business logic and security features.
|
|
@@ -167,7 +164,7 @@ declare function init(url?: string, aiurl?: string, accessToken?: string, nodeUr
|
|
|
167
164
|
isTest?: boolean;
|
|
168
165
|
}, parameters?: {
|
|
169
166
|
logserver?: string;
|
|
170
|
-
}
|
|
167
|
+
}): Promise<true | undefined>;
|
|
171
168
|
/**
|
|
172
169
|
* Method to send message to the service worker from main thread
|
|
173
170
|
* @param type string
|