|
|
@ -66,6 +66,7 @@ function appsRoute(server: FastifyInstance<Server, IncomingMessage, ServerRespon |
|
|
|
a.name, |
|
|
|
a.imageUrl, |
|
|
|
a.coverImageUrl, |
|
|
|
a.iconImageUrl, |
|
|
|
a.about, |
|
|
|
a.websiteUrl, |
|
|
|
a.companyName |
|
|
@ -138,6 +139,7 @@ function selfAppsRoute(server: FastifyInstance<Server, IncomingMessage, ServerRe |
|
|
|
a.name, |
|
|
|
a.imageUrl, |
|
|
|
a.coverImageUrl, |
|
|
|
a.iconImageUrl, |
|
|
|
a.about, |
|
|
|
a.websiteUrl, |
|
|
|
a.companyName |
|
|
@ -166,6 +168,7 @@ function createRoute(server: FastifyInstance<Server, IncomingMessage, ServerResp |
|
|
|
name: string |
|
|
|
imageUrl?: string |
|
|
|
coverImageUrl?: string |
|
|
|
iconImageUrl?: string |
|
|
|
about?: string |
|
|
|
websiteUrl?: string |
|
|
|
companyName?: string |
|
|
@ -187,6 +190,7 @@ function createRoute(server: FastifyInstance<Server, IncomingMessage, ServerResp |
|
|
|
name: { type: 'string' }, |
|
|
|
imageUrl: { type: 'string' }, |
|
|
|
coverImageUrl: { type: 'string' }, |
|
|
|
iconImageUrl: { type: 'string' }, |
|
|
|
about: { type: 'string' }, |
|
|
|
websiteUrl: { type: 'string' }, |
|
|
|
companyName: { type: 'string' }, |
|
|
@ -222,6 +226,7 @@ function createRoute(server: FastifyInstance<Server, IncomingMessage, ServerResp |
|
|
|
name, |
|
|
|
imageUrl, |
|
|
|
coverImageUrl, |
|
|
|
iconImageUrl, |
|
|
|
about, |
|
|
|
websiteUrl, |
|
|
|
companyName, |
|
|
@ -244,6 +249,7 @@ function createRoute(server: FastifyInstance<Server, IncomingMessage, ServerResp |
|
|
|
name, |
|
|
|
imageUrl, |
|
|
|
coverImageUrl, |
|
|
|
iconImageUrl, |
|
|
|
about, |
|
|
|
websiteUrl, |
|
|
|
companyName, |
|
|
@ -279,6 +285,7 @@ function updateRoute(server: FastifyInstance<Server, IncomingMessage, ServerResp |
|
|
|
name: string |
|
|
|
imageUrl?: string |
|
|
|
coverImageUrl?: string |
|
|
|
iconImageUrl?: string |
|
|
|
about?: string |
|
|
|
websiteUrl?: string |
|
|
|
companyName?: string |
|
|
@ -299,6 +306,7 @@ function updateRoute(server: FastifyInstance<Server, IncomingMessage, ServerResp |
|
|
|
version: { type: 'string' }, |
|
|
|
imageUrl: { type: 'string' }, |
|
|
|
coverImageUrl: { type: 'string' }, |
|
|
|
iconImageUrl: { type: 'string' }, |
|
|
|
about: { type: 'string' }, |
|
|
|
websiteUrl: { type: 'string' }, |
|
|
|
companyName: { type: 'string' }, |
|
|
@ -327,6 +335,7 @@ function updateRoute(server: FastifyInstance<Server, IncomingMessage, ServerResp |
|
|
|
name, |
|
|
|
imageUrl, |
|
|
|
coverImageUrl, |
|
|
|
iconImageUrl, |
|
|
|
about, |
|
|
|
websiteUrl, |
|
|
|
companyName, |
|
|
@ -348,6 +357,7 @@ function updateRoute(server: FastifyInstance<Server, IncomingMessage, ServerResp |
|
|
|
name: name || app.name, |
|
|
|
imageUrl, |
|
|
|
coverImageUrl, |
|
|
|
iconImageUrl, |
|
|
|
about, |
|
|
|
websiteUrl, |
|
|
|
companyName, |
|
|
@ -364,6 +374,7 @@ function updateRoute(server: FastifyInstance<Server, IncomingMessage, ServerResp |
|
|
|
name: app.name, |
|
|
|
imageUrl: app.imageUrl, |
|
|
|
coverImageUrl: app.coverImageUrl, |
|
|
|
iconImageUrl: app.iconImageUrl, |
|
|
|
about: app.about, |
|
|
|
websiteUrl: app.websiteUrl, |
|
|
|
companyName: app.companyName, |
|
|
|