@foldcn/registry 0.0.19 → 0.0.20

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.
@@ -41,7 +41,7 @@ export declare const Css: Schema.$Record<Schema.String, Schema.Union<readonly [S
41
41
  */
42
42
  export declare const Item: Schema.Struct<{
43
43
  readonly $schema: Schema.optionalKey<Schema.String>;
44
- readonly name: Schema.String;
44
+ readonly name: Schema.NonEmptyString;
45
45
  readonly type: Schema.Literals<readonly ["registry:ui", "registry:lib", "registry:block", "registry:theme", "registry:file", "registry:example"]>;
46
46
  readonly title: Schema.optionalKey<Schema.String>;
47
47
  readonly description: Schema.optionalKey<Schema.String>;
@@ -74,7 +74,7 @@ export declare const Manifest: Schema.Struct<{
74
74
  readonly homepage: Schema.String;
75
75
  readonly items: Schema.$Array<Schema.Struct<{
76
76
  readonly $schema: Schema.optionalKey<Schema.String>;
77
- readonly name: Schema.String;
77
+ readonly name: Schema.NonEmptyString;
78
78
  readonly type: Schema.Literals<readonly ["registry:ui", "registry:lib", "registry:block", "registry:theme", "registry:file", "registry:example"]>;
79
79
  readonly title: Schema.optionalKey<Schema.String>;
80
80
  readonly description: Schema.optionalKey<Schema.String>;
@@ -38,7 +38,7 @@ export const Css = Schema.Record(Schema.String, Schema.Union([Schema.String, Sch
38
38
  */
39
39
  export const Item = Schema.Struct({
40
40
  $schema: Schema.optionalKey(Schema.String),
41
- name: Schema.String,
41
+ name: Schema.NonEmptyString,
42
42
  type: ItemType,
43
43
  title: Schema.optionalKey(Schema.String),
44
44
  description: Schema.optionalKey(Schema.String),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@foldcn/registry",
4
- "version": "0.0.19",
4
+ "version": "0.0.20",
5
5
  "description": "Registry schemas and pure logic for foldcn",
6
6
  "type": "module",
7
7
  "license": "MIT",