mirror of
https://github.com/woodchen-ink/certimate.git
synced 2025-07-18 17:31:55 +08:00
fix(ui): tsc-check error
This commit is contained in:
parent
a917d6c2c5
commit
63ffb9df14
@ -324,7 +324,7 @@ Remove-Item -Path "$pfxPath" -Force
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>密钥路径</FormLabel>
|
<FormLabel>密钥路径</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input placeholder="输入密钥路径" {...field} />
|
<Input placeholder="输入密钥路径" {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -339,7 +339,7 @@ Remove-Item -Path "$pfxPath" -Force
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>PFX 密码</FormLabel>
|
<FormLabel>PFX 密码</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input type="password" placeholder="输入 PFX 密码" {...field} />
|
<Input type="password" placeholder="输入 PFX 密码" {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -356,7 +356,7 @@ Remove-Item -Path "$pfxPath" -Force
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>JKS 别名</FormLabel>
|
<FormLabel>JKS 别名</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input placeholder="输入 JKS 别名" {...field} />
|
<Input placeholder="输入 JKS 别名" {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -370,7 +370,7 @@ Remove-Item -Path "$pfxPath" -Force
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>JKS Keypass</FormLabel>
|
<FormLabel>JKS Keypass</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input type="password" placeholder="输入 JKS Keypass" {...field} />
|
<Input type="password" placeholder="输入 JKS Keypass" {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -384,7 +384,7 @@ Remove-Item -Path "$pfxPath" -Force
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>JKS Storepass</FormLabel>
|
<FormLabel>JKS Storepass</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input type="password" placeholder="输入 JKS Storepass" {...field} />
|
<Input type="password" placeholder="输入 JKS Storepass" {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -423,7 +423,7 @@ Remove-Item -Path "$pfxPath" -Force
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>{t("domain.deployment.form.shell_pre_command.label")}</FormLabel>
|
<FormLabel>{t("domain.deployment.form.shell_pre_command.label")}</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Textarea placeholder={t("domain.deployment.form.shell_pre_command.placeholder")} {...field} />
|
<Textarea placeholder={t("domain.deployment.form.shell_pre_command.placeholder")} {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -455,7 +455,7 @@ Remove-Item -Path "$pfxPath" -Force
|
|||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Textarea placeholder={t("domain.deployment.form.shell_command.placeholder")} {...field} />
|
<Textarea placeholder={t("domain.deployment.form.shell_command.placeholder")} {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
@ -242,7 +242,7 @@ const DeployToSSH = ({ data }: DeployFormProps) => {
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>密钥路径</FormLabel>
|
<FormLabel>密钥路径</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input placeholder="输入密钥路径" {...field} />
|
<Input placeholder="输入密钥路径" {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -257,7 +257,7 @@ const DeployToSSH = ({ data }: DeployFormProps) => {
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>PFX 密码</FormLabel>
|
<FormLabel>PFX 密码</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input type="password" placeholder="输入 PFX 密码" {...field} />
|
<Input type="password" placeholder="输入 PFX 密码" {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -274,7 +274,7 @@ const DeployToSSH = ({ data }: DeployFormProps) => {
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>JKS 别名</FormLabel>
|
<FormLabel>JKS 别名</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input placeholder="输入 JKS 别名" {...field} />
|
<Input placeholder="输入 JKS 别名" {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -288,7 +288,7 @@ const DeployToSSH = ({ data }: DeployFormProps) => {
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>JKS Keypass</FormLabel>
|
<FormLabel>JKS Keypass</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input type="password" placeholder="输入 JKS Keypass" {...field} />
|
<Input type="password" placeholder="输入 JKS Keypass" {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -302,7 +302,7 @@ const DeployToSSH = ({ data }: DeployFormProps) => {
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>JKS Storepass</FormLabel>
|
<FormLabel>JKS Storepass</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input type="password" placeholder="输入 JKS Storepass" {...field} />
|
<Input type="password" placeholder="输入 JKS Storepass" {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -318,7 +318,7 @@ const DeployToSSH = ({ data }: DeployFormProps) => {
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>{t("domain.deployment.form.shell_pre_command.label")}</FormLabel>
|
<FormLabel>{t("domain.deployment.form.shell_pre_command.label")}</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Textarea placeholder={t("domain.deployment.form.shell_pre_command.placeholder")} {...field} />
|
<Textarea placeholder={t("domain.deployment.form.shell_pre_command.placeholder")} {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -332,7 +332,7 @@ const DeployToSSH = ({ data }: DeployFormProps) => {
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>{t("domain.deployment.form.shell_command.label")}</FormLabel>
|
<FormLabel>{t("domain.deployment.form.shell_command.label")}</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Textarea placeholder={t("domain.deployment.form.shell_command.placeholder")} {...field} />
|
<Textarea placeholder={t("domain.deployment.form.shell_command.placeholder")} {...(field as any)} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
@ -2,7 +2,7 @@ import { produce } from "immer";
|
|||||||
import { nanoid } from "nanoid";
|
import { nanoid } from "nanoid";
|
||||||
|
|
||||||
import i18n from "@/i18n";
|
import i18n from "@/i18n";
|
||||||
import { deployTargets, KVType } from "./domain";
|
import { deployTargets } from "./domain";
|
||||||
|
|
||||||
export type WorkflowRunLog = {
|
export type WorkflowRunLog = {
|
||||||
id: string;
|
id: string;
|
||||||
@ -108,7 +108,7 @@ export const workflowNodeTypeDefaultOutput: Map<WorkflowNodeType, WorkflowNodeIo
|
|||||||
[WorkflowNodeType.Notify, []],
|
[WorkflowNodeType.Notify, []],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
export type WorkflowNodeConfig = Record<string, string | boolean | number | KVType[] | string[] | undefined>;
|
export type WorkflowNodeConfig = Record<string, unknown>;
|
||||||
|
|
||||||
export type WorkflowNode = {
|
export type WorkflowNode = {
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -18,7 +18,7 @@ const AccessList = () => {
|
|||||||
const [modalApi, ModelContextHolder] = Modal.useModal();
|
const [modalApi, ModelContextHolder] = Modal.useModal();
|
||||||
const [notificationApi, NotificationContextHolder] = notification.useNotification();
|
const [notificationApi, NotificationContextHolder] = notification.useNotification();
|
||||||
|
|
||||||
const { accesses, fetchAccesses, deleteAccess } = useAccessStore();
|
const { initialized, accesses, fetchAccesses, deleteAccess } = useAccessStore();
|
||||||
|
|
||||||
const tableColumns: TableProps<AccessModel>["columns"] = [
|
const tableColumns: TableProps<AccessModel>["columns"] = [
|
||||||
{
|
{
|
||||||
@ -181,7 +181,7 @@ const AccessList = () => {
|
|||||||
<Table<AccessModel>
|
<Table<AccessModel>
|
||||||
columns={tableColumns}
|
columns={tableColumns}
|
||||||
dataSource={tableData}
|
dataSource={tableData}
|
||||||
loading={loading}
|
loading={!initialized || loading}
|
||||||
locale={{
|
locale={{
|
||||||
emptyText: <Empty image={Empty.PRESENTED_IMAGE_SIMPLE} description={t("access.nodata")} />,
|
emptyText: <Empty image={Empty.PRESENTED_IMAGE_SIMPLE} description={t("access.nodata")} />,
|
||||||
}}
|
}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user