@sprucelabs/spruce-organization-utils 2.2.0 → 2.2.3

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.
@@ -21,7 +21,7 @@ export default class OrganizationListCardViewController extends AbstractViewCont
21
21
  private ActiveRecordCardVc;
22
22
  private handleClickDeleteOrg;
23
23
  buildRow(org: Organization): Row;
24
- handleDeletOrg(org: SpruceSchemas.Spruce.v2020_07_22.Organization): Promise<void>;
24
+ handleDeleteOrg(org: SpruceSchemas.Spruce.v2020_07_22.Organization): Promise<void>;
25
25
  load(): Promise<void>;
26
26
  getListVc(): import("@sprucelabs/heartwood-view-controllers").ListViewController;
27
27
  getCardVc(): import("@sprucelabs/heartwood-view-controllers").CardViewController;
@@ -44,7 +44,7 @@ export default class OrganizationListCardViewController extends AbstractViewCont
44
44
  if (!shouldDelete) {
45
45
  return;
46
46
  }
47
- yield this.handleDeletOrg(org);
47
+ yield this.handleDeleteOrg(org);
48
48
  });
49
49
  }
50
50
  buildRow(org) {
@@ -79,7 +79,7 @@ export default class OrganizationListCardViewController extends AbstractViewCont
79
79
  ].filter((b) => !!b),
80
80
  };
81
81
  }
82
- handleDeletOrg(org) {
82
+ handleDeleteOrg(org) {
83
83
  var _a;
84
84
  return __awaiter(this, void 0, void 0, function* () {
85
85
  yield ((_a = this.onDelete) === null || _a === void 0 ? void 0 : _a.call(this, org));
@@ -21,7 +21,7 @@ export default class OrganizationListCardViewController extends AbstractViewCont
21
21
  private ActiveRecordCardVc;
22
22
  private handleClickDeleteOrg;
23
23
  buildRow(org: Organization): Row;
24
- handleDeletOrg(org: SpruceSchemas.Spruce.v2020_07_22.Organization): Promise<void>;
24
+ handleDeleteOrg(org: SpruceSchemas.Spruce.v2020_07_22.Organization): Promise<void>;
25
25
  load(): Promise<void>;
26
26
  getListVc(): import("@sprucelabs/heartwood-view-controllers").ListViewController;
27
27
  getCardVc(): import("@sprucelabs/heartwood-view-controllers").CardViewController;
@@ -36,7 +36,7 @@ class OrganizationListCardViewController extends heartwood_view_controllers_1.Ab
36
36
  if (!shouldDelete) {
37
37
  return;
38
38
  }
39
- await this.handleDeletOrg(org);
39
+ await this.handleDeleteOrg(org);
40
40
  }
41
41
  buildRow(org) {
42
42
  return {
@@ -70,7 +70,7 @@ class OrganizationListCardViewController extends heartwood_view_controllers_1.Ab
70
70
  ].filter((b) => !!b),
71
71
  };
72
72
  }
73
- async handleDeletOrg(org) {
73
+ async handleDeleteOrg(org) {
74
74
  var _a;
75
75
  await ((_a = this.onDelete) === null || _a === void 0 ? void 0 : _a.call(this, org));
76
76
  this.activeRecordCardVc.deleteRow(org.id);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-organization-utils",
3
3
  "description": "Support for working with organizations and Sprucebot. 📈",
4
- "version": "2.2.0",
4
+ "version": "2.2.3",
5
5
  "skill": {
6
6
  "namespace": "organization"
7
7
  },