@ayepi/core 0.1.0

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.
@@ -0,0 +1,5 @@
1
+ import { a as Simplify, i as MaybePromise, r as Json, t as EmptyObject } from "./types.cjs";
2
+ import { $ as LoaderImplFor, $t as PathTemplate, A as Tagger, At as server, B as EndpointDoc, Bt as EmitArgs, C as CallerOptions, Ct as LocalClient, D as ClientCache, Dt as WsConn, E as CallerRetryConfig, Et as ServerOptions, F as AnySpec, Ft as CallArgs, G as SpecShape, Gt as HandlerReturn, H as EventDoc, Ht as FailFn, I as CheckCfg, It as CallOpts, J as spec, Jt as UploadProgress, K as endpoint, Kt as IsHttpOnly, L as CookieOptions, Lt as CallOptsBase, M as createClientCache, Mt as asyncapiHtml, N as stableStringify, Nt as redocHtml, O as ClientCacheOptions, Ot as implement, P as AnyEndpoint, Pt as swaggerHtml, Q as LoaderFn, Qt as PathPart, R as Endpoint, Rt as CallReturn, S as CallerDebounceConfig, St as LocalCallOptions, T as CallerRateLimited, Tt as Server, U as EventsOf, Ut as HandlerFor, V as EventConfig, Vt as EmitFn, W as SpecDoc, Wt as HandlerPayload, X as BoundMiddleware, Xt as localBroker, Y as AnyMiddleware, Yt as Broker, Z as ImplFor, Zt as AnyPathTemplate, _ as CacheHit, _t as middleware, a as WebSocketCtor, an as HttpMethod, at as MiddlewareIO, b as CallerCacheConfig, bt as CorsOptions, c as WsState, cn as ManifestEvent, ct as Provide, d as wsTransport, dt as Stack, en as buildParts, et as Middleware, f as ApiClient, ft as StackCtx, g as client, gt as ctx, h as GetUrlKeys, ht as WsFrameInfo, i as HeartbeatOptions, in as splitPattern, it as MiddlewareFn, j as createCallerContext, jt as DocsOptions, k as KVStore, kt as localClient, l as WsTransport, lt as ProvideMiddleware, m as ClientWs, mt as Transport, n as reject, nn as matchParts, nt as MiddlewareDoc, o as WebSocketLike, on as Manifest, ot as MiddlewareImplFor, p as ClientOptions, pt as StackLP, q as manifestFromSpec, qt as StreamBody, r as BackoffOptions, rn as path, rt as MiddlewareFactory, s as WsMessageEvent, sn as ManifestEndpoint, st as MiddlewareResult, t as ApiError, tn as joinPattern, tt as MiddlewareDef, u as WsTransportOptions, ut as RouteInfo, v as CacheStoreSpec, vt as provide, w as CallerRateLimitConfig, wt as MountHandle, x as CallerContext, xt as Implementor, y as Caller, yt as use, z as EndpointConfig, zt as ClientData } from "./errors.cjs";
3
+ import { DEFAULT_RETRY_OPTIONS, RetryAbort, RetryOptions, RetryState, backoff, getDefaultRetryOptions, retry, setDefaultRetryOptions } from "./retry.cjs";
4
+ import { Counter, DEFAULT_BUCKETS, Gauge, Labels, Metrics, MetricsOptions, StatBucket, StatKind, StatMeta, StatSummary, StatValue, Summary, createMetrics, formatPrometheus } from "./stats.cjs";
5
+ export { type AnyEndpoint, type AnyMiddleware, type AnyPathTemplate, type AnySpec, type ApiClient, ApiError, type BackoffOptions, type BoundMiddleware, type Broker, type CacheHit, type CacheStoreSpec, type CallArgs, type CallOpts, type CallOptsBase, type CallReturn, type Caller, type CallerCacheConfig, type CallerContext, type CallerDebounceConfig, type CallerOptions, type CallerRateLimitConfig, CallerRateLimited, type CallerRetryConfig, type CheckCfg, type ClientCache, type ClientCacheOptions, type ClientData, type ClientOptions, type ClientWs, type CookieOptions, type CorsOptions, type Counter, DEFAULT_BUCKETS, DEFAULT_RETRY_OPTIONS, type DocsOptions, type EmitArgs, type EmitFn, type EmptyObject, type Endpoint, type EndpointConfig, type EndpointDoc, type EventConfig, type EventDoc, type EventsOf, type FailFn, type Gauge, type GetUrlKeys, type HandlerFor, type HandlerPayload, type HandlerReturn, type HeartbeatOptions, type HttpMethod, type ImplFor, type Implementor, type IsHttpOnly, type Json, type KVStore, type Labels, type LoaderFn, type LoaderImplFor, type LocalCallOptions, type LocalClient, type Manifest, type ManifestEndpoint, type ManifestEvent, type MaybePromise, type Metrics, type MetricsOptions, type Middleware, type MiddlewareDef, type MiddlewareDoc, type MiddlewareFactory, type MiddlewareFn, type MiddlewareIO, type MiddlewareImplFor, type MiddlewareResult, type MountHandle, type PathPart, type PathTemplate, type Provide, type ProvideMiddleware, RetryAbort, type RetryOptions, type RetryState, type RouteInfo, type Server, type ServerOptions, type Simplify, type SpecDoc, type SpecShape, type Stack, type StackCtx, type StackLP, type StatBucket, type StatKind, type StatMeta, type StatSummary, type StatValue, type StreamBody, type Summary, type Tagger, type Transport, type UploadProgress, type WebSocketCtor, type WebSocketLike, type WsConn, type WsFrameInfo, type WsMessageEvent, type WsState, type WsTransport, type WsTransportOptions, asyncapiHtml, backoff, buildParts, client, createCallerContext, createClientCache, createMetrics, ctx, endpoint, formatPrometheus, getDefaultRetryOptions, implement, joinPattern, localBroker, localClient, manifestFromSpec, matchParts, middleware, path, provide, redocHtml, reject, retry, server, setDefaultRetryOptions, spec, splitPattern, stableStringify, swaggerHtml, use, wsTransport };
@@ -0,0 +1,5 @@
1
+ import { a as Simplify, i as MaybePromise, r as Json, t as EmptyObject } from "./types.js";
2
+ import { $ as LoaderImplFor, $t as PathTemplate, A as Tagger, At as server, B as EndpointDoc, Bt as EmitArgs, C as CallerOptions, Ct as LocalClient, D as ClientCache, Dt as WsConn, E as CallerRetryConfig, Et as ServerOptions, F as AnySpec, Ft as CallArgs, G as SpecShape, Gt as HandlerReturn, H as EventDoc, Ht as FailFn, I as CheckCfg, It as CallOpts, J as spec, Jt as UploadProgress, K as endpoint, Kt as IsHttpOnly, L as CookieOptions, Lt as CallOptsBase, M as createClientCache, Mt as asyncapiHtml, N as stableStringify, Nt as redocHtml, O as ClientCacheOptions, Ot as implement, P as AnyEndpoint, Pt as swaggerHtml, Q as LoaderFn, Qt as PathPart, R as Endpoint, Rt as CallReturn, S as CallerDebounceConfig, St as LocalCallOptions, T as CallerRateLimited, Tt as Server, U as EventsOf, Ut as HandlerFor, V as EventConfig, Vt as EmitFn, W as SpecDoc, Wt as HandlerPayload, X as BoundMiddleware, Xt as localBroker, Y as AnyMiddleware, Yt as Broker, Z as ImplFor, Zt as AnyPathTemplate, _ as CacheHit, _t as middleware, a as WebSocketCtor, an as HttpMethod, at as MiddlewareIO, b as CallerCacheConfig, bt as CorsOptions, c as WsState, cn as ManifestEvent, ct as Provide, d as wsTransport, dt as Stack, en as buildParts, et as Middleware, f as ApiClient, ft as StackCtx, g as client, gt as ctx, h as GetUrlKeys, ht as WsFrameInfo, i as HeartbeatOptions, in as splitPattern, it as MiddlewareFn, j as createCallerContext, jt as DocsOptions, k as KVStore, kt as localClient, l as WsTransport, lt as ProvideMiddleware, m as ClientWs, mt as Transport, n as reject, nn as matchParts, nt as MiddlewareDoc, o as WebSocketLike, on as Manifest, ot as MiddlewareImplFor, p as ClientOptions, pt as StackLP, q as manifestFromSpec, qt as StreamBody, r as BackoffOptions, rn as path, rt as MiddlewareFactory, s as WsMessageEvent, sn as ManifestEndpoint, st as MiddlewareResult, t as ApiError, tn as joinPattern, tt as MiddlewareDef, u as WsTransportOptions, ut as RouteInfo, v as CacheStoreSpec, vt as provide, w as CallerRateLimitConfig, wt as MountHandle, x as CallerContext, xt as Implementor, y as Caller, yt as use, z as EndpointConfig, zt as ClientData } from "./errors.js";
3
+ import { DEFAULT_RETRY_OPTIONS, RetryAbort, RetryOptions, RetryState, backoff, getDefaultRetryOptions, retry, setDefaultRetryOptions } from "./retry.js";
4
+ import { Counter, DEFAULT_BUCKETS, Gauge, Labels, Metrics, MetricsOptions, StatBucket, StatKind, StatMeta, StatSummary, StatValue, Summary, createMetrics, formatPrometheus } from "./stats.js";
5
+ export { type AnyEndpoint, type AnyMiddleware, type AnyPathTemplate, type AnySpec, type ApiClient, ApiError, type BackoffOptions, type BoundMiddleware, type Broker, type CacheHit, type CacheStoreSpec, type CallArgs, type CallOpts, type CallOptsBase, type CallReturn, type Caller, type CallerCacheConfig, type CallerContext, type CallerDebounceConfig, type CallerOptions, type CallerRateLimitConfig, CallerRateLimited, type CallerRetryConfig, type CheckCfg, type ClientCache, type ClientCacheOptions, type ClientData, type ClientOptions, type ClientWs, type CookieOptions, type CorsOptions, type Counter, DEFAULT_BUCKETS, DEFAULT_RETRY_OPTIONS, type DocsOptions, type EmitArgs, type EmitFn, type EmptyObject, type Endpoint, type EndpointConfig, type EndpointDoc, type EventConfig, type EventDoc, type EventsOf, type FailFn, type Gauge, type GetUrlKeys, type HandlerFor, type HandlerPayload, type HandlerReturn, type HeartbeatOptions, type HttpMethod, type ImplFor, type Implementor, type IsHttpOnly, type Json, type KVStore, type Labels, type LoaderFn, type LoaderImplFor, type LocalCallOptions, type LocalClient, type Manifest, type ManifestEndpoint, type ManifestEvent, type MaybePromise, type Metrics, type MetricsOptions, type Middleware, type MiddlewareDef, type MiddlewareDoc, type MiddlewareFactory, type MiddlewareFn, type MiddlewareIO, type MiddlewareImplFor, type MiddlewareResult, type MountHandle, type PathPart, type PathTemplate, type Provide, type ProvideMiddleware, RetryAbort, type RetryOptions, type RetryState, type RouteInfo, type Server, type ServerOptions, type Simplify, type SpecDoc, type SpecShape, type Stack, type StackCtx, type StackLP, type StatBucket, type StatKind, type StatMeta, type StatSummary, type StatValue, type StreamBody, type Summary, type Tagger, type Transport, type UploadProgress, type WebSocketCtor, type WebSocketLike, type WsConn, type WsFrameInfo, type WsMessageEvent, type WsState, type WsTransport, type WsTransportOptions, asyncapiHtml, backoff, buildParts, client, createCallerContext, createClientCache, createMetrics, ctx, endpoint, formatPrometheus, getDefaultRetryOptions, implement, joinPattern, localBroker, localClient, manifestFromSpec, matchParts, middleware, path, provide, redocHtml, reject, retry, server, setDefaultRetryOptions, spec, splitPattern, stableStringify, swaggerHtml, use, wsTransport };