angular-in-memory-web-api
Advanced tools
Comparing version 0.17.0 to 0.18.0
/** | ||
* @license Angular v0.0.0 | ||
* (c) 2010-2022 Google LLC. https://angular.io/ | ||
* (c) 2010-2024 Google LLC. https://angular.io/ | ||
* License: MIT | ||
@@ -157,3 +157,3 @@ */ | ||
}>(collection: T[], collectionName: string): any; | ||
protected get({ collection, collectionName, headers, id, query, url }: RequestInfo_2): ResponseOptions; | ||
protected get({ collection, collectionName, headers, id, query, url, }: RequestInfo_2): ResponseOptions; | ||
/** Get JSON body from the request object */ | ||
@@ -211,3 +211,3 @@ protected abstract getJsonBody(req: any): any; | ||
protected parseRequestUrl(url: string): ParsedRequestUrl; | ||
protected post({ collection, collectionName, headers, id, req, resourceUrl, url }: RequestInfo_2): ResponseOptions; | ||
protected post({ collection, collectionName, headers, id, req, resourceUrl, url, }: RequestInfo_2): ResponseOptions; | ||
protected put({ collection, collectionName, headers, id, req, url }: RequestInfo_2): ResponseOptions; | ||
@@ -281,2 +281,4 @@ protected removeById(collection: any[], id: number): boolean; | ||
* | ||
* Note: If you use the `FetchBackend`, make sure forRoot is invoked after in the providers list | ||
* | ||
* @param dbCreator - Class that creates seed data for in-memory database. Must implement | ||
@@ -348,3 +350,3 @@ * InMemoryDbService. | ||
/** | ||
* false (default) should pass unrecognized request URL through to original backend; true: 404 | ||
* true, should pass unrecognized request URL through to original backend; false (default): 404 | ||
*/ | ||
@@ -412,2 +414,4 @@ passThruUnknownUrl?: boolean; | ||
* | ||
* Note: If you use the `FetchBackend`, make sure forRoot is invoked after in the providers list | ||
* | ||
* @param dbCreator - Class that creates seed data for in-memory database. Must implement | ||
@@ -414,0 +418,0 @@ * InMemoryDbService. |
{ | ||
"name": "angular-in-memory-web-api", | ||
"version": "0.17.0", | ||
"version": "0.18.0", | ||
"description": "An in-memory web api for Angular demos and tests", | ||
@@ -8,4 +8,4 @@ "author": "angular", | ||
"peerDependencies": { | ||
"@angular/core": "^17.0.0", | ||
"@angular/common": "^17.0.0", | ||
"@angular/core": "^18.0.0", | ||
"@angular/common": "^18.0.0", | ||
"rxjs": "^6.5.3 || ^7.4.0" | ||
@@ -12,0 +12,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
387330
3382