@sprucelabs/spruce-profile-utils 2.2.0 → 3.0.0
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,17 +1,17 @@
|
|
|
1
1
|
import { Card, SkillViewControllerLoadOptions, ViewController } from '@sprucelabs/heartwood-view-controllers';
|
|
2
2
|
import RoleSelectCardViewController, { RoleSelectCardViewControllerOptions } from './adding/RoleSelectCard.vc';
|
|
3
|
-
import ProfileCardViewController
|
|
3
|
+
import ProfileCardViewController from './root/ProfileCard.vc';
|
|
4
4
|
export { ProfileRole } from './adding/RoleSelectCard.vc';
|
|
5
5
|
export type RemoteProfileCard = ViewController<Card> & {
|
|
6
6
|
load?: (options: SkillViewControllerLoadOptions) => Promise<void> | void;
|
|
7
7
|
};
|
|
8
8
|
declare module '@sprucelabs/heartwood-view-controllers/build/types/heartwood.types' {
|
|
9
9
|
interface ViewControllerMap {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
'profile.role-select-card': RoleSelectCardViewController;
|
|
11
|
+
'profile.profile-card': ProfileCardViewController;
|
|
12
12
|
}
|
|
13
13
|
interface ViewControllerOptionsMap {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
'profile.role-select-card': RoleSelectCardViewControllerOptions;
|
|
15
|
+
'profile.profile-card': ConstructorParameters<typeof ProfileCardViewController>[0];
|
|
16
16
|
}
|
|
17
17
|
}
|
package/build/types-module.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Card, SkillViewControllerLoadOptions, ViewController } from '@sprucelabs/heartwood-view-controllers';
|
|
2
2
|
import RoleSelectCardViewController, { RoleSelectCardViewControllerOptions } from './adding/RoleSelectCard.vc';
|
|
3
|
-
import ProfileCardViewController
|
|
3
|
+
import ProfileCardViewController from './root/ProfileCard.vc';
|
|
4
4
|
export { ProfileRole } from './adding/RoleSelectCard.vc';
|
|
5
5
|
export type RemoteProfileCard = ViewController<Card> & {
|
|
6
6
|
load?: (options: SkillViewControllerLoadOptions) => Promise<void> | void;
|
|
7
7
|
};
|
|
8
8
|
declare module '@sprucelabs/heartwood-view-controllers/build/types/heartwood.types' {
|
|
9
9
|
interface ViewControllerMap {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
'profile.role-select-card': RoleSelectCardViewController;
|
|
11
|
+
'profile.profile-card': ProfileCardViewController;
|
|
12
12
|
}
|
|
13
13
|
interface ViewControllerOptionsMap {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
'profile.role-select-card': RoleSelectCardViewControllerOptions;
|
|
15
|
+
'profile.profile-card': ConstructorParameters<typeof ProfileCardViewController>[0];
|
|
16
16
|
}
|
|
17
17
|
}
|