@atikk-co-jp/notion-mcp-server 0.2.1 → 0.2.2

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/bin/cli.js CHANGED
File without changes
@@ -1,12 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  export declare const TitlePropertySchemaSchema: z.ZodObject<{
3
- title: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
3
+ title: z.ZodObject<{}, z.core.$strip>;
4
4
  }, z.core.$strip>;
5
5
  export declare const RichTextPropertySchemaSchema: z.ZodObject<{
6
- rich_text: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
6
+ rich_text: z.ZodObject<{}, z.core.$strip>;
7
7
  }, z.core.$strip>;
8
8
  export declare const NumberPropertySchemaSchema: z.ZodObject<{
9
- number: z.ZodOptional<z.ZodObject<{
9
+ number: z.ZodObject<{
10
10
  format: z.ZodOptional<z.ZodEnum<{
11
11
  number: "number";
12
12
  number_with_commas: "number_with_commas";
@@ -48,7 +48,7 @@ export declare const NumberPropertySchemaSchema: z.ZodObject<{
48
48
  uruguayan_peso: "uruguayan_peso";
49
49
  singapore_dollar: "singapore_dollar";
50
50
  }>>;
51
- }, z.core.$strip>>;
51
+ }, z.core.$strip>;
52
52
  }, z.core.$strip>;
53
53
  export declare const SelectOptionSchema: z.ZodObject<{
54
54
  name: z.ZodString;
@@ -66,7 +66,7 @@ export declare const SelectOptionSchema: z.ZodObject<{
66
66
  }>>;
67
67
  }, z.core.$strip>;
68
68
  export declare const SelectPropertySchemaSchema: z.ZodObject<{
69
- select: z.ZodOptional<z.ZodObject<{
69
+ select: z.ZodObject<{
70
70
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
71
71
  name: z.ZodString;
72
72
  color: z.ZodOptional<z.ZodEnum<{
@@ -82,10 +82,10 @@ export declare const SelectPropertySchemaSchema: z.ZodObject<{
82
82
  red: "red";
83
83
  }>>;
84
84
  }, z.core.$strip>>>;
85
- }, z.core.$strip>>;
85
+ }, z.core.$strip>;
86
86
  }, z.core.$strip>;
87
87
  export declare const MultiSelectPropertySchemaSchema: z.ZodObject<{
88
- multi_select: z.ZodOptional<z.ZodObject<{
88
+ multi_select: z.ZodObject<{
89
89
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
90
90
  name: z.ZodString;
91
91
  color: z.ZodOptional<z.ZodEnum<{
@@ -101,7 +101,7 @@ export declare const MultiSelectPropertySchemaSchema: z.ZodObject<{
101
101
  red: "red";
102
102
  }>>;
103
103
  }, z.core.$strip>>>;
104
- }, z.core.$strip>>;
104
+ }, z.core.$strip>;
105
105
  }, z.core.$strip>;
106
106
  export declare const StatusOptionSchema: z.ZodObject<{
107
107
  name: z.ZodString;
@@ -137,28 +137,28 @@ export declare const StatusGroupSchema: z.ZodObject<{
137
137
  option_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
138
  }, z.core.$strip>;
139
139
  export declare const StatusPropertySchemaSchema: z.ZodObject<{
140
- status: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
140
+ status: z.ZodObject<{}, z.core.$strip>;
141
141
  }, z.core.$strip>;
142
142
  export declare const DatePropertySchemaSchema: z.ZodObject<{
143
- date: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
143
+ date: z.ZodObject<{}, z.core.$strip>;
144
144
  }, z.core.$strip>;
145
145
  export declare const PeoplePropertySchemaSchema: z.ZodObject<{
146
- people: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
146
+ people: z.ZodObject<{}, z.core.$strip>;
147
147
  }, z.core.$strip>;
148
148
  export declare const FilesPropertySchemaSchema: z.ZodObject<{
149
- files: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
149
+ files: z.ZodObject<{}, z.core.$strip>;
150
150
  }, z.core.$strip>;
151
151
  export declare const CheckboxPropertySchemaSchema: z.ZodObject<{
152
- checkbox: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
152
+ checkbox: z.ZodObject<{}, z.core.$strip>;
153
153
  }, z.core.$strip>;
154
154
  export declare const UrlPropertySchemaSchema: z.ZodObject<{
155
- url: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
155
+ url: z.ZodObject<{}, z.core.$strip>;
156
156
  }, z.core.$strip>;
157
157
  export declare const EmailPropertySchemaSchema: z.ZodObject<{
158
- email: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
158
+ email: z.ZodObject<{}, z.core.$strip>;
159
159
  }, z.core.$strip>;
160
160
  export declare const PhoneNumberPropertySchemaSchema: z.ZodObject<{
161
- phone_number: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
161
+ phone_number: z.ZodObject<{}, z.core.$strip>;
162
162
  }, z.core.$strip>;
163
163
  export declare const FormulaPropertySchemaSchema: z.ZodObject<{
164
164
  formula: z.ZodObject<{
@@ -212,23 +212,23 @@ export declare const RollupPropertySchemaSchema: z.ZodObject<{
212
212
  }, z.core.$strip>;
213
213
  }, z.core.$strip>;
214
214
  export declare const CreatedTimePropertySchemaSchema: z.ZodObject<{
215
- created_time: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
215
+ created_time: z.ZodObject<{}, z.core.$strip>;
216
216
  }, z.core.$strip>;
217
217
  export declare const CreatedByPropertySchemaSchema: z.ZodObject<{
218
- created_by: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
218
+ created_by: z.ZodObject<{}, z.core.$strip>;
219
219
  }, z.core.$strip>;
220
220
  export declare const LastEditedTimePropertySchemaSchema: z.ZodObject<{
221
- last_edited_time: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
221
+ last_edited_time: z.ZodObject<{}, z.core.$strip>;
222
222
  }, z.core.$strip>;
223
223
  export declare const LastEditedByPropertySchemaSchema: z.ZodObject<{
224
- last_edited_by: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
224
+ last_edited_by: z.ZodObject<{}, z.core.$strip>;
225
225
  }, z.core.$strip>;
226
226
  export declare const DatabasePropertySchemaSchema: z.ZodUnion<readonly [z.ZodObject<{
227
- title: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
227
+ title: z.ZodObject<{}, z.core.$strip>;
228
228
  }, z.core.$strip>, z.ZodObject<{
229
- rich_text: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
229
+ rich_text: z.ZodObject<{}, z.core.$strip>;
230
230
  }, z.core.$strip>, z.ZodObject<{
231
- number: z.ZodOptional<z.ZodObject<{
231
+ number: z.ZodObject<{
232
232
  format: z.ZodOptional<z.ZodEnum<{
233
233
  number: "number";
234
234
  number_with_commas: "number_with_commas";
@@ -270,9 +270,9 @@ export declare const DatabasePropertySchemaSchema: z.ZodUnion<readonly [z.ZodObj
270
270
  uruguayan_peso: "uruguayan_peso";
271
271
  singapore_dollar: "singapore_dollar";
272
272
  }>>;
273
- }, z.core.$strip>>;
273
+ }, z.core.$strip>;
274
274
  }, z.core.$strip>, z.ZodObject<{
275
- select: z.ZodOptional<z.ZodObject<{
275
+ select: z.ZodObject<{
276
276
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
277
277
  name: z.ZodString;
278
278
  color: z.ZodOptional<z.ZodEnum<{
@@ -288,9 +288,9 @@ export declare const DatabasePropertySchemaSchema: z.ZodUnion<readonly [z.ZodObj
288
288
  red: "red";
289
289
  }>>;
290
290
  }, z.core.$strip>>>;
291
- }, z.core.$strip>>;
291
+ }, z.core.$strip>;
292
292
  }, z.core.$strip>, z.ZodObject<{
293
- multi_select: z.ZodOptional<z.ZodObject<{
293
+ multi_select: z.ZodObject<{
294
294
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
295
295
  name: z.ZodString;
296
296
  color: z.ZodOptional<z.ZodEnum<{
@@ -306,23 +306,23 @@ export declare const DatabasePropertySchemaSchema: z.ZodUnion<readonly [z.ZodObj
306
306
  red: "red";
307
307
  }>>;
308
308
  }, z.core.$strip>>>;
309
- }, z.core.$strip>>;
309
+ }, z.core.$strip>;
310
310
  }, z.core.$strip>, z.ZodObject<{
311
- status: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
311
+ status: z.ZodObject<{}, z.core.$strip>;
312
312
  }, z.core.$strip>, z.ZodObject<{
313
- date: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
313
+ date: z.ZodObject<{}, z.core.$strip>;
314
314
  }, z.core.$strip>, z.ZodObject<{
315
- people: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
315
+ people: z.ZodObject<{}, z.core.$strip>;
316
316
  }, z.core.$strip>, z.ZodObject<{
317
- files: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
317
+ files: z.ZodObject<{}, z.core.$strip>;
318
318
  }, z.core.$strip>, z.ZodObject<{
319
- checkbox: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
319
+ checkbox: z.ZodObject<{}, z.core.$strip>;
320
320
  }, z.core.$strip>, z.ZodObject<{
321
- url: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
321
+ url: z.ZodObject<{}, z.core.$strip>;
322
322
  }, z.core.$strip>, z.ZodObject<{
323
- email: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
323
+ email: z.ZodObject<{}, z.core.$strip>;
324
324
  }, z.core.$strip>, z.ZodObject<{
325
- phone_number: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
325
+ phone_number: z.ZodObject<{}, z.core.$strip>;
326
326
  }, z.core.$strip>, z.ZodObject<{
327
327
  formula: z.ZodObject<{
328
328
  expression: z.ZodString;
@@ -372,20 +372,20 @@ export declare const DatabasePropertySchemaSchema: z.ZodUnion<readonly [z.ZodObj
372
372
  }>;
373
373
  }, z.core.$strip>;
374
374
  }, z.core.$strip>, z.ZodObject<{
375
- created_time: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
375
+ created_time: z.ZodObject<{}, z.core.$strip>;
376
376
  }, z.core.$strip>, z.ZodObject<{
377
- created_by: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
377
+ created_by: z.ZodObject<{}, z.core.$strip>;
378
378
  }, z.core.$strip>, z.ZodObject<{
379
- last_edited_time: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
379
+ last_edited_time: z.ZodObject<{}, z.core.$strip>;
380
380
  }, z.core.$strip>, z.ZodObject<{
381
- last_edited_by: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
381
+ last_edited_by: z.ZodObject<{}, z.core.$strip>;
382
382
  }, z.core.$strip>]>;
383
383
  export declare const DatabasePropertiesSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
384
- title: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
384
+ title: z.ZodObject<{}, z.core.$strip>;
385
385
  }, z.core.$strip>, z.ZodObject<{
386
- rich_text: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
386
+ rich_text: z.ZodObject<{}, z.core.$strip>;
387
387
  }, z.core.$strip>, z.ZodObject<{
388
- number: z.ZodOptional<z.ZodObject<{
388
+ number: z.ZodObject<{
389
389
  format: z.ZodOptional<z.ZodEnum<{
390
390
  number: "number";
391
391
  number_with_commas: "number_with_commas";
@@ -427,9 +427,9 @@ export declare const DatabasePropertiesSchema: z.ZodRecord<z.ZodString, z.ZodUni
427
427
  uruguayan_peso: "uruguayan_peso";
428
428
  singapore_dollar: "singapore_dollar";
429
429
  }>>;
430
- }, z.core.$strip>>;
430
+ }, z.core.$strip>;
431
431
  }, z.core.$strip>, z.ZodObject<{
432
- select: z.ZodOptional<z.ZodObject<{
432
+ select: z.ZodObject<{
433
433
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
434
434
  name: z.ZodString;
435
435
  color: z.ZodOptional<z.ZodEnum<{
@@ -445,9 +445,9 @@ export declare const DatabasePropertiesSchema: z.ZodRecord<z.ZodString, z.ZodUni
445
445
  red: "red";
446
446
  }>>;
447
447
  }, z.core.$strip>>>;
448
- }, z.core.$strip>>;
448
+ }, z.core.$strip>;
449
449
  }, z.core.$strip>, z.ZodObject<{
450
- multi_select: z.ZodOptional<z.ZodObject<{
450
+ multi_select: z.ZodObject<{
451
451
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
452
452
  name: z.ZodString;
453
453
  color: z.ZodOptional<z.ZodEnum<{
@@ -463,23 +463,23 @@ export declare const DatabasePropertiesSchema: z.ZodRecord<z.ZodString, z.ZodUni
463
463
  red: "red";
464
464
  }>>;
465
465
  }, z.core.$strip>>>;
466
- }, z.core.$strip>>;
466
+ }, z.core.$strip>;
467
467
  }, z.core.$strip>, z.ZodObject<{
468
- status: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
468
+ status: z.ZodObject<{}, z.core.$strip>;
469
469
  }, z.core.$strip>, z.ZodObject<{
470
- date: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
470
+ date: z.ZodObject<{}, z.core.$strip>;
471
471
  }, z.core.$strip>, z.ZodObject<{
472
- people: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
472
+ people: z.ZodObject<{}, z.core.$strip>;
473
473
  }, z.core.$strip>, z.ZodObject<{
474
- files: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
474
+ files: z.ZodObject<{}, z.core.$strip>;
475
475
  }, z.core.$strip>, z.ZodObject<{
476
- checkbox: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
476
+ checkbox: z.ZodObject<{}, z.core.$strip>;
477
477
  }, z.core.$strip>, z.ZodObject<{
478
- url: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
478
+ url: z.ZodObject<{}, z.core.$strip>;
479
479
  }, z.core.$strip>, z.ZodObject<{
480
- email: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
480
+ email: z.ZodObject<{}, z.core.$strip>;
481
481
  }, z.core.$strip>, z.ZodObject<{
482
- phone_number: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
482
+ phone_number: z.ZodObject<{}, z.core.$strip>;
483
483
  }, z.core.$strip>, z.ZodObject<{
484
484
  formula: z.ZodObject<{
485
485
  expression: z.ZodString;
@@ -529,13 +529,13 @@ export declare const DatabasePropertiesSchema: z.ZodRecord<z.ZodString, z.ZodUni
529
529
  }>;
530
530
  }, z.core.$strip>;
531
531
  }, z.core.$strip>, z.ZodObject<{
532
- created_time: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
532
+ created_time: z.ZodObject<{}, z.core.$strip>;
533
533
  }, z.core.$strip>, z.ZodObject<{
534
- created_by: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
534
+ created_by: z.ZodObject<{}, z.core.$strip>;
535
535
  }, z.core.$strip>, z.ZodObject<{
536
- last_edited_time: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
536
+ last_edited_time: z.ZodObject<{}, z.core.$strip>;
537
537
  }, z.core.$strip>, z.ZodObject<{
538
- last_edited_by: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
538
+ last_edited_by: z.ZodObject<{}, z.core.$strip>;
539
539
  }, z.core.$strip>]>>;
540
540
  export declare const DatabaseTitleSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
541
541
  type: z.ZodLiteral<"text">;
@@ -1 +1 @@
1
- {"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../../src/schemas/database.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,yBAAyB;;iBAEpC,CAAA;AAGF,eAAO,MAAM,4BAA4B;;iBAEvC,CAAA;AAGF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgDrC,CAAA;AAGF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;iBAgB7B,CAAA;AAGF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;iBAMrC,CAAA;AAGF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;iBAM1C,CAAA;AAGF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;iBAiB7B,CAAA;AAGF,eAAO,MAAM,i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;;;;;;;;;;;;;;;;;;;iBA+BrC,CAAA;AAGF,eAAO,MAAM,+BAA+B;;iBAE1C,CAAA;AAGF,eAAO,MAAM,6BAA6B;;iBAExC,CAAA;AAGF,eAAO,MAAM,kCAAkC;;iBAE7C,CAAA;AAGF,eAAO,MAAM,gCAAgC;;iBAE3C,CAAA;AAGF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAqBvC,CAAA;AAGF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAqD,CAAA;AAG1F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAsB,CAAA"}
@@ -2,16 +2,15 @@ import { z } from 'zod';
2
2
  import { RichTextArraySchema } from './common.js';
3
3
  // Title property schema (every database must have exactly one)
4
4
  export const TitlePropertySchemaSchema = z.object({
5
- title: z.object({}).optional(),
5
+ title: z.object({}),
6
6
  });
7
7
  // Rich text property schema
8
8
  export const RichTextPropertySchemaSchema = z.object({
9
- rich_text: z.object({}).optional(),
9
+ rich_text: z.object({}),
10
10
  });
11
11
  // Number property schema
12
12
  export const NumberPropertySchemaSchema = z.object({
13
- number: z
14
- .object({
13
+ number: z.object({
15
14
  format: z
16
15
  .enum([
17
16
  'number',
@@ -55,8 +54,7 @@ export const NumberPropertySchemaSchema = z.object({
55
54
  'singapore_dollar',
56
55
  ])
57
56
  .optional(),
58
- })
59
- .optional(),
57
+ }),
60
58
  });
61
59
  // Select option schema
62
60
  export const SelectOptionSchema = z.object({
@@ -78,19 +76,15 @@ export const SelectOptionSchema = z.object({
78
76
  });
79
77
  // Select property schema
80
78
  export const SelectPropertySchemaSchema = z.object({
81
- select: z
82
- .object({
79
+ select: z.object({
83
80
  options: z.array(SelectOptionSchema).optional(),
84
- })
85
- .optional(),
81
+ }),
86
82
  });
87
83
  // Multi-select property schema
88
84
  export const MultiSelectPropertySchemaSchema = z.object({
89
- multi_select: z
90
- .object({
85
+ multi_select: z.object({
91
86
  options: z.array(SelectOptionSchema).optional(),
92
- })
93
- .optional(),
87
+ }),
94
88
  });
95
89
  // Status option schema (with groups)
96
90
  export const StatusOptionSchema = z.object({
@@ -136,35 +130,35 @@ export const StatusGroupSchema = z.object({
136
130
  // Notion automatically creates default options (Not started, In progress, Done).
137
131
  // Options can only be modified after the database is created.
138
132
  export const StatusPropertySchemaSchema = z.object({
139
- status: z.object({}).optional(),
133
+ status: z.object({}),
140
134
  });
141
135
  // Date property schema
142
136
  export const DatePropertySchemaSchema = z.object({
143
- date: z.object({}).optional(),
137
+ date: z.object({}),
144
138
  });
145
139
  // People property schema
146
140
  export const PeoplePropertySchemaSchema = z.object({
147
- people: z.object({}).optional(),
141
+ people: z.object({}),
148
142
  });
149
143
  // Files property schema
150
144
  export const FilesPropertySchemaSchema = z.object({
151
- files: z.object({}).optional(),
145
+ files: z.object({}),
152
146
  });
153
147
  // Checkbox property schema
154
148
  export const CheckboxPropertySchemaSchema = z.object({
155
- checkbox: z.object({}).optional(),
149
+ checkbox: z.object({}),
156
150
  });
157
151
  // URL property schema
158
152
  export const UrlPropertySchemaSchema = z.object({
159
- url: z.object({}).optional(),
153
+ url: z.object({}),
160
154
  });
161
155
  // Email property schema
162
156
  export const EmailPropertySchemaSchema = z.object({
163
- email: z.object({}).optional(),
157
+ email: z.object({}),
164
158
  });
165
159
  // Phone number property schema
166
160
  export const PhoneNumberPropertySchemaSchema = z.object({
167
- phone_number: z.object({}).optional(),
161
+ phone_number: z.object({}),
168
162
  });
169
163
  // Formula property schema
170
164
  export const FormulaPropertySchemaSchema = z.object({
@@ -221,19 +215,19 @@ export const RollupPropertySchemaSchema = z.object({
221
215
  });
222
216
  // Created time property schema (read-only, auto-generated)
223
217
  export const CreatedTimePropertySchemaSchema = z.object({
224
- created_time: z.object({}).optional(),
218
+ created_time: z.object({}),
225
219
  });
226
220
  // Created by property schema (read-only, auto-generated)
227
221
  export const CreatedByPropertySchemaSchema = z.object({
228
- created_by: z.object({}).optional(),
222
+ created_by: z.object({}),
229
223
  });
230
224
  // Last edited time property schema (read-only, auto-generated)
231
225
  export const LastEditedTimePropertySchemaSchema = z.object({
232
- last_edited_time: z.object({}).optional(),
226
+ last_edited_time: z.object({}),
233
227
  });
234
228
  // Last edited by property schema (read-only, auto-generated)
235
229
  export const LastEditedByPropertySchemaSchema = z.object({
236
- last_edited_by: z.object({}).optional(),
230
+ last_edited_by: z.object({}),
237
231
  });
238
232
  // Combined database property schema
239
233
  export const DatabasePropertySchemaSchema = z.union([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atikk-co-jp/notion-mcp-server",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "MCP server for Notion API - Create, read, update pages and databases",
5
5
  "type": "module",
6
6
  "license": "MIT",