@sprucelabs/spruce-organization-utils 3.0.31 → 3.0.33

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,11 +1,11 @@
1
1
  import { AbstractViewController, SpruceSchemas, ViewControllerOptions } from '@sprucelabs/heartwood-view-controllers';
2
- declare type Card = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
3
- declare type Organization = SpruceSchemas.Spruce.v2020_07_22.Organization;
4
- declare type Button = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Button;
5
- declare type Row = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ListRow;
6
- declare type OnDeleteHandler = (organization: Organization) => void | Promise<void>;
7
- declare type OnEditHandler = (organization: Organization) => void | Promise<void>;
8
- export declare type OrganizationListCardViewControllerOptions = {
2
+ type Card = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
3
+ type Organization = SpruceSchemas.Spruce.v2020_07_22.Organization;
4
+ type Button = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Button;
5
+ type Row = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ListRow;
6
+ type OnDeleteHandler = (organization: Organization) => void | Promise<void>;
7
+ type OnEditHandler = (organization: Organization) => void | Promise<void>;
8
+ export type OrganizationListCardViewControllerOptions = {
9
9
  onDelete?: OnDeleteHandler;
10
10
  onEdit?: OnEditHandler;
11
11
  footerButtons?: Button[];
@@ -1,11 +1,11 @@
1
1
  import { AbstractViewController, SpruceSchemas, ViewControllerOptions } from '@sprucelabs/heartwood-view-controllers';
2
- declare type Card = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
3
- declare type Organization = SpruceSchemas.Spruce.v2020_07_22.Organization;
4
- declare type Button = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Button;
5
- declare type Row = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ListRow;
6
- declare type OnDeleteHandler = (organization: Organization) => void | Promise<void>;
7
- declare type OnEditHandler = (organization: Organization) => void | Promise<void>;
8
- export declare type OrganizationListCardViewControllerOptions = {
2
+ type Card = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
3
+ type Organization = SpruceSchemas.Spruce.v2020_07_22.Organization;
4
+ type Button = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Button;
5
+ type Row = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ListRow;
6
+ type OnDeleteHandler = (organization: Organization) => void | Promise<void>;
7
+ type OnEditHandler = (organization: Organization) => void | Promise<void>;
8
+ export type OrganizationListCardViewControllerOptions = {
9
9
  onDelete?: OnDeleteHandler;
10
10
  onEdit?: OnEditHandler;
11
11
  footerButtons?: Button[];
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": "3.0.31",
4
+ "version": "3.0.33",
5
5
  "skill": {
6
6
  "namespace": "organization"
7
7
  },