ntfy-reverse-proxy 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/build/cli/commands/config-io.d.ts.map +1 -0
- package/build/cli/commands/config-io.js.map +1 -0
- package/build/cli/commands/context.d.ts.map +1 -0
- package/build/cli/commands/context.js.map +1 -0
- package/build/cli/commands/deploy.d.ts +5 -0
- package/build/cli/commands/deploy.d.ts.map +1 -0
- package/build/{src/cli → cli}/commands/deploy.js +63 -244
- package/build/cli/commands/deploy.js.map +1 -0
- package/build/cli/commands/generate.d.ts.map +1 -0
- package/build/cli/commands/generate.js.map +1 -0
- package/build/cli/commands/server.d.ts.map +1 -0
- package/build/cli/commands/server.js.map +1 -0
- package/build/cli/commands/settings.d.ts.map +1 -0
- package/build/cli/commands/settings.js.map +1 -0
- package/build/cli/commands/validate.d.ts.map +1 -0
- package/build/cli/commands/validate.js.map +1 -0
- package/build/cli/index.d.ts.map +1 -0
- package/build/cli/index.js.map +1 -0
- package/build/cli/menu/interactive.d.ts.map +1 -0
- package/build/cli/menu/interactive.js.map +1 -0
- package/build/lib/cloudflare.d.ts +16 -0
- package/build/lib/cloudflare.d.ts.map +1 -0
- package/build/lib/cloudflare.js +184 -0
- package/build/lib/cloudflare.js.map +1 -0
- package/build/lib/item.d.ts.map +1 -0
- package/build/lib/item.js.map +1 -0
- package/build/lib/package-runtime.d.ts.map +1 -0
- package/build/lib/package-runtime.js.map +1 -0
- package/build/lib/public-dns.d.ts +9 -0
- package/build/lib/public-dns.d.ts.map +1 -0
- package/build/lib/public-dns.js +67 -0
- package/build/lib/public-dns.js.map +1 -0
- package/build/lib/regex.d.ts.map +1 -0
- package/build/lib/regex.js.map +1 -0
- package/build/{src/lib → lib}/schema.d.ts +49 -1
- package/build/lib/schema.d.ts.map +1 -0
- package/build/{src/lib → lib}/schema.js +49 -1
- package/build/lib/schema.js.map +1 -0
- package/build/lib/utility.d.ts.map +1 -0
- package/build/lib/utility.js.map +1 -0
- package/build/types/cli/commands/deploy.d.ts +318 -0
- package/build/types/lib/cloudflare.d.ts +245 -0
- package/build/types/lib/public-dns.d.ts +96 -0
- package/build/{src/types → types}/lib/schema.d.ts +129 -0
- package/build/types/shared.d.ts +219 -0
- package/build/types/tests/cli/commands/deploy.test.d.ts +33 -0
- package/build/types/tests/lib/cloudflare.test.d.ts +64 -0
- package/build/types/tests/lib/public-dns.test.d.ts +68 -0
- package/build/types/tests/worker/ntfy-client.test.d.ts +54 -0
- package/build/{src/types → types}/tests/worker/pipeline/format.test.d.ts +10 -37
- package/build/{src/types → types}/tests/worker/pipeline/send.test.d.ts +2 -2
- package/build/{src/types → types}/tests/worker/pipeline/split.test.d.ts +1 -1
- package/build/{src/types → types}/worker/durable-objects/delivery-outbox.d.ts +13 -4
- package/build/types/worker/ntfy-client.d.ts +104 -0
- package/build/{src/types → types}/worker/pipeline/deliver.d.ts +2 -2
- package/build/{src/types → types}/worker/pipeline/format.d.ts +2 -16
- package/build/{src/types → types}/worker/pipeline/send.d.ts +8 -20
- package/build/{src/types → types}/worker/pipeline/split.d.ts +5 -12
- package/build/worker/durable-objects/delivery-outbox.d.ts.map +1 -0
- package/build/{src/worker → worker}/durable-objects/delivery-outbox.js +6 -4
- package/build/worker/durable-objects/delivery-outbox.js.map +1 -0
- package/build/worker/handlers.d.ts.map +1 -0
- package/build/{src/worker → worker}/handlers.js +6 -6
- package/build/worker/handlers.js.map +1 -0
- package/build/worker/index.d.ts.map +1 -0
- package/build/worker/index.js.map +1 -0
- package/build/worker/interpreters/app-payload.d.ts.map +1 -0
- package/build/worker/interpreters/app-payload.js.map +1 -0
- package/build/worker/interpreters/discord-stonker-bot.d.ts.map +1 -0
- package/build/worker/interpreters/discord-stonker-bot.js.map +1 -0
- package/build/worker/interpreters/mailmask.d.ts.map +1 -0
- package/build/worker/interpreters/mailmask.js.map +1 -0
- package/build/worker/interpreters/ntfy-json.d.ts.map +1 -0
- package/build/worker/interpreters/ntfy-json.js.map +1 -0
- package/build/worker/interpreters/outpost.d.ts.map +1 -0
- package/build/worker/interpreters/outpost.js.map +1 -0
- package/build/worker/interpreters/pfsense-actions.d.ts.map +1 -0
- package/build/worker/interpreters/pfsense-actions.js.map +1 -0
- package/build/worker/interpreters/pfsense.d.ts.map +1 -0
- package/build/worker/interpreters/pfsense.js.map +1 -0
- package/build/worker/interpreters/plain-text.d.ts.map +1 -0
- package/build/worker/interpreters/plain-text.js.map +1 -0
- package/build/worker/interpreters/seerr.d.ts.map +1 -0
- package/build/worker/interpreters/seerr.js.map +1 -0
- package/build/worker/interpreters/statuspage.d.ts.map +1 -0
- package/build/worker/interpreters/statuspage.js.map +1 -0
- package/build/worker/interpreters/synology.d.ts.map +1 -0
- package/build/worker/interpreters/synology.js.map +1 -0
- package/build/worker/interpreters/transmission-vpn.d.ts.map +1 -0
- package/build/worker/interpreters/transmission-vpn.js.map +1 -0
- package/build/worker/interpreters/unifi.d.ts.map +1 -0
- package/build/worker/interpreters/unifi.js.map +1 -0
- package/build/worker/landing/page.d.ts.map +1 -0
- package/build/worker/landing/page.js.map +1 -0
- package/build/worker/ntfy-client.d.ts +9 -0
- package/build/worker/ntfy-client.d.ts.map +1 -0
- package/build/worker/ntfy-client.js +102 -0
- package/build/worker/ntfy-client.js.map +1 -0
- package/build/worker/pipeline/accumulate.d.ts.map +1 -0
- package/build/worker/pipeline/accumulate.js.map +1 -0
- package/build/worker/pipeline/authenticate.d.ts.map +1 -0
- package/build/worker/pipeline/authenticate.js.map +1 -0
- package/build/worker/pipeline/deliver.d.ts.map +1 -0
- package/build/{src/worker → worker}/pipeline/deliver.js +1 -1
- package/build/worker/pipeline/deliver.js.map +1 -0
- package/build/worker/pipeline/drain-fifo.d.ts.map +1 -0
- package/build/worker/pipeline/drain-fifo.js.map +1 -0
- package/build/worker/pipeline/email.d.ts.map +1 -0
- package/build/worker/pipeline/email.js.map +1 -0
- package/build/worker/pipeline/format.d.ts.map +1 -0
- package/build/{src/worker → worker}/pipeline/format.js +8 -26
- package/build/worker/pipeline/format.js.map +1 -0
- package/build/worker/pipeline/interpret.d.ts.map +1 -0
- package/build/worker/pipeline/interpret.js.map +1 -0
- package/build/worker/pipeline/parse.d.ts.map +1 -0
- package/build/worker/pipeline/parse.js.map +1 -0
- package/build/worker/pipeline/receive.d.ts.map +1 -0
- package/build/worker/pipeline/receive.js.map +1 -0
- package/build/worker/pipeline/respond.d.ts.map +1 -0
- package/build/worker/pipeline/respond.js.map +1 -0
- package/build/worker/pipeline/route.d.ts.map +1 -0
- package/build/worker/pipeline/route.js.map +1 -0
- package/build/worker/pipeline/send.d.ts.map +1 -0
- package/build/{src/worker → worker}/pipeline/send.js +21 -51
- package/build/worker/pipeline/send.js.map +1 -0
- package/build/worker/pipeline/session.d.ts.map +1 -0
- package/build/worker/pipeline/session.js.map +1 -0
- package/build/worker/pipeline/split.d.ts +4 -0
- package/build/worker/pipeline/split.d.ts.map +1 -0
- package/build/{src/worker → worker}/pipeline/split.js +9 -16
- package/build/worker/pipeline/split.js.map +1 -0
- package/package.json +11 -9
- package/build/src/cli/commands/config-io.d.ts.map +0 -1
- package/build/src/cli/commands/config-io.js.map +0 -1
- package/build/src/cli/commands/context.d.ts.map +0 -1
- package/build/src/cli/commands/context.js.map +0 -1
- package/build/src/cli/commands/deploy.d.ts +0 -4
- package/build/src/cli/commands/deploy.d.ts.map +0 -1
- package/build/src/cli/commands/deploy.js.map +0 -1
- package/build/src/cli/commands/generate.d.ts.map +0 -1
- package/build/src/cli/commands/generate.js.map +0 -1
- package/build/src/cli/commands/server.d.ts.map +0 -1
- package/build/src/cli/commands/server.js.map +0 -1
- package/build/src/cli/commands/settings.d.ts.map +0 -1
- package/build/src/cli/commands/settings.js.map +0 -1
- package/build/src/cli/commands/validate.d.ts.map +0 -1
- package/build/src/cli/commands/validate.js.map +0 -1
- package/build/src/cli/index.d.ts.map +0 -1
- package/build/src/cli/index.js.map +0 -1
- package/build/src/cli/menu/interactive.d.ts.map +0 -1
- package/build/src/cli/menu/interactive.js.map +0 -1
- package/build/src/lib/item.d.ts.map +0 -1
- package/build/src/lib/item.js.map +0 -1
- package/build/src/lib/package-runtime.d.ts.map +0 -1
- package/build/src/lib/package-runtime.js.map +0 -1
- package/build/src/lib/regex.d.ts.map +0 -1
- package/build/src/lib/regex.js.map +0 -1
- package/build/src/lib/schema.d.ts.map +0 -1
- package/build/src/lib/schema.js.map +0 -1
- package/build/src/lib/utility.d.ts.map +0 -1
- package/build/src/lib/utility.js.map +0 -1
- package/build/src/types/cli/commands/deploy.d.ts +0 -659
- package/build/src/types/shared.d.ts +0 -85
- package/build/src/worker/durable-objects/delivery-outbox.d.ts.map +0 -1
- package/build/src/worker/durable-objects/delivery-outbox.js.map +0 -1
- package/build/src/worker/handlers.d.ts.map +0 -1
- package/build/src/worker/handlers.js.map +0 -1
- package/build/src/worker/index.d.ts.map +0 -1
- package/build/src/worker/index.js.map +0 -1
- package/build/src/worker/interpreters/app-payload.d.ts.map +0 -1
- package/build/src/worker/interpreters/app-payload.js.map +0 -1
- package/build/src/worker/interpreters/discord-stonker-bot.d.ts.map +0 -1
- package/build/src/worker/interpreters/discord-stonker-bot.js.map +0 -1
- package/build/src/worker/interpreters/mailmask.d.ts.map +0 -1
- package/build/src/worker/interpreters/mailmask.js.map +0 -1
- package/build/src/worker/interpreters/ntfy-json.d.ts.map +0 -1
- package/build/src/worker/interpreters/ntfy-json.js.map +0 -1
- package/build/src/worker/interpreters/outpost.d.ts.map +0 -1
- package/build/src/worker/interpreters/outpost.js.map +0 -1
- package/build/src/worker/interpreters/pfsense-actions.d.ts.map +0 -1
- package/build/src/worker/interpreters/pfsense-actions.js.map +0 -1
- package/build/src/worker/interpreters/pfsense.d.ts.map +0 -1
- package/build/src/worker/interpreters/pfsense.js.map +0 -1
- package/build/src/worker/interpreters/plain-text.d.ts.map +0 -1
- package/build/src/worker/interpreters/plain-text.js.map +0 -1
- package/build/src/worker/interpreters/seerr.d.ts.map +0 -1
- package/build/src/worker/interpreters/seerr.js.map +0 -1
- package/build/src/worker/interpreters/statuspage.d.ts.map +0 -1
- package/build/src/worker/interpreters/statuspage.js.map +0 -1
- package/build/src/worker/interpreters/synology.d.ts.map +0 -1
- package/build/src/worker/interpreters/synology.js.map +0 -1
- package/build/src/worker/interpreters/transmission-vpn.d.ts.map +0 -1
- package/build/src/worker/interpreters/transmission-vpn.js.map +0 -1
- package/build/src/worker/interpreters/unifi.d.ts.map +0 -1
- package/build/src/worker/interpreters/unifi.js.map +0 -1
- package/build/src/worker/landing/page.d.ts.map +0 -1
- package/build/src/worker/landing/page.js.map +0 -1
- package/build/src/worker/pipeline/accumulate.d.ts.map +0 -1
- package/build/src/worker/pipeline/accumulate.js.map +0 -1
- package/build/src/worker/pipeline/authenticate.d.ts.map +0 -1
- package/build/src/worker/pipeline/authenticate.js.map +0 -1
- package/build/src/worker/pipeline/deliver.d.ts.map +0 -1
- package/build/src/worker/pipeline/deliver.js.map +0 -1
- package/build/src/worker/pipeline/drain-fifo.d.ts.map +0 -1
- package/build/src/worker/pipeline/drain-fifo.js.map +0 -1
- package/build/src/worker/pipeline/email.d.ts.map +0 -1
- package/build/src/worker/pipeline/email.js.map +0 -1
- package/build/src/worker/pipeline/format.d.ts.map +0 -1
- package/build/src/worker/pipeline/format.js.map +0 -1
- package/build/src/worker/pipeline/interpret.d.ts.map +0 -1
- package/build/src/worker/pipeline/interpret.js.map +0 -1
- package/build/src/worker/pipeline/parse.d.ts.map +0 -1
- package/build/src/worker/pipeline/parse.js.map +0 -1
- package/build/src/worker/pipeline/receive.d.ts.map +0 -1
- package/build/src/worker/pipeline/receive.js.map +0 -1
- package/build/src/worker/pipeline/respond.d.ts.map +0 -1
- package/build/src/worker/pipeline/respond.js.map +0 -1
- package/build/src/worker/pipeline/route.d.ts.map +0 -1
- package/build/src/worker/pipeline/route.js.map +0 -1
- package/build/src/worker/pipeline/send.d.ts.map +0 -1
- package/build/src/worker/pipeline/send.js.map +0 -1
- package/build/src/worker/pipeline/session.d.ts.map +0 -1
- package/build/src/worker/pipeline/session.js.map +0 -1
- package/build/src/worker/pipeline/split.d.ts +0 -4
- package/build/src/worker/pipeline/split.d.ts.map +0 -1
- package/build/src/worker/pipeline/split.js.map +0 -1
- /package/build/{src/cli → cli}/commands/config-io.d.ts +0 -0
- /package/build/{src/cli → cli}/commands/config-io.js +0 -0
- /package/build/{src/cli → cli}/commands/context.d.ts +0 -0
- /package/build/{src/cli → cli}/commands/context.js +0 -0
- /package/build/{src/cli → cli}/commands/generate.d.ts +0 -0
- /package/build/{src/cli → cli}/commands/generate.js +0 -0
- /package/build/{src/cli → cli}/commands/server.d.ts +0 -0
- /package/build/{src/cli → cli}/commands/server.js +0 -0
- /package/build/{src/cli → cli}/commands/settings.d.ts +0 -0
- /package/build/{src/cli → cli}/commands/settings.js +0 -0
- /package/build/{src/cli → cli}/commands/validate.d.ts +0 -0
- /package/build/{src/cli → cli}/commands/validate.js +0 -0
- /package/build/{src/cli → cli}/index.d.ts +0 -0
- /package/build/{src/cli → cli}/index.js +0 -0
- /package/build/{src/cli → cli}/menu/interactive.d.ts +0 -0
- /package/build/{src/cli → cli}/menu/interactive.js +0 -0
- /package/build/{src/lib → lib}/item.d.ts +0 -0
- /package/build/{src/lib → lib}/item.js +0 -0
- /package/build/{src/lib → lib}/package-runtime.d.ts +0 -0
- /package/build/{src/lib → lib}/package-runtime.js +0 -0
- /package/build/{src/lib → lib}/regex.d.ts +0 -0
- /package/build/{src/lib → lib}/regex.js +0 -0
- /package/build/{src/lib → lib}/utility.d.ts +0 -0
- /package/build/{src/lib → lib}/utility.js +0 -0
- /package/build/{src/types → types}/cli/commands/config-io.d.ts +0 -0
- /package/build/{src/types → types}/cli/commands/context.d.ts +0 -0
- /package/build/{src/types → types}/cli/commands/generate.d.ts +0 -0
- /package/build/{src/types → types}/cli/commands/server.d.ts +0 -0
- /package/build/{src/types → types}/cli/commands/settings.d.ts +0 -0
- /package/build/{src/types → types}/cli/commands/validate.d.ts +0 -0
- /package/build/{src/types → types}/cli/index.d.ts +0 -0
- /package/build/{src/types → types}/cli/menu/interactive.d.ts +0 -0
- /package/build/{src/types → types}/fetch-response.d.ts +0 -0
- /package/build/{src/types → types}/lib/package-runtime.d.ts +0 -0
- /package/build/{src/types → types}/lib/utility.d.ts +0 -0
- /package/build/{src/types → types}/tests/cli/commands/context.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/cli/commands/generate.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/cli/commands/server.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/cli/commands/settings.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/cli/commands/validate.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/cli/menu/interactive-integration.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/cli/menu/interactive.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/lib/schema.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/durable-objects/delivery-outbox.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/index.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/app-payload.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/discord-stonker-bot.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/mailmask.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/ntfy-json.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/outpost.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/pfsense-actions.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/pfsense.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/plain-text.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/seerr.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/statuspage.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/synology.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/transmission-vpn.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/interpreters/unifi.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/landing/page.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/pipeline/accumulate.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/pipeline/authenticate.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/pipeline/deliver.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/pipeline/drain-fifo.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/pipeline/email.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/pipeline/interpret.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/pipeline/parse.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/pipeline/receive.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/pipeline/respond.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/pipeline/route.test.d.ts +0 -0
- /package/build/{src/types → types}/tests/worker/pipeline/session.test.d.ts +0 -0
- /package/build/{src/types → types}/worker/handlers.d.ts +0 -0
- /package/build/{src/types → types}/worker/index.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/app-payload.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/discord-stonker-bot.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/mailmask.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/ntfy-json.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/outpost.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/pfsense-actions.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/pfsense.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/plain-text.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/seerr.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/statuspage.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/synology.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/transmission-vpn.d.ts +0 -0
- /package/build/{src/types → types}/worker/interpreters/unifi.d.ts +0 -0
- /package/build/{src/types → types}/worker/landing/page.d.ts +0 -0
- /package/build/{src/types → types}/worker/pipeline/accumulate.d.ts +0 -0
- /package/build/{src/types → types}/worker/pipeline/authenticate.d.ts +0 -0
- /package/build/{src/types → types}/worker/pipeline/drain-fifo.d.ts +0 -0
- /package/build/{src/types → types}/worker/pipeline/email.d.ts +0 -0
- /package/build/{src/types → types}/worker/pipeline/interpret.d.ts +0 -0
- /package/build/{src/types → types}/worker/pipeline/parse.d.ts +0 -0
- /package/build/{src/types → types}/worker/pipeline/receive.d.ts +0 -0
- /package/build/{src/types → types}/worker/pipeline/respond.d.ts +0 -0
- /package/build/{src/types → types}/worker/pipeline/route.d.ts +0 -0
- /package/build/{src/types → types}/worker/pipeline/session.d.ts +0 -0
- /package/build/{src/worker → worker}/durable-objects/delivery-outbox.d.ts +0 -0
- /package/build/{src/worker → worker}/handlers.d.ts +0 -0
- /package/build/{src/worker → worker}/index.d.ts +0 -0
- /package/build/{src/worker → worker}/index.js +0 -0
- /package/build/{src/worker → worker}/interpreters/app-payload.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/app-payload.js +0 -0
- /package/build/{src/worker → worker}/interpreters/discord-stonker-bot.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/discord-stonker-bot.js +0 -0
- /package/build/{src/worker → worker}/interpreters/mailmask.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/mailmask.js +0 -0
- /package/build/{src/worker → worker}/interpreters/ntfy-json.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/ntfy-json.js +0 -0
- /package/build/{src/worker → worker}/interpreters/outpost.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/outpost.js +0 -0
- /package/build/{src/worker → worker}/interpreters/pfsense-actions.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/pfsense-actions.js +0 -0
- /package/build/{src/worker → worker}/interpreters/pfsense.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/pfsense.js +0 -0
- /package/build/{src/worker → worker}/interpreters/plain-text.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/plain-text.js +0 -0
- /package/build/{src/worker → worker}/interpreters/seerr.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/seerr.js +0 -0
- /package/build/{src/worker → worker}/interpreters/statuspage.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/statuspage.js +0 -0
- /package/build/{src/worker → worker}/interpreters/synology.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/synology.js +0 -0
- /package/build/{src/worker → worker}/interpreters/transmission-vpn.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/transmission-vpn.js +0 -0
- /package/build/{src/worker → worker}/interpreters/unifi.d.ts +0 -0
- /package/build/{src/worker → worker}/interpreters/unifi.js +0 -0
- /package/build/{src/worker → worker}/landing/page.d.ts +0 -0
- /package/build/{src/worker → worker}/landing/page.js +0 -0
- /package/build/{src/worker → worker}/pipeline/accumulate.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/accumulate.js +0 -0
- /package/build/{src/worker → worker}/pipeline/authenticate.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/authenticate.js +0 -0
- /package/build/{src/worker → worker}/pipeline/deliver.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/drain-fifo.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/drain-fifo.js +0 -0
- /package/build/{src/worker → worker}/pipeline/email.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/email.js +0 -0
- /package/build/{src/worker → worker}/pipeline/format.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/interpret.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/interpret.js +0 -0
- /package/build/{src/worker → worker}/pipeline/parse.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/parse.js +0 -0
- /package/build/{src/worker → worker}/pipeline/receive.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/receive.js +0 -0
- /package/build/{src/worker → worker}/pipeline/respond.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/respond.js +0 -0
- /package/build/{src/worker → worker}/pipeline/route.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/route.js +0 -0
- /package/build/{src/worker → worker}/pipeline/send.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/session.d.ts +0 -0
- /package/build/{src/worker → worker}/pipeline/session.js +0 -0
|
@@ -155,3 +155,132 @@ export type Lib_Schema_ConfigSchema = {
|
|
|
155
155
|
servers: Lib_Schema_ConfigSchemaServers;
|
|
156
156
|
contexts: Lib_Schema_ConfigSchemaContexts;
|
|
157
157
|
};
|
|
158
|
+
|
|
159
|
+
export type Lib_Schema_CloudflareEnvelopeErrorCode = number;
|
|
160
|
+
|
|
161
|
+
export type Lib_Schema_CloudflareEnvelopeErrorMessage = string;
|
|
162
|
+
|
|
163
|
+
export type Lib_Schema_CloudflareEnvelopeError = {
|
|
164
|
+
code: Lib_Schema_CloudflareEnvelopeErrorCode;
|
|
165
|
+
message: Lib_Schema_CloudflareEnvelopeErrorMessage;
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
export type Lib_Schema_CloudflareEnvelopeSuccess = boolean;
|
|
169
|
+
|
|
170
|
+
export type Lib_Schema_CloudflareEnvelopeErrors = Lib_Schema_CloudflareEnvelopeError[] | null | undefined;
|
|
171
|
+
|
|
172
|
+
export type Lib_Schema_CloudflareEnvelopeResult = unknown;
|
|
173
|
+
|
|
174
|
+
export type Lib_Schema_CloudflareEnvelopeResultInfoCursor = string | undefined;
|
|
175
|
+
|
|
176
|
+
export type Lib_Schema_CloudflareEnvelopeResultInfo = {
|
|
177
|
+
cursor?: Lib_Schema_CloudflareEnvelopeResultInfoCursor;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
export type Lib_Schema_CloudflareEnvelopeResultInfoOrNull = Lib_Schema_CloudflareEnvelopeResultInfo | null | undefined;
|
|
181
|
+
|
|
182
|
+
export type Lib_Schema_CloudflareEnvelope = {
|
|
183
|
+
success: Lib_Schema_CloudflareEnvelopeSuccess;
|
|
184
|
+
errors?: Lib_Schema_CloudflareEnvelopeErrors;
|
|
185
|
+
result: Lib_Schema_CloudflareEnvelopeResult;
|
|
186
|
+
result_info?: Lib_Schema_CloudflareEnvelopeResultInfoOrNull;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
export type Lib_Schema_CloudflareZoneId = string;
|
|
190
|
+
|
|
191
|
+
export type Lib_Schema_CloudflareZoneName = string;
|
|
192
|
+
|
|
193
|
+
export type Lib_Schema_CloudflareZoneAccountId = string;
|
|
194
|
+
|
|
195
|
+
export type Lib_Schema_CloudflareZoneAccount = {
|
|
196
|
+
id: Lib_Schema_CloudflareZoneAccountId;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
export type Lib_Schema_CloudflareZone = {
|
|
200
|
+
id: Lib_Schema_CloudflareZoneId;
|
|
201
|
+
name: Lib_Schema_CloudflareZoneName;
|
|
202
|
+
account: Lib_Schema_CloudflareZoneAccount;
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
export type Lib_Schema_CloudflareZones = Lib_Schema_CloudflareZone[];
|
|
206
|
+
|
|
207
|
+
export type Lib_Schema_CloudflareKvNamespaceListItemId = string;
|
|
208
|
+
|
|
209
|
+
export type Lib_Schema_CloudflareKvNamespaceListItemTitle = string;
|
|
210
|
+
|
|
211
|
+
export type Lib_Schema_CloudflareKvNamespaceListItem = {
|
|
212
|
+
id: Lib_Schema_CloudflareKvNamespaceListItemId;
|
|
213
|
+
title: Lib_Schema_CloudflareKvNamespaceListItemTitle;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
export type Lib_Schema_CloudflareKvNamespaceId = string;
|
|
217
|
+
|
|
218
|
+
export type Lib_Schema_CloudflareKvNamespaces = Lib_Schema_CloudflareKvNamespaceListItem[];
|
|
219
|
+
|
|
220
|
+
export type Lib_Schema_CloudflareKvNamespace = {
|
|
221
|
+
id: Lib_Schema_CloudflareKvNamespaceId;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
export type Lib_Schema_CloudflareEmailRoutingRuleTag = string;
|
|
225
|
+
|
|
226
|
+
export type Lib_Schema_CloudflareEmailRoutingRuleMatcherType = string;
|
|
227
|
+
|
|
228
|
+
export type Lib_Schema_CloudflareEmailRoutingRuleMatcherField = string | undefined;
|
|
229
|
+
|
|
230
|
+
export type Lib_Schema_CloudflareEmailRoutingRuleMatcherValue = string | undefined;
|
|
231
|
+
|
|
232
|
+
export type Lib_Schema_CloudflareEmailRoutingRuleMatcher = {
|
|
233
|
+
type: Lib_Schema_CloudflareEmailRoutingRuleMatcherType;
|
|
234
|
+
field?: Lib_Schema_CloudflareEmailRoutingRuleMatcherField;
|
|
235
|
+
value?: Lib_Schema_CloudflareEmailRoutingRuleMatcherValue;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
export type Lib_Schema_CloudflareEmailRoutingRuleMatchers = Lib_Schema_CloudflareEmailRoutingRuleMatcher[];
|
|
239
|
+
|
|
240
|
+
export type Lib_Schema_CloudflareEmailRoutingRuleActionType = string;
|
|
241
|
+
|
|
242
|
+
export type Lib_Schema_CloudflareEmailRoutingRuleActionValue = string[] | undefined;
|
|
243
|
+
|
|
244
|
+
export type Lib_Schema_CloudflareEmailRoutingRuleAction = {
|
|
245
|
+
type: Lib_Schema_CloudflareEmailRoutingRuleActionType;
|
|
246
|
+
value?: Lib_Schema_CloudflareEmailRoutingRuleActionValue;
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
export type Lib_Schema_CloudflareEmailRoutingRuleActions = Lib_Schema_CloudflareEmailRoutingRuleAction[];
|
|
250
|
+
|
|
251
|
+
export type Lib_Schema_CloudflareEmailRoutingRule = {
|
|
252
|
+
tag: Lib_Schema_CloudflareEmailRoutingRuleTag;
|
|
253
|
+
matchers: Lib_Schema_CloudflareEmailRoutingRuleMatchers;
|
|
254
|
+
actions: Lib_Schema_CloudflareEmailRoutingRuleActions;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
export type Lib_Schema_CloudflareEmailRoutingRules = Lib_Schema_CloudflareEmailRoutingRule[];
|
|
258
|
+
|
|
259
|
+
export type Lib_Schema_CloudflareWorkerDomainHostname = string;
|
|
260
|
+
|
|
261
|
+
export type Lib_Schema_CloudflareWorkerDomainService = string;
|
|
262
|
+
|
|
263
|
+
export type Lib_Schema_CloudflareWorkerDomain = {
|
|
264
|
+
hostname: Lib_Schema_CloudflareWorkerDomainHostname;
|
|
265
|
+
service: Lib_Schema_CloudflareWorkerDomainService;
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
export type Lib_Schema_CloudflareWorkerDomains = Lib_Schema_CloudflareWorkerDomain[];
|
|
269
|
+
|
|
270
|
+
export type Lib_Schema_DnsOverHttpsAnswerStatus = number;
|
|
271
|
+
|
|
272
|
+
export type Lib_Schema_DnsOverHttpsAnswerRecordType = number;
|
|
273
|
+
|
|
274
|
+
export type Lib_Schema_DnsOverHttpsAnswerRecordData = string;
|
|
275
|
+
|
|
276
|
+
export type Lib_Schema_DnsOverHttpsAnswerRecord = {
|
|
277
|
+
type: Lib_Schema_DnsOverHttpsAnswerRecordType;
|
|
278
|
+
data: Lib_Schema_DnsOverHttpsAnswerRecordData;
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
export type Lib_Schema_DnsOverHttpsAnswerRecords = Lib_Schema_DnsOverHttpsAnswerRecord[] | undefined;
|
|
282
|
+
|
|
283
|
+
export type Lib_Schema_DnsOverHttpsAnswer = {
|
|
284
|
+
Status: Lib_Schema_DnsOverHttpsAnswerStatus;
|
|
285
|
+
Answer?: Lib_Schema_DnsOverHttpsAnswerRecords;
|
|
286
|
+
};
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared - Status Page - Component Diff Entry.
|
|
3
|
+
*
|
|
4
|
+
* @since 2.0.0
|
|
5
|
+
*/
|
|
6
|
+
export type Shared_StatusPage_ComponentDiffEntry_Name = string;
|
|
7
|
+
|
|
8
|
+
export type Shared_StatusPage_ComponentDiffEntry_OldStatus = string | undefined;
|
|
9
|
+
|
|
10
|
+
export type Shared_StatusPage_ComponentDiffEntry_NewStatus = string;
|
|
11
|
+
|
|
12
|
+
export type Shared_StatusPage_ComponentDiffEntry_Changed = boolean;
|
|
13
|
+
|
|
14
|
+
export type Shared_StatusPage_ComponentDiffEntry = {
|
|
15
|
+
name: Shared_StatusPage_ComponentDiffEntry_Name;
|
|
16
|
+
oldStatus: Shared_StatusPage_ComponentDiffEntry_OldStatus;
|
|
17
|
+
newStatus: Shared_StatusPage_ComponentDiffEntry_NewStatus;
|
|
18
|
+
changed: Shared_StatusPage_ComponentDiffEntry_Changed;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Shared - Status Page - Component Diff.
|
|
23
|
+
*
|
|
24
|
+
* @since 2.0.0
|
|
25
|
+
*/
|
|
26
|
+
export type Shared_StatusPage_ComponentDiff = Shared_StatusPage_ComponentDiffEntry[];
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Shared - Status Page - Component State.
|
|
30
|
+
*
|
|
31
|
+
* @since 2.0.0
|
|
32
|
+
*/
|
|
33
|
+
export type Shared_StatusPage_ComponentState_Name = string;
|
|
34
|
+
|
|
35
|
+
export type Shared_StatusPage_ComponentState_Status = string;
|
|
36
|
+
|
|
37
|
+
export type Shared_StatusPage_ComponentState = {
|
|
38
|
+
name: Shared_StatusPage_ComponentState_Name;
|
|
39
|
+
status: Shared_StatusPage_ComponentState_Status;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Shared - Status Page - Components Map.
|
|
44
|
+
*
|
|
45
|
+
* @since 2.0.0
|
|
46
|
+
*/
|
|
47
|
+
export type Shared_StatusPage_ComponentsMap = Record<string, Shared_StatusPage_ComponentState>;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Shared - Status Page - Stored State.
|
|
51
|
+
*
|
|
52
|
+
* @since 2.0.0
|
|
53
|
+
*/
|
|
54
|
+
export type Shared_StatusPage_StoredState_IncidentId = string | undefined;
|
|
55
|
+
|
|
56
|
+
export type Shared_StatusPage_StoredState_IncidentName = string | undefined;
|
|
57
|
+
|
|
58
|
+
export type Shared_StatusPage_StoredState_Status = string | undefined;
|
|
59
|
+
|
|
60
|
+
export type Shared_StatusPage_StoredState_Impact = string | undefined;
|
|
61
|
+
|
|
62
|
+
export type Shared_StatusPage_StoredState_Body = string | undefined;
|
|
63
|
+
|
|
64
|
+
export type Shared_StatusPage_StoredState_Shortlink = string | undefined;
|
|
65
|
+
|
|
66
|
+
export type Shared_StatusPage_StoredState_ServiceName = string;
|
|
67
|
+
|
|
68
|
+
export type Shared_StatusPage_StoredState_UnsubscribeUrl = string | undefined;
|
|
69
|
+
|
|
70
|
+
export type Shared_StatusPage_StoredState_UpdateId = string | undefined;
|
|
71
|
+
|
|
72
|
+
export type Shared_StatusPage_StoredState_Components = Shared_StatusPage_ComponentsMap;
|
|
73
|
+
|
|
74
|
+
export type Shared_StatusPage_StoredState = {
|
|
75
|
+
incidentId: Shared_StatusPage_StoredState_IncidentId;
|
|
76
|
+
incidentName: Shared_StatusPage_StoredState_IncidentName;
|
|
77
|
+
status: Shared_StatusPage_StoredState_Status;
|
|
78
|
+
impact: Shared_StatusPage_StoredState_Impact;
|
|
79
|
+
body: Shared_StatusPage_StoredState_Body;
|
|
80
|
+
shortlink: Shared_StatusPage_StoredState_Shortlink;
|
|
81
|
+
serviceName: Shared_StatusPage_StoredState_ServiceName;
|
|
82
|
+
unsubscribeUrl: Shared_StatusPage_StoredState_UnsubscribeUrl;
|
|
83
|
+
updateId: Shared_StatusPage_StoredState_UpdateId;
|
|
84
|
+
components: Shared_StatusPage_StoredState_Components;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Shared - Cloudflare Zone.
|
|
89
|
+
*
|
|
90
|
+
* @since 2.5.0
|
|
91
|
+
*/
|
|
92
|
+
export type Shared_CloudflareZone_ZoneId = string;
|
|
93
|
+
|
|
94
|
+
export type Shared_CloudflareZone_AccountId = string;
|
|
95
|
+
|
|
96
|
+
export type Shared_CloudflareZone_ZoneName = string;
|
|
97
|
+
|
|
98
|
+
export type Shared_CloudflareZone = {
|
|
99
|
+
zoneId: Shared_CloudflareZone_ZoneId;
|
|
100
|
+
accountId: Shared_CloudflareZone_AccountId;
|
|
101
|
+
zoneName: Shared_CloudflareZone_ZoneName;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Shared - Cloudflare Kv Namespace.
|
|
106
|
+
*
|
|
107
|
+
* @since 2.5.0
|
|
108
|
+
*/
|
|
109
|
+
export type Shared_CloudflareKvNamespace_Id = string;
|
|
110
|
+
|
|
111
|
+
export type Shared_CloudflareKvNamespace_Title = string;
|
|
112
|
+
|
|
113
|
+
export type Shared_CloudflareKvNamespace = {
|
|
114
|
+
id: Shared_CloudflareKvNamespace_Id;
|
|
115
|
+
title: Shared_CloudflareKvNamespace_Title;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Shared - Cloudflare Email Routing Rule.
|
|
120
|
+
*
|
|
121
|
+
* @since 2.5.0
|
|
122
|
+
*/
|
|
123
|
+
export type Shared_CloudflareEmailRoutingRule_Id = string;
|
|
124
|
+
|
|
125
|
+
export type Shared_CloudflareEmailRoutingRule_ToAddress = string;
|
|
126
|
+
|
|
127
|
+
export type Shared_CloudflareEmailRoutingRule_ToAddresses = Shared_CloudflareEmailRoutingRule_ToAddress[];
|
|
128
|
+
|
|
129
|
+
export type Shared_CloudflareEmailRoutingRule_WorkerName = string;
|
|
130
|
+
|
|
131
|
+
export type Shared_CloudflareEmailRoutingRule_WorkerNames = Shared_CloudflareEmailRoutingRule_WorkerName[];
|
|
132
|
+
|
|
133
|
+
export type Shared_CloudflareEmailRoutingRule = {
|
|
134
|
+
id: Shared_CloudflareEmailRoutingRule_Id;
|
|
135
|
+
toAddresses: Shared_CloudflareEmailRoutingRule_ToAddresses;
|
|
136
|
+
workerNames: Shared_CloudflareEmailRoutingRule_WorkerNames;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Shared - Cloudflare Worker Domain.
|
|
141
|
+
*
|
|
142
|
+
* @since 2.5.0
|
|
143
|
+
*/
|
|
144
|
+
export type Shared_CloudflareWorkerDomain_Hostname = string;
|
|
145
|
+
|
|
146
|
+
export type Shared_CloudflareWorkerDomain_WorkerName = string;
|
|
147
|
+
|
|
148
|
+
export type Shared_CloudflareWorkerDomain = {
|
|
149
|
+
hostname: Shared_CloudflareWorkerDomain_Hostname;
|
|
150
|
+
workerName: Shared_CloudflareWorkerDomain_WorkerName;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Shared - Public DNS Record.
|
|
155
|
+
*
|
|
156
|
+
* @since 2.5.0
|
|
157
|
+
*/
|
|
158
|
+
export type Shared_PublicDnsRecord_Type = string;
|
|
159
|
+
|
|
160
|
+
export type Shared_PublicDnsRecord_Name = string;
|
|
161
|
+
|
|
162
|
+
export type Shared_PublicDnsRecord_Content = string | undefined;
|
|
163
|
+
|
|
164
|
+
export type Shared_PublicDnsRecord = {
|
|
165
|
+
type: Shared_PublicDnsRecord_Type;
|
|
166
|
+
name: Shared_PublicDnsRecord_Name;
|
|
167
|
+
content: Shared_PublicDnsRecord_Content;
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Shared - Ntfy Message.
|
|
172
|
+
*
|
|
173
|
+
* @since 2.5.0
|
|
174
|
+
*/
|
|
175
|
+
export type Shared_NtfyMessage_Body = string;
|
|
176
|
+
|
|
177
|
+
export type Shared_NtfyMessage_Title = string | undefined;
|
|
178
|
+
|
|
179
|
+
export type Shared_NtfyMessage_Priority = number | undefined;
|
|
180
|
+
|
|
181
|
+
export type Shared_NtfyMessage_Tag = string;
|
|
182
|
+
|
|
183
|
+
export type Shared_NtfyMessage_Tags = Shared_NtfyMessage_Tag[] | undefined;
|
|
184
|
+
|
|
185
|
+
export type Shared_NtfyMessage_Markdown = boolean | undefined;
|
|
186
|
+
|
|
187
|
+
export type Shared_NtfyMessage_Icon = string | undefined;
|
|
188
|
+
|
|
189
|
+
export type Shared_NtfyMessage_Actions = string | undefined;
|
|
190
|
+
|
|
191
|
+
export type Shared_NtfyMessage_Attach = string | undefined;
|
|
192
|
+
|
|
193
|
+
export type Shared_NtfyMessage_Filename = string | undefined;
|
|
194
|
+
|
|
195
|
+
export type Shared_NtfyMessage = {
|
|
196
|
+
body: Shared_NtfyMessage_Body;
|
|
197
|
+
title?: Shared_NtfyMessage_Title;
|
|
198
|
+
priority?: Shared_NtfyMessage_Priority;
|
|
199
|
+
tags?: Shared_NtfyMessage_Tags;
|
|
200
|
+
markdown?: Shared_NtfyMessage_Markdown;
|
|
201
|
+
icon?: Shared_NtfyMessage_Icon;
|
|
202
|
+
actions?: Shared_NtfyMessage_Actions;
|
|
203
|
+
attach?: Shared_NtfyMessage_Attach;
|
|
204
|
+
filename?: Shared_NtfyMessage_Filename;
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Shared - Ntfy Delivery.
|
|
209
|
+
*
|
|
210
|
+
* @since 2.5.0
|
|
211
|
+
*/
|
|
212
|
+
export type Shared_NtfyDelivery_Ok = boolean;
|
|
213
|
+
|
|
214
|
+
export type Shared_NtfyDelivery_Status = number;
|
|
215
|
+
|
|
216
|
+
export type Shared_NtfyDelivery = {
|
|
217
|
+
ok: Shared_NtfyDelivery_Ok;
|
|
218
|
+
status: Shared_NtfyDelivery_Status;
|
|
219
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { Logger } from '@cbnventures/nova/toolkit';
|
|
2
|
+
import type { MockInstance } from 'vitest';
|
|
3
|
+
|
|
4
|
+
import type { Runner as PublicDnsAdapter } from '../../../../lib/public-dns.js';
|
|
5
|
+
import type { Lib_Schema_ContextConfig, Lib_Schema_SettingsConfig } from '../../../lib/schema.d.ts';
|
|
6
|
+
import type { Shared_CloudflareZone } from '../../../shared.d.ts';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Tests - CLI - Commands - Deploy.
|
|
10
|
+
*
|
|
11
|
+
* @since 2.5.0
|
|
12
|
+
*/
|
|
13
|
+
export type Tests_Cli_Commands_Deploy_ZoneInfo = Shared_CloudflareZone & {};
|
|
14
|
+
|
|
15
|
+
export type Tests_Cli_Commands_Deploy_Settings = Lib_Schema_SettingsConfig & {};
|
|
16
|
+
|
|
17
|
+
export type Tests_Cli_Commands_Deploy_Contexts = Array<Lib_Schema_ContextConfig & {}>;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Tests - CLI - Commands - Deploy - Check Readiness - Confirms Custom Domains And Email Routing.
|
|
21
|
+
*
|
|
22
|
+
* @since 2.5.0
|
|
23
|
+
*/
|
|
24
|
+
export type Tests_Cli_Commands_Deploy_CheckReadiness_ConfirmsCustomDomainsAndEmailRouting_PendingSpy = MockInstance<typeof PublicDnsAdapter['findPendingRecords']>;
|
|
25
|
+
|
|
26
|
+
export type Tests_Cli_Commands_Deploy_CheckReadiness_ConfirmsCustomDomainsAndEmailRouting_InfoSpy = MockInstance<typeof Logger['info']>;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Tests - CLI - Commands - Deploy - Check Readiness - Warns About Pending Domains And Missing Email Routing.
|
|
30
|
+
*
|
|
31
|
+
* @since 2.5.0
|
|
32
|
+
*/
|
|
33
|
+
export type Tests_Cli_Commands_Deploy_CheckReadiness_WarnsAboutPendingDomainsAndMissingEmailRouting_WarnSpy = MockInstance<typeof Logger['warn']>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { MockInstance } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import type {
|
|
4
|
+
Shared_CloudflareEmailRoutingRule,
|
|
5
|
+
Shared_CloudflareKvNamespace,
|
|
6
|
+
Shared_CloudflareZone,
|
|
7
|
+
} from '../../shared.d.ts';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Tests - Lib - Cloudflare - Client - Creates And Deletes Email Routing Rules.
|
|
11
|
+
*
|
|
12
|
+
* @since 2.5.0
|
|
13
|
+
*/
|
|
14
|
+
export type Tests_Lib_Cloudflare_Client_CreatesAndDeletesEmailRoutingRules_FetchSpy = MockInstance<typeof fetch>;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Tests - Lib - Cloudflare - Client - Finds The Zone With A Bearer Token.
|
|
18
|
+
*
|
|
19
|
+
* @since 2.5.0
|
|
20
|
+
*/
|
|
21
|
+
export type Tests_Lib_Cloudflare_Client_FindsTheZoneWithABearerToken_FetchSpy = MockInstance<typeof fetch>;
|
|
22
|
+
|
|
23
|
+
export type Tests_Lib_Cloudflare_Client_FindsTheZoneWithABearerToken_Zone = Shared_CloudflareZone | undefined;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Tests - Lib - Cloudflare - Client - Lists Every Kv Namespace And Creates One.
|
|
27
|
+
*
|
|
28
|
+
* @since 2.5.0
|
|
29
|
+
*/
|
|
30
|
+
export type Tests_Lib_Cloudflare_Client_ListsEveryKvNamespaceAndCreatesOne_FetchSpy = MockInstance<typeof fetch>;
|
|
31
|
+
|
|
32
|
+
export type Tests_Lib_Cloudflare_Client_ListsEveryKvNamespaceAndCreatesOne_Namespaces = Shared_CloudflareKvNamespace[];
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Tests - Lib - Cloudflare - Client - Names Each Missing Permission.
|
|
36
|
+
*
|
|
37
|
+
* @since 2.5.0
|
|
38
|
+
*/
|
|
39
|
+
export type Tests_Lib_Cloudflare_Client_NamesEachMissingPermission_Missing = string[];
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Tests - Lib - Cloudflare - Client - Reads Email Routing Rules As Addresses And Workers.
|
|
43
|
+
*
|
|
44
|
+
* @since 2.5.0
|
|
45
|
+
*/
|
|
46
|
+
export type Tests_Lib_Cloudflare_Client_ReadsEmailRoutingRulesAsAddressesAndWorkers_Rules = Shared_CloudflareEmailRoutingRule[];
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Tests - Lib - Cloudflare - Client - Recognises Email Routing Mx Hosts.
|
|
50
|
+
*
|
|
51
|
+
* @since 2.5.0
|
|
52
|
+
*/
|
|
53
|
+
export type Tests_Lib_Cloudflare_Client_RecognisesEmailRoutingMxHosts_Matches = boolean;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Tests - Lib - Cloudflare - Cloudflare Response.
|
|
57
|
+
*
|
|
58
|
+
* @since 2.5.0
|
|
59
|
+
*/
|
|
60
|
+
export type Tests_Lib_Cloudflare_CloudflareResponse_Result = unknown;
|
|
61
|
+
|
|
62
|
+
export type Tests_Lib_Cloudflare_CloudflareResponse_Success = boolean;
|
|
63
|
+
|
|
64
|
+
export type Tests_Lib_Cloudflare_CloudflareResponse_Returns = Response;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { MockInstance } from 'vitest';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Tests - Lib - Public DNS - Adapter - Asks The Resolver For Json.
|
|
5
|
+
*
|
|
6
|
+
* @since 2.5.0
|
|
7
|
+
*/
|
|
8
|
+
export type Tests_Lib_PublicDns_Adapter_AsksTheResolverForJson_FetchSpy = MockInstance<typeof fetch>;
|
|
9
|
+
|
|
10
|
+
export type Tests_Lib_PublicDns_Adapter_AsksTheResolverForJson_Url = URL;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Tests - Lib - Public DNS - Adapter - Reports Records Still Missing After The Last Attempt.
|
|
14
|
+
*
|
|
15
|
+
* @since 2.5.0
|
|
16
|
+
*/
|
|
17
|
+
export type Tests_Lib_PublicDns_Adapter_ReportsRecordsStillMissingAfterTheLastAttempt_FetchSpy = MockInstance<typeof fetch>;
|
|
18
|
+
|
|
19
|
+
export type Tests_Lib_PublicDns_Adapter_ReportsRecordsStillMissingAfterTheLastAttempt_Pending = string[];
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Tests - Lib - Public DNS - Adapter - Treats A Missing Name Or A Failed Lookup As No Records.
|
|
23
|
+
*
|
|
24
|
+
* @since 2.5.0
|
|
25
|
+
*/
|
|
26
|
+
export type Tests_Lib_PublicDns_Adapter_TreatsAMissingNameOrAFailedLookupAsNoRecords_Values = string[];
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Tests - Lib - Public DNS - Adapter - Waits Until Every Record Resolves.
|
|
30
|
+
*
|
|
31
|
+
* @since 2.5.0
|
|
32
|
+
*/
|
|
33
|
+
export type Tests_Lib_PublicDns_Adapter_WaitsUntilEveryRecordResolves_Round = number;
|
|
34
|
+
|
|
35
|
+
export type Tests_Lib_PublicDns_Adapter_WaitsUntilEveryRecordResolves_AnswerType = number;
|
|
36
|
+
|
|
37
|
+
export type Tests_Lib_PublicDns_Adapter_WaitsUntilEveryRecordResolves_AnswerData = string;
|
|
38
|
+
|
|
39
|
+
export type Tests_Lib_PublicDns_Adapter_WaitsUntilEveryRecordResolves_Answer = {
|
|
40
|
+
type: Tests_Lib_PublicDns_Adapter_WaitsUntilEveryRecordResolves_AnswerType;
|
|
41
|
+
data: Tests_Lib_PublicDns_Adapter_WaitsUntilEveryRecordResolves_AnswerData;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export type Tests_Lib_PublicDns_Adapter_WaitsUntilEveryRecordResolves_Answers = Tests_Lib_PublicDns_Adapter_WaitsUntilEveryRecordResolves_Answer[];
|
|
45
|
+
|
|
46
|
+
export type Tests_Lib_PublicDns_Adapter_WaitsUntilEveryRecordResolves_Url = URL;
|
|
47
|
+
|
|
48
|
+
export type Tests_Lib_PublicDns_Adapter_WaitsUntilEveryRecordResolves_Pending = string[];
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Tests - Lib - Public DNS - DNS Response.
|
|
52
|
+
*
|
|
53
|
+
* @since 2.5.0
|
|
54
|
+
*/
|
|
55
|
+
export type Tests_Lib_PublicDns_DnsResponse_AnswerType = number;
|
|
56
|
+
|
|
57
|
+
export type Tests_Lib_PublicDns_DnsResponse_AnswerData = string;
|
|
58
|
+
|
|
59
|
+
export type Tests_Lib_PublicDns_DnsResponse_Answer = {
|
|
60
|
+
type: Tests_Lib_PublicDns_DnsResponse_AnswerType;
|
|
61
|
+
data: Tests_Lib_PublicDns_DnsResponse_AnswerData;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export type Tests_Lib_PublicDns_DnsResponse_Answers = Tests_Lib_PublicDns_DnsResponse_Answer[];
|
|
65
|
+
|
|
66
|
+
export type Tests_Lib_PublicDns_DnsResponse_Status = number;
|
|
67
|
+
|
|
68
|
+
export type Tests_Lib_PublicDns_DnsResponse_Returns = Response;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { MockInstance } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import type { Shared_NtfyDelivery, Shared_NtfyMessage } from '../../shared.d.ts';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Tests - Worker - Ntfy Client.
|
|
7
|
+
*
|
|
8
|
+
* @since 2.5.0
|
|
9
|
+
*/
|
|
10
|
+
export type Tests_Worker_NtfyClient_Server_Name = string;
|
|
11
|
+
|
|
12
|
+
export type Tests_Worker_NtfyClient_Server_Server = string;
|
|
13
|
+
|
|
14
|
+
export type Tests_Worker_NtfyClient_Server_Token = string;
|
|
15
|
+
|
|
16
|
+
export type Tests_Worker_NtfyClient_Server = {
|
|
17
|
+
name: Tests_Worker_NtfyClient_Server_Name;
|
|
18
|
+
server: Tests_Worker_NtfyClient_Server_Server;
|
|
19
|
+
token: Tests_Worker_NtfyClient_Server_Token;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Tests - Worker - Ntfy Client - Client - Maps Every Message Field To Its Header.
|
|
24
|
+
*
|
|
25
|
+
* @since 2.5.0
|
|
26
|
+
*/
|
|
27
|
+
export type Tests_Worker_NtfyClient_Client_MapsEveryMessageFieldToItsHeader_Headers = Record<string, string>;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Tests - Worker - Ntfy Client - Client - Publishes With The Token Sequence And Forwarded Address.
|
|
31
|
+
*
|
|
32
|
+
* @since 2.5.0
|
|
33
|
+
*/
|
|
34
|
+
export type Tests_Worker_NtfyClient_Client_PublishesWithTheTokenSequenceAndForwardedAddress_FetchSpy = MockInstance<typeof fetch>;
|
|
35
|
+
|
|
36
|
+
export type Tests_Worker_NtfyClient_Client_PublishesWithTheTokenSequenceAndForwardedAddress_Delivery = Shared_NtfyDelivery & {};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Tests - Worker - Ntfy Client - Client - Reads Messages Queued With Ntfy Headers.
|
|
40
|
+
*
|
|
41
|
+
* @since 2.5.0
|
|
42
|
+
*/
|
|
43
|
+
export type Tests_Worker_NtfyClient_Client_ReadsMessagesQueuedWithNtfyHeaders_Message = Shared_NtfyMessage & {};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Tests - Worker - Ntfy Client - Client - Uploads Attachments With Their Title And File Name.
|
|
47
|
+
*
|
|
48
|
+
* @since 2.5.0
|
|
49
|
+
*/
|
|
50
|
+
export type Tests_Worker_NtfyClient_Client_UploadsAttachmentsWithTheirTitleAndFileName_FetchSpy = MockInstance<typeof fetch>;
|
|
51
|
+
|
|
52
|
+
export type Tests_Worker_NtfyClient_Client_UploadsAttachmentsWithTheirTitleAndFileName_Attachment = ArrayBuffer;
|
|
53
|
+
|
|
54
|
+
export type Tests_Worker_NtfyClient_Client_UploadsAttachmentsWithTheirTitleAndFileName_Delivery = Shared_NtfyDelivery & {};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { Shared_NtfyMessage } from '../../../shared.d.ts';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Tests - Worker - Pipeline - Format.
|
|
3
5
|
*
|
|
@@ -48,23 +50,9 @@ export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_Cf
|
|
|
48
50
|
asOrganization: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_CfPropertiesAsOrganization;
|
|
49
51
|
};
|
|
50
52
|
|
|
51
|
-
export type
|
|
52
|
-
|
|
53
|
-
export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_ResultHeaders = Record<string, string>;
|
|
54
|
-
|
|
55
|
-
export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_Result = {
|
|
56
|
-
body: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_ResultBody;
|
|
57
|
-
headers: Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_ResultHeaders;
|
|
58
|
-
};
|
|
53
|
+
export type Tests_Worker_Pipeline_Format_Format_AppendsVisitorInfoWhenEnabled_Result = Shared_NtfyMessage & {};
|
|
59
54
|
|
|
60
|
-
export type
|
|
61
|
-
|
|
62
|
-
export type Tests_Worker_Pipeline_Format_Format_DoesNotIncludeVisitorInfoWhenDisabled_ResultHeaders = Record<string, string>;
|
|
63
|
-
|
|
64
|
-
export type Tests_Worker_Pipeline_Format_Format_DoesNotIncludeVisitorInfoWhenDisabled_Result = {
|
|
65
|
-
body: Tests_Worker_Pipeline_Format_Format_DoesNotIncludeVisitorInfoWhenDisabled_ResultBody;
|
|
66
|
-
headers: Tests_Worker_Pipeline_Format_Format_DoesNotIncludeVisitorInfoWhenDisabled_ResultHeaders;
|
|
67
|
-
};
|
|
55
|
+
export type Tests_Worker_Pipeline_Format_Format_DoesNotIncludeVisitorInfoWhenDisabled_Result = Shared_NtfyMessage & {};
|
|
68
56
|
|
|
69
57
|
export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationTitle = string;
|
|
70
58
|
|
|
@@ -90,29 +78,14 @@ export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsTo
|
|
|
90
78
|
actions: Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_NotificationActions;
|
|
91
79
|
};
|
|
92
80
|
|
|
93
|
-
export type
|
|
81
|
+
export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_Result = Shared_NtfyMessage & {};
|
|
94
82
|
|
|
95
|
-
export type
|
|
83
|
+
export type Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_Headers = Record<string, string>;
|
|
96
84
|
|
|
97
|
-
export type
|
|
98
|
-
body: Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_ResultBody;
|
|
99
|
-
headers: Tests_Worker_Pipeline_Format_Format_MapsOptionalNotificationFieldsToHeaders_ResultHeaders;
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
export type Tests_Worker_Pipeline_Format_Format_OmitsUndefinedOptionalHeaders_ResultBody = string;
|
|
103
|
-
|
|
104
|
-
export type Tests_Worker_Pipeline_Format_Format_OmitsUndefinedOptionalHeaders_ResultHeaders = Record<string, string>;
|
|
85
|
+
export type Tests_Worker_Pipeline_Format_Format_OmitsUndefinedOptionalHeaders_Result = Shared_NtfyMessage & {};
|
|
105
86
|
|
|
106
|
-
export type
|
|
107
|
-
body: Tests_Worker_Pipeline_Format_Format_OmitsUndefinedOptionalHeaders_ResultBody;
|
|
108
|
-
headers: Tests_Worker_Pipeline_Format_Format_OmitsUndefinedOptionalHeaders_ResultHeaders;
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
export type Tests_Worker_Pipeline_Format_Format_ReturnsFormattedBodyAndNtfyHeaders_ResultBody = string;
|
|
87
|
+
export type Tests_Worker_Pipeline_Format_Format_OmitsUndefinedOptionalHeaders_Headers = Record<string, string>;
|
|
112
88
|
|
|
113
|
-
export type
|
|
89
|
+
export type Tests_Worker_Pipeline_Format_Format_ReturnsFormattedBodyAndNtfyHeaders_Result = Shared_NtfyMessage & {};
|
|
114
90
|
|
|
115
|
-
export type
|
|
116
|
-
body: Tests_Worker_Pipeline_Format_Format_ReturnsFormattedBodyAndNtfyHeaders_ResultBody;
|
|
117
|
-
headers: Tests_Worker_Pipeline_Format_Format_ReturnsFormattedBodyAndNtfyHeaders_ResultHeaders;
|
|
118
|
-
};
|
|
91
|
+
export type Tests_Worker_Pipeline_Format_Format_ReturnsFormattedBodyAndNtfyHeaders_Headers = Record<string, string>;
|
|
@@ -24,11 +24,11 @@ export type Tests_Worker_Pipeline_Send_Servers = Tests_Worker_Pipeline_Send_Serv
|
|
|
24
24
|
|
|
25
25
|
export type Tests_Worker_Pipeline_Send_Message_Body = string;
|
|
26
26
|
|
|
27
|
-
export type
|
|
27
|
+
export type Tests_Worker_Pipeline_Send_Message_Title = string;
|
|
28
28
|
|
|
29
29
|
export type Tests_Worker_Pipeline_Send_Message = {
|
|
30
30
|
body: Tests_Worker_Pipeline_Send_Message_Body;
|
|
31
|
-
|
|
31
|
+
title: Tests_Worker_Pipeline_Send_Message_Title;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
export type Tests_Worker_Pipeline_Send_Messages = Tests_Worker_Pipeline_Send_Message[];
|
|
@@ -34,7 +34,7 @@ export type Tests_Worker_Pipeline_Split_Split_DoesNotSplitOnMultiByteCharacterBo
|
|
|
34
34
|
*/
|
|
35
35
|
export type Tests_Worker_Pipeline_Split_Split_PreservesAllHeadersOnEachPart_LongBody = string;
|
|
36
36
|
|
|
37
|
-
export type
|
|
37
|
+
export type Tests_Worker_Pipeline_Split_Split_PreservesAllHeadersOnEachPart_Message = Worker_Pipeline_Split_MessagePart & {};
|
|
38
38
|
|
|
39
39
|
export type Tests_Worker_Pipeline_Split_Split_PreservesAllHeadersOnEachPart_Result = readonly Worker_Pipeline_Split_MessagePart[];
|
|
40
40
|
|