Skip to content

Commit

Permalink
Proposed new format for foreign keys. See #13 WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
MKHenson committed Apr 20, 2016
1 parent 7078ccf commit 8557d49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/dist/definitions/modepress-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ declare module Modepress
export interface IModelEntry
{
_id?: any;
dependencies: Array<{ collection: string, _id : any }>
}

/*
Expand Down
2 changes: 2 additions & 0 deletions server/src/definitions/custom/modepress-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
export interface IModelEntry
{
_id?: any;
requiredDependencies?: Array<{ collection: string, _id : any }>
optionalDependencies?: Array<{ collection: string, _id : any }>
}

/*
Expand Down

0 comments on commit 8557d49

Please sign in to comment.