@webiny/api-tenancy
Advanced tools
Comparing version 5.18.3 to 5.19.0-beta.0
@@ -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 |
{ | ||
"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 @@ } |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
21864
476
2
+ Added@webiny/db@5.19.0-beta.0(transitive)
+ Added@webiny/error@5.19.0-beta.0(transitive)
+ Added@webiny/handler@5.19.0-beta.0(transitive)
+ Added@webiny/handler-db@5.19.0-beta.0(transitive)
+ Added@webiny/handler-graphql@5.19.0-beta.0(transitive)
+ Added@webiny/handler-http@5.19.0-beta.0(transitive)
+ Added@webiny/plugins@5.19.0-beta.0(transitive)
+ Added@webiny/pubsub@5.19.0-beta.0(transitive)
- Removed@webiny/db@5.18.3(transitive)
- Removed@webiny/error@5.18.3(transitive)
- Removed@webiny/handler@5.18.3(transitive)
- Removed@webiny/handler-db@5.18.3(transitive)
- Removed@webiny/handler-graphql@5.18.3(transitive)
- Removed@webiny/handler-http@5.18.3(transitive)
- Removed@webiny/plugins@5.18.3(transitive)
- Removed@webiny/pubsub@5.18.3(transitive)
Updated@webiny/error@5.19.0-beta.0
Updated@webiny/pubsub@5.19.0-beta.0