// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js" // @generated from file common/v1/object-ref.proto (package common.v1, 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/v1/object-ref.proto. */ export const file_common_v1_object_ref: GenFile = /*@__PURE__*/ fileDesc("Chpjb21tb24vdjEvb2JqZWN0LXJlZi5wcm90bxIJY29tbW9uLnYxIjMKCU9iamVjdFJlZhIRCglvYmplY3RfaWQYASABKAkSEwoLb2JqZWN0X3R5cGUYAiABKAlCSFpGYml0YnVja2V0Lm9yZy9rdWRvdWsvYXJ0d29ya2VyLWJhY2tlbmQvcHJvdG8vZ2VuL2dvL2NvbW1vbi92MTtjb21tb252MWIGcHJvdG8z"); /** * @generated from message common.v1.ObjectRef */ export type ObjectRef = Message<"common.v1.ObjectRef"> & { /** * id of object being referenced * * @generated from field: string object_id = 1; */ objectId: string; /** * context of id, eg "job" or "cart-item" * * @generated from field: string object_type = 2; */ objectType: string; }; /** * Describes the message common.v1.ObjectRef. * Use `create(ObjectRefSchema)` to create a new message. */ export const ObjectRefSchema: GenMessage = /*@__PURE__*/ messageDesc(file_common_v1_object_ref, 0);