/** Interface of information about a Uri */ export interface IUriInfo { source: string; protocol: string; authority: string; userInfo: string; user: string; password: string; host: string; port: string; relative: string; path: string; directory: string; file: string; query: string; anchor: string; } /** * * Interface for the result of the `parseRequestUrl` method: * Given URL "http://localhost:8080/api/customers/42?foo=1 the default implementation returns * base: 'api/' * collectionName: 'customers' * id: '42' * query: Map(['foo', ['1']]) * resourceUrl: 'http://localhost/api/customers/' */ export interface IParsedRequestUrl { apiBase: string; collectionName: string; id: string; resourceUrl: string; extras?: string; query?: Map; }