Skip to content

Commit

Permalink
Bump @stylistic/eslint-plugin-ts from 2.6.2 to 2.8.0 (#231)
Browse files Browse the repository at this point in the history
Bumps [@stylistic/eslint-plugin-ts](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin-ts) from 2.6.2 to 2.8.0.
- [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases)
- [Changelog](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v2.8.0/packages/eslint-plugin-ts)

---
updated-dependencies:
- dependency-name: "@stylistic/eslint-plugin-ts"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump typescript-eslint from 8.5.0 to 8.6.0 (#241)

Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.5.0 to 8.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.6.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump ts-jest from 29.2.4 to 29.2.5 (#235)

Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.2.4 to 29.2.5.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](kulshekhar/ts-jest@v29.2.4...v29.2.5)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump @types/node from 22.5.4 to 22.5.5 (#238)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.4 to 22.5.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump @types/jest from 29.5.12 to 29.5.13 (#237)

Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.12 to 29.5.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump @sap/cds from 8.1.1 to 8.2.2 (#239)

Bumps [@sap/cds](https://cap.cloud.sap/) from 8.1.1 to 8.2.2.

---
updated-dependencies:
- dependency-name: "@sap/cds"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add types for `cds.cli` (#243)

See https://cap.cloud.sap/docs/node.js/cds-facade#cds-cli
Add types for MTX services

More

Update CHANGELOG.md

rm

Fixes

Remove `namespace-blocklist` + `extension-allowlist`

Type MTX services (#253)

Add optional `kind` to MTX services

Update env.d.ts
  • Loading branch information
dependabot[bot] authored and swaldmann committed Sep 26, 2024
1 parent 63755d2 commit 9779681
Show file tree
Hide file tree
Showing 7 changed files with 140 additions and 122 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).

### Added
- `cds.app` typed as express.js application
- `cds.cli` CLI arguments
- `cds.requires` types for MTX services.

### Changed
- Most `cds.requires` entries are now optionals.

## Version 0.6.5 - 2024-08-13
### Fixed
Expand Down
35 changes: 31 additions & 4 deletions apis/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,50 @@ export namespace env {
binding?: Binding,
[key: string]: any,
},
multitenancy: boolean | { kind: string, jobs: {
multitenancy?: boolean | { kind: string, jobs: {
clusterSize: number,
workerSize: number,
t0: string,
[key: string]: any,
},},
toggles: boolean,
extensibility: boolean | {
toggles?: boolean,
extensibility?: boolean | {
model: string[],
tenantCheckInterval: number,
[key: string]: any,
},
messaging: {
messaging?: {
kind: 'file-based-messaging' | 'redis-messaging' | 'local-messaging' | 'enterprise-messaging' | 'enterprise-messaging-shared' | string,
format: 'cloudevents' | string,
[key: string]: any,
},
'cds.xt.SaasProvisioningService'?: {
model: string,
kind: string,
alwaysUpgradeModel?: boolean,
[key: string]: any,
},
'cds.xt.SmsProvisioningService'?: {
model: string,
kind: string,
[key: string]: any,
},
'cds.xt.ExtensibilityService'?: {
model: string,
kind?: string,
[key: string]: any,
},
'cds.xt.ModelProviderService'?: {
model: string,
root: string,
kind?: string,
[key: string]: any,
},
'cds.xt.DeploymentService'?: {
model: string,
kind?: string,
[key: string]: any,
},
[key: string]: any,
}

Expand Down
13 changes: 13 additions & 0 deletions apis/facade.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,18 @@ export const version: string
export const home: string
export const root: string

type CliCommands = 'add' | 'build' | 'compile' | 'deploy' | 'import' | 'init' | 'serve' | (string & {})
/**
* The parsed effective `cds` CLI command and arguments.
* May be undefined if not started from the `cds` CLI.
* @see https://cap.cloud.sap/docs/node.js/cds-facade#cds-cli
*/
export const cli: {
/** Basic command like `serve` */ command?: CliCommands,
/** Positional arguments */ argv?: string[],
/** Named arguments */ options?: Record<string, any>,
} | undefined


import { env } from './env'
export const requires: env.Requires
2 changes: 1 addition & 1 deletion apis/utils.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type * as fs from 'node:fs'

/**
* Provides a set of utility functionss
* Provides a set of utility functions
*/
declare const utils: {

Expand Down
Loading

0 comments on commit 9779681

Please sign in to comment.