mirror of
https://github.com/hex248/sprint.git
synced 2026-02-09 10:43:02 +00:00
replaced per-endpoint helpers with ts-rest contract and typed client
This commit is contained in:
@@ -4,11 +4,11 @@ export type {
|
||||
IssueByIdQuery,
|
||||
IssueCommentCreateRequest,
|
||||
IssueCommentDeleteRequest,
|
||||
IssueCommentResponseType,
|
||||
IssueCommentResponse,
|
||||
IssueCommentsByIssueQuery,
|
||||
IssueCreateRequest,
|
||||
IssueDeleteRequest,
|
||||
IssueResponseType,
|
||||
IssueResponse,
|
||||
IssuesByProjectQuery,
|
||||
IssuesReplaceStatusRequest,
|
||||
IssuesReplaceTypeRequest,
|
||||
@@ -17,7 +17,10 @@ export type {
|
||||
IssueUpdateRequest,
|
||||
LoginRequest,
|
||||
OrgAddMemberRequest,
|
||||
OrganisationResponseType,
|
||||
OrganisationMemberRecordType,
|
||||
OrganisationMemberResponse,
|
||||
OrganisationRecordType,
|
||||
OrganisationResponse,
|
||||
OrgByIdQuery,
|
||||
OrgCreateRequest,
|
||||
OrgDeleteRequest,
|
||||
@@ -30,14 +33,15 @@ export type {
|
||||
ProjectByOrgQuery,
|
||||
ProjectCreateRequest,
|
||||
ProjectDeleteRequest,
|
||||
ProjectResponseType,
|
||||
ProjectResponse,
|
||||
ProjectUpdateRequest,
|
||||
ProjectWithCreatorResponse,
|
||||
RegisterRequest,
|
||||
ReplaceStatusResponse,
|
||||
ReplaceTypeResponse,
|
||||
SprintCreateRequest,
|
||||
SprintDeleteRequest,
|
||||
SprintResponseType,
|
||||
SprintResponse,
|
||||
SprintsByProjectQuery,
|
||||
SprintUpdateRequest,
|
||||
StatusCountResponse,
|
||||
@@ -76,6 +80,7 @@ export {
|
||||
LoginRequestSchema,
|
||||
OrgAddMemberRequestSchema,
|
||||
OrganisationMemberRecordSchema,
|
||||
OrganisationMemberResponseSchema,
|
||||
OrganisationRecordSchema,
|
||||
OrganisationResponseSchema,
|
||||
OrgByIdQuerySchema,
|
||||
@@ -93,6 +98,7 @@ export {
|
||||
ProjectRecordSchema,
|
||||
ProjectResponseSchema,
|
||||
ProjectUpdateRequestSchema,
|
||||
ProjectWithCreatorResponseSchema,
|
||||
RegisterRequestSchema,
|
||||
ReplaceStatusResponseSchema,
|
||||
ReplaceTypeResponseSchema,
|
||||
@@ -129,25 +135,27 @@ export {
|
||||
USER_NAME_MAX_LENGTH,
|
||||
USER_USERNAME_MAX_LENGTH,
|
||||
} from "./constants";
|
||||
export type { ApiContract } from "./contract";
|
||||
export { apiContract } from "./contract";
|
||||
export type {
|
||||
IconStyle,
|
||||
IssueAssigneeInsert,
|
||||
IssueAssigneeRecord,
|
||||
IssueCommentInsert,
|
||||
IssueCommentRecord,
|
||||
IssueCommentResponse,
|
||||
IssueCommentResponse as IssueCommentResponseRecord,
|
||||
IssueInsert,
|
||||
IssueRecord,
|
||||
IssueResponse,
|
||||
IssueResponse as IssueResponseRecord,
|
||||
OrganisationInsert,
|
||||
OrganisationMemberInsert,
|
||||
OrganisationMemberRecord,
|
||||
OrganisationMemberResponse,
|
||||
OrganisationMemberResponse as OrganisationMemberResponseRecord,
|
||||
OrganisationRecord,
|
||||
OrganisationResponse,
|
||||
OrganisationResponse as OrganisationResponseRecord,
|
||||
ProjectInsert,
|
||||
ProjectRecord,
|
||||
ProjectResponse,
|
||||
ProjectResponse as ProjectResponseRecord,
|
||||
SessionInsert,
|
||||
SessionRecord,
|
||||
SprintInsert,
|
||||
|
||||
Reference in New Issue
Block a user