Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Bundles Symfony 2
ng-model-generator-bundle
Commits
51067811
Commit
51067811
authored
Feb 17, 2021
by
Guillaume Perréal
Browse files
Corrige le nom des paquets dans les imports des templates TS.
parent
1b3fb9f4
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/php/Resources/views/index.ts.twig
View file @
51067811
{%
extends
'@NgModelGenerator/_layout.ts.twig'
%}
{%
block
content
%}
export * from 'irstea-ng-model
/types
';
export * from 'irstea-ng-model';
export * from './resources';
export * from './repositories';
...
...
src/php/Resources/views/metadata.ts.twig
View file @
51067811
...
...
@@ -15,7 +15,7 @@ import {
LazyMetadataRegistry,
ResourceMetadata,
UUID,
} from 'irstea-ng-model
/types
';
} from 'irstea-ng-model';
import {
{%
for
repo
in
repositories
%}
...
...
src/php/Resources/views/repositories.ts.twig
View file @
51067811
...
...
@@ -7,8 +7,7 @@
import { Observable } from 'rxjs';
import { HttpResponseBase } from '@angular/common/http';
// @ts-ignore
import { AbstractRepository, Collection, IRI, RequestOptions, UUID } from 'irstea-ng-model/types';
import { AbstractRepository, Collection, IRI, RequestOptions, UUID } from 'irstea-ng-model';
import {
{%
for
name
in
repoImports
%}
{{
name
}}{%
if
not
loop.last
%}
,
{%
endif
%}
{%
-
endfor
%}
...
...
src/php/Resources/views/resources.ts.twig
View file @
51067811
...
...
@@ -2,8 +2,7 @@
{%
block
content
%}
{%
autoescape
false
%}
// @ts-ignore
import { DateTime, IRI, UUID } from 'irstea-ng-model/types';
import { DateTime, IRI, UUID } from 'irstea-ng-model';
/*********************************************************************************
* Ressources
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment