Skip to content

Commit

Permalink
Updating typedef files
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Aug 29, 2024
1 parent 823c685 commit e7f295e
Show file tree
Hide file tree
Showing 8 changed files with 148 additions and 157 deletions.
2 changes: 1 addition & 1 deletion dist/tenso.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* @copyright 2024 Jason Mulligan <[email protected]>
* @license BSD-3-Clause
* @version 17.0.3
* @version 17.0.4
*/
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion dist/tenso.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* @copyright 2024 Jason Mulligan <[email protected]>
* @license BSD-3-Clause
* @version 17.0.3
* @version 17.0.4
*/
import {readFileSync}from'node:fs';import http,{STATUS_CODES}from'node:http';import https from'node:https';import {createRequire}from'node:module';import {join,resolve}from'node:path';import {fileURLToPath,URL as URL$1}from'node:url';import {Woodland}from'woodland';import {merge}from'tiny-merge';import {eventsource}from'tiny-eventsource';import {parse as parse$1,stringify as stringify$1}from'tiny-jsonl';import {coerce}from'tiny-coerce';import YAML from'yamljs';import {XMLBuilder}from'fast-xml-parser';import {stringify}from'csv-stringify/sync';import {keysort}from'keysort';import {URL}from'url';import redis from'ioredis';import cookie from'cookie-parser';import session from'express-session';import passport from'passport';import passportJWT from'passport-jwt';import {BasicStrategy}from'passport-http';import {Strategy}from'passport-http-bearer';import {Strategy as Strategy$1}from'passport-oauth2';import lusca from'lusca';import {randomInt,randomUUID}from'node:crypto';import RedisStore from'connect-redis';const ACCESS_CONTROL = "access-control";
const ALGORITHMS = "algorithms";
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tenso",
"description": "Tenso is an HTTP REST API framework",
"version": "17.0.3",
"version": "17.0.4",
"homepage": "https://github.com/avoidwork/tenso",
"author": "Jason Mulligan <[email protected]>",
"repository": {
Expand Down
32 changes: 14 additions & 18 deletions types/core/config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,14 @@ export namespace config {
export { BEARER as scheme };
export { EMPTY as secretOrKey };
}
export namespace local {
let enabled_3: boolean;
export { enabled_3 as enabled };
let auth_2: any;
export { auth_2 as auth };
}
export namespace msg {
export { MSG_LOGIN as login };
}
export namespace oauth2 {
let enabled_4: boolean;
export { enabled_4 as enabled };
let auth_3: any;
export { auth_3 as auth };
let enabled_3: boolean;
export { enabled_3 as enabled };
let auth_2: any;
export { auth_2 as auth };
export { EMPTY as auth_url };
export { EMPTY as token_url };
export { EMPTY as client_id };
Expand All @@ -50,10 +44,10 @@ export namespace config {
export { URL_AUTH_ROOT as root };
}
export namespace saml {
let enabled_5: boolean;
export { enabled_5 as enabled };
let auth_4: any;
export { auth_4 as auth };
let enabled_4: boolean;
export { enabled_4 as enabled };
let auth_3: any;
export { auth_3 as auth };
}
}
export let autoindex: boolean;
Expand All @@ -73,19 +67,20 @@ export namespace config {
export let initRoutes: {};
export { INT_0 as jsonIndent };
export namespace logging {
let enabled_6: boolean;
export { enabled_6 as enabled };
let enabled_5: boolean;
export { enabled_5 as enabled };
export { LOG_FORMAT as format };
export { DEBUG as level };
export let stack: boolean;
}
export { INT_0 as maxBytes };
export { HEADER_APPLICATION_JSON as mimeType };
export let origins: string[];
export { INT_5 as pageSize };
export { INT_8000 as port };
export namespace rate {
let enabled_7: boolean;
export { enabled_7 as enabled };
let enabled_6: boolean;
export { enabled_6 as enabled };
export { INT_450 as limit };
export { MSG_TOO_MANY_REQUESTS as message };
export let override: any;
Expand Down Expand Up @@ -153,6 +148,7 @@ import { IP_0000 } from "./constants.js";
import { LOG_FORMAT } from "./constants.js";
import { DEBUG } from "./constants.js";
import { HEADER_APPLICATION_JSON } from "./constants.js";
import { INT_5 } from "./constants.js";
import { INT_8000 } from "./constants.js";
import { INT_450 } from "./constants.js";
import { MSG_TOO_MANY_REQUESTS } from "./constants.js";
Expand Down
Loading

0 comments on commit e7f295e

Please sign in to comment.