@junobuild/functions 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/schemas/db.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import * as z from 'zod/v4';
1
+ import * as z from 'zod';
2
2
  import { Uint8ArraySchema } from './candid';
3
3
  import { type Description, type RawUserId, type Timestamp, type Version } from './satellite';
4
4
  /**
5
5
  * @see RawData
6
6
  */
7
- export declare const RawDataSchema: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
7
+ export declare const RawDataSchema: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
8
8
  /**
9
9
  * Represents raw binary data.
10
10
  *
@@ -15,13 +15,27 @@ export type RawData = z.infer<typeof Uint8ArraySchema>;
15
15
  * @see Doc
16
16
  */
17
17
  export declare const DocSchema: z.ZodObject<{
18
- owner: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
19
- data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
18
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
19
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
20
20
  description: z.ZodOptional<z.ZodString>;
21
21
  created_at: z.ZodBigInt;
22
22
  updated_at: z.ZodBigInt;
23
23
  version: z.ZodOptional<z.ZodBigInt>;
24
- }, z.core.$strict>;
24
+ }, "strict", z.ZodTypeAny, {
25
+ owner: Uint8Array<ArrayBufferLike>;
26
+ data: Uint8Array<ArrayBufferLike>;
27
+ created_at: bigint;
28
+ updated_at: bigint;
29
+ description?: string | undefined;
30
+ version?: bigint | undefined;
31
+ }, {
32
+ owner: Uint8Array<ArrayBufferLike>;
33
+ data: Uint8Array<ArrayBufferLike>;
34
+ created_at: bigint;
35
+ updated_at: bigint;
36
+ description?: string | undefined;
37
+ version?: bigint | undefined;
38
+ }>;
25
39
  /**
26
40
  * Represents a document stored in a collection.
27
41
  */
@@ -56,13 +70,27 @@ export interface Doc {
56
70
  * @see OptionDoc
57
71
  */
58
72
  export declare const OptionDocSchema: z.ZodOptional<z.ZodObject<{
59
- owner: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
60
- data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
73
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
74
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
61
75
  description: z.ZodOptional<z.ZodString>;
62
76
  created_at: z.ZodBigInt;
63
77
  updated_at: z.ZodBigInt;
64
78
  version: z.ZodOptional<z.ZodBigInt>;
65
- }, z.core.$strict>>;
79
+ }, "strict", z.ZodTypeAny, {
80
+ owner: Uint8Array<ArrayBufferLike>;
81
+ data: Uint8Array<ArrayBufferLike>;
82
+ created_at: bigint;
83
+ updated_at: bigint;
84
+ description?: string | undefined;
85
+ version?: bigint | undefined;
86
+ }, {
87
+ owner: Uint8Array<ArrayBufferLike>;
88
+ data: Uint8Array<ArrayBufferLike>;
89
+ created_at: bigint;
90
+ updated_at: bigint;
91
+ description?: string | undefined;
92
+ version?: bigint | undefined;
93
+ }>>;
66
94
  /**
67
95
  * A shorthand for a document that might or not be defined.
68
96
  */
@@ -71,10 +99,18 @@ export type OptionDoc = Doc | undefined;
71
99
  * @see SetDoc
72
100
  */
73
101
  export declare const SetDocSchema: z.ZodObject<{
74
- data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
102
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
75
103
  description: z.ZodOptional<z.ZodString>;
76
104
  version: z.ZodOptional<z.ZodBigInt>;
77
- }, z.core.$strict>;
105
+ }, "strict", z.ZodTypeAny, {
106
+ data: Uint8Array<ArrayBufferLike>;
107
+ description?: string | undefined;
108
+ version?: bigint | undefined;
109
+ }, {
110
+ data: Uint8Array<ArrayBufferLike>;
111
+ description?: string | undefined;
112
+ version?: bigint | undefined;
113
+ }>;
78
114
  /**
79
115
  * Represents the proposed version of a document to be created or updated.
80
116
  * This can be validated before allowing the operation.
@@ -98,7 +134,11 @@ export interface SetDoc {
98
134
  */
99
135
  export declare const DelDocSchema: z.ZodObject<{
100
136
  version: z.ZodOptional<z.ZodBigInt>;
101
- }, z.core.$strict>;
137
+ }, "strict", z.ZodTypeAny, {
138
+ version?: bigint | undefined;
139
+ }, {
140
+ version?: bigint | undefined;
141
+ }>;
102
142
  /**
103
143
  * Represents the proposed version of a document to be deleted.
104
144
  * This can be validated before allowing the operation.
package/schemas/list.d.ts CHANGED
@@ -1,17 +1,33 @@
1
- import * as z from 'zod/v4';
1
+ import * as z from 'zod';
2
2
  import { type Description, type Key, type RawUserId, type Timestamp } from './satellite';
3
3
  /**
4
4
  * @see TimestampMatcher
5
5
  */
6
- export declare const TimestampMatcherSchema: z.ZodUnion<readonly [z.ZodObject<{
6
+ export declare const TimestampMatcherSchema: z.ZodUnion<[z.ZodObject<{
7
7
  equal: z.ZodBigInt;
8
- }, z.core.$strip>, z.ZodObject<{
8
+ }, "strip", z.ZodTypeAny, {
9
+ equal: bigint;
10
+ }, {
11
+ equal: bigint;
12
+ }>, z.ZodObject<{
9
13
  greater_than: z.ZodBigInt;
10
- }, z.core.$strip>, z.ZodObject<{
14
+ }, "strip", z.ZodTypeAny, {
15
+ greater_than: bigint;
16
+ }, {
17
+ greater_than: bigint;
18
+ }>, z.ZodObject<{
11
19
  less_than: z.ZodBigInt;
12
- }, z.core.$strip>, z.ZodObject<{
20
+ }, "strip", z.ZodTypeAny, {
21
+ less_than: bigint;
22
+ }, {
23
+ less_than: bigint;
24
+ }>, z.ZodObject<{
13
25
  between: z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>;
14
- }, z.core.$strip>]>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ between: [bigint, bigint];
28
+ }, {
29
+ between: [bigint, bigint];
30
+ }>]>;
15
31
  /**
16
32
  * TimestampMatcher matches a timestamp field using a specific strategy.
17
33
  */
@@ -30,25 +46,99 @@ export type TimestampMatcher = {
30
46
  export declare const ListMatcherSchema: z.ZodObject<{
31
47
  key: z.ZodOptional<z.ZodString>;
32
48
  description: z.ZodOptional<z.ZodString>;
33
- created_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
49
+ created_at: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
34
50
  equal: z.ZodBigInt;
35
- }, z.core.$strip>, z.ZodObject<{
51
+ }, "strip", z.ZodTypeAny, {
52
+ equal: bigint;
53
+ }, {
54
+ equal: bigint;
55
+ }>, z.ZodObject<{
36
56
  greater_than: z.ZodBigInt;
37
- }, z.core.$strip>, z.ZodObject<{
57
+ }, "strip", z.ZodTypeAny, {
58
+ greater_than: bigint;
59
+ }, {
60
+ greater_than: bigint;
61
+ }>, z.ZodObject<{
38
62
  less_than: z.ZodBigInt;
39
- }, z.core.$strip>, z.ZodObject<{
63
+ }, "strip", z.ZodTypeAny, {
64
+ less_than: bigint;
65
+ }, {
66
+ less_than: bigint;
67
+ }>, z.ZodObject<{
40
68
  between: z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>;
41
- }, z.core.$strip>]>>;
42
- updated_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
69
+ }, "strip", z.ZodTypeAny, {
70
+ between: [bigint, bigint];
71
+ }, {
72
+ between: [bigint, bigint];
73
+ }>]>>;
74
+ updated_at: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
43
75
  equal: z.ZodBigInt;
44
- }, z.core.$strip>, z.ZodObject<{
76
+ }, "strip", z.ZodTypeAny, {
77
+ equal: bigint;
78
+ }, {
79
+ equal: bigint;
80
+ }>, z.ZodObject<{
45
81
  greater_than: z.ZodBigInt;
46
- }, z.core.$strip>, z.ZodObject<{
82
+ }, "strip", z.ZodTypeAny, {
83
+ greater_than: bigint;
84
+ }, {
85
+ greater_than: bigint;
86
+ }>, z.ZodObject<{
47
87
  less_than: z.ZodBigInt;
48
- }, z.core.$strip>, z.ZodObject<{
88
+ }, "strip", z.ZodTypeAny, {
89
+ less_than: bigint;
90
+ }, {
91
+ less_than: bigint;
92
+ }>, z.ZodObject<{
49
93
  between: z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>;
50
- }, z.core.$strip>]>>;
51
- }, z.core.$strict>;
94
+ }, "strip", z.ZodTypeAny, {
95
+ between: [bigint, bigint];
96
+ }, {
97
+ between: [bigint, bigint];
98
+ }>]>>;
99
+ }, "strict", z.ZodTypeAny, {
100
+ description?: string | undefined;
101
+ created_at?: {
102
+ equal: bigint;
103
+ } | {
104
+ greater_than: bigint;
105
+ } | {
106
+ less_than: bigint;
107
+ } | {
108
+ between: [bigint, bigint];
109
+ } | undefined;
110
+ updated_at?: {
111
+ equal: bigint;
112
+ } | {
113
+ greater_than: bigint;
114
+ } | {
115
+ less_than: bigint;
116
+ } | {
117
+ between: [bigint, bigint];
118
+ } | undefined;
119
+ key?: string | undefined;
120
+ }, {
121
+ description?: string | undefined;
122
+ created_at?: {
123
+ equal: bigint;
124
+ } | {
125
+ greater_than: bigint;
126
+ } | {
127
+ less_than: bigint;
128
+ } | {
129
+ between: [bigint, bigint];
130
+ } | undefined;
131
+ updated_at?: {
132
+ equal: bigint;
133
+ } | {
134
+ greater_than: bigint;
135
+ } | {
136
+ less_than: bigint;
137
+ } | {
138
+ between: [bigint, bigint];
139
+ } | undefined;
140
+ key?: string | undefined;
141
+ }>;
52
142
  /**
53
143
  * Matcher used to filter list results.
54
144
  */
@@ -64,7 +154,13 @@ export interface ListMatcher {
64
154
  export declare const ListPaginateSchema: z.ZodObject<{
65
155
  start_after: z.ZodOptional<z.ZodString>;
66
156
  limit: z.ZodOptional<z.ZodBigInt>;
67
- }, z.core.$strict>;
157
+ }, "strict", z.ZodTypeAny, {
158
+ start_after?: string | undefined;
159
+ limit?: bigint | undefined;
160
+ }, {
161
+ start_after?: string | undefined;
162
+ limit?: bigint | undefined;
163
+ }>;
68
164
  /**
69
165
  * Optional pagination controls for listing.
70
166
  */
@@ -75,11 +171,7 @@ export interface ListPaginate {
75
171
  /**
76
172
  * @see ListOrderField
77
173
  */
78
- export declare const ListOrderFieldSchema: z.ZodEnum<{
79
- created_at: "created_at";
80
- updated_at: "updated_at";
81
- keys: "keys";
82
- }>;
174
+ export declare const ListOrderFieldSchema: z.ZodEnum<["keys", "created_at", "updated_at"]>;
83
175
  /**
84
176
  * Enum representing possible fields to order by.
85
177
  */
@@ -89,12 +181,14 @@ export type ListOrderField = 'keys' | 'updated_at' | 'created_at';
89
181
  */
90
182
  export declare const ListOrderSchema: z.ZodObject<{
91
183
  desc: z.ZodBoolean;
92
- field: z.ZodEnum<{
93
- created_at: "created_at";
94
- updated_at: "updated_at";
95
- keys: "keys";
96
- }>;
97
- }, z.core.$strict>;
184
+ field: z.ZodEnum<["keys", "created_at", "updated_at"]>;
185
+ }, "strict", z.ZodTypeAny, {
186
+ desc: boolean;
187
+ field: "keys" | "created_at" | "updated_at";
188
+ }, {
189
+ desc: boolean;
190
+ field: "keys" | "created_at" | "updated_at";
191
+ }>;
98
192
  /**
99
193
  * Ordering strategy for listing documents.
100
194
  */
@@ -109,39 +203,185 @@ export declare const ListParamsSchema: z.ZodObject<{
109
203
  matcher: z.ZodOptional<z.ZodObject<{
110
204
  key: z.ZodOptional<z.ZodString>;
111
205
  description: z.ZodOptional<z.ZodString>;
112
- created_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
206
+ created_at: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
113
207
  equal: z.ZodBigInt;
114
- }, z.core.$strip>, z.ZodObject<{
208
+ }, "strip", z.ZodTypeAny, {
209
+ equal: bigint;
210
+ }, {
211
+ equal: bigint;
212
+ }>, z.ZodObject<{
115
213
  greater_than: z.ZodBigInt;
116
- }, z.core.$strip>, z.ZodObject<{
214
+ }, "strip", z.ZodTypeAny, {
215
+ greater_than: bigint;
216
+ }, {
217
+ greater_than: bigint;
218
+ }>, z.ZodObject<{
117
219
  less_than: z.ZodBigInt;
118
- }, z.core.$strip>, z.ZodObject<{
220
+ }, "strip", z.ZodTypeAny, {
221
+ less_than: bigint;
222
+ }, {
223
+ less_than: bigint;
224
+ }>, z.ZodObject<{
119
225
  between: z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>;
120
- }, z.core.$strip>]>>;
121
- updated_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
226
+ }, "strip", z.ZodTypeAny, {
227
+ between: [bigint, bigint];
228
+ }, {
229
+ between: [bigint, bigint];
230
+ }>]>>;
231
+ updated_at: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
122
232
  equal: z.ZodBigInt;
123
- }, z.core.$strip>, z.ZodObject<{
233
+ }, "strip", z.ZodTypeAny, {
234
+ equal: bigint;
235
+ }, {
236
+ equal: bigint;
237
+ }>, z.ZodObject<{
124
238
  greater_than: z.ZodBigInt;
125
- }, z.core.$strip>, z.ZodObject<{
239
+ }, "strip", z.ZodTypeAny, {
240
+ greater_than: bigint;
241
+ }, {
242
+ greater_than: bigint;
243
+ }>, z.ZodObject<{
126
244
  less_than: z.ZodBigInt;
127
- }, z.core.$strip>, z.ZodObject<{
245
+ }, "strip", z.ZodTypeAny, {
246
+ less_than: bigint;
247
+ }, {
248
+ less_than: bigint;
249
+ }>, z.ZodObject<{
128
250
  between: z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>;
129
- }, z.core.$strip>]>>;
130
- }, z.core.$strict>>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ between: [bigint, bigint];
253
+ }, {
254
+ between: [bigint, bigint];
255
+ }>]>>;
256
+ }, "strict", z.ZodTypeAny, {
257
+ description?: string | undefined;
258
+ created_at?: {
259
+ equal: bigint;
260
+ } | {
261
+ greater_than: bigint;
262
+ } | {
263
+ less_than: bigint;
264
+ } | {
265
+ between: [bigint, bigint];
266
+ } | undefined;
267
+ updated_at?: {
268
+ equal: bigint;
269
+ } | {
270
+ greater_than: bigint;
271
+ } | {
272
+ less_than: bigint;
273
+ } | {
274
+ between: [bigint, bigint];
275
+ } | undefined;
276
+ key?: string | undefined;
277
+ }, {
278
+ description?: string | undefined;
279
+ created_at?: {
280
+ equal: bigint;
281
+ } | {
282
+ greater_than: bigint;
283
+ } | {
284
+ less_than: bigint;
285
+ } | {
286
+ between: [bigint, bigint];
287
+ } | undefined;
288
+ updated_at?: {
289
+ equal: bigint;
290
+ } | {
291
+ greater_than: bigint;
292
+ } | {
293
+ less_than: bigint;
294
+ } | {
295
+ between: [bigint, bigint];
296
+ } | undefined;
297
+ key?: string | undefined;
298
+ }>>;
131
299
  paginate: z.ZodOptional<z.ZodObject<{
132
300
  start_after: z.ZodOptional<z.ZodString>;
133
301
  limit: z.ZodOptional<z.ZodBigInt>;
134
- }, z.core.$strict>>;
302
+ }, "strict", z.ZodTypeAny, {
303
+ start_after?: string | undefined;
304
+ limit?: bigint | undefined;
305
+ }, {
306
+ start_after?: string | undefined;
307
+ limit?: bigint | undefined;
308
+ }>>;
135
309
  order: z.ZodOptional<z.ZodObject<{
136
310
  desc: z.ZodBoolean;
137
- field: z.ZodEnum<{
138
- created_at: "created_at";
139
- updated_at: "updated_at";
140
- keys: "keys";
141
- }>;
142
- }, z.core.$strict>>;
143
- owner: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>>;
144
- }, z.core.$strict>;
311
+ field: z.ZodEnum<["keys", "created_at", "updated_at"]>;
312
+ }, "strict", z.ZodTypeAny, {
313
+ desc: boolean;
314
+ field: "keys" | "created_at" | "updated_at";
315
+ }, {
316
+ desc: boolean;
317
+ field: "keys" | "created_at" | "updated_at";
318
+ }>>;
319
+ owner: z.ZodOptional<z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>>;
320
+ }, "strict", z.ZodTypeAny, {
321
+ owner?: Uint8Array<ArrayBufferLike> | undefined;
322
+ matcher?: {
323
+ description?: string | undefined;
324
+ created_at?: {
325
+ equal: bigint;
326
+ } | {
327
+ greater_than: bigint;
328
+ } | {
329
+ less_than: bigint;
330
+ } | {
331
+ between: [bigint, bigint];
332
+ } | undefined;
333
+ updated_at?: {
334
+ equal: bigint;
335
+ } | {
336
+ greater_than: bigint;
337
+ } | {
338
+ less_than: bigint;
339
+ } | {
340
+ between: [bigint, bigint];
341
+ } | undefined;
342
+ key?: string | undefined;
343
+ } | undefined;
344
+ paginate?: {
345
+ start_after?: string | undefined;
346
+ limit?: bigint | undefined;
347
+ } | undefined;
348
+ order?: {
349
+ desc: boolean;
350
+ field: "keys" | "created_at" | "updated_at";
351
+ } | undefined;
352
+ }, {
353
+ owner?: Uint8Array<ArrayBufferLike> | undefined;
354
+ matcher?: {
355
+ description?: string | undefined;
356
+ created_at?: {
357
+ equal: bigint;
358
+ } | {
359
+ greater_than: bigint;
360
+ } | {
361
+ less_than: bigint;
362
+ } | {
363
+ between: [bigint, bigint];
364
+ } | undefined;
365
+ updated_at?: {
366
+ equal: bigint;
367
+ } | {
368
+ greater_than: bigint;
369
+ } | {
370
+ less_than: bigint;
371
+ } | {
372
+ between: [bigint, bigint];
373
+ } | undefined;
374
+ key?: string | undefined;
375
+ } | undefined;
376
+ paginate?: {
377
+ start_after?: string | undefined;
378
+ limit?: bigint | undefined;
379
+ } | undefined;
380
+ order?: {
381
+ desc: boolean;
382
+ field: "keys" | "created_at" | "updated_at";
383
+ } | undefined;
384
+ }>;
145
385
  /**
146
386
  * Full set of listing parameters.
147
387
  */
@@ -158,12 +398,24 @@ export interface ListParams {
158
398
  * @see JsListResults
159
399
  */
160
400
  export declare const createListResultsSchema: <T extends z.ZodTypeAny>(itemData: T) => z.ZodObject<{
161
- items: z.ZodArray<z.ZodTuple<[z.ZodString, T], null>>;
401
+ items: z.ZodArray<z.ZodTuple<[z.ZodString, T], null>, "many">;
162
402
  items_length: z.ZodBigInt;
163
403
  items_page: z.ZodOptional<z.ZodBigInt>;
164
404
  matches_length: z.ZodBigInt;
165
405
  matches_pages: z.ZodOptional<z.ZodBigInt>;
166
- }, z.core.$strict>;
406
+ }, "strict", z.ZodTypeAny, {
407
+ items: [string, T extends z.ZodType<any, any, any> ? T["_output"] : never][];
408
+ items_length: bigint;
409
+ matches_length: bigint;
410
+ items_page?: bigint | undefined;
411
+ matches_pages?: bigint | undefined;
412
+ }, {
413
+ items: [string, T extends z.ZodType<any, any, any> ? T["_input"] : never][];
414
+ items_length: bigint;
415
+ matches_length: bigint;
416
+ items_page?: bigint | undefined;
417
+ matches_pages?: bigint | undefined;
418
+ }>;
167
419
  /**
168
420
  * List results, parameterized by type of returned item.
169
421
  */
@@ -1,4 +1,4 @@
1
- import * as z from 'zod/v4';
1
+ import * as z from 'zod';
2
2
  /**
3
3
  * @see Timestamp
4
4
  */
@@ -22,7 +22,7 @@ export type Version = z.infer<typeof VersionSchema>;
22
22
  /**
23
23
  * @see RawUserId
24
24
  */
25
- export declare const RawUserIdSchema: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
25
+ export declare const RawUserIdSchema: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
26
26
  /**
27
27
  * Represents a raw user identifier.
28
28
  *
@@ -32,7 +32,7 @@ export type RawUserId = z.infer<typeof RawUserIdSchema>;
32
32
  /**
33
33
  * @see UserId
34
34
  */
35
- export declare const UserIdSchema: z.ZodCustom<import("@dfinity/principal").Principal, import("@dfinity/principal").Principal>;
35
+ export declare const UserIdSchema: z.ZodType<import("@dfinity/principal").Principal, z.ZodTypeDef, import("@dfinity/principal").Principal>;
36
36
  /**
37
37
  * Represents a user identifier.
38
38
  *