@seelen-ui/lib 2.2.6-next.20250419142521 → 2.2.6-next.20250420192025
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/esm/types/Resource.d.ts +7 -7
- package/esm/types/Resource.d.ts.map +1 -1
- package/esm/types/ResourceKind.d.ts +1 -1
- package/esm/types/ResourceStatus.d.ts +1 -1
- package/package.json +1 -1
- package/script/types/Resource.d.ts +7 -7
- package/script/types/Resource.d.ts.map +1 -1
- package/script/types/ResourceKind.d.ts +1 -1
- package/script/types/ResourceStatus.d.ts +1 -1
package/esm/types/Resource.d.ts
CHANGED
|
@@ -3,25 +3,25 @@ import type { ResourceKind } from "./ResourceKind.js";
|
|
|
3
3
|
import type { ResourceMetadata } from "./ResourceMetadata.js";
|
|
4
4
|
import type { ResourceStatus } from "./ResourceStatus.js";
|
|
5
5
|
export type Resource = {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
id: string;
|
|
7
|
+
creatorId: string;
|
|
8
8
|
/**
|
|
9
9
|
* visual id composed of creator username and resource name
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
friendlyId: ResourceId;
|
|
12
12
|
metadata: ResourceMetadata;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
15
|
status: ResourceStatus;
|
|
16
16
|
/**
|
|
17
17
|
* should be filled if `status == ResourceStatus::Deleted`
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
deletedAt: string | null;
|
|
20
20
|
version: number;
|
|
21
21
|
kind: ResourceKind;
|
|
22
22
|
/**
|
|
23
23
|
* id of the document containing the resource
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
dataId: string;
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=Resource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Resource.d.ts","sourceRoot":"","sources":["../../src/types/Resource.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,QAAQ,GAAG;IAAE,
|
|
1
|
+
{"version":3,"file":"Resource.d.ts","sourceRoot":"","sources":["../../src/types/Resource.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,QAAQ,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IACvD;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IAAC,QAAQ,EAAE,gBAAgB,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,cAAc,CAAC;IACjH;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,YAAY,CAAC;IAC9D;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAAE,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type ResourceKind = "
|
|
1
|
+
export type ResourceKind = "Theme" | "IconPack" | "Widget" | "Plugin" | "Wallpaper" | "SoundPack";
|
|
2
2
|
//# sourceMappingURL=ResourceKind.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type ResourceStatus = "
|
|
1
|
+
export type ResourceStatus = "Draft" | "Reviewing" | "Published" | "Deleted";
|
|
2
2
|
//# sourceMappingURL=ResourceStatus.d.ts.map
|
package/package.json
CHANGED
|
@@ -3,25 +3,25 @@ import type { ResourceKind } from "./ResourceKind.js";
|
|
|
3
3
|
import type { ResourceMetadata } from "./ResourceMetadata.js";
|
|
4
4
|
import type { ResourceStatus } from "./ResourceStatus.js";
|
|
5
5
|
export type Resource = {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
id: string;
|
|
7
|
+
creatorId: string;
|
|
8
8
|
/**
|
|
9
9
|
* visual id composed of creator username and resource name
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
friendlyId: ResourceId;
|
|
12
12
|
metadata: ResourceMetadata;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
15
|
status: ResourceStatus;
|
|
16
16
|
/**
|
|
17
17
|
* should be filled if `status == ResourceStatus::Deleted`
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
deletedAt: string | null;
|
|
20
20
|
version: number;
|
|
21
21
|
kind: ResourceKind;
|
|
22
22
|
/**
|
|
23
23
|
* id of the document containing the resource
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
dataId: string;
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=Resource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Resource.d.ts","sourceRoot":"","sources":["../../src/types/Resource.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,QAAQ,GAAG;IAAE,
|
|
1
|
+
{"version":3,"file":"Resource.d.ts","sourceRoot":"","sources":["../../src/types/Resource.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,QAAQ,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IACvD;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IAAC,QAAQ,EAAE,gBAAgB,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,cAAc,CAAC;IACjH;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,YAAY,CAAC;IAC9D;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAAE,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type ResourceKind = "
|
|
1
|
+
export type ResourceKind = "Theme" | "IconPack" | "Widget" | "Plugin" | "Wallpaper" | "SoundPack";
|
|
2
2
|
//# sourceMappingURL=ResourceKind.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type ResourceStatus = "
|
|
1
|
+
export type ResourceStatus = "Draft" | "Reviewing" | "Published" | "Deleted";
|
|
2
2
|
//# sourceMappingURL=ResourceStatus.d.ts.map
|