@ubiquity-os/plugin-sdk 3.4.3 → 3.4.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.
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ import * as _ubiquity_os_ubiquity_os_logger from '@ubiquity-os/ubiquity-os-logge
3
3
  import { LogReturn, Metadata, Logs, LogLevel } from '@ubiquity-os/ubiquity-os-logger';
4
4
  import { RestEndpointMethodTypes } from '@octokit/plugin-rest-endpoint-methods';
5
5
  import { customOctokit } from './octokit.mjs';
6
- import { TAnySchema } from '@sinclair/typebox';
6
+ import { TSchema, TAnySchema } from '@sinclair/typebox';
7
7
  import * as hono_types from 'hono/types';
8
8
  import { Hono } from 'hono';
9
9
  import { Manifest } from './manifest.mjs';
@@ -116,13 +116,13 @@ interface Context<TConfig = unknown, TEnv = unknown, TCommand = unknown, TSuppor
116
116
  type Return = Record<string, unknown> | undefined | void;
117
117
  type HandlerReturn = Promise<Return> | Return;
118
118
 
119
- interface Options$1 {
119
+ interface Options$1<TEnvSchema extends TSchema = TAnySchema, TCommandSchema extends TSchema = TAnySchema> {
120
120
  kernelPublicKey?: string;
121
121
  logLevel?: LogLevel;
122
122
  postCommentOnError?: boolean;
123
123
  settingsSchema?: TAnySchema;
124
- envSchema?: TAnySchema;
125
- commandSchema?: TAnySchema;
124
+ envSchema?: TEnvSchema;
125
+ commandSchema?: TCommandSchema;
126
126
  /**
127
127
  * @deprecated This disables signature verification - only for local development
128
128
  */
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as _ubiquity_os_ubiquity_os_logger from '@ubiquity-os/ubiquity-os-logge
3
3
  import { LogReturn, Metadata, Logs, LogLevel } from '@ubiquity-os/ubiquity-os-logger';
4
4
  import { RestEndpointMethodTypes } from '@octokit/plugin-rest-endpoint-methods';
5
5
  import { customOctokit } from './octokit.js';
6
- import { TAnySchema } from '@sinclair/typebox';
6
+ import { TSchema, TAnySchema } from '@sinclair/typebox';
7
7
  import * as hono_types from 'hono/types';
8
8
  import { Hono } from 'hono';
9
9
  import { Manifest } from './manifest.js';
@@ -116,13 +116,13 @@ interface Context<TConfig = unknown, TEnv = unknown, TCommand = unknown, TSuppor
116
116
  type Return = Record<string, unknown> | undefined | void;
117
117
  type HandlerReturn = Promise<Return> | Return;
118
118
 
119
- interface Options$1 {
119
+ interface Options$1<TEnvSchema extends TSchema = TAnySchema, TCommandSchema extends TSchema = TAnySchema> {
120
120
  kernelPublicKey?: string;
121
121
  logLevel?: LogLevel;
122
122
  postCommentOnError?: boolean;
123
123
  settingsSchema?: TAnySchema;
124
- envSchema?: TAnySchema;
125
- commandSchema?: TAnySchema;
124
+ envSchema?: TEnvSchema;
125
+ commandSchema?: TCommandSchema;
126
126
  /**
127
127
  * @deprecated This disables signature verification - only for local development
128
128
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ubiquity-os/plugin-sdk",
3
- "version": "3.4.3",
3
+ "version": "3.4.4",
4
4
  "description": "SDK for plugin support.",
5
5
  "author": "Ubiquity DAO",
6
6
  "license": "MIT",