// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
// @generated from file common.proto (syntax proto3)
/* eslint-disable */

import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file common.proto.
 */
export const file_common: GenFile = /*@__PURE__*/
  fileDesc("Cgxjb21tb24ucHJvdG8iKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAMiMAoKUGFnaW5hdGlvbhIQCghuZXh0X3VybBgBIAEoCRIQCghoYXNfbW9yZRgCIAEoCCIyCgtDb29yZGluYXRlcxIQCghsYXRpdHVkZRgBIAEoARIRCglsb25naXR1ZGUYAiABKAFiBnByb3RvMw");

/**
 * @generated from message Timestamp
 */
export type Timestamp = Message<"Timestamp"> & {
  /**
   * @generated from field: int64 seconds = 1;
   */
  seconds: bigint;

  /**
   * not always present
   *
   * @generated from field: int64 nanos = 2;
   */
  nanos: bigint;
};

/**
 * Describes the message Timestamp.
 * Use `create(TimestampSchema)` to create a new message.
 */
export const TimestampSchema: GenMessage<Timestamp> = /*@__PURE__*/
  messageDesc(file_common, 0);

/**
 * @generated from message Pagination
 */
export type Pagination = Message<"Pagination"> & {
  /**
   * cursor URL for next page of results
   *
   * @generated from field: string next_url = 1;
   */
  nextUrl: string;

  /**
   * used in sync
   *
   * @generated from field: bool has_more = 2;
   */
  hasMore: boolean;
};

/**
 * Describes the message Pagination.
 * Use `create(PaginationSchema)` to create a new message.
 */
export const PaginationSchema: GenMessage<Pagination> = /*@__PURE__*/
  messageDesc(file_common, 1);

/**
 * @generated from message Coordinates
 */
export type Coordinates = Message<"Coordinates"> & {
  /**
   * @generated from field: double latitude = 1;
   */
  latitude: number;

  /**
   * @generated from field: double longitude = 2;
   */
  longitude: number;
};

/**
 * Describes the message Coordinates.
 * Use `create(CoordinatesSchema)` to create a new message.
 */
export const CoordinatesSchema: GenMessage<Coordinates> = /*@__PURE__*/
  messageDesc(file_common, 2);

