Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@finos/legend-server-sdlc

Package Overview
Dependencies
Maintainers
4
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@finos/legend-server-sdlc - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

4

lib/models/workspace/Workspace.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc