[DEV] find how to fix the error but not Ok with the result
This commit is contained in:
parent
c76a339caf
commit
04633240b3
@ -30,7 +30,7 @@
|
|||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"zone.js": "^0.14.4",
|
"zone.js": "^0.14.4",
|
||||||
"zod": "3.22.4",
|
"zod": "3.22.4",
|
||||||
"@kangaroo-and-rabbit/kar-cw": "0.1.5"
|
"@kangaroo-and-rabbit/kar-cw": "^0.1.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^17.3.1",
|
"@angular-devkit/build-angular": "^17.3.1",
|
||||||
|
@ -36,8 +36,8 @@ dependencies:
|
|||||||
specifier: ^17.3.1
|
specifier: ^17.3.1
|
||||||
version: 17.3.1(@angular/common@17.3.1)(@angular/core@17.3.1)(@angular/platform-browser@17.3.1)(rxjs@7.8.1)
|
version: 17.3.1(@angular/common@17.3.1)(@angular/core@17.3.1)(@angular/platform-browser@17.3.1)(rxjs@7.8.1)
|
||||||
'@kangaroo-and-rabbit/kar-cw':
|
'@kangaroo-and-rabbit/kar-cw':
|
||||||
specifier: 0.1.5
|
specifier: ^0.1.5
|
||||||
version: 0.1.5(@angular/common@17.3.1)(@angular/core@17.3.1)
|
version: link:../../kar-cw/dist/kar-cw
|
||||||
rxjs:
|
rxjs:
|
||||||
specifier: ^7.8.1
|
specifier: ^7.8.1
|
||||||
version: 7.8.1
|
version: 7.8.1
|
||||||
@ -2433,17 +2433,6 @@ packages:
|
|||||||
'@jridgewell/sourcemap-codec': 1.4.15
|
'@jridgewell/sourcemap-codec': 1.4.15
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@kangaroo-and-rabbit/kar-cw@0.1.5(@angular/common@17.3.1)(@angular/core@17.3.1):
|
|
||||||
resolution: {integrity: sha512-c3TAH3mMVo8kv+QAqaaPhQ1Sh4Bztrz9ERZSWmLwZyXmfcXfPxraLEFQ52p18RZAcwFeWUfiLhFC/6fbKayuVQ==, tarball: https://gitea.atria-soft.org/api/packages/kangaroo-and-rabbit/npm/%40kangaroo-and-rabbit%2Fkar-cw/-/0.1.5/kar-cw-0.1.5.tgz}
|
|
||||||
peerDependencies:
|
|
||||||
'@angular/common': ^17.3.0
|
|
||||||
'@angular/core': ^17.3.0
|
|
||||||
dependencies:
|
|
||||||
'@angular/common': 17.3.1(@angular/core@17.3.1)(rxjs@7.8.1)
|
|
||||||
'@angular/core': 17.3.1(rxjs@7.8.1)(zone.js@0.14.4)
|
|
||||||
tslib: 2.6.2
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/@leichtgewicht/ip-codec@2.0.4:
|
/@leichtgewicht/ip-codec@2.0.4:
|
||||||
resolution: {integrity: sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==}
|
resolution: {integrity: sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==}
|
||||||
dev: true
|
dev: true
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { BrowserModule } from '@angular/platform-browser';
|
import { BrowserModule } from '@angular/platform-browser';
|
||||||
import { NgModule } from '@angular/core';
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA, NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
import { HttpClientModule } from '@angular/common/http';
|
import { HttpClientModule } from '@angular/common/http';
|
||||||
import { AppRoutingModule } from './app-routing.module';
|
import { AppRoutingModule } from './app-routing.module';
|
||||||
@ -82,5 +82,6 @@ import { KarCWModule } from '@kangaroo-and-rabbit/kar-cw';
|
|||||||
bootstrap: [
|
bootstrap: [
|
||||||
AppComponent
|
AppComponent
|
||||||
],
|
],
|
||||||
|
schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA],
|
||||||
})
|
})
|
||||||
export class AppModule { }
|
export class AppModule { }
|
||||||
|
@ -76,7 +76,7 @@ export namespace DataResource {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Get back some data from the data environment (with a beautifull name (permit download with basic name)
|
* Get back some data from the data environment (with a beautiful name (permit download with basic name)
|
||||||
*/
|
*/
|
||||||
// TODO: unmanaged "Response" type: please specify @AsyncType or considered as 'void'.
|
// TODO: unmanaged "Response" type: please specify @AsyncType or considered as 'void'.
|
||||||
export function retrieveDataFull({ restConfig, queries, params, data, }: {
|
export function retrieveDataFull({ restConfig, queries, params, data, }: {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/**
|
/**
|
||||||
* API of the server (auto-generated code)
|
* API of the server (auto-generated code)
|
||||||
*/
|
*/
|
||||||
import { HTTPMimeType, HTTPRequestModel, RESTConfig, RESTRequestJson, RESTRequestJsonArray, RESTRequestVoid } from "./rest-tools"
|
import { HTTPMimeType, HTTPRequestModel, ModelResponseHttp, RESTConfig, RESTRequestJson, RESTRequestJsonArray, RESTRequestVoid } from "./rest-tools"
|
||||||
import { UUID, Long, Gender, isGender, } from "./model"
|
import {UUID, Long, Gender, isGender, } from "./model"
|
||||||
export namespace GenderResource {
|
export namespace GenderResource {
|
||||||
|
|
||||||
export function remove({ restConfig, params, }: {
|
export function remove({ restConfig, params, }: {
|
||||||
|
@ -10,8 +10,7 @@ import { Playlist, PlaylistResource, UUID } from 'app/back-api';
|
|||||||
import { RESTConfig } from 'app/back-api/rest-tools';
|
import { RESTConfig } from 'app/back-api/rest-tools';
|
||||||
import { environment } from 'environments/environment';
|
import { environment } from 'environments/environment';
|
||||||
import { GenericDataService } from './GenericDataService';
|
import { GenericDataService } from './GenericDataService';
|
||||||
import { SessionService } from '@kangaroo-and-rabbit/kar-cw/service';
|
import { SessionService, DataStore } from '@kangaroo-and-rabbit/kar-cw';
|
||||||
import { DataStore } from '@kangaroo-and-rabbit/kar-cw/utils/data-store';
|
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class PlaylistService extends GenericDataService<Playlist> {
|
export class PlaylistService extends GenericDataService<Playlist> {
|
||||||
|
@ -10,10 +10,7 @@ import { RESTConfig } from 'app/back-api/rest-tools';
|
|||||||
import { environment } from 'environments/environment';
|
import { environment } from 'environments/environment';
|
||||||
import { Track, TrackResource, UUID } from 'app/back-api';
|
import { Track, TrackResource, UUID } from 'app/back-api';
|
||||||
import { GenericDataService } from './GenericDataService';
|
import { GenericDataService } from './GenericDataService';
|
||||||
import { TypeCheck, isArrayOf, isNumber } from '@kangaroo-and-rabbit/kar-cw/utils';
|
import { TypeCheck, isArrayOf, isNumber, DataStore, DataTools, SessionService } from '@kangaroo-and-rabbit/kar-cw';
|
||||||
import { SessionService } from '@kangaroo-and-rabbit/kar-cw';
|
|
||||||
import { DataTools } from '@kangaroo-and-rabbit/kar-cw/utils/data-tools';
|
|
||||||
import { DataStore } from '@kangaroo-and-rabbit/kar-cw/utils/data-store';
|
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class TrackService extends GenericDataService<Track> {
|
export class TrackService extends GenericDataService<Track> {
|
||||||
|
@ -35,3 +35,8 @@ docker push gitea.atria-soft.org/kangaroo-and-rabbit/karusic:latest
|
|||||||
|
|
||||||
convert in an angular application:
|
convert in an angular application:
|
||||||
https://betterprogramming.pub/how-to-convert-your-angular-application-to-a-native-mobile-app-android-and-ios-c212b38976df
|
https://betterprogramming.pub/how-to-convert-your-angular-application-to-a-native-mobile-app-android-and-ios-c212b38976df
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
pnpm link ../../kar-cw/dist/kar-cw/
|
||||||
|
Loading…
Reference in New Issue
Block a user