Commit eca937e8 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

ts: revient au modèle avec un index principal.

parent 2abc412b
{% extends '@NgModelGenerator/_layout.ts.twig' %}
{% block content %}
export * from 'irstea-ng-model/types';
export * from 'irstea-ng-model';
export * from './resources';
export * from './repositories';
export * from './metadata';
{% endblock content %}
......@@ -6,15 +6,16 @@
{% autoescape false %}
import { Injectable, Provider } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { UUID } from 'irstea-ng-model/types';
import { IRIMetadata, ResourceMetadata } from 'irstea-ng-model/metadata';
import {
AbstractAPIService,
AbstractResourceCache,
APIMeta,
APIRepositoryRegistry,
AbstractAPIService,
AbstractResourceCache,
IRIMetadata,
LazyMetadataRegistry,
} from 'irstea-ng-model/api';
ResourceMetadata,
UUID,
} from 'irstea-ng-model';
import {
{% for repo in repositories %}
......
......@@ -7,9 +7,14 @@
import { Observable } from 'rxjs';
import { HttpResponseBase } from '@angular/common/http';
import { Collection, IRI, RequestOptions, UUID } from 'irstea-ng-model/types';
import { AbstractRepository } from 'irstea-ng-model/api';
import { hasProperty } from 'irstea-ng-model/helpers';
import {
AbstractRepository,
Collection,
IRI,
RequestOptions,
UUID,
hasProperty
} from 'irstea-ng-model';
import { {% for name in repoImports %}
{{ name }}{% if not loop.last %}, {% endif %}
{%- endfor %}
......
......@@ -2,7 +2,7 @@
{% block content %}
{% autoescape false %}
import { DateTime, IRI, UUID } from 'irstea-ng-model/types';
import { DateTime, IRI, UUID } from 'irstea-ng-model';
/*********************************************************************************
* Ressources
......
export * from './api';
export * from './cache';
export * from './helpers';
export * from './metadata';
export * from './types';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment