mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-24 08:02:18 +02:00
parent
c9e587753e
commit
ac009d9b0b
@ -50,11 +50,11 @@ import useNotifications from '~/compositions/useNotifications';
|
||||
import { usePagination } from '~/compositions/usePaginate';
|
||||
import { Secret, WebhookEvents } from '~/lib/api/types';
|
||||
|
||||
const emptySecret = {
|
||||
const emptySecret: Partial<Secret> = {
|
||||
name: '',
|
||||
value: '',
|
||||
image: [],
|
||||
event: [WebhookEvents.Push],
|
||||
images: [],
|
||||
events: [WebhookEvents.Push],
|
||||
};
|
||||
|
||||
const apiClient = useApiClient();
|
||||
|
@ -49,11 +49,11 @@ import useNotifications from '~/compositions/useNotifications';
|
||||
import { usePagination } from '~/compositions/usePaginate';
|
||||
import { Org, Secret, WebhookEvents } from '~/lib/api/types';
|
||||
|
||||
const emptySecret = {
|
||||
const emptySecret: Partial<Secret> = {
|
||||
name: '',
|
||||
value: '',
|
||||
image: [],
|
||||
event: [WebhookEvents.Push],
|
||||
images: [],
|
||||
events: [WebhookEvents.Push],
|
||||
};
|
||||
|
||||
const apiClient = useApiClient();
|
||||
|
@ -49,7 +49,7 @@ import useNotifications from '~/compositions/useNotifications';
|
||||
import { usePagination } from '~/compositions/usePaginate';
|
||||
import { Repo, Secret, WebhookEvents } from '~/lib/api/types';
|
||||
|
||||
const emptySecret = {
|
||||
const emptySecret: Partial<Secret> = {
|
||||
name: '',
|
||||
value: '',
|
||||
images: [],
|
||||
|
@ -55,11 +55,11 @@ import useNotifications from '~/compositions/useNotifications';
|
||||
import { usePagination } from '~/compositions/usePaginate';
|
||||
import { Secret, WebhookEvents } from '~/lib/api/types';
|
||||
|
||||
const emptySecret = {
|
||||
const emptySecret: Partial<Secret> = {
|
||||
name: '',
|
||||
value: '',
|
||||
image: [],
|
||||
event: [WebhookEvents.Push],
|
||||
images: [],
|
||||
events: [WebhookEvents.Push],
|
||||
};
|
||||
|
||||
const apiClient = useApiClient();
|
||||
|
Loading…
Reference in New Issue
Block a user