bldr/resource/view.pb.ts
Rama master · réplica de lectura del repositorio original.
// @generated by protoc-gen-es-lite unknown with parameter "target=ts,ts_nocheck=false"
// @generated from file github.com/s4wave/spacewave/bldr/resource/view.proto (package resource, syntax proto3)
/* eslint-disable */
import type { MessageType } from '@aptre/protobuf-es-lite/message'
import { createMessageType } from '@aptre/protobuf-es-lite/message'
/**
* ViewVersion names the view a feed's message carries. Every versioned view
* message holds it as field 1000, after the view's own fields, so the server
* encodes a view once and appends the version for every stream. A request
* names the version its client holds as string field 1000, held_version.
*
* @generated from message resource.ViewVersion
*/
export interface ViewVersion {
/**
* Version names the view's content: equal views share it, across backends
* and restarts.
*/
version?: string
/**
* Revision is a World revision the view reflects every write up to, so a
* client that wrote at revision R knows a message at R or later shows it.
*/
revision?: bigint
/**
* Unchanged reports that the view is the one the request held, so the
* message carries no view fields and the client keeps what it holds.
*/
unchanged?: boolean
/**
* Changes reports that the message carries only the records that changed
* since the version the stream last delivered, for a watch that asked for
* changes; the client applies them to the view it holds.
*/
changes?: boolean
}
export const ViewVersion: MessageType<ViewVersion> =
/* @__PURE__ */ createMessageType<ViewVersion>('resource.ViewVersion', () => [
[1, 'version', 9],
[2, 'revision', 4],
[3, 'unchanged', 8],
[4, 'changes', 8],
])