WIP - Persistent storage
This commit is contained in:
@@ -134,7 +134,8 @@ export async function getApplication({ id, teamId }) {
|
||||
destinationDocker: true,
|
||||
settings: true,
|
||||
gitSource: { include: { githubApp: true, gitlabApp: true } },
|
||||
secrets: true
|
||||
secrets: true,
|
||||
persistentStorage: true
|
||||
}
|
||||
});
|
||||
|
||||
@@ -268,3 +269,7 @@ export async function createBuild({
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export async function getPersistentStorage(id) {
|
||||
return await prisma.applicationPersistentStorage.findMany({ where: { applicationId: id } });
|
||||
}
|
||||
|
Reference in New Issue
Block a user