mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-02 06:57:35 +00:00
79 lines
1.3 KiB
TypeScript
79 lines
1.3 KiB
TypeScript
// Type definitions for methods 1.1
|
|
// Project: https://github.com/jshttp/methods
|
|
// Definitions by: Carlos Precioso <https://github.com/cprecioso>
|
|
// Michel Bitter <https://github.com/michelbitter>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
type Method =
|
|
| 'ACL'
|
|
| 'BIND'
|
|
| 'CHECKOUT'
|
|
| 'CONNECT'
|
|
| 'COPY'
|
|
| 'DELETE'
|
|
| 'GET'
|
|
| 'HEAD'
|
|
| 'LINK'
|
|
| 'LOCK'
|
|
| 'M-SEARCH'
|
|
| 'MERGE'
|
|
| 'MKACTIVITY'
|
|
| 'MKCALENDAR'
|
|
| 'MKCOL'
|
|
| 'MOVE'
|
|
| 'NOTIFY'
|
|
| 'OPTIONS'
|
|
| 'PATCH'
|
|
| 'POST'
|
|
| 'PROPFIND'
|
|
| 'PROPPATCH'
|
|
| 'PURGE'
|
|
| 'PUT'
|
|
| 'REBIND'
|
|
| 'REPORT'
|
|
| 'SEARCH'
|
|
| 'SOURCE'
|
|
| 'SUBSCRIBE'
|
|
| 'TRACE'
|
|
| 'UNBIND'
|
|
| 'UNLINK'
|
|
| 'UNLOCK'
|
|
| 'UNSUBSCRIBE'
|
|
| 'acl'
|
|
| 'bind'
|
|
| 'checkout'
|
|
| 'connect'
|
|
| 'copy'
|
|
| 'delete'
|
|
| 'get'
|
|
| 'head'
|
|
| 'link'
|
|
| 'lock'
|
|
| 'm-search'
|
|
| 'merge'
|
|
| 'mkactivity'
|
|
| 'mkcalendar'
|
|
| 'mkcol'
|
|
| 'move'
|
|
| 'notify'
|
|
| 'options'
|
|
| 'patch'
|
|
| 'post'
|
|
| 'propfind'
|
|
| 'proppatch'
|
|
| 'purge'
|
|
| 'put'
|
|
| 'rebind'
|
|
| 'report'
|
|
| 'search'
|
|
| 'source'
|
|
| 'subscribe'
|
|
| 'trace'
|
|
| 'unbind'
|
|
| 'unlink'
|
|
| 'unlock'
|
|
| 'unsubscribe';
|
|
|
|
declare const methods: Method[];
|
|
export = methods;
|