New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@webiny/api-tenancy

Package Overview
Dependencies
Maintainers
1
Versions
428
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webiny/api-tenancy - npm Package Compare versions

Comparing version 5.18.3 to 5.19.0-beta.0

5

createTenancy/createTenantsMethods.js

@@ -77,2 +77,7 @@ "use strict";

id: (_data$id = data.id) !== null && _data$id !== void 0 ? _data$id : (0, _mdbid.default)(),
status: data.status || "active",
settings: _objectSpread(_objectSpread({}, data.settings || {}), {}, {
domains: data.settings && data.settings.domains || []
}),
parent: data.parent || null,
webinyVersion: process.env.WEBINY_VERSION

@@ -79,0 +84,0 @@ });

@@ -23,4 +23,13 @@ "use strict";

parent: ID
settings: TenantSettings!
}
type TenantDomain {
fqdn: String!
}
type TenantSettings {
domains: [TenantDomain!]!
}
type TenancyQuery {

@@ -27,0 +36,0 @@ version: String

23

package.json
{
"name": "@webiny/api-tenancy",
"version": "5.18.3",
"version": "5.19.0-beta.0",
"main": "index.js",

@@ -9,2 +9,5 @@ "repository": {

},
"keywords": [
"tenancy:base"
],
"description": "Tenancy base to create and access tenants.",

@@ -14,8 +17,8 @@ "author": "Webiny LTD",

"dependencies": {
"@webiny/error": "5.18.3",
"@webiny/handler": "5.18.3",
"@webiny/handler-db": "5.18.3",
"@webiny/handler-graphql": "5.18.3",
"@webiny/handler-http": "5.18.3",
"@webiny/pubsub": "5.18.3",
"@webiny/error": "5.19.0-beta.0",
"@webiny/handler": "5.19.0-beta.0",
"@webiny/handler-db": "5.19.0-beta.0",
"@webiny/handler-graphql": "5.19.0-beta.0",
"@webiny/handler-http": "5.19.0-beta.0",
"@webiny/pubsub": "5.19.0-beta.0",
"dataloader": "2.0.0",

@@ -27,4 +30,4 @@ "mdbid": "1.0.0"

"@babel/core": "^7.5.5",
"@webiny/cli": "^5.18.3",
"@webiny/project-utils": "^5.18.3",
"@webiny/cli": "^5.19.0-beta.0",
"@webiny/project-utils": "^5.19.0-beta.0",
"jest": "^26.6.3",

@@ -51,3 +54,3 @@ "jest-dynalite": "^3.2.0",

},
"gitHead": "3ccdb07d10c57086a63eb42ba7484e17bc388297"
"gitHead": "6c834e0b356e9099800f4094f2023b05b951d8ea"
}

@@ -5,7 +5,14 @@ import { Context } from "@webiny/handler/types";

import { Topic } from "@webiny/pubsub/types";
export interface TenantDomain {
fqdn: string;
}
export interface Tenant {
id: string;
name: string;
description?: string;
parent?: string | null;
description: string;
status: string;
settings: {
domains: TenantDomain[];
};
parent: string | null;
webinyVersion?: string;

@@ -42,3 +49,7 @@ }

name: string;
description?: string;
description: string;
status?: string;
settings?: {
domains: TenantDomain[];
};
parent?: string | null;

@@ -45,0 +56,0 @@ }

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