@ubiquity-os/plugin-sdk 1.0.6 → 1.0.7

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
@@ -6,18 +6,21 @@ import { Logs, LogLevel, LogReturn } from '@ubiquity-os/ubiquity-os-logger';
6
6
  import { Hono } from 'hono';
7
7
  import * as _octokit_core_dist_types_types from '@octokit/core/dist-types/types';
8
8
  import * as _octokit_plugin_paginate_graphql from '@octokit/plugin-paginate-graphql';
9
- import * as _octokit_plugin_rest_endpoint_methods from '@octokit/plugin-rest-endpoint-methods';
10
- import * as _octokit_plugin_paginate_rest from '@octokit/plugin-paginate-rest';
11
9
  import * as _octokit_request_error from '@octokit/request-error';
12
- import { Octokit } from '@octokit/core';
10
+ import * as _octokit_plugin_paginate_rest from '@octokit/plugin-paginate-rest';
11
+ import * as _octokit_plugin_rest_endpoint_methods from '@octokit/plugin-rest-endpoint-methods';
12
+ import * as _octokit_plugin_rest_endpoint_methods_dist_types_generated_method_types from '@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types';
13
+ import * as _octokit_core from '@octokit/core';
13
14
 
14
- declare const customOctokit: typeof Octokit & _octokit_core_dist_types_types.Constructor<{
15
+ declare const customOctokit: typeof _octokit_core.Octokit & (new (...args: any[]) => _octokit_plugin_rest_endpoint_methods_dist_types_generated_method_types.RestEndpointMethods & _octokit_plugin_rest_endpoint_methods.Api & {
16
+ paginate: _octokit_plugin_paginate_rest.PaginateInterface;
17
+ }) & _octokit_core_dist_types_types.Constructor<_octokit_plugin_rest_endpoint_methods.Api & {
15
18
  retry: {
16
19
  retryRequest: (error: _octokit_request_error.RequestError, retries: number, retryAfter: number) => _octokit_request_error.RequestError;
17
20
  };
18
21
  } & {
19
22
  paginate: _octokit_plugin_paginate_rest.PaginateInterface;
20
- } & _octokit_plugin_rest_endpoint_methods.Api & _octokit_plugin_paginate_graphql.paginateGraphQLInterface>;
23
+ } & _octokit_plugin_paginate_graphql.paginateGraphQLInterface>;
21
24
 
22
25
  interface Context<TConfig = unknown, TEnv = unknown, TSupportedEvents extends EmitterWebhookEventName = EmitterWebhookEventName> {
23
26
  eventName: TSupportedEvents;
package/dist/index.d.ts CHANGED
@@ -6,18 +6,21 @@ import { Logs, LogLevel, LogReturn } from '@ubiquity-os/ubiquity-os-logger';
6
6
  import { Hono } from 'hono';
7
7
  import * as _octokit_core_dist_types_types from '@octokit/core/dist-types/types';
8
8
  import * as _octokit_plugin_paginate_graphql from '@octokit/plugin-paginate-graphql';
9
- import * as _octokit_plugin_rest_endpoint_methods from '@octokit/plugin-rest-endpoint-methods';
10
- import * as _octokit_plugin_paginate_rest from '@octokit/plugin-paginate-rest';
11
9
  import * as _octokit_request_error from '@octokit/request-error';
12
- import { Octokit } from '@octokit/core';
10
+ import * as _octokit_plugin_paginate_rest from '@octokit/plugin-paginate-rest';
11
+ import * as _octokit_plugin_rest_endpoint_methods from '@octokit/plugin-rest-endpoint-methods';
12
+ import * as _octokit_plugin_rest_endpoint_methods_dist_types_generated_method_types from '@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types';
13
+ import * as _octokit_core from '@octokit/core';
13
14
 
14
- declare const customOctokit: typeof Octokit & _octokit_core_dist_types_types.Constructor<{
15
+ declare const customOctokit: typeof _octokit_core.Octokit & (new (...args: any[]) => _octokit_plugin_rest_endpoint_methods_dist_types_generated_method_types.RestEndpointMethods & _octokit_plugin_rest_endpoint_methods.Api & {
16
+ paginate: _octokit_plugin_paginate_rest.PaginateInterface;
17
+ }) & _octokit_core_dist_types_types.Constructor<_octokit_plugin_rest_endpoint_methods.Api & {
15
18
  retry: {
16
19
  retryRequest: (error: _octokit_request_error.RequestError, retries: number, retryAfter: number) => _octokit_request_error.RequestError;
17
20
  };
18
21
  } & {
19
22
  paginate: _octokit_plugin_paginate_rest.PaginateInterface;
20
- } & _octokit_plugin_rest_endpoint_methods.Api & _octokit_plugin_paginate_graphql.paginateGraphQLInterface>;
23
+ } & _octokit_plugin_paginate_graphql.paginateGraphQLInterface>;
21
24
 
22
25
  interface Context<TConfig = unknown, TEnv = unknown, TSupportedEvents extends EmitterWebhookEventName = EmitterWebhookEventName> {
23
26
  eventName: TSupportedEvents;