Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3539991
D11967.id39997.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
694 B
Referenced Files
None
Subscribers
None
D11967.id39997.diff
View Options
diff --git a/lib/types/validators/version-validators.js b/lib/types/validators/version-validators.js
--- a/lib/types/validators/version-validators.js
+++ b/lib/types/validators/version-validators.js
@@ -2,12 +2,12 @@
import t, { type TInterface } from 'tcomb';
-import { tShape } from '../../utils/validation-utils.js';
+import { tShape, tUserID } from '../../utils/validation-utils.js';
import type { VersionResponse } from '../device-types.js';
export const versionResponseValidator: TInterface<VersionResponse> =
tShape<VersionResponse>({
codeVersion: t.Number,
ownerUsername: t.maybe(t.String),
- ownerID: t.maybe(t.String),
+ ownerID: t.maybe(tUserID),
});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 4:16 AM (8 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2707642
Default Alt Text
D11967.id39997.diff (694 B)
Attached To
Mode
D11967: [lib] Use tUserID in version-validators.js
Attached
Detach File
Event Timeline
Log In to Comment