create-payload-app 4.0.0-internal.688c4d0 → 4.0.0-internal.bc5cf8c

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,7 +1,6 @@
1
1
  import { NullField as NullField_3817bf644402e67bfe6577f60ef982de } from '@payloadcms/ui'
2
2
  import { HierarchyField as HierarchyField_ab83ff7e88da8d3530831f296ec4756a } from '@payloadcms/ui/rsc'
3
3
  import { HierarchyButton as HierarchyButton_ab83ff7e88da8d3530831f296ec4756a } from '@payloadcms/ui/rsc'
4
- import { AccessField as AccessField_210e1789eef737e0b4d9f054258f19bb } from '@payloadcms/plugin-mcp/client'
5
4
  import { FolderIcon as FolderIcon_3817bf644402e67bfe6577f60ef982de } from '@payloadcms/ui'
6
5
  import { HierarchySidebarTabServer as HierarchySidebarTabServer_ab83ff7e88da8d3530831f296ec4756a } from '@payloadcms/ui/rsc'
7
6
  import { TagIcon as TagIcon_3817bf644402e67bfe6577f60ef982de } from '@payloadcms/ui'
@@ -12,7 +11,6 @@ export const importMap = {
12
11
  '@payloadcms/ui#NullField': NullField_3817bf644402e67bfe6577f60ef982de,
13
12
  '@payloadcms/ui/rsc#HierarchyField': HierarchyField_ab83ff7e88da8d3530831f296ec4756a,
14
13
  '@payloadcms/ui/rsc#HierarchyButton': HierarchyButton_ab83ff7e88da8d3530831f296ec4756a,
15
- '@payloadcms/plugin-mcp/client#AccessField': AccessField_210e1789eef737e0b4d9f054258f19bb,
16
14
  '@payloadcms/ui#FolderIcon': FolderIcon_3817bf644402e67bfe6577f60ef982de,
17
15
  '@payloadcms/ui/rsc#HierarchySidebarTabServer':
18
16
  HierarchySidebarTabServer_ab83ff7e88da8d3530831f296ec4756a,
@@ -64,7 +64,6 @@ export type SupportedTimezones =
64
64
  export interface Config {
65
65
  auth: {
66
66
  users: UserAuthOperations;
67
- 'payload-mcp-api-keys': PayloadMcpApiKeyAuthOperations;
68
67
  };
69
68
  blocks: {};
70
69
  collections: {
@@ -72,7 +71,6 @@ export interface Config {
72
71
  media: Media;
73
72
  folders: Folder;
74
73
  tags: Tag;
75
- 'payload-mcp-api-keys': PayloadMcpApiKey;
76
74
  'payload-kv': PayloadKv;
77
75
  'payload-locked-documents': PayloadLockedDocument;
78
76
  'payload-preferences': PayloadPreference;
@@ -84,7 +82,6 @@ export interface Config {
84
82
  media: MediaSelect<false> | MediaSelect<true>;
85
83
  folders: FoldersSelect<false> | FoldersSelect<true>;
86
84
  tags: TagsSelect<false> | TagsSelect<true>;
87
- 'payload-mcp-api-keys': PayloadMcpApiKeysSelect<false> | PayloadMcpApiKeysSelect<true>;
88
85
  'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
89
86
  'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
90
87
  'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
@@ -100,7 +97,7 @@ export interface Config {
100
97
  widgets: {
101
98
  collections: CollectionsWidget;
102
99
  };
103
- user: User | PayloadMcpApiKey;
100
+ user: User;
104
101
  jobs: {
105
102
  tasks: unknown;
106
103
  workflows: unknown;
@@ -124,28 +121,6 @@ export interface UserAuthOperations {
124
121
  password: string;
125
122
  };
126
123
  }
127
- export interface PayloadMcpApiKeyAuthOperations {
128
- forgotPassword: {
129
- email: string;
130
- password: string;
131
- };
132
- login: {
133
- email: string;
134
- password: string;
135
- };
136
- registerFirstUser: {
137
- email: string;
138
- password: string;
139
- };
140
- unlock: {
141
- email: string;
142
- password: string;
143
- };
144
- }
145
- /**
146
- * This interface was referenced by `Config`'s JSON-Schema
147
- * via the `definition` "users".
148
- */
149
124
  export interface User {
150
125
  id: string;
151
126
  updatedAt: string;
@@ -214,53 +189,6 @@ export interface Tag {
214
189
  _h_slugPath?: string | null;
215
190
  _h_titlePath?: string | null;
216
191
  }
217
- /**
218
- * API keys control which collections, resources, tools, and prompts MCP clients can access
219
- *
220
- * This interface was referenced by `Config`'s JSON-Schema
221
- * via the `definition` "payload-mcp-api-keys".
222
- */
223
- export interface PayloadMcpApiKey {
224
- id: string;
225
- /**
226
- * The user that the API key is associated with.
227
- */
228
- user: string | User;
229
- /**
230
- * A useful label for the API key.
231
- */
232
- label?: string | null;
233
- /**
234
- * The purpose of the API key.
235
- */
236
- description?: string | null;
237
- /**
238
- * When checked, this key bypasses Payload access control on every operation it performs. Leave unchecked unless you have a specific reason.
239
- */
240
- overrideAccess?: boolean | null;
241
- /**
242
- * Access for this API key — uncheck to revoke individual tools.
243
- */
244
- access?:
245
- | {
246
- [k: string]: unknown;
247
- }
248
- | unknown[]
249
- | string
250
- | number
251
- | boolean
252
- | null;
253
- updatedAt: string;
254
- createdAt: string;
255
- enableAPIKey?: boolean | null;
256
- apiKey?: string | null;
257
- apiKeyIndex?: string | null;
258
- collection: 'payload-mcp-api-keys';
259
- }
260
- /**
261
- * This interface was referenced by `Config`'s JSON-Schema
262
- * via the `definition` "payload-kv".
263
- */
264
192
  export interface PayloadKv {
265
193
  id: string;
266
194
  key: string;
@@ -296,21 +224,12 @@ export interface PayloadLockedDocument {
296
224
  | ({
297
225
  relationTo: 'tags';
298
226
  value: string | Tag;
299
- } | null)
300
- | ({
301
- relationTo: 'payload-mcp-api-keys';
302
- value: string | PayloadMcpApiKey;
303
227
  } | null);
304
228
  globalSlug?: string | null;
305
- user:
306
- | {
307
- relationTo: 'users';
308
- value: string | User;
309
- }
310
- | {
311
- relationTo: 'payload-mcp-api-keys';
312
- value: string | PayloadMcpApiKey;
313
- };
229
+ user: {
230
+ relationTo: 'users';
231
+ value: string | User;
232
+ };
314
233
  updatedAt: string;
315
234
  createdAt: string;
316
235
  }
@@ -320,15 +239,10 @@ export interface PayloadLockedDocument {
320
239
  */
321
240
  export interface PayloadPreference {
322
241
  id: string;
323
- user:
324
- | {
325
- relationTo: 'users';
326
- value: string | User;
327
- }
328
- | {
329
- relationTo: 'payload-mcp-api-keys';
330
- value: string | PayloadMcpApiKey;
331
- };
242
+ user: {
243
+ relationTo: 'users';
244
+ value: string | User;
245
+ };
332
246
  key?: string | null;
333
247
  value?:
334
248
  | {
@@ -419,26 +333,6 @@ export interface TagsSelect<T extends boolean = true> {
419
333
  _h_slugPath?: T;
420
334
  _h_titlePath?: T;
421
335
  }
422
- /**
423
- * This interface was referenced by `Config`'s JSON-Schema
424
- * via the `definition` "payload-mcp-api-keys_select".
425
- */
426
- export interface PayloadMcpApiKeysSelect<T extends boolean = true> {
427
- user?: T;
428
- label?: T;
429
- description?: T;
430
- overrideAccess?: T;
431
- access?: T;
432
- updatedAt?: T;
433
- createdAt?: T;
434
- enableAPIKey?: T;
435
- apiKey?: T;
436
- apiKeyIndex?: T;
437
- }
438
- /**
439
- * This interface was referenced by `Config`'s JSON-Schema
440
- * via the `definition` "payload-kv_select".
441
- */
442
336
  export interface PayloadKvSelect<T extends boolean = true> {
443
337
  key?: T;
444
338
  data?: T;
@@ -496,4 +390,4 @@ export interface Auth {
496
390
 
497
391
  declare module 'payload' {
498
392
  export interface GeneratedTypes extends Config {}
499
- }
393
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-payload-app",
3
- "version": "4.0.0-internal.688c4d0",
3
+ "version": "4.0.0-internal.bc5cf8c",
4
4
  "homepage": "https://payloadcms.com",
5
5
  "repository": {
6
6
  "type": "git",