@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 +4 -4
- package/dist/index.d.mts +4 -4
- package/package.json +1 -1
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
|
-
|
|
59
|
+
protected _definition: TDef;
|
|
60
60
|
get definition(): TDef;
|
|
61
|
-
|
|
61
|
+
protected _pathSegments: readonly string[];
|
|
62
62
|
get pathSegments(): readonly string[];
|
|
63
|
-
|
|
63
|
+
protected _cachedGenericPath: string | null;
|
|
64
64
|
get genericPath(): string;
|
|
65
65
|
createPath(pathParams: Record<string, string>): string;
|
|
66
|
-
|
|
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
|
-
|
|
59
|
+
protected _definition: TDef;
|
|
60
60
|
get definition(): TDef;
|
|
61
|
-
|
|
61
|
+
protected _pathSegments: readonly string[];
|
|
62
62
|
get pathSegments(): readonly string[];
|
|
63
|
-
|
|
63
|
+
protected _cachedGenericPath: string | null;
|
|
64
64
|
get genericPath(): string;
|
|
65
65
|
createPath(pathParams: Record<string, string>): string;
|
|
66
|
-
|
|
66
|
+
protected _method: HttpMethod;
|
|
67
67
|
get method(): HttpMethod;
|
|
68
68
|
get lowerCasedMethod(): LowerCasedHttpMethod;
|
|
69
69
|
constructor(definition: TDef);
|