@elek-io/core 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -540,10 +540,10 @@ declare class EntryService extends AbstractCrudService implements ExtendedCrudSe
540
540
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
541
541
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
542
542
  id: string;
543
- name: string;
544
543
  objectType: "asset";
545
544
  created: number;
546
545
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
546
+ name: string;
547
547
  description: string;
548
548
  size: number;
549
549
  absolutePath: string;
package/dist/index.d.ts CHANGED
@@ -540,10 +540,10 @@ declare class EntryService extends AbstractCrudService implements ExtendedCrudSe
540
540
  extension: "avif" | "gif" | "jpg" | "jpeg" | "png" | "svg" | "webp" | "pdf" | "zip" | "mp4" | "webm" | "flac" | "json";
541
541
  mimeType: "image/avif" | "image/gif" | "image/jpeg" | "image/png" | "image/svg+xml" | "image/webp" | "application/pdf" | "application/zip" | "video/mp4" | "video/webm" | "audio/webm" | "audio/flac";
542
542
  id: string;
543
- name: string;
544
543
  objectType: "asset";
545
544
  created: number;
546
545
  language: "bg" | "cs" | "da" | "de" | "el" | "en" | "es" | "et" | "fi" | "fr" | "hu" | "it" | "ja" | "lt" | "lv" | "nl" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sv" | "zh";
546
+ name: string;
547
547
  description: string;
548
548
  size: number;
549
549
  absolutePath: string;
package/dist/index.js CHANGED
@@ -1998,9 +1998,9 @@ var ProjectService = class extends AbstractCrudService {
1998
1998
  }
1999
1999
  const id = uuid6();
2000
2000
  const defaultSettings = {
2001
- locale: {
2002
- default: user.locale,
2003
- supported: [user.locale]
2001
+ language: {
2002
+ default: user.language,
2003
+ supported: [user.language]
2004
2004
  }
2005
2005
  };
2006
2006
  const projectFile = {