@microsoft/paris
Advanced tools
Comparing version 1.2.0 to 1.3.0
import { AjaxRequest } from "rxjs/ajax"; | ||
export interface ParisConfig { | ||
export interface ParisConfig<TConfigData = any> { | ||
apiRoot?: string; | ||
allItemsProperty?: string; | ||
entityIdProperty?: string; | ||
data?: any; | ||
data?: TConfigData; | ||
http?: AjaxRequest; | ||
} | ||
export declare const defaultConfig: ParisConfig; | ||
export declare const defaultConfig: Partial<ParisConfig>; |
@@ -1,37 +0,37 @@ | ||
export { DataCache } from "./services/cache"; | ||
export { EntityRelationshipRepositoryType } from "./entity/entity-relationship-repository-type"; | ||
export { EntityRelationship } from "./entity/entity-relationship.decorator"; | ||
export { RelationshipType } from "./models/relationship-type.enum"; | ||
export { DataEntityType, DataEntityConstructor } from "./entity/data-entity.base"; | ||
export { Paris } from "./services/paris"; | ||
export { DataStoreService } from "./services/data-store.service"; | ||
export { EntityModelBase } from "./models/entity-model.base"; | ||
export { ModelBase } from "./models/model.base"; | ||
export { Repository } from "./repository/repository"; | ||
export { ReadonlyRepository } from "./repository/readonly-repository"; | ||
export { IReadonlyRepository } from "./repository/repository.interface"; | ||
export { RelationshipRepository, IRelationshipRepository } from "./repository/relationship-repository"; | ||
export { IRepository } from "./repository/repository.interface"; | ||
export { EntityModelConfigBase } from "./models/entity-config-base.interface"; | ||
export { DataQuery } from "./data_access/data-query"; | ||
export { DataQuerySortDirection, DataQuerySortField } from "./data_access/data-query-sort"; | ||
export { DataAvailability } from "./data_access/data-availability.enum"; | ||
export { DataSet } from "./data_access/dataset"; | ||
export { queryToHttpOptions } from "./data_access/query-to-http"; | ||
export { DataCache } from "./data_access/cache"; | ||
export { EntityRelationshipRepositoryType } from "./api/entity/entity-relationship-repository-type"; | ||
export { EntityRelationship } from "./config/decorators/entity-relationship.decorator"; | ||
export { RelationshipType } from "./config/relationship-type.enum"; | ||
export { DataEntityType } from "./api/entity/data-entity.base"; | ||
export { Paris } from "./paris"; | ||
export { DataStoreService } from "./data_access/data-store.service"; | ||
export { EntityModelBase } from "./config/entity-model.base"; | ||
export { ModelBase } from "./config/model.base"; | ||
export { Repository } from "./api/repository/repository"; | ||
export { ReadonlyRepository } from "./api/repository/readonly-repository"; | ||
export { IReadonlyRepository } from "./api/repository/repository.interface"; | ||
export { RelationshipRepository, IRelationshipRepository } from "./api/repository/relationship-repository"; | ||
export { IRepository } from "./api/repository/repository.interface"; | ||
export { EntityModelConfigBase } from "./config/entity-config-base.interface"; | ||
export { ParisConfig } from "./config/paris-config"; | ||
export { DataTransformersService, DataTransformer } from "./services/data-transformers.service"; | ||
export { ModelEntity, EntityConfig, ModelEntityCacheConfig } from "./entity/entity.config"; | ||
export { EntityField } from "./entity/entity-field.decorator"; | ||
export { ValueObject } from "./entity/value-object.decorator"; | ||
export { Entity } from "./entity/entity.decorator"; | ||
export { DataQuery } from "./dataset/data-query"; | ||
export { DataQuerySortDirection, DataQuerySortField } from "./dataset/data-query-sort"; | ||
export { HttpOptions } from "./services/http.service"; | ||
export { DataAvailability } from "./dataset/data-availability.enum"; | ||
export { DataSet } from "./dataset/dataset"; | ||
export { EntityEvent } from "./events/entity.event"; | ||
export { SaveEntityEvent } from "./events/save-entity.event"; | ||
export { RemoveEntitiesEvent } from "./events/remove-entities.event"; | ||
export { EntityErrorEvent, EntityErrorTypes } from "./events/entity-error.event"; | ||
export { FieldConfig } from "./entity/entity-field.config"; | ||
export { Field } from "./entity/entity-field"; | ||
export { ApiCall } from "./entity/api-call.decorator"; | ||
export { ApiCallBackendConfigInterface } from "./models/api-call-backend-config.interface"; | ||
export { ApiCallModel, ApiCallConfig } from "./models/api-call.model"; | ||
export { EntityGetMethod, IEntityConfigBase } from "./entity/entity-config.base"; | ||
export { queryToHttpOptions } from "./dataset/query-to-http"; | ||
export { DataTransformersService, DataTransformer } from "./modeling/data-transformers.service"; | ||
export { ModelEntity, EntityConfig, ModelEntityCacheConfig } from "./config/entity.config"; | ||
export { EntityField } from "./config/decorators/entity-field.decorator"; | ||
export { ValueObject } from "./config/decorators/value-object.decorator"; | ||
export { Entity } from "./config/decorators/entity.decorator"; | ||
export { HttpOptions } from "./data_access/http.service"; | ||
export { EntityEvent } from "./api/events/entity.event"; | ||
export { SaveEntityEvent } from "./api/events/save-entity.event"; | ||
export { RemoveEntitiesEvent } from "./api/events/remove-entities.event"; | ||
export { EntityErrorEvent, EntityErrorTypes } from "./api/events/entity-error.event"; | ||
export { FieldConfig } from "./config/entity-field.config"; | ||
export { Field } from "./api/entity/entity-field"; | ||
export { ApiCall } from "./config/decorators/api-call.decorator"; | ||
export { ApiCallBackendConfigInterface } from "./config/api-call-backend-config.interface"; | ||
export { ApiCallModel, ApiCallConfig } from "./api/api-calls/api-call.model"; | ||
export { EntityGetMethod, IEntityConfigBase } from "./config/model-config"; |
@@ -1,22 +0,22 @@ | ||
export { DataCache } from "./services/cache"; | ||
export { EntityRelationship } from "./entity/entity-relationship.decorator"; | ||
export { RelationshipType } from "./models/relationship-type.enum"; | ||
export { Paris } from "./services/paris"; | ||
export { DataStoreService } from "./services/data-store.service"; | ||
export { EntityModelBase } from "./models/entity-model.base"; | ||
export { ModelBase } from "./models/model.base"; | ||
export { Repository } from "./repository/repository"; | ||
export { ReadonlyRepository } from "./repository/readonly-repository"; | ||
export { RelationshipRepository } from "./repository/relationship-repository"; | ||
export { DataTransformersService } from "./services/data-transformers.service"; | ||
export { ModelEntity } from "./entity/entity.config"; | ||
export { EntityField } from "./entity/entity-field.decorator"; | ||
export { ValueObject } from "./entity/value-object.decorator"; | ||
export { Entity } from "./entity/entity.decorator"; | ||
export { DataQuerySortDirection } from "./dataset/data-query-sort"; | ||
export { DataAvailability } from "./dataset/data-availability.enum"; | ||
export { EntityErrorTypes } from "./events/entity-error.event"; | ||
export { ApiCall } from "./entity/api-call.decorator"; | ||
export { ApiCallModel } from "./models/api-call.model"; | ||
export { EntityGetMethod } from "./entity/entity-config.base"; | ||
export { queryToHttpOptions } from "./dataset/query-to-http"; | ||
export { DataQuerySortDirection } from "./data_access/data-query-sort"; | ||
export { DataAvailability } from "./data_access/data-availability.enum"; | ||
export { queryToHttpOptions } from "./data_access/query-to-http"; | ||
export { DataCache } from "./data_access/cache"; | ||
export { EntityRelationship } from "./config/decorators/entity-relationship.decorator"; | ||
export { RelationshipType } from "./config/relationship-type.enum"; | ||
export { Paris } from "./paris"; | ||
export { DataStoreService } from "./data_access/data-store.service"; | ||
export { EntityModelBase } from "./config/entity-model.base"; | ||
export { ModelBase } from "./config/model.base"; | ||
export { Repository } from "./api/repository/repository"; | ||
export { ReadonlyRepository } from "./api/repository/readonly-repository"; | ||
export { RelationshipRepository } from "./api/repository/relationship-repository"; | ||
export { DataTransformersService } from "./modeling/data-transformers.service"; | ||
export { ModelEntity } from "./config/entity.config"; | ||
export { EntityField } from "./config/decorators/entity-field.decorator"; | ||
export { ValueObject } from "./config/decorators/value-object.decorator"; | ||
export { Entity } from "./config/decorators/entity.decorator"; | ||
export { EntityErrorTypes } from "./api/events/entity-error.event"; | ||
export { ApiCall } from "./config/decorators/api-call.decorator"; | ||
export { ApiCallModel } from "./api/api-calls/api-call.model"; | ||
export { EntityGetMethod } from "./config/model-config"; |
@@ -56,4 +56,2 @@ # Paris | ||
[NPM](https://www.npmjs.com/package/@microsoft/paris) [GitHub](https://github.com/Microsoft/paris) | ||
![logo](https://github.com/Microsoft/paris/blob/master/paris_logo-192x192.png) | ||
[NPM](https://www.npmjs.com/package/@microsoft/paris) [GitHub](https://github.com/Microsoft/paris) |
{ | ||
"name": "@microsoft/paris", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Library for the implementation of Domain Driven Design in Angular/TypeScript apps", | ||
@@ -14,3 +14,3 @@ "repository": { | ||
"dev": "rollup -c -w", | ||
"prepublishOnly": "npm run build", | ||
"prepublish": "npm run build && npm run test", | ||
"test": "jest", | ||
@@ -17,0 +17,0 @@ "test:watch": "jest --watch", |
# Paris | ||
[![Build Status](https://travis-ci.org/Microsoft/paris.svg?branch=master)](https://travis-ci.org/Microsoft/paris) | ||
[![npm version](https://badge.fury.io/js/%40microsoft%2Fparis.svg)](https://badge.fury.io/js/%40microsoft%2Fparis) | ||
Paris is a data management library for webapps, using TypeScript and RxJS to implement Domain-Driven Design. | ||
*Paris, fashion capital of the world, where all the **models** want to be*. | ||
## Installation | ||
@@ -92,2 +95,2 @@ | ||
## Testing | ||
* Unit tests are written using [Jest](https://jestjs.io/), and executed with [ts-jest](https://github.com/kulshekhar/ts-jest). | ||
Unit tests are written using [Jest](https://jestjs.io/), and executed with [ts-jest](https://github.com/kulshekhar/ts-jest). |
@@ -22,3 +22,3 @@ { | ||
"include": ["index.ts", "lib/**/*"], | ||
"exclude": ["lib/**/*.spec.ts"] | ||
"exclude": ["lib/**/*.spec.ts", "lib/mock/*"] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
133
4614
95
223081
1