mftsccs-node 0.0.73 → 0.0.74

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.
@@ -8,7 +8,11 @@
8
8
  * @module CreateTheConnection
9
9
  */
10
10
  import { Connection } from "../DataStructures/Connection";
11
- export declare function validateConnectionConceptIds(ofTheConceptId: number, toTheConceptId: number): void;
11
+ type ConnectionConceptIds = {
12
+ ofTheConceptId: number;
13
+ toTheConceptId: number;
14
+ };
15
+ export declare function validateConnectionConceptIds(ofTheConceptId: number | string, toTheConceptId: number | string): ConnectionConceptIds;
12
16
  /**
13
17
  * Creates a temporary connection between two concepts with default settings.
14
18
  *
@@ -58,4 +62,5 @@ export declare function validateConnectionConceptIds(ofTheConceptId: number, toT
58
62
  * @see {@link Connection} for the connection data structure
59
63
  * @see {@link SyncData.AddConnection} for how connections are queued for sync
60
64
  */
61
- export declare function createTheConnection(ofTheConceptId: number, ofTheConceptUserId: number, toTheConceptId: number, toTheConceptUserId: number, typeId: number, sessionInformationId: number, sessionInformationUserId: number): Connection;
65
+ export declare function createTheConnection(ofTheConceptId: number | string, ofTheConceptUserId: number, toTheConceptId: number | string, toTheConceptUserId: number, typeId: number, sessionInformationId: number, sessionInformationUserId: number): Connection;
66
+ export {};
@@ -69,7 +69,7 @@ import type { InnerActions } from "../DataStructures/Transaction/Transaction";
69
69
  * @see {@link CreateConnection} for a simplified high-level connection API
70
70
  * @see {@link ReservedConnectionIds.getId} for ID reservation mechanism
71
71
  */
72
- export declare function CreateTheConnectionGeneral(ofTheConceptId: number, ofTheConceptUserId: number, toTheConceptId: number, toTheConceptUserId: number, typeId: number, sessionInformationId: number, sessionInformationUserId: number, orderId?: number, accessId?: number, passedUserId?: number, actions?: InnerActions): Promise<Connection>;
72
+ export declare function CreateTheConnectionGeneral(ofTheConceptId: number | string, ofTheConceptUserId: number, toTheConceptId: number | string, toTheConceptUserId: number, typeId: number, sessionInformationId: number, sessionInformationUserId: number, orderId?: number, accessId?: number, passedUserId?: number, actions?: InnerActions): Promise<Connection>;
73
73
  /**
74
74
  * Creates a connection between two concepts using a type string identifier.
75
75
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mftsccs-node",
3
- "version": "0.0.73",
3
+ "version": "0.0.74",
4
4
  "environment": "production",
5
5
  "description": "Full Pack of concept and connection system",
6
6
  "main": "dist/bundle.js",