@webx-ui/module-auth 0.8.15 → 0.9.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.
@@ -0,0 +1,14 @@
1
+ import { Component } from 'vue';
2
+ import { AdminContext } from '@webx-ui/module-admin';
3
+ import { AvatarResolver } from './session';
4
+ /**
5
+ * The photograph's field and its address, from whatever library this panel has.
6
+ *
7
+ * This package does not depend on the media one, and it used to take both pieces from the
8
+ * panel's own `admin.ts` — which nobody wrote, because `webx:panel --sync` does not, so a site
9
+ * with a library still had no photographs. The library already registers its field as a screen
10
+ * type and answers "where does this key live now" for the editors; the same two answer here.
11
+ * Without a library both are null, and a person is their initials.
12
+ */
13
+ export declare function libraryAvatarField(admin: AdminContext): Component | null;
14
+ export declare function libraryAvatarResolver(admin: AdminContext): AvatarResolver | null;