@furystack/rest-service 7.0.1 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{types → esm}/actions/error-action.d.ts +1 -1
- package/{types → esm}/actions/error-action.d.ts.map +1 -1
- package/esm/actions/error-action.js +2 -2
- package/esm/actions/error-action.js.map +1 -1
- package/{types → esm}/actions/get-current-user.d.ts +1 -1
- package/{types → esm}/actions/get-current-user.d.ts.map +1 -1
- package/esm/actions/get-current-user.js +2 -2
- package/esm/actions/get-current-user.js.map +1 -1
- package/esm/actions/index.d.ts +7 -0
- package/esm/actions/index.d.ts.map +1 -0
- package/esm/actions/index.js +6 -6
- package/esm/actions/index.js.map +1 -1
- package/{types → esm}/actions/is-authenticated.d.ts +1 -1
- package/{types → esm}/actions/is-authenticated.d.ts.map +1 -1
- package/esm/actions/is-authenticated.js +1 -1
- package/esm/actions/is-authenticated.js.map +1 -1
- package/{types → esm}/actions/login.d.ts +2 -2
- package/esm/actions/login.d.ts.map +1 -0
- package/esm/actions/login.js +3 -3
- package/esm/actions/login.js.map +1 -1
- package/{types → esm}/actions/logout.d.ts +1 -1
- package/{types → esm}/actions/logout.d.ts.map +1 -1
- package/esm/actions/logout.js +2 -2
- package/esm/actions/logout.js.map +1 -1
- package/{types → esm}/actions/not-found-action.d.ts +1 -1
- package/{types → esm}/actions/not-found-action.d.ts.map +1 -1
- package/esm/actions/not-found-action.js +1 -1
- package/esm/actions/not-found-action.js.map +1 -1
- package/{types → esm}/api-manager.d.ts +4 -4
- package/{types → esm}/api-manager.d.ts.map +1 -1
- package/esm/api-manager.js +6 -6
- package/esm/api-manager.js.map +1 -1
- package/{types → esm}/authenticate.d.ts +1 -1
- package/{types → esm}/authenticate.d.ts.map +1 -1
- package/esm/authenticate.js +2 -2
- package/esm/authenticate.js.map +1 -1
- package/{types → esm}/authorize.d.ts +1 -1
- package/{types → esm}/authorize.d.ts.map +1 -1
- package/esm/authorize.js +1 -1
- package/esm/authorize.js.map +1 -1
- package/{types → esm}/endpoint-generators/create-delete-endpoint.d.ts +1 -1
- package/{types → esm}/endpoint-generators/create-delete-endpoint.d.ts.map +1 -1
- package/esm/endpoint-generators/create-delete-endpoint.js +1 -1
- package/esm/endpoint-generators/create-delete-endpoint.js.map +1 -1
- package/{types → esm}/endpoint-generators/create-get-collection-endpoint.d.ts +1 -1
- package/{types → esm}/endpoint-generators/create-get-collection-endpoint.d.ts.map +1 -1
- package/esm/endpoint-generators/create-get-collection-endpoint.js +1 -1
- package/esm/endpoint-generators/create-get-collection-endpoint.js.map +1 -1
- package/{types → esm}/endpoint-generators/create-get-entity-endpoint.d.ts +1 -1
- package/{types → esm}/endpoint-generators/create-get-entity-endpoint.d.ts.map +1 -1
- package/esm/endpoint-generators/create-get-entity-endpoint.js +1 -1
- package/esm/endpoint-generators/create-get-entity-endpoint.js.map +1 -1
- package/{types → esm}/endpoint-generators/create-patch-endpoint.d.ts +1 -1
- package/{types → esm}/endpoint-generators/create-patch-endpoint.d.ts.map +1 -1
- package/esm/endpoint-generators/create-patch-endpoint.js +1 -1
- package/esm/endpoint-generators/create-patch-endpoint.js.map +1 -1
- package/{types → esm}/endpoint-generators/create-post-endpoint.d.ts +1 -1
- package/{types → esm}/endpoint-generators/create-post-endpoint.d.ts.map +1 -1
- package/esm/endpoint-generators/create-post-endpoint.js +1 -1
- package/esm/endpoint-generators/create-post-endpoint.js.map +1 -1
- package/esm/endpoint-generators/index.d.ts +6 -0
- package/{types → esm}/endpoint-generators/index.d.ts.map +1 -1
- package/esm/endpoint-generators/index.js +5 -5
- package/esm/endpoint-generators/index.js.map +1 -1
- package/esm/endpoint-generators/utils.js +1 -1
- package/esm/endpoint-generators/utils.js.map +1 -1
- package/{types → esm}/helpers.d.ts +4 -4
- package/esm/helpers.d.ts.map +1 -0
- package/esm/helpers.js +3 -3
- package/esm/helpers.js.map +1 -1
- package/{types → esm}/http-authentication-settings.d.ts +1 -1
- package/{types → esm}/http-authentication-settings.d.ts.map +1 -1
- package/esm/http-authentication-settings.js +1 -1
- package/esm/http-authentication-settings.js.map +1 -1
- package/{types → esm}/http-user-context.d.ts +2 -2
- package/{types → esm}/http-user-context.d.ts.map +1 -1
- package/esm/http-user-context.js +1 -1
- package/esm/http-user-context.js.map +1 -1
- package/esm/incoming-message-extensions.js +1 -1
- package/esm/incoming-message-extensions.js.map +1 -1
- package/esm/index.d.ts +19 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +18 -18
- package/esm/index.js.map +1 -1
- package/esm/models/index.d.ts +3 -0
- package/esm/models/index.d.ts.map +1 -0
- package/esm/models/index.js +2 -2
- package/esm/models/index.js.map +1 -1
- package/esm/schema-validator/index.d.ts +3 -0
- package/{types → esm}/schema-validator/index.d.ts.map +1 -1
- package/esm/schema-validator/index.js +2 -2
- package/esm/schema-validator/index.js.map +1 -1
- package/esm/schema-validator/schema-validator.js +3 -3
- package/esm/schema-validator/schema-validator.js.map +1 -1
- package/{types → esm}/server-manager.d.ts +1 -1
- package/{types → esm}/server-response-extensions.d.ts +1 -1
- package/{types → esm}/server-response-extensions.d.ts.map +1 -1
- package/{types → esm}/static-server-manager.d.ts +1 -1
- package/esm/static-server-manager.js +2 -2
- package/esm/static-server-manager.js.map +1 -1
- package/{types → esm}/utils.d.ts +1 -1
- package/{types → esm}/utils.d.ts.map +1 -1
- package/{types → esm}/validate.d.ts +1 -1
- package/{types → esm}/validate.d.ts.map +1 -1
- package/esm/validate.js +1 -1
- package/esm/validate.js.map +1 -1
- package/package.json +10 -19
- package/src/actions/error-action.ts +3 -3
- package/src/actions/get-current-user.ts +3 -3
- package/src/actions/index.ts +6 -6
- package/src/actions/is-authenticated.ts +2 -2
- package/src/actions/login.ts +4 -4
- package/src/actions/logout.ts +3 -3
- package/src/actions/not-found-action.ts +2 -2
- package/src/api-manager.ts +10 -9
- package/src/authenticate.ts +3 -3
- package/src/authorize.ts +2 -2
- package/src/endpoint-generators/create-delete-endpoint.ts +2 -2
- package/src/endpoint-generators/create-get-collection-endpoint.ts +2 -2
- package/src/endpoint-generators/create-get-entity-endpoint.ts +2 -2
- package/src/endpoint-generators/create-patch-endpoint.ts +2 -2
- package/src/endpoint-generators/create-post-endpoint.ts +2 -2
- package/src/endpoint-generators/index.ts +5 -5
- package/src/endpoint-generators/utils.ts +1 -1
- package/src/helpers.ts +6 -6
- package/src/http-authentication-settings.ts +1 -1
- package/src/http-user-context.ts +2 -2
- package/src/incoming-message-extensions.ts +1 -1
- package/src/index.ts +18 -18
- package/src/models/index.ts +2 -2
- package/src/schema-validator/index.ts +2 -2
- package/src/schema-validator/schema-validator.ts +3 -3
- package/src/server-response-extensions.ts +1 -1
- package/src/static-server-manager.ts +2 -2
- package/src/utils.ts +1 -1
- package/src/validate.ts +2 -2
- package/types/actions/index.d.ts +0 -7
- package/types/actions/index.d.ts.map +0 -1
- package/types/actions/login.d.ts.map +0 -1
- package/types/endpoint-generators/index.d.ts +0 -6
- package/types/helpers.d.ts.map +0 -1
- package/types/index.d.ts +0 -19
- package/types/index.d.ts.map +0 -1
- package/types/models/index.d.ts +0 -3
- package/types/models/index.d.ts.map +0 -1
- package/types/schema-validator/index.d.ts +0 -3
- /package/{types → esm}/endpoint-generators/utils.d.ts +0 -0
- /package/{types → esm}/endpoint-generators/utils.d.ts.map +0 -0
- /package/{types → esm}/incoming-message-extensions.d.ts +0 -0
- /package/{types → esm}/incoming-message-extensions.d.ts.map +0 -0
- /package/{types → esm}/mime-types.d.ts +0 -0
- /package/{types → esm}/mime-types.d.ts.map +0 -0
- /package/{types → esm}/models/cors-options.d.ts +0 -0
- /package/{types → esm}/models/cors-options.d.ts.map +0 -0
- /package/{types → esm}/models/default-session.d.ts +0 -0
- /package/{types → esm}/models/default-session.d.ts.map +0 -0
- /package/{types → esm}/request-action-implementation.d.ts +0 -0
- /package/{types → esm}/request-action-implementation.d.ts.map +0 -0
- /package/{types → esm}/schema-validator/schema-validation-error.d.ts +0 -0
- /package/{types → esm}/schema-validator/schema-validation-error.d.ts.map +0 -0
- /package/{types → esm}/schema-validator/schema-validator.d.ts +0 -0
- /package/{types → esm}/schema-validator/schema-validator.d.ts.map +0 -0
- /package/{types → esm}/schema-validator/validate-examples.d.ts +0 -0
- /package/{types → esm}/schema-validator/validate-examples.d.ts.map +0 -0
- /package/{types → esm}/server-manager.d.ts.map +0 -0
- /package/{types → esm}/static-server-manager.d.ts.map +0 -0
- /package/{types → esm}/validate.integration.schema.d.ts +0 -0
- /package/{types → esm}/validate.integration.schema.d.ts.map +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Constructable } from '@furystack/inject'
|
|
2
2
|
import type { GetCollectionEndpoint } from '@furystack/rest'
|
|
3
3
|
import '@furystack/repository'
|
|
4
|
-
import type { RequestAction } from '../request-action-implementation'
|
|
5
|
-
import { JsonResult } from '../request-action-implementation'
|
|
4
|
+
import type { RequestAction } from '../request-action-implementation.js'
|
|
5
|
+
import { JsonResult } from '../request-action-implementation.js'
|
|
6
6
|
import { getRepository } from '@furystack/repository'
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -2,8 +2,8 @@ import type { Constructable } from '@furystack/inject'
|
|
|
2
2
|
import type { GetEntityEndpoint } from '@furystack/rest'
|
|
3
3
|
import { RequestError } from '@furystack/rest'
|
|
4
4
|
import '@furystack/repository'
|
|
5
|
-
import type { RequestAction } from '../request-action-implementation'
|
|
6
|
-
import { JsonResult } from '../request-action-implementation'
|
|
5
|
+
import type { RequestAction } from '../request-action-implementation.js'
|
|
6
|
+
import { JsonResult } from '../request-action-implementation.js'
|
|
7
7
|
import { getRepository } from '@furystack/repository'
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -2,8 +2,8 @@ import type { Constructable } from '@furystack/inject'
|
|
|
2
2
|
import type { PatchEndpoint } from '@furystack/rest'
|
|
3
3
|
import '@furystack/repository'
|
|
4
4
|
import '../incoming-message-extensions'
|
|
5
|
-
import type { RequestAction } from '../request-action-implementation'
|
|
6
|
-
import { JsonResult } from '../request-action-implementation'
|
|
5
|
+
import type { RequestAction } from '../request-action-implementation.js'
|
|
6
|
+
import { JsonResult } from '../request-action-implementation.js'
|
|
7
7
|
import { getRepository } from '@furystack/repository'
|
|
8
8
|
import type { WithOptionalId } from '@furystack/core'
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@ import type { PostEndpoint } from '@furystack/rest'
|
|
|
3
3
|
import { RequestError } from '@furystack/rest'
|
|
4
4
|
import '@furystack/repository'
|
|
5
5
|
import '../incoming-message-extensions'
|
|
6
|
-
import type { RequestAction } from '../request-action-implementation'
|
|
7
|
-
import { JsonResult } from '../request-action-implementation'
|
|
6
|
+
import type { RequestAction } from '../request-action-implementation.js'
|
|
7
|
+
import { JsonResult } from '../request-action-implementation.js'
|
|
8
8
|
import type { WithOptionalId } from '@furystack/core'
|
|
9
9
|
import { getRepository } from '@furystack/repository'
|
|
10
10
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './create-delete-endpoint'
|
|
2
|
-
export * from './create-get-collection-endpoint'
|
|
3
|
-
export * from './create-get-entity-endpoint'
|
|
4
|
-
export * from './create-patch-endpoint'
|
|
5
|
-
export * from './create-post-endpoint'
|
|
1
|
+
export * from './create-delete-endpoint.js'
|
|
2
|
+
export * from './create-get-collection-endpoint.js'
|
|
3
|
+
export * from './create-get-entity-endpoint.js'
|
|
4
|
+
export * from './create-patch-endpoint.js'
|
|
5
|
+
export * from './create-post-endpoint.js'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Injector } from '@furystack/inject'
|
|
2
2
|
import { addStore, InMemoryStore, User } from '@furystack/core'
|
|
3
|
-
import { DefaultSession } from '../models/default-session'
|
|
3
|
+
import { DefaultSession } from '../models/default-session.js'
|
|
4
4
|
import '@furystack/repository'
|
|
5
5
|
import '../helpers'
|
|
6
6
|
import { getRepository } from '@furystack/repository'
|
package/src/helpers.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { User } from '@furystack/core'
|
|
2
2
|
import type { Injector } from '@furystack/inject'
|
|
3
|
-
import { HttpAuthenticationSettings } from './http-authentication-settings'
|
|
3
|
+
import { HttpAuthenticationSettings } from './http-authentication-settings.js'
|
|
4
4
|
import type { RestApi } from '@furystack/rest'
|
|
5
|
-
import type { ImplementApiOptions } from './api-manager'
|
|
6
|
-
import { ApiManager } from './api-manager'
|
|
7
|
-
import type { DefaultSession } from './models/default-session'
|
|
8
|
-
import type { StaticServerOptions } from './static-server-manager'
|
|
9
|
-
import { StaticServerManager } from './static-server-manager'
|
|
5
|
+
import type { ImplementApiOptions } from './api-manager.js'
|
|
6
|
+
import { ApiManager } from './api-manager.js'
|
|
7
|
+
import type { DefaultSession } from './models/default-session.js'
|
|
8
|
+
import type { StaticServerOptions } from './static-server-manager.js'
|
|
9
|
+
import { StaticServerManager } from './static-server-manager.js'
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Sets up the @furystack/rest-service with the provided settings
|
|
@@ -2,7 +2,7 @@ import type { PhysicalStore, StoreManager } from '@furystack/core'
|
|
|
2
2
|
import { User } from '@furystack/core'
|
|
3
3
|
import type { Constructable } from '@furystack/inject'
|
|
4
4
|
import { Injectable } from '@furystack/inject'
|
|
5
|
-
import { DefaultSession } from './models/default-session'
|
|
5
|
+
import { DefaultSession } from './models/default-session.js'
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Authentication settings object for FuryStack HTTP Api
|
package/src/http-user-context.ts
CHANGED
|
@@ -2,8 +2,8 @@ import type { IncomingMessage, ServerResponse } from 'http'
|
|
|
2
2
|
import type { User } from '@furystack/core'
|
|
3
3
|
import { StoreManager } from '@furystack/core'
|
|
4
4
|
import { Injectable, Injected } from '@furystack/inject'
|
|
5
|
-
import { HttpAuthenticationSettings } from './http-authentication-settings'
|
|
6
|
-
import type { DefaultSession } from './models/default-session'
|
|
5
|
+
import { HttpAuthenticationSettings } from './http-authentication-settings.js'
|
|
6
|
+
import type { DefaultSession } from './models/default-session.js'
|
|
7
7
|
import { PasswordAuthenticator, UnauthenticatedError } from '@furystack/security'
|
|
8
8
|
import { randomBytes } from 'crypto'
|
|
9
9
|
|
package/src/index.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export * from './helpers'
|
|
2
|
-
export * from './api-manager'
|
|
3
|
-
export * from './actions'
|
|
4
|
-
export * from './authenticate'
|
|
5
|
-
export * from './authorize'
|
|
6
|
-
export * from './http-authentication-settings'
|
|
7
|
-
export * from './http-user-context'
|
|
8
|
-
export * from './incoming-message-extensions'
|
|
9
|
-
export * from './server-manager'
|
|
10
|
-
export * from './server-response-extensions'
|
|
11
|
-
export * from './utils'
|
|
12
|
-
export * from './models'
|
|
13
|
-
export * from './endpoint-generators'
|
|
14
|
-
export * from './schema-validator'
|
|
15
|
-
export * from './request-action-implementation'
|
|
16
|
-
export * from './validate'
|
|
17
|
-
export * from './mime-types'
|
|
18
|
-
export * from './static-server-manager'
|
|
1
|
+
export * from './helpers.js'
|
|
2
|
+
export * from './api-manager.js'
|
|
3
|
+
export * from './actions/index.js'
|
|
4
|
+
export * from './authenticate.js'
|
|
5
|
+
export * from './authorize.js'
|
|
6
|
+
export * from './http-authentication-settings.js'
|
|
7
|
+
export * from './http-user-context.js'
|
|
8
|
+
export * from './incoming-message-extensions.js'
|
|
9
|
+
export * from './server-manager.js'
|
|
10
|
+
export * from './server-response-extensions.js'
|
|
11
|
+
export * from './utils.js'
|
|
12
|
+
export * from './models/index.js'
|
|
13
|
+
export * from './endpoint-generators/index.js'
|
|
14
|
+
export * from './schema-validator/index.js'
|
|
15
|
+
export * from './request-action-implementation.js'
|
|
16
|
+
export * from './validate.js'
|
|
17
|
+
export * from './mime-types.js'
|
|
18
|
+
export * from './static-server-manager.js'
|
package/src/models/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './cors-options'
|
|
2
|
-
export * from './default-session'
|
|
1
|
+
export * from './cors-options.js'
|
|
2
|
+
export * from './default-session.js'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './schema-validator'
|
|
2
|
-
export * from './schema-validation-error'
|
|
1
|
+
export * from './schema-validator.js'
|
|
2
|
+
export * from './schema-validation-error.js'
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { ErrorObject, Options } from 'ajv'
|
|
2
2
|
import Ajv from 'ajv'
|
|
3
3
|
import useFormats from 'ajv-formats'
|
|
4
|
-
import { SchemaValidationError } from './schema-validation-error'
|
|
4
|
+
import { SchemaValidationError } from './schema-validation-error.js'
|
|
5
5
|
|
|
6
6
|
export class SchemaValidator<TSchema extends { definitions: {} }> {
|
|
7
|
-
private readonly ajv = new Ajv({
|
|
7
|
+
private readonly ajv = new Ajv.default({
|
|
8
8
|
allErrors: true,
|
|
9
9
|
...this.ajvOptions,
|
|
10
10
|
})
|
|
11
11
|
constructor(private readonly schema: TSchema, private readonly ajvOptions?: Options) {
|
|
12
|
-
useFormats(this.ajv)
|
|
12
|
+
useFormats.default(this.ajv)
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -2,9 +2,9 @@ import { Injectable, Injected } from '@furystack/inject'
|
|
|
2
2
|
import { createReadStream } from 'fs'
|
|
3
3
|
import { stat } from 'fs/promises'
|
|
4
4
|
import type { IncomingMessage, OutgoingHttpHeaders, ServerResponse } from 'http'
|
|
5
|
-
import { getMimeForFile } from './mime-types'
|
|
5
|
+
import { getMimeForFile } from './mime-types.js'
|
|
6
6
|
import { join, normalize, sep } from 'path'
|
|
7
|
-
import { ServerManager } from './server-manager'
|
|
7
|
+
import { ServerManager } from './server-manager.js'
|
|
8
8
|
|
|
9
9
|
export interface StaticServerOptions {
|
|
10
10
|
baseUrl: string
|
package/src/utils.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IncomingMessage, ServerResponse } from 'http'
|
|
2
2
|
import { Injectable } from '@furystack/inject'
|
|
3
|
-
import type { CorsOptions } from './models/cors-options'
|
|
3
|
+
import type { CorsOptions } from './models/cors-options.js'
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A collection of various HTTP API related utilities
|
package/src/validate.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ActionResult, RequestAction, RequestActionOptions } from './request-action-implementation'
|
|
2
|
-
import { SchemaValidator } from './schema-validator'
|
|
1
|
+
import type { ActionResult, RequestAction, RequestActionOptions } from './request-action-implementation.js'
|
|
2
|
+
import { SchemaValidator } from './schema-validator/schema-validator.js'
|
|
3
3
|
|
|
4
4
|
export const Validate =
|
|
5
5
|
<TSchema extends { definitions: { [K: string]: { required?: string[] } | any } }>(validationOptions: {
|
package/types/actions/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../src/actions/login.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,CAAA;AACnB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAGrE;;;;GAIG;AAEH,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC;IACtC,MAAM,EAAE,IAAI,CAAA;IACZ,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAA;CAC7C,CAUA,CAAA"}
|
package/types/helpers.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAA;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAExD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAGlE;;;;GAIG;AACH,eAAO,MAAM,cAAc,mEACoC,CAAA;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,kEACtB,QAAQ,sFAE+F,CAAA;AAEnH;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,YAAa;IAAE,QAAQ,EAAE,QAAQ,CAAA;CAAE,GAAG,mBAAmB,kBAGnF,CAAA"}
|
package/types/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export * from './helpers';
|
|
2
|
-
export * from './api-manager';
|
|
3
|
-
export * from './actions';
|
|
4
|
-
export * from './authenticate';
|
|
5
|
-
export * from './authorize';
|
|
6
|
-
export * from './http-authentication-settings';
|
|
7
|
-
export * from './http-user-context';
|
|
8
|
-
export * from './incoming-message-extensions';
|
|
9
|
-
export * from './server-manager';
|
|
10
|
-
export * from './server-response-extensions';
|
|
11
|
-
export * from './utils';
|
|
12
|
-
export * from './models';
|
|
13
|
-
export * from './endpoint-generators';
|
|
14
|
-
export * from './schema-validator';
|
|
15
|
-
export * from './request-action-implementation';
|
|
16
|
-
export * from './validate';
|
|
17
|
-
export * from './mime-types';
|
|
18
|
-
export * from './static-server-manager';
|
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
package/types/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,gCAAgC,CAAA;AAC9C,cAAc,qBAAqB,CAAA;AACnC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,kBAAkB,CAAA;AAChC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,yBAAyB,CAAA"}
|
package/types/models/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|