Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "kalidarscope"

any update on this?

After adding the above code, I tried to run refresh.bat, but I am getting the following error.

I did not use any of my code, so from which library is this class coming?

Yes, I searched my project, but that class does not exist.

Below class was generated in service-proxies.ts

export class Duration implements IDuration { negative!: boolean; years!: number; months!: number; days!: number; hours!: number; minutes!: number; seconds!: number;

constructor(data?: IDuration) {
    if (data) {
        for (var property in data) {
            if (data.hasOwnProperty(property))
                (<any>this)[property] = (<any>data)[property];
        }
    }
}

init(_data?: any) {
    if (_data) {
        this.negative = _data["negative"];
        this.years = _data["years"];
        this.months = _data["months"];
        this.days = _data["days"];
        this.hours = _data["hours"];
        this.minutes = _data["minutes"];
        this.seconds = _data["seconds"];
    }
}

static fromJS(data: any): Duration {
    data = typeof data === 'object' ? data : {};
    let result = new Duration();
    result.init(data);
    return result;
}

toJSON(data?: any) {
    data = typeof data === 'object' ? data : {};
    data["negative"] = this.negative;
    data["years"] = this.years;
    data["months"] = this.months;
    data["days"] = this.days;
    data["hours"] = this.hours;
    data["minutes"] = this.minutes;
    data["seconds"] = this.seconds;
    return data;
}

}

export interface IDuration { negative: boolean; years: number; months: number; days: number; hours: number; minutes: number; seconds: number; }

How is the above Duration class generated? Because of this class, the import import { DateTime, Duration } from "luxon"; is causing an error.

Yes, we removed it from service-proxies.ts, but it gets automatically regenerated when we run refresh.bat.

Hi m.aliozkaya, This is product we cant share and can we schedule call?

project version 13.2.0

any update on this issue?

Could you please help me to this issue?

Showing 1 to 10 of 121 entries