Archived
forked from admin/userbase
This commit is contained in:
+11
-11
@@ -28,10 +28,10 @@ export default {
|
||||
'SysUser.add': ['POST', '/api/sysuser/Add'],
|
||||
'SysGroup.sortChildren': ['POST', '/api/sysgroup/SortChildren'],
|
||||
'SysGroup.move': ['POST', '/api/sysgroup/Move'],
|
||||
'SysGroup.edit_1': ['POST', '/api/sysgroup/Edit/{id}'],
|
||||
'SysGroup.delete_': ['POST', '/api/sysgroup/Delete/{id}'],
|
||||
'SysGroup.sysGroupEdit': ['POST', '/api/sysgroup/Edit/{id}'],
|
||||
'SysGroup.sysGroupRemove': ['POST', '/api/sysgroup/Delete/{id}'],
|
||||
'SysGroup.batchAdd': ['POST', '/api/sysgroup/BatchAdd'],
|
||||
'SysGroup.add_1': ['POST', '/api/sysgroup/Add'],
|
||||
'SysGroup.sysGroupAdd': ['POST', '/api/sysgroup/Add'],
|
||||
'PushSubscription.test': ['POST', '/api/push/Test'],
|
||||
'PushSubscription.retry': ['POST', '/api/push/Retry/{id}'],
|
||||
'Identity.switchIdentity': ['POST', '/api/identity/switch'],
|
||||
@@ -62,19 +62,19 @@ export default {
|
||||
'AppSettings.addModule': ['POST', '/api/app/AddModule'],
|
||||
'AppSettings.addApp': ['POST', '/api/app/AddApp'],
|
||||
'User.moveToGroup': ['POST', '/oapi/user/moveToGroup'],
|
||||
'User.edit_2': ['POST', '/oapi/user/edit/{id}'],
|
||||
'User.delete_1': ['POST', '/oapi/user/delete/{id}/{groupId}'],
|
||||
'User.edit_1': ['POST', '/oapi/user/edit/{id}'],
|
||||
'User.delete_': ['POST', '/oapi/user/delete/{id}/{groupId}'],
|
||||
'User.batchAdd_1': ['POST', '/oapi/user/batchAdd'],
|
||||
'User.add_2': ['POST', '/oapi/user/add'],
|
||||
'Group.edit_3': ['POST', '/oapi/group/edit/{id}'],
|
||||
'Group.delete_2': ['POST', '/oapi/group/delete/{id}'],
|
||||
'User.add_1': ['POST', '/oapi/user/add'],
|
||||
'Group.edit_2': ['POST', '/oapi/group/edit/{id}'],
|
||||
'Group.delete_1': ['POST', '/oapi/group/delete/{id}'],
|
||||
'Group.batchAdd_2': ['POST', '/oapi/group/batchAdd'],
|
||||
'Group.add_3': ['POST', '/oapi/group/add'],
|
||||
'Group.add_2': ['POST', '/oapi/group/add'],
|
||||
'SysUser.list': ['GET', '/api/sysuser/List'],
|
||||
'SysUser.getUserGroups': ['GET', '/api/sysuser/Groups/{userId}'],
|
||||
'SysUser.export_': ['GET', '/api/sysuser/Export'],
|
||||
'SysUser.downloadTemplate': ['GET', '/api/sysuser/DownloadTemplate'],
|
||||
'SysGroup.list_1': ['GET', '/api/sysgroup/List'],
|
||||
'SysGroup.sysGroupList': ['GET', '/api/sysgroup/List'],
|
||||
'SysGroup.getTree': ['GET', '/api/sysgroup/GetTree'],
|
||||
'SysGroup.getSchoolTree': ['GET', '/api/sysgroup/GetSchoolTree'],
|
||||
'PushSubscription.recordList': ['GET', '/api/push/RecordList'],
|
||||
@@ -112,6 +112,6 @@ export default {
|
||||
'User.byId': ['GET', '/oapi/user/byId'],
|
||||
'SignKeyInternal.signKey': ['GET', '/oapi/internal/sign-key/{appId}'],
|
||||
'Group.tree': ['GET', '/oapi/group/tree'],
|
||||
'Group.list_2': ['GET', '/oapi/group/list'],
|
||||
'Group.list_1': ['GET', '/oapi/group/list'],
|
||||
'Group.byId_1': ['GET', '/oapi/group/byId']
|
||||
};
|
||||
|
||||
Vendored
+109
-109
@@ -481,33 +481,47 @@ export interface RedirectView {
|
||||
attributeNames?: object;
|
||||
majorVersion?: number;
|
||||
contextPath?: string;
|
||||
minorVersion?: number;
|
||||
initParameterNames?: object;
|
||||
sessionTimeout?: number;
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
servletNames?: object;
|
||||
minorVersion?: number;
|
||||
initParameterNames?: object;
|
||||
sessionTimeout?: number;
|
||||
serverInfo?: string;
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
servlets?: object;
|
||||
requestCharacterEncoding?: string;
|
||||
jspConfigDescriptor?: {
|
||||
taglibs?: Array<{
|
||||
taglibLocation?: string;
|
||||
taglibURI?: string;
|
||||
}>;
|
||||
jspPropertyGroups?: Array<{
|
||||
buffer?: string;
|
||||
defaultContentType?: string;
|
||||
urlPatterns?: string[];
|
||||
includePreludes?: string[];
|
||||
trimDirectiveWhitespaces?: string;
|
||||
scriptingInvalid?: string;
|
||||
errorOnUndeclaredNamespace?: string;
|
||||
includeCodas?: string[];
|
||||
elIgnored?: string;
|
||||
pageEncoding?: string;
|
||||
isXml?: string;
|
||||
deferredSyntaxAllowedAsLiteral?: string;
|
||||
}>;
|
||||
};
|
||||
effectiveMajorVersion?: number;
|
||||
servletContextName?: string;
|
||||
virtualServerName?: string;
|
||||
filterRegistrations?: Record<
|
||||
string,
|
||||
{
|
||||
urlPatternMappings?: string[];
|
||||
servletNameMappings?: string[];
|
||||
urlPatternMappings?: string[];
|
||||
name?: string;
|
||||
className?: string;
|
||||
initParameters?: Record<string, string>;
|
||||
}
|
||||
>;
|
||||
servletContextName?: string;
|
||||
sessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[];
|
||||
effectiveMinorVersion?: number;
|
||||
defaultSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[];
|
||||
servletRegistrations?: Record<
|
||||
string,
|
||||
{
|
||||
@@ -518,8 +532,11 @@ export interface RedirectView {
|
||||
initParameters?: Record<string, string>;
|
||||
}
|
||||
>;
|
||||
effectiveMajorVersion?: number;
|
||||
virtualServerName?: string;
|
||||
effectiveMinorVersion?: number;
|
||||
sessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[];
|
||||
effectiveSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[];
|
||||
defaultSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[];
|
||||
responseCharacterEncoding?: string;
|
||||
sessionCookieConfig?: {
|
||||
name?: string;
|
||||
path?: string;
|
||||
@@ -529,28 +546,11 @@ export interface RedirectView {
|
||||
maxAge?: number;
|
||||
httpOnly?: boolean;
|
||||
};
|
||||
jspConfigDescriptor?: {
|
||||
taglibs?: Array<{
|
||||
taglibURI?: string;
|
||||
taglibLocation?: string;
|
||||
}>;
|
||||
jspPropertyGroups?: Array<{
|
||||
buffer?: string;
|
||||
urlPatterns?: string[];
|
||||
defaultContentType?: string;
|
||||
elIgnored?: string;
|
||||
pageEncoding?: string;
|
||||
isXml?: string;
|
||||
includeCodas?: string[];
|
||||
trimDirectiveWhitespaces?: string;
|
||||
includePreludes?: string[];
|
||||
scriptingInvalid?: string;
|
||||
errorOnUndeclaredNamespace?: string;
|
||||
deferredSyntaxAllowedAsLiteral?: string;
|
||||
}>;
|
||||
};
|
||||
responseCharacterEncoding?: string;
|
||||
effectiveSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[];
|
||||
serverInfo?: string;
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
servlets?: object;
|
||||
};
|
||||
contentType?: string;
|
||||
requestContextAttribute?: string;
|
||||
@@ -1412,7 +1412,7 @@ declare global {
|
||||
* type Response = null
|
||||
* ```
|
||||
*/
|
||||
edit_1<
|
||||
sysGroupEdit<
|
||||
Config extends Alova2MethodConfig<null> & {
|
||||
pathParams: {
|
||||
id: number;
|
||||
@@ -1421,7 +1421,7 @@ declare global {
|
||||
}
|
||||
>(
|
||||
config: Config
|
||||
): Alova2Method<null, 'SysGroup.edit_1', Config>;
|
||||
): Alova2Method<null, 'SysGroup.sysGroupEdit', Config>;
|
||||
/**
|
||||
* ---
|
||||
*
|
||||
@@ -1445,7 +1445,7 @@ declare global {
|
||||
* type Response = null
|
||||
* ```
|
||||
*/
|
||||
delete_<
|
||||
sysGroupRemove<
|
||||
Config extends Alova2MethodConfig<null> & {
|
||||
pathParams: {
|
||||
id: number;
|
||||
@@ -1453,7 +1453,7 @@ declare global {
|
||||
}
|
||||
>(
|
||||
config: Config
|
||||
): Alova2Method<null, 'SysGroup.delete_', Config>;
|
||||
): Alova2Method<null, 'SysGroup.sysGroupRemove', Config>;
|
||||
/**
|
||||
* ---
|
||||
*
|
||||
@@ -1517,13 +1517,13 @@ declare global {
|
||||
* type Response = null
|
||||
* ```
|
||||
*/
|
||||
add_1<
|
||||
sysGroupAdd<
|
||||
Config extends Alova2MethodConfig<null> & {
|
||||
data: SysGroupRequest;
|
||||
}
|
||||
>(
|
||||
config: Config
|
||||
): Alova2Method<null, 'SysGroup.add_1', Config>;
|
||||
): Alova2Method<null, 'SysGroup.sysGroupAdd', Config>;
|
||||
/**
|
||||
* ---
|
||||
*
|
||||
@@ -1559,7 +1559,7 @@ declare global {
|
||||
* }>
|
||||
* ```
|
||||
*/
|
||||
list_1<
|
||||
sysGroupList<
|
||||
Config extends Alova2MethodConfig<SysGroupVo[]> & {
|
||||
params: {
|
||||
query: SysGroupQuery;
|
||||
@@ -1567,7 +1567,7 @@ declare global {
|
||||
}
|
||||
>(
|
||||
config: Config
|
||||
): Alova2Method<SysGroupVo[], 'SysGroup.list_1', Config>;
|
||||
): Alova2Method<SysGroupVo[], 'SysGroup.sysGroupList', Config>;
|
||||
/**
|
||||
* ---
|
||||
*
|
||||
@@ -2550,37 +2550,59 @@ declare global {
|
||||
* attributeNames?: object
|
||||
* majorVersion?: number
|
||||
* contextPath?: string
|
||||
* // [deprecated]
|
||||
* servletNames?: object
|
||||
* minorVersion?: number
|
||||
* initParameterNames?: object
|
||||
* sessionTimeout?: number
|
||||
* serverInfo?: string
|
||||
* // [deprecated]
|
||||
* servlets?: object
|
||||
* servletNames?: object
|
||||
* requestCharacterEncoding?: string
|
||||
* jspConfigDescriptor?: {
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* taglibs?: Array<{
|
||||
* taglibLocation?: string
|
||||
* taglibURI?: string
|
||||
* }>
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* jspPropertyGroups?: Array<{
|
||||
* buffer?: string
|
||||
* defaultContentType?: string
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* urlPatterns?: string[]
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* includePreludes?: string[]
|
||||
* trimDirectiveWhitespaces?: string
|
||||
* scriptingInvalid?: string
|
||||
* errorOnUndeclaredNamespace?: string
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* includeCodas?: string[]
|
||||
* elIgnored?: string
|
||||
* pageEncoding?: string
|
||||
* isXml?: string
|
||||
* deferredSyntaxAllowedAsLiteral?: string
|
||||
* }>
|
||||
* }
|
||||
* effectiveMajorVersion?: number
|
||||
* servletContextName?: string
|
||||
* virtualServerName?: string
|
||||
* filterRegistrations?: Record<
|
||||
* string,
|
||||
* {
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* urlPatternMappings?: string[]
|
||||
* servletNameMappings?: string[]
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* servletNameMappings?: string[]
|
||||
* urlPatternMappings?: string[]
|
||||
* name?: string
|
||||
* className?: string
|
||||
* initParameters?: Record<string, string>
|
||||
* }
|
||||
* >
|
||||
* servletContextName?: string
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* sessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[]
|
||||
* effectiveMinorVersion?: number
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* defaultSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[]
|
||||
* servletRegistrations?: Record<
|
||||
* string,
|
||||
* {
|
||||
@@ -2593,8 +2615,17 @@ declare global {
|
||||
* initParameters?: Record<string, string>
|
||||
* }
|
||||
* >
|
||||
* effectiveMajorVersion?: number
|
||||
* virtualServerName?: string
|
||||
* effectiveMinorVersion?: number
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* sessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[]
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* effectiveSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[]
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* defaultSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[]
|
||||
* responseCharacterEncoding?: string
|
||||
* sessionCookieConfig?: {
|
||||
* name?: string
|
||||
* path?: string
|
||||
@@ -2604,40 +2635,9 @@ declare global {
|
||||
* maxAge?: number
|
||||
* httpOnly?: boolean
|
||||
* }
|
||||
* jspConfigDescriptor?: {
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* taglibs?: Array<{
|
||||
* taglibURI?: string
|
||||
* taglibLocation?: string
|
||||
* }>
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* jspPropertyGroups?: Array<{
|
||||
* buffer?: string
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* urlPatterns?: string[]
|
||||
* defaultContentType?: string
|
||||
* elIgnored?: string
|
||||
* pageEncoding?: string
|
||||
* isXml?: string
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* includeCodas?: string[]
|
||||
* trimDirectiveWhitespaces?: string
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* includePreludes?: string[]
|
||||
* scriptingInvalid?: string
|
||||
* errorOnUndeclaredNamespace?: string
|
||||
* deferredSyntaxAllowedAsLiteral?: string
|
||||
* }>
|
||||
* }
|
||||
* responseCharacterEncoding?: string
|
||||
* // [items] start
|
||||
* // [items] end
|
||||
* effectiveSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[]
|
||||
* serverInfo?: string
|
||||
* // [deprecated]
|
||||
* servlets?: object
|
||||
* }
|
||||
* contentType?: string
|
||||
* requestContextAttribute?: string
|
||||
@@ -4196,7 +4196,7 @@ declare global {
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
edit_2<
|
||||
edit_1<
|
||||
Config extends Alova2MethodConfig<BoaUser> & {
|
||||
pathParams: {
|
||||
id: number;
|
||||
@@ -4205,7 +4205,7 @@ declare global {
|
||||
}
|
||||
>(
|
||||
config: Config
|
||||
): Alova2Method<BoaUser, 'User.edit_2', Config>;
|
||||
): Alova2Method<BoaUser, 'User.edit_1', Config>;
|
||||
/**
|
||||
* ---
|
||||
*
|
||||
@@ -4230,7 +4230,7 @@ declare global {
|
||||
* type Response = null
|
||||
* ```
|
||||
*/
|
||||
delete_1<
|
||||
delete_<
|
||||
Config extends Alova2MethodConfig<null> & {
|
||||
pathParams: {
|
||||
id: number;
|
||||
@@ -4239,7 +4239,7 @@ declare global {
|
||||
}
|
||||
>(
|
||||
config: Config
|
||||
): Alova2Method<null, 'User.delete_1', Config>;
|
||||
): Alova2Method<null, 'User.delete_', Config>;
|
||||
/**
|
||||
* ---
|
||||
*
|
||||
@@ -4473,13 +4473,13 @@ declare global {
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
add_2<
|
||||
add_1<
|
||||
Config extends Alova2MethodConfig<BoaUser> & {
|
||||
data: SysUserRequest;
|
||||
}
|
||||
>(
|
||||
config: Config
|
||||
): Alova2Method<BoaUser, 'User.add_2', Config>;
|
||||
): Alova2Method<BoaUser, 'User.add_1', Config>;
|
||||
/**
|
||||
* ---
|
||||
*
|
||||
@@ -4889,7 +4889,7 @@ declare global {
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
edit_3<
|
||||
edit_2<
|
||||
Config extends Alova2MethodConfig<BoaGroup> & {
|
||||
pathParams: {
|
||||
id: number;
|
||||
@@ -4898,7 +4898,7 @@ declare global {
|
||||
}
|
||||
>(
|
||||
config: Config
|
||||
): Alova2Method<BoaGroup, 'Group.edit_3', Config>;
|
||||
): Alova2Method<BoaGroup, 'Group.edit_2', Config>;
|
||||
/**
|
||||
* ---
|
||||
*
|
||||
@@ -4922,7 +4922,7 @@ declare global {
|
||||
* type Response = null
|
||||
* ```
|
||||
*/
|
||||
delete_2<
|
||||
delete_1<
|
||||
Config extends Alova2MethodConfig<null> & {
|
||||
pathParams: {
|
||||
id: number;
|
||||
@@ -4930,7 +4930,7 @@ declare global {
|
||||
}
|
||||
>(
|
||||
config: Config
|
||||
): Alova2Method<null, 'Group.delete_2', Config>;
|
||||
): Alova2Method<null, 'Group.delete_1', Config>;
|
||||
/**
|
||||
* ---
|
||||
*
|
||||
@@ -5014,13 +5014,13 @@ declare global {
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
add_3<
|
||||
add_2<
|
||||
Config extends Alova2MethodConfig<BoaGroup> & {
|
||||
data: SysGroupRequest;
|
||||
}
|
||||
>(
|
||||
config: Config
|
||||
): Alova2Method<BoaGroup, 'Group.add_3', Config>;
|
||||
): Alova2Method<BoaGroup, 'Group.add_2', Config>;
|
||||
/**
|
||||
* ---
|
||||
*
|
||||
@@ -5080,7 +5080,7 @@ declare global {
|
||||
* }>
|
||||
* ```
|
||||
*/
|
||||
list_2<
|
||||
list_1<
|
||||
Config extends Alova2MethodConfig<BoaGroup[]> & {
|
||||
params: {
|
||||
ids: string;
|
||||
@@ -5089,7 +5089,7 @@ declare global {
|
||||
}
|
||||
>(
|
||||
config: Config
|
||||
): Alova2Method<BoaGroup[], 'Group.list_2', Config>;
|
||||
): Alova2Method<BoaGroup[], 'Group.list_1', Config>;
|
||||
/**
|
||||
* ---
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user