@lifeready/core 1.0.16 → 1.0.17

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.
@@ -3582,6 +3582,7 @@ query TpPasswordResetQuery {
3582
3582
  assembly {
3583
3583
  singleReject
3584
3584
  quorum
3585
+ canMeetQuorum
3585
3586
  subjectCipherData
3586
3587
  subjectKey {
3587
3588
  id
@@ -10861,7 +10862,7 @@ let Item2Service = Item2Service_1 = class Item2Service extends LrService {
10861
10862
  return __awaiter(this, void 0, void 0, function* () {
10862
10863
  const fileKey = yield this.keyFactory.createKey();
10863
10864
  const parentDirectories = yield Promise.all(options.parentDirectories.map((t) => __awaiter(this, void 0, void 0, function* () {
10864
- const { directoryId, wrappingKeyId, wrappedKey, } = yield this.prepareParentDirectory(t, fileKey);
10865
+ const { directoryId, wrappingKeyId, wrappedKey } = yield this.prepareParentDirectory(t, fileKey);
10865
10866
  // remap from ParentDirectoryInput to FileParentDirectoryInput
10866
10867
  // TODO the server should really just use wrappedKey instead of wrappedFileKey
10867
10868
  return {
@@ -11011,16 +11012,20 @@ mutation CompleteTpMkReshareMutation($input: CompleteTpMkReshareInput!) {
11011
11012
  }
11012
11013
  }`;
11013
11014
 
11014
- let TrustedParty2Service = class TrustedParty2Service {
11015
- constructor(ngZone, keyGraph, lrGraphQL, item2Service, keyService, keyFactory, encryptionService) {
11015
+ let TrustedParty2Service = class TrustedParty2Service extends LrService {
11016
+ constructor(ngZone, injector, keyGraph, item2Service, keyService, keyFactory, encryptionService) {
11017
+ super(injector);
11016
11018
  this.ngZone = ngZone;
11019
+ this.injector = injector;
11017
11020
  this.keyGraph = keyGraph;
11018
- this.lrGraphQL = lrGraphQL;
11019
11021
  this.item2Service = item2Service;
11020
11022
  this.keyService = keyService;
11021
11023
  this.keyFactory = keyFactory;
11022
11024
  this.encryptionService = encryptionService;
11023
11025
  }
11026
+ deleteTpExec(tpId) {
11027
+ return this.mutate(this.deleteTpMutation(tpId));
11028
+ }
11024
11029
  // TODO: deprecate this
11025
11030
  deleteTp(tpId) {
11026
11031
  return this.deleteTpMutation(tpId);
@@ -11185,7 +11190,7 @@ let TrustedParty2Service = class TrustedParty2Service {
11185
11190
  });
11186
11191
  }
11187
11192
  };
11188
- TrustedParty2Service.ɵprov = ɵɵdefineInjectable({ factory: function TrustedParty2Service_Factory() { return new TrustedParty2Service(ɵɵinject(NgZone), ɵɵinject(KeyGraphService), ɵɵinject(LrGraphQLService), ɵɵinject(Item2Service), ɵɵinject(KeyService), ɵɵinject(KeyFactoryService), ɵɵinject(EncryptionService)); }, token: TrustedParty2Service, providedIn: "root" });
11193
+ TrustedParty2Service.ɵprov = ɵɵdefineInjectable({ factory: function TrustedParty2Service_Factory() { return new TrustedParty2Service(ɵɵinject(NgZone), ɵɵinject(INJECTOR), ɵɵinject(KeyGraphService), ɵɵinject(Item2Service), ɵɵinject(KeyService), ɵɵinject(KeyFactoryService), ɵɵinject(EncryptionService)); }, token: TrustedParty2Service, providedIn: "root" });
11189
11194
  TrustedParty2Service.decorators = [
11190
11195
  { type: Injectable, args: [{
11191
11196
  providedIn: 'root',
@@ -11193,8 +11198,8 @@ TrustedParty2Service.decorators = [
11193
11198
  ];
11194
11199
  TrustedParty2Service.ctorParameters = () => [
11195
11200
  { type: NgZone },
11201
+ { type: Injector },
11196
11202
  { type: KeyGraphService },
11197
- { type: LrGraphQLService },
11198
11203
  { type: Item2Service },
11199
11204
  { type: KeyService },
11200
11205
  { type: KeyFactoryService },