-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.3.0 documentation #24
Comments
### Documentation - [#zimic] Improved the examples using headers and search params. - [#zimic] Added a link to the examples section to the headline. - [#zimic] Documented the new APIs `tracker.with(restriction)` and `tracker.clear()`. - [#zimic] Improved notes using [Markdown Alerts](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts). Closes #24.
Migrating from
|
Previously exported from zimic/interceptor : |
Equivalent now exported from zimic : |
---|---|
HttpInterceptorMethod |
HttpMethod |
HttpInterceptorMethodSchema |
HttpServiceMethodSchema |
HttpInterceptorPathSchema |
HttpServiceMethodsSchema |
HttpInterceptorRequestSchema |
HttpServiceRequestSchema |
HttpInterceptorResponseSchema |
HttpServiceResponseSchema |
HttpInterceptorResponseSchemaByStatusCode |
HttpServiceResponseSchemaByStatusCode |
HttpInterceptorResponseSchemaStatusCode |
HttpServiceResponseSchemaStatusCode |
HttpInterceptorSchemaMethod |
HttpServiceSchemaMethod |
HttpInterceptorSchemaPath |
HttpServiceSchemaPath |
LiteralHttpInterceptorSchemaPath |
LiteralHttpServiceSchemaPath |
NonLiteralHttpInterceptorSchemaPath |
NonLiteralHttpServiceSchemaPath |
HttpInterceptorSearchParamsSchema |
HttpSearchParamsSchema |
HttpInterceptorBodySchema |
HttpBody |
HttpInterceptorSchema |
HttpServiceSchema |
HttpInterceptorSchema.Root |
HttpSchema.Paths |
HttpInterceptorSchema.Path |
HttpSchema.Methods |
HttpInterceptorSchema.Method |
HttpSchema.Method |
HttpInterceptorSchema.Request |
HttpSchema.Request |
HttpInterceptorSchema.ResponseByStatusCode |
HttpSchema.ResponseByStatusCode |
HttpInterceptorSchema.Response |
HttpSchema.Response |
HttpInterceptorSchema.Headers |
HttpSchema.Headers |
HttpInterceptorSchema.SearchParams |
HttpSchema.SearchParams |
HttpInterceptorSchema.RequestBody |
JSONValue |
HttpInterceptorSchema.ResponseBody |
JSONValue |
Tip
HttpSchema
is a namespace, so it is imported as import { HttpSchema } from 'zimic';
. For example:
import type { HttpSchema } from 'zimic';
type UserListSearchParams = HttpSchema.SearchParams<{
name?: string;
orderBy?: string[];
}>;
README.md
The text was updated successfully, but these errors were encountered: