@congruent-stack/congruent-api 0.10.0 → 0.11.1

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/dist/index.d.cts CHANGED
@@ -56,14 +56,14 @@ type HttpMethodEndpointResponses = Partial<{
56
56
  readonly [status in HttpStatusCode]: HttpMethodEndpointResponse<status, any>;
57
57
  }>;
58
58
  declare class HttpMethodEndpoint<const TDef extends IHttpMethodEndpointDefinition & ValidateHttpMethodEndpointDefinition<TDef>> {
59
- private _definition;
59
+ protected _definition: TDef;
60
60
  get definition(): TDef;
61
- private _pathSegments;
61
+ protected _pathSegments: readonly string[];
62
62
  get pathSegments(): readonly string[];
63
- private _cachedGenericPath;
63
+ protected _cachedGenericPath: string | null;
64
64
  get genericPath(): string;
65
65
  createPath(pathParams: Record<string, string>): string;
66
- private _method;
66
+ protected _method: HttpMethod;
67
67
  get method(): HttpMethod;
68
68
  get lowerCasedMethod(): LowerCasedHttpMethod;
69
69
  constructor(definition: TDef);
package/dist/index.d.mts CHANGED
@@ -56,14 +56,14 @@ type HttpMethodEndpointResponses = Partial<{
56
56
  readonly [status in HttpStatusCode]: HttpMethodEndpointResponse<status, any>;
57
57
  }>;
58
58
  declare class HttpMethodEndpoint<const TDef extends IHttpMethodEndpointDefinition & ValidateHttpMethodEndpointDefinition<TDef>> {
59
- private _definition;
59
+ protected _definition: TDef;
60
60
  get definition(): TDef;
61
- private _pathSegments;
61
+ protected _pathSegments: readonly string[];
62
62
  get pathSegments(): readonly string[];
63
- private _cachedGenericPath;
63
+ protected _cachedGenericPath: string | null;
64
64
  get genericPath(): string;
65
65
  createPath(pathParams: Record<string, string>): string;
66
- private _method;
66
+ protected _method: HttpMethod;
67
67
  get method(): HttpMethod;
68
68
  get lowerCasedMethod(): LowerCasedHttpMethod;
69
69
  constructor(definition: TDef);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@congruent-stack/congruent-api",
3
3
  "type": "module",
4
- "version": "0.10.0",
4
+ "version": "0.11.1",
5
5
  "description": "Typescript schema-first tooling for agnostic REST APIs.",
6
6
  "keywords": [],
7
7
  "author": "congruent-stack",