mftsccs-node 0.0.1 → 0.0.3

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.
@@ -0,0 +1,2 @@
1
+ import { Concept } from "./../../DataStructures/Concept";
2
+ export declare function GetConceptByCharacterAndCategory(characterValue: string): Promise<Concept>;
@@ -14,6 +14,7 @@ export declare class BaseUrl {
14
14
  static GetAllConnectionsOfCompositionBulkUrl(): string;
15
15
  static GetConceptByCharacterValueUrl(): string;
16
16
  static GetConceptByCharacterAndTypeUrl(): string;
17
+ static GetConceptByCharacterAndCategoryUrl(): string;
17
18
  static GetCharacterByCharacterUrl(): string;
18
19
  static GetAllConceptsByTypeUrl(): string;
19
20
  static GetAllConnectionsOfConceptUrl(): string;
@@ -1,8 +1,11 @@
1
1
  import { Concept } from "../DataStructures/Concept";
2
2
  import { Connection } from "../DataStructures/Connection";
3
+ import { LConcept, LConnection } from "../app";
3
4
  export declare function CheckIfConceptsExistsInArray(conceptList: Concept[] | undefined, concept: Concept): Concept;
4
5
  export declare function CheckIfTypeConceptExistsInArray(conceptList: Concept[] | undefined, concept: Concept): Concept;
5
6
  export declare function CheckIfTypeConceptsExistsInArray(conceptList: Concept[] | undefined, concept: Concept): Concept[];
7
+ export declare function CheckIfTypeLConceptsExistsInArray(conceptList: LConcept[] | undefined, concept: LConcept): LConcept[];
6
8
  export declare function CheckIfConnectionExistsInArray(connectionList: Connection[] | undefined, connection: Connection): Connection;
7
9
  export declare function CheckIfToTheConceptExistsInConnectionArray(connectionList: Connection[] | undefined, conceptId: number): Connection;
8
10
  export declare function CheckAllConnectionsConnectedInConnectionArray(connectionList: Connection[] | undefined, conceptId: number): Connection[];
11
+ export declare function CheckAllConnectionsConnectedInLConnectionArray(connectionList: LConnection[] | undefined, conceptId: number): LConnection[];
@@ -1,4 +1,6 @@
1
1
  import { Concept } from "../DataStructures/Concept";
2
2
  import { Connection } from "../DataStructures/Connection";
3
+ import { LConnection } from "../app";
3
4
  export declare function RemoveConceptFromList(conceptList: Concept[] | undefined, concept: Concept): void;
4
5
  export declare function RemoveConnectionFromList(connectionList: Connection[] | undefined, connection: Connection): void;
6
+ export declare function RemoveLConnectionFromList(connectionList: LConnection[] | undefined, connection: LConnection): void;
@@ -0,0 +1,6 @@
1
+ import { Concept } from "../../DataStructures/Concept";
2
+ import { Connection } from "../../DataStructures/Connection";
3
+ import { LConcept } from "../../DataStructures/Local/LConcept";
4
+ import { LConnection } from "../../DataStructures/Local/LConnection";
5
+ export declare function convertFromConceptToLConcept(concept: Concept): LConcept;
6
+ export declare function convertFromConnectionToLConnection(connection: Connection): LConnection;
@@ -0,0 +1,3 @@
1
+ import { Concept } from "./../DataStructures/Concept";
2
+ export declare function GetRelation(id: number, relation: string, inpage?: number, page?: number): Promise<any[]>;
3
+ export declare function GetRelationRaw(id: number, relation: string, inpage?: number, page?: number): Promise<Concept[]>;
@@ -1,2 +1,2 @@
1
1
  import { LConnection } from "../../DataStructures/Local/LConnection";
2
- export declare function CreateTheConnectionLocal(ofTheConceptId: number, toTheConceptId: number, typeId: number, orderId?: number): LConnection | undefined;
2
+ export declare function CreateTheConnectionLocal(ofTheConceptId: number, toTheConceptId: number, typeId: number, orderId?: number): LConnection;
@@ -0,0 +1,2 @@
1
+ import { PatcherStructure } from '../../DataStructures/PatcherStructure';
2
+ export declare function UpdateCompositionLocal(patcherStructure: PatcherStructure): Promise<void>;
@@ -40,6 +40,7 @@ export { GetCompositionWithCache, GetCompositionWithDataIdWithCache, GetComposit
40
40
  export { CreateSession } from './Api/Session/CreateSession';
41
41
  export { CreateSessionVisit } from './Api/Session/CreateSessionVisit';
42
42
  export {} from './Api/GetConceptByCharacterAndType';
43
+ export { GetRelation, GetRelationRaw } from './Services/GetRelation';
43
44
  export { recursiveFetchNew } from './Services/Composition/BuildComposition';
44
45
  export { CreateTheCompositionWithCache } from './Services/Composition/CreateCompositionCache';
45
46
  export { CreateDefaultLConcept } from './Services/Local/CreateDefaultLConcept';
@@ -47,6 +48,7 @@ export { CreateTheConnectionGeneral } from './Services/CreateTheConnectionGenera
47
48
  export { CreateTheConnectionLocal } from './Services/Local/CreateTheConnectionLocal';
48
49
  export { GetUserGhostId, AddGhostConcept } from './Services/User/UserTranslation';
49
50
  export { SearchLinkMultipleAll } from './Services/Search/SearchLinkMultiple';
51
+ export { UpdateCompositionLocal } from './Services/Local/UpdateCompositionLocal';
50
52
  export { SyncData } from './DataStructures/SyncData';
51
53
  export { Concept } from './DataStructures/Concept';
52
54
  export { LConcept } from './DataStructures/Local/LConcept';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mftsccs-node",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "environment": "production",
5
5
  "description": "Full Pack of concept and connection system",
6
6
  "main": "dist/bundle.js",