UNPKG

abi.js

Version:

[![typescript-icon]][typescript-link] [![license-icon]][license-link] [![status-icon]][status-link] [![ci-icon]][ci-link] [![twitter-icon]][twitter-link]

121 lines (120 loc) 5.99 kB
export declare const GET = "GET"; export declare const HEAD = "HEAD"; export declare const POST = "POST"; export declare const PUT = "PUT"; export declare const DELETE = "DELETE"; export declare const ACL = "ACL"; export declare const BASELINE_CONTROL = "BASELINE-CONTROL"; export declare const BIND = "BIND"; export declare const CHECKIN = "CHECKIN"; export declare const CHECKOUT = "CHECKOUT"; export declare const CONNECT = "CONNECT"; export declare const COPY = "COPY"; export declare const LABEL = "LABEL"; export declare const LINK = "LINK"; export declare const LOCK = "LOCK"; export declare const MERGE = "MERGE"; export declare const MKACTIVITY = "MKACTIVITY"; export declare const MKCALENDAR = "MKCALENDAR"; export declare const MKCOL = "MKCOL"; export declare const MKREDIRECTREF = "MKREDIRECTREF"; export declare const MKWORKSPACE = "MKWORKSPACE"; export declare const MOVE = "MOVE"; export declare const OPTIONS = "OPTIONS"; export declare const ORDERPATCH = "ORDERPATCH"; export declare const PATCH = "PATCH"; export declare const PRI = "PRI"; export declare const PROPFIND = "PROPFIND"; export declare const PROPPATCH = "PROPPATCH"; export declare const REBIND = "REBIND"; export declare const REPORT = "REPORT"; export declare const SEARCH = "SEARCH"; export declare const TRACE = "TRACE"; export declare const UNBIND = "UNBIND"; export declare const UNCHECKOUT = "UNCHECKOUT"; export declare const UNLINK = "UNLINK"; export declare const UNLOCK = "UNLOCK"; export declare const UPDATE = "UPDATE"; export declare const UPDATEREDIRECTREF = "UPDATEREDIRECTREF"; export declare const VERSION_CONTROL = "VERSION-CONTROL"; export declare const METHODS: string[]; export type Get = typeof GET; export type Head = typeof HEAD; export type Post = typeof POST; export type Put = typeof PUT; export type Delete = typeof DELETE; export type Acl = typeof ACL; export type BaselineControl = typeof BASELINE_CONTROL; export type Bind = typeof BIND; export type Checkin = typeof CHECKIN; export type Checkout = typeof CHECKOUT; export type Connect = typeof CONNECT; export type Copy = typeof COPY; export type Label = typeof LABEL; export type Link = typeof LINK; export type Lock = typeof LOCK; export type Merge = typeof MERGE; export type Mkactivity = typeof MKACTIVITY; export type Mkcalendar = typeof MKCALENDAR; export type Mkcol = typeof MKCOL; export type Mkredirectref = typeof MKREDIRECTREF; export type Mkworkspace = typeof MKWORKSPACE; export type Move = typeof MOVE; export type Options = typeof OPTIONS; export type Orderpatch = typeof ORDERPATCH; export type Patch = typeof PATCH; export type Pri = typeof PRI; export type Propfind = typeof PROPFIND; export type Proppatch = typeof PROPPATCH; export type Rebind = typeof REBIND; export type Report = typeof REPORT; export type Search = typeof SEARCH; export type Trace = typeof TRACE; export type Unbind = typeof UNBIND; export type Uncheckout = typeof UNCHECKOUT; export type Unlink = typeof UNLINK; export type Unlock = typeof UNLOCK; export type Update = typeof UPDATE; export type Updateredirectref = typeof UPDATEREDIRECTREF; export type VersionControl = typeof VERSION_CONTROL; export type Method = (typeof METHODS)[number]; export declare function isMethod(method: string): method is Method; export declare function isGet(method: string): method is Get; export declare function isHead(method: string): method is Head; export declare function isPost(method: string): method is Post; export declare function isPut(method: string): method is Put; export declare function isDelete(method: string): method is Delete; export declare function isAcl(method: string): method is Acl; export declare function isBaselineControl(method: string): method is BaselineControl; export declare function isBind(method: string): method is Bind; export declare function isCheckin(method: string): method is Checkin; export declare function isCheckout(method: string): method is Checkout; export declare function isConnect(method: string): method is Connect; export declare function isCopy(method: string): method is Copy; export declare function isLabel(method: string): method is Label; export declare function isLink(method: string): method is Link; export declare function isLock(method: string): method is Lock; export declare function isMerge(method: string): method is Merge; export declare function isMkactivity(method: string): method is Mkactivity; export declare function isMkcalendar(method: string): method is Mkcalendar; export declare function isMkcol(method: string): method is Mkcol; export declare function isMkredirectref(method: string): method is Mkredirectref; export declare function isMkworkspace(method: string): method is Mkworkspace; export declare function isMove(method: string): method is Move; export declare function isOptions(method: string): method is Options; export declare function isOrderpatch(method: string): method is Orderpatch; export declare function isPatch(method: string): method is Patch; export declare function isPri(method: string): method is Pri; export declare function isPropfind(method: string): method is Propfind; export declare function isProppatch(method: string): method is Proppatch; export declare function isRebind(method: string): method is Rebind; export declare function isReport(method: string): method is Report; export declare function isSearch(method: string): method is Search; export declare function isTrace(method: string): method is Trace; export declare function isUnbind(method: string): method is Unbind; export declare function isUncheckout(method: string): method is Uncheckout; export declare function isUnlink(method: string): method is Unlink; export declare function isUnlock(method: string): method is Unlock; export declare function isUpdate(method: string): method is Update; export declare function isUpdateredirectref(method: string): method is Updateredirectref; export declare function isVersionControl(method: string): method is VersionControl;