mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
23 lines
634 B
TypeScript
23 lines
634 B
TypeScript
// Type definitions for Hypertext Application Language Draft 6.0
|
|
// Project: https://tools.ietf.org/html/draft-kelly-json-hal-06
|
|
// Definitions by: Maks3w <https://github.com/maks3w>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare namespace Hal {
|
|
/**
|
|
* Describe a HAL Link object
|
|
*
|
|
* https://tools.ietf.org/html/draft-kelly-json-hal-06#section-5
|
|
*/
|
|
interface Link {
|
|
deprecation?: string;
|
|
href: string;
|
|
hreflang?: string;
|
|
name?: string;
|
|
profile?: string;
|
|
templated?: boolean;
|
|
title?: string;
|
|
type?: string;
|
|
}
|
|
}
|