feat: add simple request parser

This commit is contained in:
Joachim Van Herwegen
2020-06-10 11:47:43 +02:00
parent 09eb665c12
commit cf258d0317
16 changed files with 166 additions and 27 deletions

View File

@@ -9,5 +9,5 @@ export interface RepresentationPreference {
/**
* How important this preference is in a value going from 0 to 1.
*/
weight?: number;
weight: number;
}

View File

@@ -3,7 +3,7 @@
*/
export interface ResourceIdentifier {
/**
* Path to the relevant resource. Usually this would be an URL.
* Path to the relevant resource.
*/
path: string;
}