-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First realease Angular Crud with Master Detail
- Loading branch information
1 parent
b6f8cff
commit b0cdc0e
Showing
41 changed files
with
664 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package componentGroup{ | ||
|
||
import services.* | ||
import models.* | ||
|
||
Components{ | ||
Crud BookCrud{ | ||
model: Book; | ||
showAsGallery: true; | ||
enableMock: true; | ||
createService: BookServices.createBook; | ||
updateService: BookServices.updateBook; | ||
listService: BookServices.searchBooks; | ||
listNumService: BookServices.searchNumBooks; | ||
deleteService: BookServices.deleteBook; | ||
getService: BookServices.getBook; | ||
|
||
} | ||
Crud AuthorCrud{ | ||
model: Author; | ||
showAsGallery: true; | ||
enableMock: true; | ||
createService: AuthorServices.createAuthor; | ||
updateService: AuthorServices.updateAuthor; | ||
listService: AuthorServices.searchAuthors; | ||
listNumService: AuthorServices.searchNumAuthors; | ||
deleteService: AuthorServices.deleteAuthor; | ||
getService: AuthorServices.getAuthor; | ||
|
||
} | ||
Crud Review{ | ||
model: Review; | ||
showAsGallery: true; | ||
enableMock: true; | ||
createService: ReviewServices.createReview; | ||
updateService: ReviewServices.updateReview; | ||
listService: ReviewServices.searchReviews; | ||
listNumService: ReviewServices.searchNumReviews; | ||
deleteService: ReviewServices.deleteReview; | ||
getService: ReviewServices.getReview; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import services.* | ||
import models.* | ||
|
||
Components{ | ||
Crud BookCrud{ | ||
model: Book; | ||
showAsGallery: true; | ||
enableMock: false; | ||
createService: BookServices.createBook; | ||
updateService: BookServices.updateBook; | ||
listService: BookServices.searchBooks; | ||
listNumService: BookServices.searchNumBooks; | ||
deleteService: BookServices.deleteBook; | ||
getService: BookServices.getBook; | ||
} | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="ASCII"?> | ||
<generator:Root xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:generator="http://www.academia.uniandes/Generator"> | ||
<elements xsi:type="generator:Import" importedNamespace="services.*"/> | ||
<elements xsi:type="generator:Import" importedNamespace="models.*"/> | ||
<elements xsi:type="generator:Components"> | ||
<components xsi:type="generator:Crud" name="BookCrud" showAsGallery="true"> | ||
<modelData href="platform:/resource/ComponentGenerator/assets/models.angen#//@elements.0/@elements.0/@models.0"/> | ||
<create href="platform:/resource/ComponentGenerator/assets/services.angen#//@elements.0/@elements.1/@services.0"/> | ||
<update href="platform:/resource/ComponentGenerator/assets/services.angen#//@elements.0/@elements.1/@services.1"/> | ||
<list href="platform:/resource/ComponentGenerator/assets/services.angen#//@elements.0/@elements.1/@services.2"/> | ||
<listNum href="platform:/resource/ComponentGenerator/assets/services.angen#//@elements.0/@elements.1/@services.3"/> | ||
<deleteItem href="platform:/resource/ComponentGenerator/assets/services.angen#//@elements.0/@elements.1/@services.5"/> | ||
<get href="platform:/resource/ComponentGenerator/assets/services.angen#//@elements.0/@elements.1/@services.4"/> | ||
</components> | ||
</elements> | ||
</generator:Root> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.