mftsccs-node 0.2.5 → 0.2.6

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 @@
1
+ export default function DeleteTheConnectionBulkApi(ids: number[]): Promise<boolean>;
@@ -1,2 +1,3 @@
1
1
  import { Concept } from "./../DataStructures/Concept";
2
2
  export declare function GetConceptByCharacterAndType(characterValue: string, typeId: number): Promise<Concept>;
3
+ export declare function GetConceptByTypeBulk(connectionTypes: string[]): Promise<Concept[]>;
@@ -1 +1 @@
1
- export declare function GetImageApi(imageName: string): Promise<ReadableStream<Uint8Array<ArrayBuffer>> | null | undefined>;
1
+ export declare function GetImageApi(imageName: string): Promise<ReadableStream<Uint8Array> | null | undefined>;
@@ -0,0 +1,2 @@
1
+ import { Concept } from "../../app";
2
+ export declare function GetTypeConceptByBulk(characters: string[]): Promise<Concept[]>;
@@ -46,5 +46,7 @@ export declare class BaseUrl {
46
46
  static CreateTheConnectionNewUrl(): string;
47
47
  static MakeTheTypeConceptUrl(): string;
48
48
  static DeleteTheConnectionUrl(): string;
49
+ static DeleteTheConnectionBulkUrl(): string;
49
50
  static FreeschemaQueryUrl(): string;
51
+ static GetConceptConnectionByType(): string;
50
52
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ *
3
+ * @param id the id of the concept whose connection needs to be returned
4
+ * @param linkers the connection types whose connection id need to be found
5
+ */
6
+ export declare function DeleteConnectionByTypeBulk(id: number, linkers: string[]): Promise<boolean>;
7
+ /**
8
+ *
9
+ * @param id the id of the concept whose connection needs to be returned
10
+ * @param linkers the connection types whose connection id need to be found
11
+ * @returns list of ids of the connection
12
+ */
13
+ export declare function GetConnectionByTypeBulk(id: number, linkers: string[]): Promise<number[]>;
@@ -1 +1,2 @@
1
1
  export declare function DeleteConnectionById(id: number, token?: string): Promise<boolean>;
2
+ export declare function DeleteConnectionByIdBulk(ids: number[]): Promise<boolean>;
@@ -0,0 +1 @@
1
+ export declare function LogEvent(EventName: string, EventDescription: string, event: any): void;
@@ -58,6 +58,8 @@ export { GetConceptByCharacterAndType } from './Api/GetConceptByCharacterAndType
58
58
  export { GetConceptByCharacterAndCategoryDirectApi } from './Api/SearchConcept/GetConceptByCharacterAndCategoryDirect';
59
59
  export { SearchLinkMultipleApi } from './Api/Search/SearchLinkMultipleApi';
60
60
  export { GetCompositionWithIdFromMemoryFromConnections, GetCompositionWithIdFromMemory } from './Services/GetComposition';
61
+ export { GetConceptByTypeBulk } from './Api/GetConceptByCharacterAndType';
62
+ export { DeleteConnectionByTypeBulk, GetConnectionByTypeBulk } from './Services/Delete/DeleteConnectionByType';
61
63
  export { SyncData } from './DataStructures/SyncData';
62
64
  export { Concept } from './DataStructures/Concept';
63
65
  export { LConcept } from './DataStructures/Local/LConcept';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mftsccs-node",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "environment": "production",
5
5
  "description": "Full Pack of concept and connection system",
6
6
  "main": "dist/bundle.js",