kauth-sdk-node 2.0.8 → 2.0.9
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,10 +1,8 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { ParsedUrlQueryInput } from 'querystring';
|
|
3
3
|
import { MarmotOptions, MarmotPagination } from '../tool/marmot';
|
|
4
|
-
export declare
|
|
5
|
-
|
|
6
|
-
FilteredByGlobalRoles
|
|
7
|
-
}
|
|
4
|
+
export declare type NotFilteredByAnyRoles = undefined;
|
|
5
|
+
export declare type FilteredByGlobalRoles = null;
|
|
8
6
|
export interface KauthAuthenticateRequest extends ParsedUrlQueryInput, MarmotOptions {
|
|
9
7
|
code: string;
|
|
10
8
|
redirect_uri: string;
|
|
@@ -94,6 +92,6 @@ export interface KauthBindRoleWithUsersRequest extends MarmotOptions {
|
|
|
94
92
|
export interface KauthSearchUsersWithUserAccountsAndRoleRequest extends MarmotOptions {
|
|
95
93
|
name?: string;
|
|
96
94
|
role_name?: string;
|
|
97
|
-
role_extend_value:
|
|
95
|
+
role_extend_value: NotFilteredByAnyRoles | FilteredByGlobalRoles | string;
|
|
98
96
|
pagination: Partial<MarmotPagination>;
|
|
99
97
|
}
|
|
@@ -1,8 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RoleExtendValueType = void 0;
|
|
4
|
-
var RoleExtendValueType;
|
|
5
|
-
(function (RoleExtendValueType) {
|
|
6
|
-
RoleExtendValueType[RoleExtendValueType["NotFilteredByAnyRoles"] = undefined] = "NotFilteredByAnyRoles";
|
|
7
|
-
RoleExtendValueType[RoleExtendValueType["FilteredByGlobalRoles"] = null] = "FilteredByGlobalRoles";
|
|
8
|
-
})(RoleExtendValueType = exports.RoleExtendValueType || (exports.RoleExtendValueType = {}));
|