-
Notifications
You must be signed in to change notification settings - Fork 69
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 #44 from dromara/dev
Dev
- Loading branch information
Showing
56 changed files
with
208 additions
and
177 deletions.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#/bin/bash | ||
version=2.1.0 | ||
version=2.1.1 | ||
docker build -t orion-visor-redis:${version} . | ||
docker tag orion-visor-redis:${version} registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-redis:${version} | ||
docker push registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-visor-redis:${version} |
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
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
VITE_API_BASE_URL= 'http://127.0.0.1:9200/orion-visor/api' | ||
VITE_WS_BASE_URL= 'ws://127.0.0.1:9200/orion-visor/keep-alive' | ||
VITE_APP_VERSION= '2.1.0' | ||
VITE_APP_VERSION= '2.1.1' | ||
VITE_APP_RELEASE= 'community' | ||
VITE_SFTP_PREVIEW_MB= 2 | ||
VITE_DEMO_MODE= false |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
VITE_API_BASE_URL= '/orion-visor/api' | ||
VITE_WS_BASE_URL= '/orion-visor/keep-alive' | ||
VITE_APP_VERSION= '2.1.0' | ||
VITE_APP_VERSION= '2.1.1' | ||
VITE_APP_RELEASE= 'community' | ||
VITE_SFTP_PREVIEW_MB= 2 | ||
VITE_DEMO_MODE= false |
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
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
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
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
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
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 |
---|---|---|
@@ -1,23 +1,12 @@ | ||
import type { UserQueryResponse } from '@/api/user/user'; | ||
import type { MenuQueryResponse } from '@/api/system/menu'; | ||
import type { RoleQueryResponse } from '@/api/user/role'; | ||
import type { HostQueryResponse } from '@/api/asset/host'; | ||
import type { HostGroupQueryResponse } from '@/api/asset/host-group'; | ||
import type { HostKeyQueryResponse } from '@/api/asset/host-key'; | ||
import type { HostIdentityQueryResponse } from '@/api/asset/host-identity'; | ||
import type { DictKeyQueryResponse } from '@/api/system/dict-key'; | ||
// 缓存类型 | ||
export type CacheType = 'users' | 'menus' | 'roles' | ||
| 'hostGroups' | 'hostKeys' | 'hostIdentities' | ||
| 'dictKeys' | ||
| 'authorizedHostKeys' | 'authorizedHostIdentities' | ||
| 'commandSnippetGroups' | 'pathBookmarkGroups' | ||
| 'execJob' | ||
| string | ||
|
||
export interface CacheState { | ||
users?: UserQueryResponse[]; | ||
menus?: MenuQueryResponse[]; | ||
roles?: RoleQueryResponse[]; | ||
hosts?: HostQueryResponse[]; | ||
hostGroups?: HostGroupQueryResponse[]; | ||
hostKeys?: HostKeyQueryResponse[]; | ||
hostIdentities?: HostIdentityQueryResponse[]; | ||
dictKeys?: DictKeyQueryResponse[]; | ||
authorizedHostKeys?: HostKeyQueryResponse[]; | ||
authorizedHostIdentities?: HostIdentityQueryResponse[]; | ||
|
||
[key: string]: unknown; | ||
[key: CacheType]: unknown; | ||
} |
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
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
Oops, something went wrong.