d5-api-initializer 1.8.0 → 1.8.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "d5-api-initializer",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "license": "MIT",
5
5
  "dependencies": {},
6
6
  "main": "publish/cjs/d5-api-initializer.cjs",
@@ -397,9 +397,6 @@ var ApiInvoker = class {
397
397
  this._jsWapiInvoker = this._jsWapiInvoker.setSrcRequest(srcRequest);
398
398
  return this;
399
399
  }
400
- getSrcRequest() {
401
- throw new Error("not implemented");
402
- }
403
400
  setColumns(columns) {
404
401
  this.columns = columns;
405
402
  return this;
@@ -1133,15 +1130,6 @@ var EngineInitializer = class {
1133
1130
  initTranslation(translations) {
1134
1131
  UserMessages_default.appendDictionary(translations);
1135
1132
  }
1136
- call({
1137
- apiCore,
1138
- apiRequest,
1139
- apiResponse,
1140
- operation,
1141
- meta
1142
- }) {
1143
- return this._operations[operation](apiCore, apiRequest, apiResponse, meta);
1144
- }
1145
1133
  };
1146
1134
 
1147
1135
  // src/classes/ApplicationInitializer.ts
@@ -291,11 +291,17 @@ declare namespace jsWapi {
291
291
  }
292
292
  }
293
293
 
294
+ /**
295
+ * @internal
296
+ */
294
297
  declare class FileLink {
295
298
  private readonly _link;
296
299
  constructor(_link: string);
297
300
  get link(): string;
298
301
  }
302
+ /**
303
+ * @internal
304
+ */
299
305
  declare class FileRequestId {
300
306
  private readonly _id;
301
307
  constructor(_id: string);
@@ -410,7 +416,6 @@ declare class ApiInvoker implements IInvoker$1<ApiInvoker> {
410
416
  setRequest(request: IMappedCollection | any[]): ApiInvoker;
411
417
  getRequest(requestName: string): IMappedCollection[];
412
418
  setSrcRequest(srcRequest: IMappedCollection): ApiInvoker;
413
- getSrcRequest(): Record<string, any>;
414
419
  setColumns(columns: string[]): ApiInvoker;
415
420
  setAggregatedColumns(aggregatedColumns: IMappedCollection): ApiInvoker;
416
421
  setNestedColumns(nestedColumns: IMappedCollection): ApiInvoker;
@@ -598,7 +603,7 @@ declare class ApiFileInvoker implements IInvoker {
598
603
  protected readonly _objectName: string;
599
604
  constructor(jsWapiInvoker: jsWapi.JSWapiInvoker, params: IParams);
600
605
  get objectName(): string;
601
- setParams(keyValue: string | number, fileFieldName: string): void;
606
+ private setParams;
602
607
  getExcelFileAsJson(): Map<string, any>;
603
608
  getFileAsString(): string;
604
609
  }
@@ -742,13 +747,6 @@ declare class EngineInitializer<MetaParams = Record<string, any>> {
742
747
  * core.t('key', ['test1', 'test2']); // 'some text test1 test2'
743
748
  */
744
749
  initTranslation(translations: Record<LanguageCode, Record<string, string>>): void;
745
- call({ apiCore, apiRequest, apiResponse, operation, meta }: {
746
- apiCore: ApiCore;
747
- apiRequest: ApiRequest;
748
- apiResponse: ApiResponse;
749
- operation: string;
750
- meta: jsWapi.JSWapiMeta<MetaParams>;
751
- }): void;
752
750
  }
753
751
 
754
752
  declare class ApplicationInitializer<MetaParams = undefined> {
@@ -291,11 +291,17 @@ declare namespace jsWapi {
291
291
  }
292
292
  }
293
293
 
294
+ /**
295
+ * @internal
296
+ */
294
297
  declare class FileLink {
295
298
  private readonly _link;
296
299
  constructor(_link: string);
297
300
  get link(): string;
298
301
  }
302
+ /**
303
+ * @internal
304
+ */
299
305
  declare class FileRequestId {
300
306
  private readonly _id;
301
307
  constructor(_id: string);
@@ -410,7 +416,6 @@ declare class ApiInvoker implements IInvoker$1<ApiInvoker> {
410
416
  setRequest(request: IMappedCollection | any[]): ApiInvoker;
411
417
  getRequest(requestName: string): IMappedCollection[];
412
418
  setSrcRequest(srcRequest: IMappedCollection): ApiInvoker;
413
- getSrcRequest(): Record<string, any>;
414
419
  setColumns(columns: string[]): ApiInvoker;
415
420
  setAggregatedColumns(aggregatedColumns: IMappedCollection): ApiInvoker;
416
421
  setNestedColumns(nestedColumns: IMappedCollection): ApiInvoker;
@@ -598,7 +603,7 @@ declare class ApiFileInvoker implements IInvoker {
598
603
  protected readonly _objectName: string;
599
604
  constructor(jsWapiInvoker: jsWapi.JSWapiInvoker, params: IParams);
600
605
  get objectName(): string;
601
- setParams(keyValue: string | number, fileFieldName: string): void;
606
+ private setParams;
602
607
  getExcelFileAsJson(): Map<string, any>;
603
608
  getFileAsString(): string;
604
609
  }
@@ -742,13 +747,6 @@ declare class EngineInitializer<MetaParams = Record<string, any>> {
742
747
  * core.t('key', ['test1', 'test2']); // 'some text test1 test2'
743
748
  */
744
749
  initTranslation(translations: Record<LanguageCode, Record<string, string>>): void;
745
- call({ apiCore, apiRequest, apiResponse, operation, meta }: {
746
- apiCore: ApiCore;
747
- apiRequest: ApiRequest;
748
- apiResponse: ApiResponse;
749
- operation: string;
750
- meta: jsWapi.JSWapiMeta<MetaParams>;
751
- }): void;
752
750
  }
753
751
 
754
752
  declare class ApplicationInitializer<MetaParams = undefined> {
@@ -291,11 +291,17 @@ declare namespace jsWapi {
291
291
  }
292
292
  }
293
293
 
294
+ /**
295
+ * @internal
296
+ */
294
297
  declare class FileLink {
295
298
  private readonly _link;
296
299
  constructor(_link: string);
297
300
  get link(): string;
298
301
  }
302
+ /**
303
+ * @internal
304
+ */
299
305
  declare class FileRequestId {
300
306
  private readonly _id;
301
307
  constructor(_id: string);
@@ -410,7 +416,6 @@ declare class ApiInvoker implements IInvoker$1<ApiInvoker> {
410
416
  setRequest(request: IMappedCollection | any[]): ApiInvoker;
411
417
  getRequest(requestName: string): IMappedCollection[];
412
418
  setSrcRequest(srcRequest: IMappedCollection): ApiInvoker;
413
- getSrcRequest(): Record<string, any>;
414
419
  setColumns(columns: string[]): ApiInvoker;
415
420
  setAggregatedColumns(aggregatedColumns: IMappedCollection): ApiInvoker;
416
421
  setNestedColumns(nestedColumns: IMappedCollection): ApiInvoker;
@@ -598,7 +603,7 @@ declare class ApiFileInvoker implements IInvoker {
598
603
  protected readonly _objectName: string;
599
604
  constructor(jsWapiInvoker: jsWapi.JSWapiInvoker, params: IParams);
600
605
  get objectName(): string;
601
- setParams(keyValue: string | number, fileFieldName: string): void;
606
+ private setParams;
602
607
  getExcelFileAsJson(): Map<string, any>;
603
608
  getFileAsString(): string;
604
609
  }
@@ -742,13 +747,6 @@ declare class EngineInitializer<MetaParams = Record<string, any>> {
742
747
  * core.t('key', ['test1', 'test2']); // 'some text test1 test2'
743
748
  */
744
749
  initTranslation(translations: Record<LanguageCode, Record<string, string>>): void;
745
- call({ apiCore, apiRequest, apiResponse, operation, meta }: {
746
- apiCore: ApiCore;
747
- apiRequest: ApiRequest;
748
- apiResponse: ApiResponse;
749
- operation: string;
750
- meta: jsWapi.JSWapiMeta<MetaParams>;
751
- }): void;
752
750
  }
753
751
 
754
752
  declare class ApplicationInitializer<MetaParams = undefined> {
@@ -358,9 +358,6 @@ var ApiInvoker = class {
358
358
  this._jsWapiInvoker = this._jsWapiInvoker.setSrcRequest(srcRequest);
359
359
  return this;
360
360
  }
361
- getSrcRequest() {
362
- throw new Error("not implemented");
363
- }
364
361
  setColumns(columns) {
365
362
  this.columns = columns;
366
363
  return this;
@@ -1094,15 +1091,6 @@ var EngineInitializer = class {
1094
1091
  initTranslation(translations) {
1095
1092
  UserMessages_default.appendDictionary(translations);
1096
1093
  }
1097
- call({
1098
- apiCore,
1099
- apiRequest,
1100
- apiResponse,
1101
- operation,
1102
- meta
1103
- }) {
1104
- return this._operations[operation](apiCore, apiRequest, apiResponse, meta);
1105
- }
1106
1094
  };
1107
1095
 
1108
1096
  // src/classes/ApplicationInitializer.ts
@@ -358,9 +358,6 @@ var ApiInvoker = class {
358
358
  this._jsWapiInvoker = this._jsWapiInvoker.setSrcRequest(srcRequest);
359
359
  return this;
360
360
  }
361
- getSrcRequest() {
362
- throw new Error("not implemented");
363
- }
364
361
  setColumns(columns) {
365
362
  this.columns = columns;
366
363
  return this;
@@ -1094,15 +1091,6 @@ var EngineInitializer = class {
1094
1091
  initTranslation(translations) {
1095
1092
  UserMessages_default.appendDictionary(translations);
1096
1093
  }
1097
- call({
1098
- apiCore,
1099
- apiRequest,
1100
- apiResponse,
1101
- operation,
1102
- meta
1103
- }) {
1104
- return this._operations[operation](apiCore, apiRequest, apiResponse, meta);
1105
- }
1106
1094
  };
1107
1095
 
1108
1096
  // src/classes/ApplicationInitializer.ts