fix schema for ntfy

This commit is contained in:
yusing 2025-02-01 13:06:26 +08:00
parent 49fb716135
commit c668f11c0f
4 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{
"name": "godoxy-schemas",
"version": "0.9.0-22",
"version": "0.9.1-1",
"description": "JSON Schema and typescript types for GoDoxy configuration",
"license": "MIT",
"repository": {

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
import { URI, URL } from "../types";
import { GotifyConfig, WebhookConfig } from "./notification";
import { GotifyConfig, NtfyConfig, WebhookConfig } from "./notification";
export type Providers = {
/** List of route definition files to include
*
@ -21,7 +21,7 @@ export type Providers = {
* @minItems 1
* @examples require(".").notificationExamples
*/
notification?: (WebhookConfig | GotifyConfig)[];
notification?: (WebhookConfig | GotifyConfig | NtfyConfig)[];
};
export declare const includeExamples: readonly ["file1.yml", "file2.yml"];
export declare const dockerExamples: readonly [{

View file

@ -1,5 +1,5 @@
import { URI, URL } from "../types";
import { GotifyConfig, WebhookConfig } from "./notification";
import { GotifyConfig, NtfyConfig, WebhookConfig } from "./notification";
export type Providers = {
/** List of route definition files to include
@ -20,7 +20,7 @@ export type Providers = {
* @minItems 1
* @examples require(".").notificationExamples
*/
notification?: (WebhookConfig | GotifyConfig)[];
notification?: (WebhookConfig | GotifyConfig | NtfyConfig)[];
};
export const includeExamples = ["file1.yml", "file2.yml"] as const;