mftsccs-browser 2.2.10-beta → 2.2.11-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.
@@ -1 +1 @@
1
- export declare function GetImageApi(imageName: string): Promise<ReadableStream<Uint8Array> | null | undefined>;
1
+ export declare function GetImageApi(imageName: string): Promise<ReadableStream<Uint8Array<ArrayBuffer>> | null | undefined>;
@@ -9,6 +9,7 @@ export declare class BaseUrl {
9
9
  static BASE_APPLICATION: string;
10
10
  static DOCUMENTATION_WIDGET: number;
11
11
  static isNearestCache: boolean;
12
+ static ACCESS_CONTROL_BASE_URL: string;
12
13
  static FLAGS: any;
13
14
  static BASE_RANDOMIZER: number;
14
15
  static setRandomizer(id: number): void;
@@ -156,6 +156,16 @@ export declare class AccessControlService {
156
156
  enable: boolean;
157
157
  connectionTypeId?: number;
158
158
  }): Promise<any>;
159
+ /**
160
+ * Sets access inheritance for multiple concepts in bulk.
161
+ */
162
+ static setAccessInheritanceBulk(request: {
163
+ items: Array<{
164
+ mainConceptId: number;
165
+ connectionTypeIds: number[];
166
+ }>;
167
+ enable: boolean;
168
+ }): Promise<any>;
159
169
  /**
160
170
  * Gets the status of access inheritance for a concept.
161
171
  */
@@ -8,7 +8,7 @@ import { Connection } from "../../app";
8
8
  * @param reverse
9
9
  * @returns
10
10
  */
11
- export declare function FormatFunctionDataForData(connections: Connection[], compositionData: any[], reverse?: number[]): Promise<any[]>;
11
+ export declare function FormatFunctionDataForData(connections: Connection[], compositionData?: any[], reverse?: number[]): Promise<any[]>;
12
12
  /**
13
13
  * ############ Format is data-id and is used for list. ############
14
14
  * This is helpful in building a format that has multiple mainCompositions i.e. in the context of the list
@@ -1,3 +1,3 @@
1
- export declare function GetRequestHeader(contentType?: string, Accept?: string): {};
1
+ export declare function GetRequestHeader(contentType?: string, accept?: string): Record<string, string>;
2
2
  export declare function GetRequestHeaderWithAuthorization(contentType?: string, token?: string, Accept?: string): {};
3
3
  export declare function GetOnlyTokenHeader(): Headers;
@@ -127,11 +127,13 @@ export { removeAllChildren } from './Services/Common/RemoveAllChild';
127
127
  export { getUserDetails } from './Services/User/UserFromLocalStorage';
128
128
  export { CountInfo } from './DataStructures/Count/CountInfo';
129
129
  export { Selector } from './Api/Prototype/Selector';
130
+ export { AccessControlService } from './Services/AccessControl/AccessControl';
130
131
  export { renderLatestWidget, renderPage, renderWidget, convertWidgetTreeToWidgetWithWrapper, getWidgetFromId, convertWidgetTreeToWidget, unwrapContainers, getWidgetBulkFromId } from './Widgets/RenderWidgetService';
131
132
  export { CreateData } from './Services/automated/automated-concept-connection';
132
133
  export { Prototype } from './DataStructures/Prototype/Prototype';
133
134
  export { createPrototypeLocal } from './prototype/prototype.service';
134
135
  export { GetImageApi } from './Api/Images/GetImages';
136
+ export { GetAllLinkerConnectionsFromTheConcept } from "./Api/GetAllLinkerConnectionsFromTheConcept";
135
137
  export { GetFreeschemaImage, GetFreeschemaImageUrl } from './Services/assets/GetImageService';
136
138
  type listeners = {
137
139
  listenerId: string | number;
@@ -152,6 +154,7 @@ declare function updateAccessToken(accessToken?: string, session?: any): void;
152
154
  *
153
155
  * @param url This is the url for the backend c# system or our main data fabric server
154
156
  * @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.
157
+ * @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.
155
158
  * @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
156
159
  * So this access token can be empty string. You can set it afterwards with another function UpdateAccessToken();
157
160
  * @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.
@@ -171,7 +174,7 @@ declare function init(url?: string, aiurl?: string, accessToken?: string, nodeUr
171
174
  isTest?: boolean;
172
175
  }, parameters?: {
173
176
  logserver?: string;
174
- }): Promise<true | undefined>;
177
+ }, accessControlUrl?: string): Promise<true | undefined>;
175
178
  /**
176
179
  * Method to send message to the service worker from main thread
177
180
  * @param type string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mftsccs-browser",
3
- "version": "2.2.10-beta",
3
+ "version": "2.2.11-beta",
4
4
 
5
5
  "environment": "production",
6
6
  "description": "Full Pack of concept and connection system",