Skip to content

Commit

Permalink
latest
Browse files Browse the repository at this point in the history
  • Loading branch information
ngam committed Sep 13, 2022
1 parent 5919a95 commit c6e1bf6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 39 deletions.
10 changes: 0 additions & 10 deletions vue/src/store/generated/sixnft/sixnft.nftmngr/module/rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,13 +380,6 @@ export interface V1Beta1PageRequest {
* is set.
*/
count_total?: boolean;

/**
* reverse is set to true if results are to be returned in the descending order.
*
* Since: cosmos-sdk 0.43
*/
reverse?: boolean;
}

/**
Expand Down Expand Up @@ -616,7 +609,6 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
"pagination.offset"?: string;
"pagination.limit"?: string;
"pagination.count_total"?: boolean;
"pagination.reverse"?: boolean;
},
params: RequestParams = {},
) =>
Expand Down Expand Up @@ -658,7 +650,6 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
"pagination.offset"?: string;
"pagination.limit"?: string;
"pagination.count_total"?: boolean;
"pagination.reverse"?: boolean;
},
params: RequestParams = {},
) =>
Expand Down Expand Up @@ -700,7 +691,6 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
"pagination.offset"?: string;
"pagination.limit"?: string;
"pagination.count_total"?: boolean;
"pagination.reverse"?: boolean;
},
params: RequestParams = {},
) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ export interface PageRequest {
* is set.
*/
count_total: boolean;
/**
* reverse is set to true if results are to be returned in the descending order.
*
* Since: cosmos-sdk 0.43
*/
reverse: boolean;
}

/**
Expand All @@ -68,12 +62,7 @@ export interface PageResponse {
total: number;
}

const basePageRequest: object = {
offset: 0,
limit: 0,
count_total: false,
reverse: false,
};
const basePageRequest: object = { offset: 0, limit: 0, count_total: false };

export const PageRequest = {
encode(message: PageRequest, writer: Writer = Writer.create()): Writer {
Expand All @@ -89,9 +78,6 @@ export const PageRequest = {
if (message.count_total === true) {
writer.uint32(32).bool(message.count_total);
}
if (message.reverse === true) {
writer.uint32(40).bool(message.reverse);
}
return writer;
},

Expand All @@ -114,9 +100,6 @@ export const PageRequest = {
case 4:
message.count_total = reader.bool();
break;
case 5:
message.reverse = reader.bool();
break;
default:
reader.skipType(tag & 7);
break;
Expand Down Expand Up @@ -145,11 +128,6 @@ export const PageRequest = {
} else {
message.count_total = false;
}
if (object.reverse !== undefined && object.reverse !== null) {
message.reverse = Boolean(object.reverse);
} else {
message.reverse = false;
}
return message;
},

Expand All @@ -163,7 +141,6 @@ export const PageRequest = {
message.limit !== undefined && (obj.limit = message.limit);
message.count_total !== undefined &&
(obj.count_total = message.count_total);
message.reverse !== undefined && (obj.reverse = message.reverse);
return obj;
},

Expand All @@ -189,11 +166,6 @@ export const PageRequest = {
} else {
message.count_total = false;
}
if (object.reverse !== undefined && object.reverse !== null) {
message.reverse = object.reverse;
} else {
message.reverse = false;
}
return message;
},
};
Expand Down

0 comments on commit c6e1bf6

Please sign in to comment.