@dyrected/core 2.5.29 → 2.5.32

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/server.d.cts CHANGED
@@ -1,9 +1,10 @@
1
1
  import * as hono_types from 'hono/types';
2
2
  import * as hono from 'hono';
3
3
  import { Hono, Context } from 'hono';
4
- import { D as DyrectedConfig, C as CollectionConfig, G as GlobalConfig } from './index-Bp7PDOYG.cjs';
4
+ import { D as DyrectedConfig, C as CollectionConfig, G as GlobalConfig } from './index-CdQwnbfh.cjs';
5
5
  import * as hono_utils_http_status from 'hono/utils/http-status';
6
6
  import * as hono_utils_types from 'hono/utils/types';
7
+ import 'lucide-react';
7
8
 
8
9
  interface DyrectedContext {
9
10
  Variables: {
@@ -191,6 +192,37 @@ declare class CollectionController {
191
192
  }, 400, "json">) | (Response & hono.TypedResponse<{
192
193
  message: string;
193
194
  }, 404, "json">)>;
195
+ transition(c: Context<DyrectedContext>): Promise<(Response & hono.TypedResponse<{
196
+ message: string;
197
+ }, 500, "json">) | (Response & hono.TypedResponse<{
198
+ message: string;
199
+ }, 404, "json">) | (Response & hono.TypedResponse<{
200
+ [x: string]: any;
201
+ id: string;
202
+ } | null, hono_utils_http_status.ContentfulStatusCode, "json">) | (Response & hono.TypedResponse<{
203
+ error: true;
204
+ message: string;
205
+ }, 400, "json">)>;
206
+ workflowHistory(c: Context<DyrectedContext>): Promise<(Response & hono.TypedResponse<{
207
+ docs: {
208
+ [x: string]: any;
209
+ }[];
210
+ total: number;
211
+ limit: number;
212
+ page: number;
213
+ totalPages: number;
214
+ hasNextPage: boolean;
215
+ hasPrevPage: boolean;
216
+ }, hono_utils_http_status.ContentfulStatusCode, "json">) | (Response & hono.TypedResponse<{
217
+ message: string;
218
+ }, 500, "json">) | (Response & hono.TypedResponse<{
219
+ message: string;
220
+ }, 404, "json">) | (Response & hono.TypedResponse<{
221
+ message: string;
222
+ }, 400, "json">) | (Response & hono.TypedResponse<{
223
+ error: true;
224
+ message: string;
225
+ }, 403, "json">)>;
194
226
  /**
195
227
  * POST /api/collections/:slug/:id/change-password
196
228
  *
package/dist/server.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  import * as hono_types from 'hono/types';
2
2
  import * as hono from 'hono';
3
3
  import { Hono, Context } from 'hono';
4
- import { D as DyrectedConfig, C as CollectionConfig, G as GlobalConfig } from './index-Bp7PDOYG.js';
4
+ import { D as DyrectedConfig, C as CollectionConfig, G as GlobalConfig } from './index-CdQwnbfh.js';
5
5
  import * as hono_utils_http_status from 'hono/utils/http-status';
6
6
  import * as hono_utils_types from 'hono/utils/types';
7
+ import 'lucide-react';
7
8
 
8
9
  interface DyrectedContext {
9
10
  Variables: {
@@ -191,6 +192,37 @@ declare class CollectionController {
191
192
  }, 400, "json">) | (Response & hono.TypedResponse<{
192
193
  message: string;
193
194
  }, 404, "json">)>;
195
+ transition(c: Context<DyrectedContext>): Promise<(Response & hono.TypedResponse<{
196
+ message: string;
197
+ }, 500, "json">) | (Response & hono.TypedResponse<{
198
+ message: string;
199
+ }, 404, "json">) | (Response & hono.TypedResponse<{
200
+ [x: string]: any;
201
+ id: string;
202
+ } | null, hono_utils_http_status.ContentfulStatusCode, "json">) | (Response & hono.TypedResponse<{
203
+ error: true;
204
+ message: string;
205
+ }, 400, "json">)>;
206
+ workflowHistory(c: Context<DyrectedContext>): Promise<(Response & hono.TypedResponse<{
207
+ docs: {
208
+ [x: string]: any;
209
+ }[];
210
+ total: number;
211
+ limit: number;
212
+ page: number;
213
+ totalPages: number;
214
+ hasNextPage: boolean;
215
+ hasPrevPage: boolean;
216
+ }, hono_utils_http_status.ContentfulStatusCode, "json">) | (Response & hono.TypedResponse<{
217
+ message: string;
218
+ }, 500, "json">) | (Response & hono.TypedResponse<{
219
+ message: string;
220
+ }, 404, "json">) | (Response & hono.TypedResponse<{
221
+ message: string;
222
+ }, 400, "json">) | (Response & hono.TypedResponse<{
223
+ error: true;
224
+ message: string;
225
+ }, 403, "json">)>;
194
226
  /**
195
227
  * POST /api/collections/:slug/:id/change-password
196
228
  *