@go-avro/avro-js 0.0.18 → 0.0.20

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.
@@ -166,7 +166,7 @@ declare module '../client/QueryClient' {
166
166
  useGetTimecard(timecardId?: string, enabled?: boolean): UseQueryResult<Timecard, StandardError>;
167
167
  useGetAvro(): UseQueryResult<Avro, StandardError>;
168
168
  useSearchUsers(searchUsername: string): UseQueryResult<User[], StandardError>;
169
- useAcceptProposal(proposal_id: string): ReturnType<typeof useMutation<{
169
+ useReviewProposal(proposal_id: string): ReturnType<typeof useMutation<{
170
170
  msg: string;
171
171
  bill_id?: string;
172
172
  }, StandardError, {
@@ -12,7 +12,7 @@ AvroQueryClient.prototype.useCreateProposal = function () {
12
12
  },
13
13
  });
14
14
  };
15
- AvroQueryClient.prototype.useAcceptProposal = function (proposal_id) {
15
+ AvroQueryClient.prototype.useReviewProposal = function (proposal_id) {
16
16
  return useMutation({
17
17
  mutationFn: async (data) => {
18
18
  return this.post({
@@ -76,7 +76,6 @@ export type TeamSchedule = {
76
76
  name: string;
77
77
  optimize: boolean;
78
78
  frequency: FrequencyType;
79
- start_time?: number;
80
79
  };
81
80
  export type RouteScheduleConfig = {
82
81
  schedules: TeamSchedule[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",