Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure optional TypeScript context fields are marked appropriately. #156

Merged
merged 2 commits into from
Aug 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to this project are documented below.
The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org).

## [Unreleased]
### Fixed
- Ensure optional TypeScript context fields are marked appropriately.

## [1.33.0] - 2024-07-27
### Added
Expand Down
28 changes: 14 additions & 14 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ declare namespace nkruntime {
executionMode: string,
node: string,
version: string,
headers: {[key: string]: string[]},
queryParams: {[key: string]: string[]},
userId: string,
username: string,
vars: {[key: string]: string}
userSessionExp: number,
sessionId: string,
clientIp: string,
clientPort: string,
matchId: string,
matchNode: string,
matchLabel: string,
matchTickRate: number,
lang: string,
headers?: {[key: string]: string[]},
queryParams?: {[key: string]: string[]},
userId?: string,
username?: string,
vars?: {[key: string]: string}
userSessionExp?: number,
sessionId?: string,
clientIp?: string,
clientPort?: string,
matchId?: string,
matchNode?: string,
matchLabel?: string,
matchTickRate?: number,
lang?: string,
}

type ReadPermissionValues = 0 | 1 | 2;
Expand Down
Loading