mftsccs-node 0.0.1 → 0.0.2

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.
@@ -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;
@@ -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>;
@@ -47,6 +47,7 @@ export { CreateTheConnectionGeneral } from './Services/CreateTheConnectionGenera
47
47
  export { CreateTheConnectionLocal } from './Services/Local/CreateTheConnectionLocal';
48
48
  export { GetUserGhostId, AddGhostConcept } from './Services/User/UserTranslation';
49
49
  export { SearchLinkMultipleAll } from './Services/Search/SearchLinkMultiple';
50
+ export { UpdateCompositionLocal } from './Services/Local/UpdateCompositionLocal';
50
51
  export { SyncData } from './DataStructures/SyncData';
51
52
  export { Concept } from './DataStructures/Concept';
52
53
  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.2",
4
4
  "environment": "production",
5
5
  "description": "Full Pack of concept and connection system",
6
6
  "main": "dist/bundle.js",