@@ -8,14 +8,32 @@ import type { SchemaRef, SchemaTraits } from "../schema/schema";
88/**
99 * @alpha
1010 */
11- export namespace StaticSchemaId {
12- export type Simple = 0 ;
13- export type List = 1 ;
14- export type Map = 2 ;
15- export type Struct = 3 ;
16- export type Error = - 3 ;
17- export type Operation = 9 ;
18- }
11+ export type StaticSchemaIdSimple = 0 ;
12+
13+ /**
14+ * @alpha
15+ */
16+ export type StaticSchemaIdList = 1 ;
17+
18+ /**
19+ * @alpha
20+ */
21+ export type StaticSchemaIdMap = 2 ;
22+
23+ /**
24+ * @alpha
25+ */
26+ export type StaticSchemaIdStruct = 3 ;
27+
28+ /**
29+ * @alpha
30+ */
31+ export type StaticSchemaIdError = - 3 ;
32+
33+ /**
34+ * @alpha
35+ */
36+ export type StaticSchemaIdOperation = 9 ;
1937
2038/**
2139 * @alpha
@@ -41,23 +59,23 @@ export type ShapeNamespace = string;
4159/**
4260 * @alpha
4361 */
44- export type StaticSimpleSchema = [ StaticSchemaId . Simple , ShapeNamespace , ShapeName , SchemaRef , SchemaTraits ] ;
62+ export type StaticSimpleSchema = [ StaticSchemaIdSimple , ShapeNamespace , ShapeName , SchemaRef , SchemaTraits ] ;
4563
4664/**
4765 * @alpha
4866 */
49- export type StaticListSchema = [ StaticSchemaId . List , ShapeNamespace , ShapeName , SchemaTraits , SchemaRef ] ;
67+ export type StaticListSchema = [ StaticSchemaIdList , ShapeNamespace , ShapeName , SchemaTraits , SchemaRef ] ;
5068
5169/**
5270 * @alpha
5371 */
54- export type StaticMapSchema = [ StaticSchemaId . Map , ShapeNamespace , ShapeName , SchemaTraits , SchemaRef , SchemaRef ] ;
72+ export type StaticMapSchema = [ StaticSchemaIdMap , ShapeNamespace , ShapeName , SchemaTraits , SchemaRef , SchemaRef ] ;
5573
5674/**
5775 * @alpha
5876 */
5977export type StaticStructureSchema = [
60- StaticSchemaId . Struct ,
78+ StaticSchemaIdStruct ,
6179 ShapeNamespace ,
6280 ShapeName ,
6381 SchemaTraits ,
@@ -69,7 +87,7 @@ export type StaticStructureSchema = [
6987 * @alpha
7088 */
7189export type StaticErrorSchema = [
72- StaticSchemaId . Error ,
90+ StaticSchemaIdError ,
7391 ShapeNamespace ,
7492 ShapeName ,
7593 SchemaTraits ,
@@ -81,7 +99,7 @@ export type StaticErrorSchema = [
8199 * @alpha
82100 */
83101export type StaticOperationSchema = [
84- StaticSchemaId . Operation ,
102+ StaticSchemaIdOperation ,
85103 ShapeNamespace ,
86104 ShapeName ,
87105 SchemaTraits ,
0 commit comments