diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 8fd8dc3..ac6707a 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@uptime.link/interfaces', - version: '2.0.8', + version: '2.0.9', description: 'TypeScript interface for the uptime.link API and modules' } diff --git a/ts/requests/index.ts b/ts/requests/index.ts index 9b12f52..68cd0eb 100644 --- a/ts/requests/index.ts +++ b/ts/requests/index.ts @@ -1,3 +1,4 @@ export * from './requests.checks.js'; export * from './requests.incidents.js'; +export * from './requests.snapshot.js'; export * from './requests.status.js'; diff --git a/ts/requests/requests.snapshot.ts b/ts/requests/requests.snapshot.ts new file mode 100644 index 0000000..bdc8081 --- /dev/null +++ b/ts/requests/requests.snapshot.ts @@ -0,0 +1,16 @@ +import { IDomainSnapshot } from '../data/domainsnapshot.js'; +import * as plugins from '../ul-interfaces.plugins.js'; + +export interface IReq_PerformDomainSnapshot + extends plugins.typedRequestInterfaces.implementsTR< + plugins.typedRequestInterfaces.ITypedRequest, + IReq_PerformDomainSnapshot + > { + method: 'performDomainSnapshot'; + request: { + domainName: string; + }; + response: { + domainSnapshot: IDomainSnapshot; + } +}