Improve readme (#14858)
This commit is contained in:
+2
-2
@@ -105,7 +105,7 @@ export class ApplicationSyncService {
|
||||
|
||||
return await this.applicationService.create({
|
||||
universalIdentifier: manifest.universalIdentifier,
|
||||
label: manifest.label,
|
||||
name: manifest.name,
|
||||
description: manifest.description,
|
||||
version: manifest.version,
|
||||
sourcePath: 'cli-sync', // Placeholder for CLI-synced apps
|
||||
@@ -123,7 +123,7 @@ export class ApplicationSyncService {
|
||||
);
|
||||
|
||||
await this.applicationService.update(application.id, {
|
||||
label: manifest.label,
|
||||
name: manifest.name,
|
||||
description: manifest.description,
|
||||
version: manifest.version,
|
||||
});
|
||||
|
||||
@@ -37,7 +37,7 @@ export class ApplicationEntity {
|
||||
universalIdentifier?: string;
|
||||
|
||||
@Column({ nullable: false, type: 'text' })
|
||||
label: string;
|
||||
name: string;
|
||||
|
||||
@Column({ nullable: true, type: 'text' })
|
||||
description: string | null;
|
||||
|
||||
@@ -33,7 +33,7 @@ export class ApplicationService {
|
||||
|
||||
async create(data: {
|
||||
universalIdentifier?: string;
|
||||
label: string;
|
||||
name: string;
|
||||
description?: string;
|
||||
version?: string;
|
||||
serverlessFunctionLayerId: string;
|
||||
@@ -51,7 +51,7 @@ export class ApplicationService {
|
||||
async update(
|
||||
id: string,
|
||||
data: {
|
||||
label?: string;
|
||||
name?: string;
|
||||
description?: string;
|
||||
version?: string;
|
||||
sourcePath?: string;
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ import { type ServerlessFunctionCode } from 'src/engine/metadata-modules/serverl
|
||||
export type PackageJson = {
|
||||
$schema?: string;
|
||||
universalIdentifier: string;
|
||||
label: string;
|
||||
name: string;
|
||||
description?: string;
|
||||
engines: {
|
||||
node: string;
|
||||
|
||||
Reference in New Issue
Block a user