1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-05 17:53:12 +02:00

update archivedAt to date-time

This commit is contained in:
andreas-unleash 2022-06-23 08:53:25 +03:00
parent 761f8717ed
commit 6aa8d7fa09
2 changed files with 10 additions and 5 deletions

View File

@ -43,7 +43,7 @@ export const featureSchema = {
}, },
archivedAt: { archivedAt: {
type: 'string', type: 'string',
format: 'date', format: 'date-time',
nullable: true, nullable: true,
}, },
lastSeenAt: { lastSeenAt: {

View File

@ -24,12 +24,12 @@ exports[`should serve the OpenAPI UI 1`] = `
background: #fafafa; background: #fafafa;
} }
</style> </style>
<link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"./swagger-ui.css\\" > <link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"./swagger-ui.css\\" >
</head> </head>
<body> <body>
<div id=\\"swagger-ui\\"></div> <div id=\\"swagger-ui\\"></div>
<script src=\\"./swagger-ui-bundle.js\\"></script> <script src=\\"./swagger-ui-bundle.js\\"></script>
<script src=\\"./swagger-ui-standalone-preset.js\\"></script> <script src=\\"./swagger-ui-standalone-preset.js\\"></script>
@ -41,7 +41,7 @@ exports[`should serve the OpenAPI UI 1`] = `
}) })
} }
</script> </script>
</body> </body>
</html> </html>
" "
@ -632,6 +632,11 @@ Object {
"archived": Object { "archived": Object {
"type": "boolean", "type": "boolean",
}, },
"archivedAt": Object {
"format": "date-time",
"nullable": true,
"type": "string",
},
"createdAt": Object { "createdAt": Object {
"format": "date-time", "format": "date-time",
"nullable": true, "nullable": true,