@alepha/devtools 0.10.2 → 0.10.4

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.
@@ -1,14 +1,14 @@
1
1
  import { type Static, t } from "@alepha/core";
2
2
 
3
3
  export const devActionMetadataSchema = t.object({
4
- name: t.string(),
5
- group: t.string(),
6
- method: t.string(),
7
- path: t.string(),
8
- prefix: t.string(),
9
- fullPath: t.string(),
10
- description: t.optional(t.string()),
11
- summary: t.optional(t.string()),
4
+ name: t.text(),
5
+ group: t.text(),
6
+ method: t.text(),
7
+ path: t.text(),
8
+ prefix: t.text(),
9
+ fullPath: t.text(),
10
+ description: t.optional(t.text()),
11
+ summary: t.optional(t.text()),
12
12
  disabled: t.optional(t.boolean()),
13
13
  secure: t.optional(t.boolean()),
14
14
  hide: t.optional(t.boolean()),
@@ -16,7 +16,7 @@ export const devActionMetadataSchema = t.object({
16
16
  params: t.optional(t.any()),
17
17
  query: t.optional(t.any()),
18
18
  response: t.optional(t.any()),
19
- bodyContentType: t.optional(t.string()),
19
+ bodyContentType: t.optional(t.text()),
20
20
  });
21
21
 
22
22
  export type DevActionMetadata = Static<typeof devActionMetadataSchema>;
@@ -1,11 +1,11 @@
1
1
  import { type Static, t } from "@alepha/core";
2
2
 
3
3
  export const devBucketMetadataSchema = t.object({
4
- name: t.string(),
5
- description: t.optional(t.string()),
6
- mimeTypes: t.optional(t.array(t.string())),
4
+ name: t.text(),
5
+ description: t.optional(t.text()),
6
+ mimeTypes: t.optional(t.array(t.text())),
7
7
  maxSize: t.optional(t.number()),
8
- provider: t.string(),
8
+ provider: t.text(),
9
9
  });
10
10
 
11
11
  export type DevBucketMetadata = Static<typeof devBucketMetadataSchema>;
@@ -1,10 +1,10 @@
1
1
  import { type Static, t } from "@alepha/core";
2
2
 
3
3
  export const devCacheMetadataSchema = t.object({
4
- name: t.string(),
4
+ name: t.text(),
5
5
  ttl: t.optional(t.any()),
6
6
  disabled: t.optional(t.boolean()),
7
- provider: t.string(),
7
+ provider: t.text(),
8
8
  });
9
9
 
10
10
  export type DevCacheMetadata = Static<typeof devCacheMetadataSchema>;
@@ -2,7 +2,7 @@ import { type Static, t } from "@alepha/core";
2
2
  import type { LogEntry } from "@alepha/logger";
3
3
 
4
4
  export const devLogEntrySchema = t.object({
5
- formatted: t.string(),
5
+ formatted: t.text(),
6
6
  entry: t.any(), // Use any since LogEntry has Date instead of string for timestamp
7
7
  });
8
8
 
@@ -2,7 +2,6 @@ import { type Static, t } from "@alepha/core";
2
2
  import { devActionMetadataSchema } from "./DevActionMetadata.ts";
3
3
  import { devBucketMetadataSchema } from "./DevBucketMetadata.ts";
4
4
  import { devCacheMetadataSchema } from "./DevCacheMetadata.ts";
5
- import { devLogEntrySchema } from "./DevLogEntry.ts";
6
5
  import { devModuleMetadataSchema } from "./DevModuleMetadata.ts";
7
6
  import { devPageMetadataSchema } from "./DevPageMetadata.ts";
8
7
  import { devProviderMetadataSchema } from "./DevProviderMetadata.ts";
@@ -12,7 +11,6 @@ import { devSchedulerMetadataSchema } from "./DevSchedulerMetadata.ts";
12
11
  import { devTopicMetadataSchema } from "./DevTopicMetadata.ts";
13
12
 
14
13
  export const devMetadataSchema = t.object({
15
- logs: t.array(devLogEntrySchema),
16
14
  actions: t.array(devActionMetadataSchema),
17
15
  queues: t.array(devQueueMetadataSchema),
18
16
  schedulers: t.array(devSchedulerMetadataSchema),
@@ -1,8 +1,8 @@
1
1
  import { type Static, t } from "@alepha/core";
2
2
 
3
3
  export const devModuleMetadataSchema = t.object({
4
- name: t.string(),
5
- providers: t.array(t.string()),
4
+ name: t.text(),
5
+ providers: t.array(t.text()),
6
6
  });
7
7
 
8
8
  export type DevModuleMetadata = Static<typeof devModuleMetadataSchema>;
@@ -1,9 +1,9 @@
1
1
  import { type Static, t } from "@alepha/core";
2
2
 
3
3
  export const devPageMetadataSchema = t.object({
4
- name: t.string(),
5
- description: t.optional(t.string()),
6
- path: t.optional(t.string()),
4
+ name: t.text(),
5
+ description: t.optional(t.text()),
6
+ path: t.optional(t.text()),
7
7
  params: t.optional(t.any()),
8
8
  query: t.optional(t.any()),
9
9
  hasComponent: t.boolean(),
@@ -1,10 +1,10 @@
1
1
  import { type Static, t } from "@alepha/core";
2
2
 
3
3
  export const devProviderMetadataSchema = t.object({
4
- name: t.string(),
5
- module: t.optional(t.string()),
6
- dependencies: t.array(t.string()),
7
- aliases: t.optional(t.array(t.string())),
4
+ name: t.text(),
5
+ module: t.optional(t.text()),
6
+ dependencies: t.array(t.text()),
7
+ aliases: t.optional(t.array(t.text())),
8
8
  });
9
9
 
10
10
  export type DevProviderMetadata = Static<typeof devProviderMetadataSchema>;
@@ -1,10 +1,10 @@
1
1
  import { type Static, t } from "@alepha/core";
2
2
 
3
3
  export const devQueueMetadataSchema = t.object({
4
- name: t.string(),
5
- description: t.optional(t.string()),
4
+ name: t.text(),
5
+ description: t.optional(t.text()),
6
6
  schema: t.optional(t.any()),
7
- provider: t.string(),
7
+ provider: t.text(),
8
8
  });
9
9
 
10
10
  export type DevQueueMetadata = Static<typeof devQueueMetadataSchema>;
@@ -1,8 +1,8 @@
1
1
  import { type Static, t } from "@alepha/core";
2
2
 
3
3
  export const devRealmMetadataSchema = t.object({
4
- name: t.string(),
5
- description: t.optional(t.string()),
4
+ name: t.text(),
5
+ description: t.optional(t.text()),
6
6
  roles: t.optional(t.array(t.any())),
7
7
  type: t.enum(["internal", "external"]),
8
8
  settings: t.optional(
@@ -1,9 +1,9 @@
1
1
  import { type Static, t } from "@alepha/core";
2
2
 
3
3
  export const devSchedulerMetadataSchema = t.object({
4
- name: t.string(),
5
- description: t.optional(t.string()),
6
- cron: t.optional(t.string()),
4
+ name: t.text(),
5
+ description: t.optional(t.text()),
6
+ cron: t.optional(t.text()),
7
7
  interval: t.optional(t.any()),
8
8
  lock: t.optional(t.boolean()),
9
9
  });
@@ -1,10 +1,10 @@
1
1
  import { type Static, t } from "@alepha/core";
2
2
 
3
3
  export const devTopicMetadataSchema = t.object({
4
- name: t.string(),
5
- description: t.optional(t.string()),
4
+ name: t.text(),
5
+ description: t.optional(t.text()),
6
6
  schema: t.optional(t.any()),
7
- provider: t.string(),
7
+ provider: t.text(),
8
8
  });
9
9
 
10
10
  export type DevTopicMetadata = Static<typeof devTopicMetadataSchema>;