-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #892 from colinin/rel-7.4.0
Rel 7.4.0
- Loading branch information
Showing
3,117 changed files
with
78,689 additions
and
82,249 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
- "**.csproj" | ||
|
||
env: | ||
DOTNET_VERSION: "7.0.102" | ||
DOTNET_VERSION: "7.0.401" | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
apps/vue/src/api/feature-management/definitions/features/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { defHttp } from '/@/utils/http/axios'; | ||
import { | ||
FeatureDefinitionDto, | ||
FeatureDefinitionCreateDto, | ||
FeatureDefinitionUpdateDto, | ||
FeatureDefinitionGetListInput, | ||
} from './model'; | ||
|
||
export const CreateAsyncByInput = (input: FeatureDefinitionCreateDto) => { | ||
return defHttp.post<FeatureDefinitionDto>({ | ||
url: '/api/feature-management/definitions', | ||
data: input, | ||
}); | ||
}; | ||
|
||
export const DeleteAsyncByName = (name: string) => { | ||
return defHttp.delete<void>({ | ||
url: `/api/feature-management/definitions/${name}`, | ||
}); | ||
}; | ||
|
||
export const GetAsyncByName = (name: string) => { | ||
return defHttp.get<FeatureDefinitionDto>({ | ||
url: `/api/feature-management/definitions/${name}`, | ||
}); | ||
}; | ||
|
||
export const GetListAsyncByInput = (input: FeatureDefinitionGetListInput) => { | ||
return defHttp.get<ListResultDto<FeatureDefinitionDto>>({ | ||
url: '/api/feature-management/definitions', | ||
params: input, | ||
}); | ||
}; | ||
|
||
export const UpdateAsyncByNameAndInput = (name: string, input: FeatureDefinitionUpdateDto) => { | ||
return defHttp.put<FeatureDefinitionDto>({ | ||
url: `/api/feature-management/definitions/${name}`, | ||
data: input, | ||
}); | ||
}; |
36 changes: 36 additions & 0 deletions
36
apps/vue/src/api/feature-management/definitions/features/model/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
interface FeatureDefinitionCreateOrUpdateDto extends IHasExtraProperties { | ||
displayName: string; | ||
parentName?: string; | ||
description?: string; | ||
defaultValue?: string; | ||
valueType: string; | ||
isVisibleToClients: boolean; | ||
isAvailableToHost: boolean; | ||
allowedProviders: string[]; | ||
} | ||
|
||
export interface FeatureDefinitionCreateDto extends FeatureDefinitionCreateOrUpdateDto { | ||
name: string; | ||
groupName: string; | ||
} | ||
|
||
export interface FeatureDefinitionDto extends IHasExtraProperties { | ||
name: string; | ||
groupName: string; | ||
displayName: string; | ||
parentName?: string; | ||
description?: string; | ||
defaultValue?: string; | ||
valueType: string; | ||
isStatic: boolean; | ||
isVisibleToClients: boolean; | ||
isAvailableToHost: boolean; | ||
allowedProviders: string[]; | ||
} | ||
|
||
export interface FeatureDefinitionGetListInput { | ||
filter?: string; | ||
groupName?: string; | ||
} | ||
|
||
export type FeatureDefinitionUpdateDto = FeatureDefinitionCreateOrUpdateDto; |
40 changes: 40 additions & 0 deletions
40
apps/vue/src/api/feature-management/definitions/groups/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { defHttp } from '/@/utils/http/axios'; | ||
import { | ||
FeatureGroupDefinitionDto, | ||
FeatureGroupDefinitionCreateDto, | ||
FeatureGroupDefinitionUpdateDto, | ||
FeatureGroupDefinitionGetListInput, | ||
} from './model'; | ||
|
||
export const CreateAsyncByInput = (input: FeatureGroupDefinitionCreateDto) => { | ||
return defHttp.post<FeatureGroupDefinitionDto>({ | ||
url: '/api/feature-management/definitions/groups', | ||
data: input, | ||
}); | ||
}; | ||
|
||
export const DeleteAsyncByName = (name: string) => { | ||
return defHttp.delete<void>({ | ||
url: `/api/feature-management/definitions/groups/${name}`, | ||
}); | ||
}; | ||
|
||
export const GetAsyncByName = (name: string) => { | ||
return defHttp.get<FeatureGroupDefinitionDto>({ | ||
url: `/api/feature-management/definitions/groups/${name}`, | ||
}); | ||
}; | ||
|
||
export const GetListAsyncByInput = (input: FeatureGroupDefinitionGetListInput) => { | ||
return defHttp.get<ListResultDto<FeatureGroupDefinitionDto>>({ | ||
url: '/api/feature-management/definitions/groups', | ||
params: input, | ||
}); | ||
}; | ||
|
||
export const UpdateAsyncByNameAndInput = (name: string, input: FeatureGroupDefinitionUpdateDto) => { | ||
return defHttp.put<FeatureGroupDefinitionDto>({ | ||
url: `/api/feature-management/definitions/groups/${name}`, | ||
data: input, | ||
}); | ||
}; |
19 changes: 19 additions & 0 deletions
19
apps/vue/src/api/feature-management/definitions/groups/model/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
interface FeatureGroupDefinitionCreateOrUpdateDto extends IHasExtraProperties { | ||
displayName: string; | ||
} | ||
|
||
export interface FeatureGroupDefinitionCreateDto extends FeatureGroupDefinitionCreateOrUpdateDto { | ||
name: string; | ||
} | ||
|
||
export interface FeatureGroupDefinitionDto extends IHasExtraProperties { | ||
name: string; | ||
displayName: string; | ||
isStatic: boolean; | ||
} | ||
|
||
export interface FeatureGroupDefinitionGetListInput { | ||
filter?: string; | ||
} | ||
|
||
export type FeatureGroupDefinitionUpdateDto = FeatureGroupDefinitionCreateOrUpdateDto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { defAbpHttp } from '/@/utils/http/abp'; | ||
import { FeatureGroupResult, UpdateFeatures, FeatureUpdateByProvider, FeatureGetByProvider } from './model'; | ||
|
||
export const GetByProvider = (provider: FeatureGetByProvider) => { | ||
return defAbpHttp.get<FeatureGroupResult>({ | ||
url: '/api/feature-management/features', | ||
params: provider, | ||
}); | ||
}; | ||
|
||
export const UpdateByProvider = ( | ||
provider: FeatureUpdateByProvider, | ||
input: UpdateFeatures | ||
) => { | ||
return defAbpHttp.put<void>({ | ||
url: '/api/feature-management/features', | ||
data: input, | ||
params: provider, | ||
}); | ||
}; |
44 changes: 44 additions & 0 deletions
44
apps/vue/src/api/feature-management/features/model/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
export interface Provider { | ||
name: string; | ||
key: string; | ||
} | ||
|
||
export interface Feature { | ||
name: string; | ||
displayName: string; | ||
value: any; | ||
provider: Provider; | ||
description?: string; | ||
valueType: ValueType; | ||
depth: number; | ||
parentName?: string; | ||
} | ||
|
||
export interface FeatureGroup { | ||
name: string; | ||
displayName: string; | ||
features: Feature[]; | ||
} | ||
|
||
export class FeatureGroupResult { | ||
groups!: FeatureGroup[]; | ||
} | ||
|
||
export interface UpdateFeature { | ||
name: string; | ||
value: string; | ||
} | ||
|
||
export interface UpdateFeatures { | ||
features: UpdateFeature[]; | ||
} | ||
|
||
export interface FeatureGetByProvider { | ||
providerName: string; | ||
providerKey: string | null; | ||
} | ||
|
||
export interface FeatureUpdateByProvider { | ||
providerName: string; | ||
providerKey: string | null; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
apps/vue/src/api/permission-management/definitions/groups/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { defHttp } from '/@/utils/http/axios'; | ||
import { | ||
PermissionGroupDefinitionDto, | ||
PermissionGroupDefinitionCreateDto, | ||
PermissionGroupDefinitionUpdateDto, | ||
PermissionGroupDefinitionGetListInput, | ||
} from './model'; | ||
|
||
export const CreateAsyncByInput = (input: PermissionGroupDefinitionCreateDto) => { | ||
return defHttp.post<PermissionGroupDefinitionDto>({ | ||
url: '/api/permission-management/definitions/groups', | ||
data: input, | ||
}); | ||
}; | ||
|
||
export const DeleteAsyncByName = (name: string) => { | ||
return defHttp.delete<void>({ | ||
url: `/api/permission-management/definitions/groups/${name}`, | ||
}); | ||
}; | ||
|
||
export const GetAsyncByName = (name: string) => { | ||
return defHttp.get<PermissionGroupDefinitionDto>({ | ||
url: `/api/permission-management/definitions/groups/${name}`, | ||
}); | ||
}; | ||
|
||
export const GetListAsyncByInput = (input: PermissionGroupDefinitionGetListInput) => { | ||
return defHttp.get<ListResultDto<PermissionGroupDefinitionDto>>({ | ||
url: '/api/permission-management/definitions/groups', | ||
params: input, | ||
}); | ||
}; | ||
|
||
export const UpdateAsyncByNameAndInput = (name: string, input: PermissionGroupDefinitionUpdateDto) => { | ||
return defHttp.put<PermissionGroupDefinitionDto>({ | ||
url: `/api/permission-management/definitions/groups/${name}`, | ||
data: input, | ||
}); | ||
}; |
19 changes: 19 additions & 0 deletions
19
apps/vue/src/api/permission-management/definitions/groups/model/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
interface PermissionGroupDefinitionCreateOrUpdateDto extends IHasExtraProperties { | ||
displayName: string; | ||
} | ||
|
||
export interface PermissionGroupDefinitionCreateDto extends PermissionGroupDefinitionCreateOrUpdateDto { | ||
name: string; | ||
} | ||
|
||
export interface PermissionGroupDefinitionDto extends IHasExtraProperties { | ||
name: string; | ||
displayName: string; | ||
isStatic: boolean; | ||
} | ||
|
||
export interface PermissionGroupDefinitionGetListInput { | ||
filter?: string; | ||
} | ||
|
||
export type PermissionGroupDefinitionUpdateDto = PermissionGroupDefinitionCreateOrUpdateDto; |
Oops, something went wrong.