Compare commits

..

14 Commits

Author SHA1 Message Date
standardci
d02bca8879 chore(release): publish new version
- @standardnotes/auth-server@1.84.4
2023-01-20 00:06:06 +00:00
moughxyz
5e654ccf94 temp: disable e2e tests 2023-01-19 18:03:54 -06:00
standardci
7d3e5c22fb chore(release): publish new version
- @standardnotes/auth-server@1.84.2
2023-01-19 23:29:14 +00:00
moughxyz
23eb61ee5f refactor: offlineRoles => roles 2023-01-19 17:27:20 -06:00
standardci
2cded4b2d1 chore(release): publish new version
- @standardnotes/auth-server@1.84.1
 - @standardnotes/syncing-server@1.29.6
2023-01-19 23:25:55 +00:00
moughxyz
ba7662fc1e fix: strings for role names 2023-01-19 17:23:58 -06:00
standardci
832a48ac76 chore(release): publish new version
- @standardnotes/analytics@2.19.10
 - @standardnotes/api-gateway@1.46.5
 - @standardnotes/auth-server@1.84.0
 - @standardnotes/domain-events-infra@1.9.65
 - @standardnotes/domain-events@2.106.0
 - @standardnotes/event-store@1.6.64
 - @standardnotes/files-server@1.9.10
 - @standardnotes/revisions-server@1.10.18
 - @standardnotes/scheduler-server@1.16.14
 - @standardnotes/syncing-server@1.29.5
 - @standardnotes/websockets-server@1.5.10
 - @standardnotes/workspace-server@1.19.13
2023-01-19 22:31:28 +00:00
Mo
2db0c125fe feat: offline roles (#419) 2023-01-19 16:29:36 -06:00
standardci
20d9624bc6 chore(release): publish new version
- @standardnotes/auth-server@1.83.1
2023-01-19 19:40:49 +00:00
moughxyz
f20ee68f50 Revert "feat: include roles in offline features request (#418)"
This reverts commit 2e7fdd93dd.
2023-01-19 13:38:46 -06:00
standardci
cbf45ce3eb chore(release): publish new version
- @standardnotes/auth-server@1.83.0
2023-01-19 19:18:16 +00:00
Mo
2e7fdd93dd feat: include roles in offline features request (#418) 2023-01-19 13:16:16 -06:00
standardci
8ce38f82b5 chore(release): publish new version
- @standardnotes/analytics@2.19.9
 - @standardnotes/api-gateway@1.46.4
 - @standardnotes/auth-server@1.82.6
 - @standardnotes/domain-events-infra@1.9.64
 - @standardnotes/domain-events@2.105.5
 - @standardnotes/event-store@1.6.63
 - @standardnotes/files-server@1.9.9
 - @standardnotes/revisions-server@1.10.17
 - @standardnotes/scheduler-server@1.16.13
 - @standardnotes/syncing-server@1.29.4
 - @standardnotes/websockets-server@1.5.9
 - @standardnotes/workspace-server@1.19.12
2023-01-19 16:19:54 +00:00
Aman Harwara
ec5429eeec fix: expected value for unit test (#417) 2023-01-19 21:47:32 +05:30
39 changed files with 244 additions and 87 deletions

View File

@@ -186,18 +186,18 @@ jobs:
push: true
tags: standardnotes/${{ inputs.service_name }}:${{ github.sha }}
- name: Run E2E test suite
uses: convictional/trigger-workflow-and-wait@master
with:
owner: standardnotes
repo: self-hosted
github_token: ${{ secrets.CI_PAT_TOKEN }}
workflow_file_name: testing-with-updating-client-and-server.yml
wait_interval: 30
client_payload: '{"${{ inputs.e2e_tag_parameter_name }}": "${{ github.sha }}"}'
propagate_failure: true
trigger_workflow: true
wait_workflow: true
# - name: Run E2E test suite
# uses: convictional/trigger-workflow-and-wait@master
# with:
# owner: standardnotes
# repo: self-hosted
# github_token: ${{ secrets.CI_PAT_TOKEN }}
# workflow_file_name: testing-with-updating-client-and-server.yml
# wait_interval: 30
# client_payload: '{"${{ inputs.e2e_tag_parameter_name }}": "${{ github.sha }}"}'
# propagate_failure: true
# trigger_workflow: true
# wait_workflow: true
publish:
needs: [ build, test, lint, e2e ]

24
.pnp.cjs generated
View File

@@ -2758,7 +2758,7 @@ const RAW_RUNTIME_STATE =
["@standardnotes/domain-core", "workspace:packages/domain-core"],\
["@standardnotes/domain-events", "workspace:packages/domain-events"],\
["@standardnotes/domain-events-infra", "workspace:packages/domain-events-infra"],\
["@standardnotes/features", "npm:1.58.0"],\
["@standardnotes/features", "npm:1.58.1"],\
["@standardnotes/predicates", "workspace:packages/predicates"],\
["@standardnotes/responses", "npm:1.11.1"],\
["@standardnotes/security", "workspace:packages/security"],\
@@ -2862,7 +2862,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./packages/domain-events/",\
"packageDependencies": [\
["@standardnotes/domain-events", "workspace:packages/domain-events"],\
["@standardnotes/features", "npm:1.53.1"],\
["@standardnotes/features", "npm:1.58.1"],\
["@standardnotes/predicates", "workspace:packages/predicates"],\
["@standardnotes/security", "workspace:packages/security"],\
["@types/jest", "npm:29.1.1"],\
@@ -2968,12 +2968,13 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "HARD"\
}],\
["npm:1.58.0", {\
"packageLocation": "./.yarn/cache/@standardnotes-features-npm-1.58.0-5a58b65873-028c13956a.zip/node_modules/@standardnotes/features/",\
["npm:1.58.1", {\
"packageLocation": "./.yarn/cache/@standardnotes-features-npm-1.58.1-a51ef65e8a-558e4506d8.zip/node_modules/@standardnotes/features/",\
"packageDependencies": [\
["@standardnotes/features", "npm:1.58.0"],\
["@standardnotes/features", "npm:1.58.1"],\
["@standardnotes/auth", "npm:3.19.4"],\
["@standardnotes/common", "workspace:packages/common"],\
["@standardnotes/domain-core", "workspace:packages/domain-core"],\
["@standardnotes/security", "workspace:packages/security"],\
["reflect-metadata", "npm:0.1.13"]\
],\
@@ -3062,18 +3063,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\
}]\
]],\
["@standardnotes/payloads", [\
["npm:1.5.1", {\
"packageLocation": "./.yarn/cache/@standardnotes-payloads-npm-1.5.1-45dffe2f5c-092457c23a.zip/node_modules/@standardnotes/payloads/",\
"packageDependencies": [\
["@standardnotes/payloads", "npm:1.5.1"],\
["@standardnotes/common", "workspace:packages/common"],\
["@standardnotes/features", "npm:1.53.1"],\
["@standardnotes/utils", "npm:1.10.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["@standardnotes/predicates", [\
["workspace:packages/predicates", {\
"packageLocation": "./packages/predicates/",\
@@ -3295,7 +3284,6 @@ const RAW_RUNTIME_STATE =
["@standardnotes/domain-core", "workspace:packages/domain-core"],\
["@standardnotes/domain-events", "workspace:packages/domain-events"],\
["@standardnotes/domain-events-infra", "workspace:packages/domain-events-infra"],\
["@standardnotes/payloads", "npm:1.5.1"],\
["@standardnotes/responses", "npm:1.11.1"],\
["@standardnotes/security", "workspace:packages/security"],\
["@standardnotes/settings", "workspace:packages/settings"],\

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [2.19.10](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.19.9...@standardnotes/analytics@2.19.10) (2023-01-19)
**Note:** Version bump only for package @standardnotes/analytics
## [2.19.9](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.19.8...@standardnotes/analytics@2.19.9) (2023-01-19)
**Note:** Version bump only for package @standardnotes/analytics
## [2.19.8](https://github.com/standardnotes/server/compare/@standardnotes/analytics@2.19.7...@standardnotes/analytics@2.19.8) (2023-01-19)
**Note:** Version bump only for package @standardnotes/analytics

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/analytics",
"version": "2.19.8",
"version": "2.19.10",
"engines": {
"node": ">=18.0.0 <19.0.0"
},

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.46.5](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.46.4...@standardnotes/api-gateway@1.46.5) (2023-01-19)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.46.4](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.46.3...@standardnotes/api-gateway@1.46.4) (2023-01-19)
**Note:** Version bump only for package @standardnotes/api-gateway
## [1.46.3](https://github.com/standardnotes/api-gateway/compare/@standardnotes/api-gateway@1.46.2...@standardnotes/api-gateway@1.46.3) (2023-01-19)
**Note:** Version bump only for package @standardnotes/api-gateway

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/api-gateway",
"version": "1.46.3",
"version": "1.46.5",
"engines": {
"node": ">=18.0.0 <19.0.0"
},

View File

@@ -3,6 +3,44 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.84.4](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.84.2...@standardnotes/auth-server@1.84.4) (2023-01-20)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.84.2](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.84.1...@standardnotes/auth-server@1.84.2) (2023-01-19)
**Note:** Version bump only for package @standardnotes/auth-server
## [1.84.1](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.84.0...@standardnotes/auth-server@1.84.1) (2023-01-19)
### Bug Fixes
* strings for role names ([ba7662f](https://github.com/standardnotes/server/commit/ba7662fc1ea24548ab4ea287c5f34d6f27c6c923))
# [1.84.0](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.83.1...@standardnotes/auth-server@1.84.0) (2023-01-19)
### Features
* offline roles ([#419](https://github.com/standardnotes/server/issues/419)) ([2db0c12](https://github.com/standardnotes/server/commit/2db0c125fe5872c5898103c2388881ab416b5a99))
## [1.83.1](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.83.0...@standardnotes/auth-server@1.83.1) (2023-01-19)
### Reverts
* Revert "feat: include roles in offline features request (#418)" ([f20ee68](https://github.com/standardnotes/server/commit/f20ee68f504449b6ff37748c4d7f83c08bb4039d)), closes [#418](https://github.com/standardnotes/server/issues/418)
# [1.83.0](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.82.6...@standardnotes/auth-server@1.83.0) (2023-01-19)
### Features
* include roles in offline features request ([#418](https://github.com/standardnotes/server/issues/418)) ([2e7fdd9](https://github.com/standardnotes/server/commit/2e7fdd93dd3b07e0a9f2e72521251af1d15660d4))
## [1.82.6](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.82.5...@standardnotes/auth-server@1.82.6) (2023-01-19)
### Bug Fixes
* expected value for unit test ([#417](https://github.com/standardnotes/server/issues/417)) ([ec5429e](https://github.com/standardnotes/server/commit/ec5429eeec8ea6422ed6e0e798e0f16aa9f78c95))
## [1.82.5](https://github.com/standardnotes/server/compare/@standardnotes/auth-server@1.82.4...@standardnotes/auth-server@1.82.5) (2023-01-19)
**Note:** Version bump only for package @standardnotes/auth-server

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/auth-server",
"version": "1.82.5",
"version": "1.84.4",
"engines": {
"node": ">=18.0.0 <19.0.0"
},
@@ -42,7 +42,7 @@
"@standardnotes/domain-core": "workspace:^",
"@standardnotes/domain-events": "workspace:*",
"@standardnotes/domain-events-infra": "workspace:*",
"@standardnotes/features": "^1.58.0",
"@standardnotes/features": "^1.58.1",
"@standardnotes/predicates": "workspace:*",
"@standardnotes/responses": "^1.6.39",
"@standardnotes/security": "workspace:*",

View File

@@ -8,6 +8,27 @@ import { RoleToSubscriptionMapInterface } from '../Role/RoleToSubscriptionMapInt
import { User } from '../User/User'
import { UserSubscription } from '../Subscription/UserSubscription'
jest.mock('@standardnotes/features', () => {
const original = jest.requireActual('@standardnotes/features')
return {
...original,
GetFeatures: jest.fn().mockImplementation(() => [
{
identifier: 'org.standardnotes.theme-autobiography',
permission_name: original.PermissionName.AutobiographyTheme,
expires_at: 555,
},
{
identifier: 'org.standardnotes.bold-editor',
permission_name: original.PermissionName.BoldEditor,
expires_at: 777,
},
]),
}
})
const { GetFeatures } = jest.requireMock('@standardnotes/features')
import { FeatureService } from './FeatureService'
import { Permission, PermissionName } from '@standardnotes/features'
import { OfflineUserSubscriptionRepositoryInterface } from '../Subscription/OfflineUserSubscriptionRepositoryInterface'
@@ -160,9 +181,9 @@ describe('FeatureService', () => {
describe('offline subscribers', () => {
it('should return user features with `expires_at` field', async () => {
const features = await createService().getFeaturesForOfflineUser('test@test.com')
const featuresResponse = await createService().getFeaturesForOfflineUser('test@test.com')
expect(features).toEqual(
expect(featuresResponse.features).toEqual(
expect.arrayContaining([
expect.objectContaining({
identifier: 'org.standardnotes.theme-autobiography',
@@ -175,7 +196,7 @@ describe('FeatureService', () => {
it('should not return user features if a subscription could not be found', async () => {
offlineUserSubscriptionRepository.findByEmail = jest.fn().mockReturnValue([])
expect(await createService().getFeaturesForOfflineUser('test@test.com')).toEqual([])
expect(await createService().getFeaturesForOfflineUser('test@test.com')).toEqual({ features: [], roles: [] })
})
})
@@ -303,6 +324,24 @@ describe('FeatureService', () => {
name: PermissionName.FilesBeta,
} as jest.Mocked<Permission>
GetFeatures.mockImplementation(() => [
{
identifier: 'org.standardnotes.theme-autobiography',
permission_name: PermissionName.AutobiographyTheme,
expires_at: 555,
},
{
identifier: 'org.standardnotes.bold-editor',
permission_name: PermissionName.BoldEditor,
expires_at: 777,
},
{
permission_name: PermissionName.FilesBeta,
expires_at: undefined,
no_expire: true,
},
])
const nonSubscriptionRole = {
name: RoleName.NAMES.FilesBetaUser,
uuid: 'role-files-beta',
@@ -333,7 +372,6 @@ describe('FeatureService', () => {
expires_at: 777,
}),
expect.objectContaining({
identifier: 'org.standardnotes.files-beta',
expires_at: undefined,
no_expire: true,
}),

View File

@@ -21,7 +21,7 @@ export class FeatureService implements FeatureServiceInterface {
@inject(TYPES.Timer) private timer: TimerInterface,
) {}
async getFeaturesForOfflineUser(email: string): Promise<FeatureDescription[]> {
async getFeaturesForOfflineUser(email: string): Promise<{ features: FeatureDescription[]; roles: string[] }> {
const userSubscriptions = await this.offlineUserSubscriptionRepository.findByEmail(
email,
this.timer.getTimestampInMicroseconds(),
@@ -34,7 +34,11 @@ export class FeatureService implements FeatureServiceInterface {
}
}
return this.getFeaturesForSubscriptions(userSubscriptions, [...userRolesMap.values()])
const roles = [...userRolesMap.values()]
return {
features: await this.getFeaturesForSubscriptions(userSubscriptions, roles),
roles: roles.map((role) => role.name),
}
}
async getFeaturesForUser(user: User): Promise<Array<FeatureDescription>> {

View File

@@ -4,5 +4,5 @@ import { User } from '../User/User'
export interface FeatureServiceInterface {
getFeaturesForUser(user: User): Promise<Array<FeatureDescription>>
getFeaturesForOfflineUser(email: string): Promise<FeatureDescription[]>
getFeaturesForOfflineUser(email: string): Promise<{ features: FeatureDescription[]; roles: string[] }>
}

View File

@@ -1,5 +1,7 @@
import 'reflect-metadata'
import { FeatureDescription } from '@standardnotes/features'
import { RoleName } from '@standardnotes/domain-core'
import { GetUserFeatures } from './GetUserFeatures'
import { UserRepositoryInterface } from '../../User/UserRepositoryInterface'
import { User } from '../../User/User'
@@ -21,7 +23,9 @@ describe('GetUserFeatures', () => {
feature1 = { name: 'foobar' } as jest.Mocked<FeatureDescription>
featureService = {} as jest.Mocked<FeatureServiceInterface>
featureService.getFeaturesForUser = jest.fn().mockReturnValue([feature1])
featureService.getFeaturesForOfflineUser = jest.fn().mockReturnValue([feature1])
featureService.getFeaturesForOfflineUser = jest
.fn()
.mockReturnValue({ features: [feature1], roles: [RoleName.NAMES.ProUser] })
})
it('should fail if a user is not found', async () => {
@@ -50,11 +54,8 @@ describe('GetUserFeatures', () => {
it('should return offline user features', async () => {
expect(await createUseCase().execute({ email: 'test@test.com', offline: true })).toEqual({
success: true,
features: [
{
name: 'foobar',
},
],
features: [{ name: 'foobar' }],
roles: [RoleName.NAMES.ProUser],
})
})
})

View File

@@ -15,11 +15,12 @@ export class GetUserFeatures implements UseCaseInterface {
async execute(dto: GetUserFeaturesDto): Promise<GetUserFeaturesResponse> {
if (dto.offline) {
const userFeatures = await this.featureService.getFeaturesForOfflineUser(dto.email)
const { features, roles } = await this.featureService.getFeaturesForOfflineUser(dto.email)
return {
success: true,
features: userFeatures,
features,
roles,
}
}

View File

@@ -4,6 +4,7 @@ export type GetUserFeaturesResponse =
| {
success: true
features: FeatureDescription[]
roles?: string[]
userUuid?: string
}
| {

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.9.65](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.9.64...@standardnotes/domain-events-infra@1.9.65) (2023-01-19)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.9.64](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.9.63...@standardnotes/domain-events-infra@1.9.64) (2023-01-19)
**Note:** Version bump only for package @standardnotes/domain-events-infra
## [1.9.63](https://github.com/standardnotes/server/compare/@standardnotes/domain-events-infra@1.9.62...@standardnotes/domain-events-infra@1.9.63) (2023-01-19)
**Note:** Version bump only for package @standardnotes/domain-events-infra

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/domain-events-infra",
"version": "1.9.63",
"version": "1.9.65",
"engines": {
"node": ">=18.0.0 <19.0.0"
},

View File

@@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.106.0](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.105.5...@standardnotes/domain-events@2.106.0) (2023-01-19)
### Features
* offline roles ([#419](https://github.com/standardnotes/server/issues/419)) ([2db0c12](https://github.com/standardnotes/server/commit/2db0c125fe5872c5898103c2388881ab416b5a99))
## [2.105.5](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.105.4...@standardnotes/domain-events@2.105.5) (2023-01-19)
### Bug Fixes
* expected value for unit test ([#417](https://github.com/standardnotes/server/issues/417)) ([ec5429e](https://github.com/standardnotes/server/commit/ec5429eeec8ea6422ed6e0e798e0f16aa9f78c95))
## [2.105.4](https://github.com/standardnotes/server/compare/@standardnotes/domain-events@2.105.3...@standardnotes/domain-events@2.105.4) (2023-01-19)
**Note:** Version bump only for package @standardnotes/domain-events

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/domain-events",
"version": "2.105.4",
"version": "2.106.0",
"engines": {
"node": ">=18.0.0 <19.0.0"
},
@@ -23,7 +23,7 @@
"test": "jest spec --coverage --passWithNoTests"
},
"dependencies": {
"@standardnotes/features": "^1.52.1",
"@standardnotes/features": "^1.58.1",
"@standardnotes/predicates": "workspace:*",
"@standardnotes/security": "workspace:*"
},

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.6.64](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.6.63...@standardnotes/event-store@1.6.64) (2023-01-19)
**Note:** Version bump only for package @standardnotes/event-store
## [1.6.63](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.6.62...@standardnotes/event-store@1.6.63) (2023-01-19)
**Note:** Version bump only for package @standardnotes/event-store
## [1.6.62](https://github.com/standardnotes/server/compare/@standardnotes/event-store@1.6.61...@standardnotes/event-store@1.6.62) (2023-01-19)
**Note:** Version bump only for package @standardnotes/event-store

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/event-store",
"version": "1.6.62",
"version": "1.6.64",
"description": "Event Store Service",
"private": true,
"main": "dist/src/index.js",

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.9.10](https://github.com/standardnotes/files/compare/@standardnotes/files-server@1.9.9...@standardnotes/files-server@1.9.10) (2023-01-19)
**Note:** Version bump only for package @standardnotes/files-server
## [1.9.9](https://github.com/standardnotes/files/compare/@standardnotes/files-server@1.9.8...@standardnotes/files-server@1.9.9) (2023-01-19)
**Note:** Version bump only for package @standardnotes/files-server
## [1.9.8](https://github.com/standardnotes/files/compare/@standardnotes/files-server@1.9.7...@standardnotes/files-server@1.9.8) (2023-01-19)
**Note:** Version bump only for package @standardnotes/files-server

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/files-server",
"version": "1.9.8",
"version": "1.9.10",
"engines": {
"node": ">=18.0.0 <19.0.0"
},

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.10.18](https://github.com/standardnotes/server/compare/@standardnotes/revisions-server@1.10.17...@standardnotes/revisions-server@1.10.18) (2023-01-19)
**Note:** Version bump only for package @standardnotes/revisions-server
## [1.10.17](https://github.com/standardnotes/server/compare/@standardnotes/revisions-server@1.10.16...@standardnotes/revisions-server@1.10.17) (2023-01-19)
**Note:** Version bump only for package @standardnotes/revisions-server
## [1.10.16](https://github.com/standardnotes/server/compare/@standardnotes/revisions-server@1.10.15...@standardnotes/revisions-server@1.10.16) (2023-01-19)
**Note:** Version bump only for package @standardnotes/revisions-server

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/revisions-server",
"version": "1.10.16",
"version": "1.10.18",
"engines": {
"node": ">=18.0.0 <19.0.0"
},

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.16.14](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.16.13...@standardnotes/scheduler-server@1.16.14) (2023-01-19)
**Note:** Version bump only for package @standardnotes/scheduler-server
## [1.16.13](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.16.12...@standardnotes/scheduler-server@1.16.13) (2023-01-19)
**Note:** Version bump only for package @standardnotes/scheduler-server
## [1.16.12](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.16.11...@standardnotes/scheduler-server@1.16.12) (2023-01-19)
**Note:** Version bump only for package @standardnotes/scheduler-server

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/scheduler-server",
"version": "1.16.12",
"version": "1.16.14",
"engines": {
"node": ">=18.0.0 <19.0.0"
},

View File

@@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.29.6](https://github.com/standardnotes/syncing-server-js/compare/@standardnotes/syncing-server@1.29.5...@standardnotes/syncing-server@1.29.6) (2023-01-19)
### Bug Fixes
* strings for role names ([ba7662f](https://github.com/standardnotes/syncing-server-js/commit/ba7662fc1ea24548ab4ea287c5f34d6f27c6c923))
## [1.29.5](https://github.com/standardnotes/syncing-server-js/compare/@standardnotes/syncing-server@1.29.4...@standardnotes/syncing-server@1.29.5) (2023-01-19)
**Note:** Version bump only for package @standardnotes/syncing-server
## [1.29.4](https://github.com/standardnotes/syncing-server-js/compare/@standardnotes/syncing-server@1.29.3...@standardnotes/syncing-server@1.29.4) (2023-01-19)
**Note:** Version bump only for package @standardnotes/syncing-server
## [1.29.3](https://github.com/standardnotes/syncing-server-js/compare/@standardnotes/syncing-server@1.29.2...@standardnotes/syncing-server@1.29.3) (2023-01-19)
**Note:** Version bump only for package @standardnotes/syncing-server

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/syncing-server",
"version": "1.29.3",
"version": "1.29.6",
"engines": {
"node": ">=18.0.0 <19.0.0"
},
@@ -33,7 +33,6 @@
"@standardnotes/domain-core": "workspace:^",
"@standardnotes/domain-events": "workspace:*",
"@standardnotes/domain-events-infra": "workspace:*",
"@standardnotes/payloads": "^1.5.1",
"@standardnotes/responses": "^1.6.39",
"@standardnotes/security": "workspace:*",
"@standardnotes/settings": "workspace:*",

View File

@@ -1,5 +1,5 @@
import { ContentType } from '@standardnotes/common'
import { IntegrityPayload } from '@standardnotes/payloads'
import { IntegrityPayload } from '@standardnotes/responses'
export type ExtendedIntegrityPayload = IntegrityPayload & {
content_type: ContentType

View File

@@ -1,5 +1,5 @@
import { inject, injectable } from 'inversify'
import { IntegrityPayload } from '@standardnotes/payloads'
import { IntegrityPayload } from '@standardnotes/responses'
import { ContentType } from '@standardnotes/common'
import TYPES from '../../../Bootstrap/Types'

View File

@@ -1,4 +1,4 @@
import { IntegrityPayload } from '@standardnotes/payloads'
import { IntegrityPayload } from '@standardnotes/responses'
export type CheckIntegrityDTO = {
userUuid: string

View File

@@ -1,4 +1,4 @@
import { IntegrityPayload } from '@standardnotes/payloads'
import { IntegrityPayload } from '@standardnotes/responses'
export type CheckIntegrityResponse = {
mismatches: IntegrityPayload[]

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.5.10](https://github.com/standardnotes/server/compare/@standardnotes/websockets-server@1.5.9...@standardnotes/websockets-server@1.5.10) (2023-01-19)
**Note:** Version bump only for package @standardnotes/websockets-server
## [1.5.9](https://github.com/standardnotes/server/compare/@standardnotes/websockets-server@1.5.8...@standardnotes/websockets-server@1.5.9) (2023-01-19)
**Note:** Version bump only for package @standardnotes/websockets-server
## [1.5.8](https://github.com/standardnotes/server/compare/@standardnotes/websockets-server@1.5.7...@standardnotes/websockets-server@1.5.8) (2023-01-19)
**Note:** Version bump only for package @standardnotes/websockets-server

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/websockets-server",
"version": "1.5.8",
"version": "1.5.10",
"engines": {
"node": ">=18.0.0 <19.0.0"
},

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.19.13](https://github.com/standardnotes/server/compare/@standardnotes/workspace-server@1.19.12...@standardnotes/workspace-server@1.19.13) (2023-01-19)
**Note:** Version bump only for package @standardnotes/workspace-server
## [1.19.12](https://github.com/standardnotes/server/compare/@standardnotes/workspace-server@1.19.11...@standardnotes/workspace-server@1.19.12) (2023-01-19)
**Note:** Version bump only for package @standardnotes/workspace-server
## [1.19.11](https://github.com/standardnotes/server/compare/@standardnotes/workspace-server@1.19.10...@standardnotes/workspace-server@1.19.11) (2023-01-19)
**Note:** Version bump only for package @standardnotes/workspace-server

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/workspace-server",
"version": "1.19.11",
"version": "1.19.13",
"engines": {
"node": ">=18.0.0 <19.0.0"
},

View File

@@ -1987,7 +1987,7 @@ __metadata:
"@standardnotes/domain-core": "workspace:^"
"@standardnotes/domain-events": "workspace:*"
"@standardnotes/domain-events-infra": "workspace:*"
"@standardnotes/features": "npm:^1.58.0"
"@standardnotes/features": "npm:^1.58.1"
"@standardnotes/predicates": "workspace:*"
"@standardnotes/responses": "npm:^1.6.39"
"@standardnotes/security": "workspace:*"
@@ -2045,7 +2045,7 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/common@npm:^1.19.1, @standardnotes/common@npm:^1.23.1, @standardnotes/common@npm:^1.39.0, @standardnotes/common@npm:^1.43.0, @standardnotes/common@npm:^1.45.0, @standardnotes/common@workspace:*, @standardnotes/common@workspace:^, @standardnotes/common@workspace:packages/common":
"@standardnotes/common@npm:^1.23.1, @standardnotes/common@npm:^1.39.0, @standardnotes/common@npm:^1.43.0, @standardnotes/common@npm:^1.46.3, @standardnotes/common@workspace:*, @standardnotes/common@workspace:^, @standardnotes/common@workspace:packages/common":
version: 0.0.0-use.local
resolution: "@standardnotes/common@workspace:packages/common"
dependencies:
@@ -2073,7 +2073,7 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/domain-core@workspace:^, @standardnotes/domain-core@workspace:packages/domain-core":
"@standardnotes/domain-core@npm:^1.11.1, @standardnotes/domain-core@workspace:^, @standardnotes/domain-core@workspace:packages/domain-core":
version: 0.0.0-use.local
resolution: "@standardnotes/domain-core@workspace:packages/domain-core"
dependencies:
@@ -2116,7 +2116,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@standardnotes/domain-events@workspace:packages/domain-events"
dependencies:
"@standardnotes/features": "npm:^1.52.1"
"@standardnotes/features": "npm:^1.58.1"
"@standardnotes/predicates": "workspace:*"
"@standardnotes/security": "workspace:*"
"@types/jest": "npm:^29.1.1"
@@ -2171,7 +2171,7 @@ __metadata:
languageName: unknown
linkType: soft
"@standardnotes/features@npm:1.53.1, @standardnotes/features@npm:^1.36.3, @standardnotes/features@npm:^1.52.1":
"@standardnotes/features@npm:1.53.1":
version: 1.53.1
resolution: "@standardnotes/features@npm:1.53.1"
dependencies:
@@ -2195,15 +2195,16 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/features@npm:^1.58.0":
version: 1.58.0
resolution: "@standardnotes/features@npm:1.58.0"
"@standardnotes/features@npm:^1.58.1":
version: 1.58.1
resolution: "@standardnotes/features@npm:1.58.1"
dependencies:
"@standardnotes/auth": "npm:^3.19.4"
"@standardnotes/common": "npm:^1.45.0"
"@standardnotes/common": "npm:^1.46.3"
"@standardnotes/domain-core": "npm:^1.11.1"
"@standardnotes/security": "npm:^1.7.0"
reflect-metadata: "npm:^0.1.13"
checksum: 028c13956ab8d848b9deec1d3ca2db55edb35b25fd5ab8e7c8f4dd5983396a68a709c239ffab9dd5091ad63906a799eb09ceea8fdcbff845fc5302cf2c30f2c2
checksum: 558e4506d873c5bede4966d32274b5bd6365b2f11fa7885ffa64ad5db18d9465e741253c07af1173b130b15129763a9fbeaebe4efdf96037d900ea57ad3e6e44
languageName: node
linkType: hard
@@ -2287,17 +2288,6 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/payloads@npm:^1.5.1":
version: 1.5.1
resolution: "@standardnotes/payloads@npm:1.5.1"
dependencies:
"@standardnotes/common": "npm:^1.19.1"
"@standardnotes/features": "npm:^1.36.3"
"@standardnotes/utils": "npm:^1.4.6"
checksum: 092457c23ae76d6c402f9eac77de167a7bbe05701186b55569af5c1afd320728b8cfa327468e61572141cd541c7188b2182ba534a7e712fc80af26ba9382d264
languageName: node
linkType: hard
"@standardnotes/predicates@workspace:*, @standardnotes/predicates@workspace:packages/predicates":
version: 0.0.0-use.local
resolution: "@standardnotes/predicates@workspace:packages/predicates"
@@ -2503,7 +2493,6 @@ __metadata:
"@standardnotes/domain-core": "workspace:^"
"@standardnotes/domain-events": "workspace:*"
"@standardnotes/domain-events-infra": "workspace:*"
"@standardnotes/payloads": "npm:^1.5.1"
"@standardnotes/responses": "npm:^1.6.39"
"@standardnotes/security": "workspace:*"
"@standardnotes/settings": "workspace:*"
@@ -2565,7 +2554,7 @@ __metadata:
languageName: unknown
linkType: soft
"@standardnotes/utils@npm:1.10.0, @standardnotes/utils@npm:^1.4.6":
"@standardnotes/utils@npm:1.10.0":
version: 1.10.0
resolution: "@standardnotes/utils@npm:1.10.0"
dependencies: