Skip to content
File

Blob: src/workerd/io/script-version.capnp

732 bytes
1# Copyright (c) 2023 Cloudflare, Inc.
2# Licensed under the Apache 2.0 license found in the LICENSE file or at:
3# https://opensource.org/licenses/Apache-2.0
4 
5@0xd3b6bb739ff1b77a;
6 
7using Cxx = import "/capnp/c++.capnp";
8$Cxx.namespace("workerd");
9 
10struct ScriptVersion {
11 id :group {
12 upper @0 :UInt64;
13 # Most significant bits of the UUID.
14 lower @1 :UInt64;
15 # Least significant bits of the UUID.
16 }
17 # An optional UUID identifying this version. A null UUID value (where both upper and lower values
18 # are 0) can be used to indicate the absence of an ID.
19 tag @2 :Text;
20 # An optional tag to associate with this version.
21 message @3 :Text;
22 # An optional message that can be used to describe this version.
23}