@thunderid/vue 0.13.0 → 0.13.2
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.
- package/dist/api/getUsersMeMeta.d.ts +22 -0
- package/dist/api/getUsersMeMeta.d.ts.map +1 -0
- package/dist/cjs/index.cjs +801 -252
- package/dist/components/adapters/GoogleButton.d.ts.map +1 -1
- package/dist/components/presentation/user-dropdown/BaseUserDropdown.d.ts.map +1 -1
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts +1 -1
- package/dist/components/presentation/user-dropdown/UserDropdown.css.d.ts.map +1 -1
- package/dist/components/presentation/user-profile/BaseUserProfile.d.ts +4 -1
- package/dist/components/presentation/user-profile/BaseUserProfile.d.ts.map +1 -1
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts +2 -12
- package/dist/components/presentation/user-profile/UserProfile.css.d.ts.map +1 -1
- package/dist/components/presentation/user-profile/UserProfile.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +803 -255
- package/dist/models/contexts.d.ts +9 -5
- package/dist/models/contexts.d.ts.map +1 -1
- package/dist/providers/ThunderIDProvider.d.ts.map +1 -1
- package/dist/providers/UserProvider.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { GetUsersMeMetaConfig as BaseGetUsersMeMetaConfig, UsersMeMetaResponse, AttributeSchema } from '@thunderid/browser';
|
|
2
|
+
export type { AttributeSchema, UsersMeMetaResponse };
|
|
3
|
+
/**
|
|
4
|
+
* Configuration for the getUsersMeMeta request (Vue-specific)
|
|
5
|
+
*/
|
|
6
|
+
export interface GetUsersMeMetaConfig extends Omit<BaseGetUsersMeMetaConfig, 'fetcher'> {
|
|
7
|
+
/**
|
|
8
|
+
* Optional custom fetcher function. If not provided, the ThunderID SPA client's httpClient will be used
|
|
9
|
+
*/
|
|
10
|
+
fetcher?: (url: string, config: RequestInit) => Promise<Response>;
|
|
11
|
+
/**
|
|
12
|
+
* Optional instance ID for multi-instance support. Defaults to 0.
|
|
13
|
+
*/
|
|
14
|
+
instanceId?: number;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves the user schema metadata from the specified /users/me/meta endpoint.
|
|
18
|
+
* Uses ThunderID SPA client FetchHttpClient by default with multi-instance support.
|
|
19
|
+
*/
|
|
20
|
+
declare const getUsersMeMeta: ({ fetcher, instanceId, ...requestConfig }: GetUsersMeMetaConfig) => Promise<UsersMeMetaResponse>;
|
|
21
|
+
export default getUsersMeMeta;
|
|
22
|
+
//# sourceMappingURL=getUsersMeMeta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsersMeMeta.d.ts","sourceRoot":"","sources":["../../src/api/getUsersMeMeta.ts"],"names":[],"mappings":"AAGA,OAAO,EAKL,oBAAoB,IAAI,wBAAwB,EAChD,mBAAmB,EACnB,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAE5B,YAAY,EAAC,eAAe,EAAE,mBAAmB,EAAC,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,wBAAwB,EAAE,SAAS,CAAC;IACrF;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClE;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,QAAA,MAAM,cAAc,GAAU,2CAI3B,oBAAoB,KAAG,OAAO,CAAC,mBAAmB,CAsBpD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|