@finos/legend-server-sdlc
Advanced tools
Comparing version 1.0.1 to 2.0.0
@@ -16,3 +16,3 @@ /** | ||
*/ | ||
import { NullphobicSerializationFactory } from '@finos/legend-shared'; | ||
import { SerializationFactory } from '@finos/legend-shared'; | ||
export declare enum WorkspaceAccessType { | ||
@@ -31,5 +31,5 @@ WORKSPACE = "WORKSPACE", | ||
accessType: WorkspaceAccessType; | ||
static readonly serialization: NullphobicSerializationFactory<Workspace>; | ||
static readonly serialization: SerializationFactory<Workspace>; | ||
get workspaceType(): WorkspaceType; | ||
} | ||
//# sourceMappingURL=Workspace.d.ts.map |
@@ -17,3 +17,3 @@ /** | ||
import { createModelSchema, optional, primitive } from 'serializr'; | ||
import { NullphobicSerializationFactory } from '@finos/legend-shared'; | ||
import { SerializationFactory } from '@finos/legend-shared'; | ||
export var WorkspaceAccessType; | ||
@@ -35,7 +35,9 @@ (function (WorkspaceAccessType) { | ||
accessType = WorkspaceAccessType.WORKSPACE; | ||
static serialization = new NullphobicSerializationFactory(createModelSchema(Workspace, { | ||
static serialization = new SerializationFactory(createModelSchema(Workspace, { | ||
projectId: primitive(), | ||
userId: optional(primitive()), | ||
workspaceId: primitive(), | ||
})); | ||
}), { | ||
deserializeNullAsUndefined: true, | ||
}); | ||
get workspaceType() { | ||
@@ -42,0 +44,0 @@ return this.userId ? WorkspaceType.USER : WorkspaceType.GROUP; |
{ | ||
"name": "@finos/legend-server-sdlc", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"description": "Legend SDLC server client", | ||
@@ -23,3 +23,3 @@ "keywords": [ | ||
"type": "module", | ||
"main": "lib/index.js", | ||
"exports": "./lib/index.js", | ||
"module": "lib/index.js", | ||
@@ -42,4 +42,4 @@ "types": "lib/index.d.ts", | ||
"dependencies": { | ||
"@finos/legend-model-storage": "0.0.30", | ||
"@finos/legend-shared": "1.3.1", | ||
"@finos/legend-model-storage": "1.0.0", | ||
"@finos/legend-shared": "2.0.0", | ||
"mobx": "6.5.0", | ||
@@ -51,9 +51,9 @@ "mobx-react-lite": "3.3.0", | ||
"devDependencies": { | ||
"@finos/legend-dev-utils": "0.3.21", | ||
"@finos/legend-dev-utils": "1.0.0", | ||
"cross-env": "7.0.3", | ||
"eslint": "8.13.0", | ||
"jest": "27.5.1", | ||
"eslint": "8.14.0", | ||
"jest": "28.0.3", | ||
"npm-run-all": "4.1.5", | ||
"rimraf": "3.0.2", | ||
"typescript": "4.6.3" | ||
"typescript": "4.6.4" | ||
}, | ||
@@ -60,0 +60,0 @@ "publishConfig": { |
@@ -18,3 +18,3 @@ /** | ||
import { createModelSchema, optional, primitive } from 'serializr'; | ||
import { NullphobicSerializationFactory } from '@finos/legend-shared'; | ||
import { SerializationFactory } from '@finos/legend-shared'; | ||
@@ -38,3 +38,3 @@ export enum WorkspaceAccessType { | ||
static readonly serialization = new NullphobicSerializationFactory( | ||
static readonly serialization = new SerializationFactory( | ||
createModelSchema(Workspace, { | ||
@@ -45,2 +45,5 @@ projectId: primitive(), | ||
}), | ||
{ | ||
deserializeNullAsUndefined: true, | ||
}, | ||
); | ||
@@ -47,0 +50,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
279700
4884
+ Added@finos/legend-model-storage@1.0.0(transitive)
+ Added@finos/legend-shared@2.0.0(transitive)
+ Added@jest/schemas@28.1.3(transitive)
+ Added@sinclair/typebox@0.24.51(transitive)
+ Addedpretty-format@28.0.2(transitive)
+ Addedreact-is@18.3.1(transitive)
- Removed@finos/legend-model-storage@0.0.30(transitive)
- Removed@finos/legend-shared@1.3.1(transitive)
- Removedpretty-format@27.5.1(transitive)
- Removedreact-is@17.0.2(transitive)
Updated@finos/legend-shared@2.0.0