Skip to content

Commit

Permalink
Fix declaration
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Cervenka <[email protected]>
  • Loading branch information
Hadatko committed Dec 22, 2022
1 parent fca235c commit 10e5379
Show file tree
Hide file tree
Showing 20 changed files with 66 additions and 55 deletions.
6 changes: 3 additions & 3 deletions dist/cjs/Types/AllRequestsType.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export declare enum AllRequestsStatus {
export declare enum AllRequestsStatusEnum {
pending = "PENDING",
approved = "APPROVED",
descending = "DESCENDING"
rejected = "REJECTED"
}
type AllRequestsType = {
count: number;
Expand All @@ -23,7 +23,7 @@ type AllRequestsType = {
};
note: string;
status: {
statusType: AllRequestsStatus;
statusType: AllRequestsStatusEnum;
changedByUserId: string;
changedByUserName: string;
changedAt: Date;
Expand Down
14 changes: 7 additions & 7 deletions dist/cjs/Types/AllRequestsType.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/Types/AllRequestsType.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/cjs/Types/RequestAllRequestsType.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export declare enum RequestAllRequestsStatus {
export declare enum RequestAllRequestsStatusEnum {
pending = "PENDING",
approved = "APPROVED",
descending = "DESCENDING"
rejected = "REJECTED"
}
type RequestAllRequestsType = {
start: Date;
end: Date;
status: RequestAllRequestsStatus;
status: RequestAllRequestsStatusEnum;
users: string[];
userGroups: string[];
page: number;
Expand Down
14 changes: 7 additions & 7 deletions dist/cjs/Types/RequestAllRequestsType.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/Types/RequestAllRequestsType.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion dist/cjs/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import type { UserType } from "./Types/UserType";
import type { WorkspaceType } from "./Types/WorkspaceType";
import type { RequestDetailedReportType } from "./Types/RequestDetailedReportType";
import type { RequestSummaryReportType } from "./Types/RequestSummaryReportType";
import type { RequestAllRequestsType } from "./Types/RequestAllRequestsType";
import ClientsQuery from "./Queries/ClientsQuery";
import CustomFieldsQuery from "./Queries/CustomFieldsQuery";
import ProjectsQuery from "./Queries/ProjectsQuery";
Expand All @@ -34,6 +35,7 @@ import UpdateClientQuery from "./Queries/UpdateClientQuery";
import UpdateProjectQuery from "./Queries/UpdateProjectQuery";
import UserGroupQuery from "./Queries/UserGroupQuery";
import UsersQuery from "./Queries/UsersQuery";
import { RequestAllRequestsStatusEnum } from "./Types/RequestAllRequestsType";
import { RequestDetailedReportGroupsEnum, RequestDetailedReportTotalOptionEnum, RequestDetailedReportSortOrderEnum, RequestDetailedReportInvoicingStateEnum, RequestDetailedReportApprovalStateEnum, RequestDetailedReportSortColumnEnum, RequestDetailedReportAmountShownEnum, RequestDetailedReportExportTypeEnum, RequestDetailedReportContainsFilterEnum, RequestDetailedReportContainedInTimeEntryFilterEnum, RequestDetailedReportProjectStatusFilterEnum, RequestDetailedReportClientStatusFilterEnum, RequestDetailedReportTagStatusFilterEnum, RequestDetailedReportUserStatusFilterEnum, RequestDetailedReportTaskStatusFilterEnum } from "./Types/RequestDetailedReportType";
import { RequestSummaryReportGroupsEnum, RequestSummaryReportSortOrderEnum, RequestSummaryReportInvoicingStateEnum, RequestSummaryReportApprovalStateEnum, RequestSummaryReportSortColumnEnum, RequestSummaryReportAmountShownEnum, RequestSummaryReportExportTypeEnum, RequestSummaryReportContainsFilterEnum, RequestSummaryReportContainedInTimeEntryFilterEnum, RequestSummaryReportProjectStatusFilterEnum, RequestSummaryReportClientStatusFilterEnum, RequestSummaryReportTagStatusFilterEnum, RequestSummaryReportUserStatusFilterEnum, RequestSummaryReportTaskStatusFilterEnum } from "./Types/RequestSummaryReportType";
import { CustomFieldTypeEnum, CustomFieldStatusEnum, CustomFieldProjectDefaultValuesStatusEnum } from "./Types/CustomFieldType";
Expand All @@ -47,4 +49,4 @@ import { ProjectsQueryClientStatusEnum, ProjectsQueryUserStatusEnum } from "./Qu
import { UpdateProjectQueryEstimateTypeEnum } from "./Queries/UpdateProjectQuery";
import { UserQueryMembershipsEnum, UserQueryStatusEnum } from "./Queries/UsersQuery";
export default Clockify;
export { ClientType, CustomFieldType, EntityType, EstimateType, MembershipType, MemberType, NewClientType, NewProjectType, NewTaskType, NewTimeEntryType, NewUserType, ProjectType, RoleType, TagType, TaskType, TimeEntryType, UpdateClientType, UpdateProjectType, UserGroupType, UserType, WorkspaceType, RequestDetailedReportType, RequestSummaryReportType, ClientsQuery, CustomFieldsQuery, ProjectsQuery, Query, TagsQuery, TasksQuery, TimeEntriesQuery, TimeEntryQuery, UpdateClientQuery, UpdateProjectQuery, UserGroupQuery, UsersQuery, RequestDetailedReportGroupsEnum, RequestDetailedReportTotalOptionEnum, RequestDetailedReportSortOrderEnum, RequestDetailedReportInvoicingStateEnum, RequestDetailedReportApprovalStateEnum, RequestDetailedReportSortColumnEnum, RequestDetailedReportAmountShownEnum, RequestDetailedReportExportTypeEnum, RequestDetailedReportContainsFilterEnum, RequestDetailedReportContainedInTimeEntryFilterEnum, RequestDetailedReportProjectStatusFilterEnum, RequestDetailedReportClientStatusFilterEnum, RequestDetailedReportTagStatusFilterEnum, RequestDetailedReportUserStatusFilterEnum, RequestDetailedReportTaskStatusFilterEnum, RequestSummaryReportGroupsEnum, RequestSummaryReportSortOrderEnum, RequestSummaryReportInvoicingStateEnum, RequestSummaryReportApprovalStateEnum, RequestSummaryReportSortColumnEnum, RequestSummaryReportAmountShownEnum, RequestSummaryReportExportTypeEnum, RequestSummaryReportContainsFilterEnum, RequestSummaryReportContainedInTimeEntryFilterEnum, RequestSummaryReportProjectStatusFilterEnum, RequestSummaryReportClientStatusFilterEnum, RequestSummaryReportTagStatusFilterEnum, RequestSummaryReportUserStatusFilterEnum, RequestSummaryReportTaskStatusFilterEnum, CustomFieldTypeEnum, CustomFieldStatusEnum, CustomFieldProjectDefaultValuesStatusEnum, TimeEstimateTypeEnum, BudgetEstimateTypeEnum, TimeEstimateResetOptionEnum, BudgetEstimateResetOptionEnum, MembershipStatusEnum, MembershipTypeEnum, TaskStatusEnum, RoleEnum, CustomFieldQueryStatusEnum, QuerySortOrderEnum, ProjectsQueryClientStatusEnum, ProjectsQueryUserStatusEnum, UpdateProjectQueryEstimateTypeEnum, UserQueryMembershipsEnum, UserQueryStatusEnum, };
export { ClientType, CustomFieldType, EntityType, EstimateType, MembershipType, MemberType, NewClientType, NewProjectType, NewTaskType, NewTimeEntryType, NewUserType, ProjectType, RoleType, TagType, TaskType, TimeEntryType, UpdateClientType, UpdateProjectType, UserGroupType, UserType, WorkspaceType, RequestDetailedReportType, RequestSummaryReportType, RequestAllRequestsType, ClientsQuery, CustomFieldsQuery, ProjectsQuery, Query, TagsQuery, TasksQuery, TimeEntriesQuery, TimeEntryQuery, UpdateClientQuery, UpdateProjectQuery, UserGroupQuery, UsersQuery, RequestAllRequestsStatusEnum, RequestDetailedReportGroupsEnum, RequestDetailedReportTotalOptionEnum, RequestDetailedReportSortOrderEnum, RequestDetailedReportInvoicingStateEnum, RequestDetailedReportApprovalStateEnum, RequestDetailedReportSortColumnEnum, RequestDetailedReportAmountShownEnum, RequestDetailedReportExportTypeEnum, RequestDetailedReportContainsFilterEnum, RequestDetailedReportContainedInTimeEntryFilterEnum, RequestDetailedReportProjectStatusFilterEnum, RequestDetailedReportClientStatusFilterEnum, RequestDetailedReportTagStatusFilterEnum, RequestDetailedReportUserStatusFilterEnum, RequestDetailedReportTaskStatusFilterEnum, RequestSummaryReportGroupsEnum, RequestSummaryReportSortOrderEnum, RequestSummaryReportInvoicingStateEnum, RequestSummaryReportApprovalStateEnum, RequestSummaryReportSortColumnEnum, RequestSummaryReportAmountShownEnum, RequestSummaryReportExportTypeEnum, RequestSummaryReportContainsFilterEnum, RequestSummaryReportContainedInTimeEntryFilterEnum, RequestSummaryReportProjectStatusFilterEnum, RequestSummaryReportClientStatusFilterEnum, RequestSummaryReportTagStatusFilterEnum, RequestSummaryReportUserStatusFilterEnum, RequestSummaryReportTaskStatusFilterEnum, CustomFieldTypeEnum, CustomFieldStatusEnum, CustomFieldProjectDefaultValuesStatusEnum, TimeEstimateTypeEnum, BudgetEstimateTypeEnum, TimeEstimateResetOptionEnum, BudgetEstimateResetOptionEnum, MembershipStatusEnum, MembershipTypeEnum, TaskStatusEnum, RoleEnum, CustomFieldQueryStatusEnum, QuerySortOrderEnum, ProjectsQueryClientStatusEnum, ProjectsQueryUserStatusEnum, UpdateProjectQueryEstimateTypeEnum, UserQueryMembershipsEnum, UserQueryStatusEnum, };
4 changes: 3 additions & 1 deletion dist/cjs/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/esm/Types/AllRequestsType.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export declare enum AllRequestsStatus {
export declare enum AllRequestsStatusEnum {
pending = "PENDING",
approved = "APPROVED",
descending = "DESCENDING"
rejected = "REJECTED"
}
type AllRequestsType = {
count: number;
Expand All @@ -23,7 +23,7 @@ type AllRequestsType = {
};
note: string;
status: {
statusType: AllRequestsStatus;
statusType: AllRequestsStatusEnum;
changedByUserId: string;
changedByUserName: string;
changedAt: Date;
Expand Down
Loading

0 comments on commit 10e5379

Please sign in to comment.