Skip to content

Commit

Permalink
Add comments noting which database field
Browse files Browse the repository at this point in the history
  • Loading branch information
FyreByrd committed Sep 2, 2024
1 parent 266901e commit 98b0b17
Showing 1 changed file with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@ import type { PageServerLoad } from './$types';
import { prisma } from 'sil.appbuilder.portal.common';

type Fields = {
user?: string;
email?: string;
name: string;
description: string;
store?: string;
listingLanguage?: string;
projectURL?: string;
product?: string;
appType?: string;
langCode?: string;
user?: string; //Product.Project.Owner.Name
email?: string; //Product.Project.Owner.Email
name: string; //Product.Project.Name
description: string; //Product.Project.Description
store?: string; //Product.Store.Name
listingLanguage?: string; //Product.StoreLanguage.Name
projectURL?: string; //Product.Project.WorkflowAppProjectURL?
product?: string; //Product.ProductDefinition.Name?
appType?: string; //Product.ProductDefinition.ApplicationTypes.Name
langCode?: string; //Product.Project.Language?
}

//replace with Product.ProductArtifacts
type File = {
BuildId: number;
Type: string;
Expand All @@ -22,6 +23,7 @@ type File = {
Id: number;
};

//replace with Product.Project.Reviewers
type User = {
Id: number;
Name: string;
Expand Down

0 comments on commit 98b0b17

Please sign in to comment.