@cplace/test-mcp-server 0.1.9 → 0.1.11
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/README.md +126 -20
- package/dist/api.d.ts +3 -2
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +4 -1
- package/dist/api.js.map +1 -1
- package/dist/conditional-registration.d.ts +4 -0
- package/dist/conditional-registration.d.ts.map +1 -0
- package/dist/conditional-registration.js +40 -0
- package/dist/conditional-registration.js.map +1 -0
- package/dist/index.js +49 -1129
- package/dist/index.js.map +1 -1
- package/dist/profiles.d.ts +10 -0
- package/dist/profiles.d.ts.map +1 -0
- package/dist/profiles.js +138 -0
- package/dist/profiles.js.map +1 -0
- package/dist/searchSchema.d.ts +44 -44
- package/dist/tools/change-listeners.d.ts +4 -0
- package/dist/tools/change-listeners.d.ts.map +1 -0
- package/dist/tools/change-listeners.js +98 -0
- package/dist/tools/change-listeners.js.map +1 -0
- package/dist/tools/common-schemas.d.ts +228 -0
- package/dist/tools/common-schemas.d.ts.map +1 -0
- package/dist/tools/common-schemas.js +68 -0
- package/dist/tools/common-schemas.js.map +1 -0
- package/dist/tools/pages.d.ts +4 -0
- package/dist/tools/pages.d.ts.map +1 -0
- package/dist/tools/pages.js +275 -0
- package/dist/tools/pages.js.map +1 -0
- package/dist/tools/ppt-export-profiles.d.ts +4 -0
- package/dist/tools/ppt-export-profiles.d.ts.map +1 -0
- package/dist/tools/ppt-export-profiles.js +242 -0
- package/dist/tools/ppt-export-profiles.js.map +1 -0
- package/dist/tools/references.d.ts +4 -0
- package/dist/tools/references.d.ts.map +1 -0
- package/dist/tools/references.js +57 -0
- package/dist/tools/references.js.map +1 -0
- package/dist/tools/search.d.ts +4 -0
- package/dist/tools/search.d.ts.map +1 -0
- package/dist/tools/search.js +304 -0
- package/dist/tools/search.js.map +1 -0
- package/dist/tools/system.d.ts +3 -0
- package/dist/tools/system.d.ts.map +1 -0
- package/dist/tools/system.js +22 -0
- package/dist/tools/system.js.map +1 -0
- package/dist/tools/type-layouts.d.ts +4 -0
- package/dist/tools/type-layouts.d.ts.map +1 -0
- package/dist/tools/type-layouts.js +56 -0
- package/dist/tools/type-layouts.js.map +1 -0
- package/dist/tools/users.d.ts +4 -0
- package/dist/tools/users.d.ts.map +1 -0
- package/dist/tools/users.js +62 -0
- package/dist/tools/users.js.map +1 -0
- package/dist/tools/validators.d.ts +4 -0
- package/dist/tools/validators.d.ts.map +1 -0
- package/dist/tools/validators.js +87 -0
- package/dist/tools/validators.js.map +1 -0
- package/dist/tools/version-history.d.ts +4 -0
- package/dist/tools/version-history.d.ts.map +1 -0
- package/dist/tools/version-history.js +142 -0
- package/dist/tools/version-history.js.map +1 -0
- package/dist/tools/widgets.d.ts +4 -0
- package/dist/tools/widgets.d.ts.map +1 -0
- package/dist/tools/widgets.js +516 -0
- package/dist/tools/widgets.js.map +1 -0
- package/dist/tools/workspace.d.ts +4 -0
- package/dist/tools/workspace.d.ts.map +1 -0
- package/dist/tools/workspace.js +396 -0
- package/dist/tools/workspace.js.map +1 -0
- package/dist/types.d.ts +2 -22
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +2 -9
- package/dist/types.js.map +1 -1
- package/dist/utils.d.ts +15 -2
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +90 -12
- package/dist/utils.js.map +1 -1
- package/package.json +2 -2
package/dist/searchSchema.d.ts
CHANGED
|
@@ -166,7 +166,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
166
166
|
on_or_before?: string | undefined;
|
|
167
167
|
}>;
|
|
168
168
|
}, "strip", z.ZodTypeAny, {
|
|
169
|
-
attribute: string;
|
|
170
169
|
date: {
|
|
171
170
|
equals?: string | undefined;
|
|
172
171
|
is_empty?: boolean | undefined;
|
|
@@ -176,8 +175,8 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
176
175
|
on_or_after?: string | undefined;
|
|
177
176
|
on_or_before?: string | undefined;
|
|
178
177
|
};
|
|
179
|
-
}, {
|
|
180
178
|
attribute: string;
|
|
179
|
+
}, {
|
|
181
180
|
date: {
|
|
182
181
|
equals?: string | undefined;
|
|
183
182
|
is_empty?: boolean | undefined;
|
|
@@ -187,6 +186,7 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
187
186
|
on_or_after?: string | undefined;
|
|
188
187
|
on_or_before?: string | undefined;
|
|
189
188
|
};
|
|
189
|
+
attribute: string;
|
|
190
190
|
}>, z.ZodObject<{
|
|
191
191
|
attribute: z.ZodString;
|
|
192
192
|
reference: z.ZodEffects<z.ZodObject<{
|
|
@@ -211,19 +211,19 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
211
211
|
is_not_empty?: boolean | undefined;
|
|
212
212
|
}>;
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
attribute: string;
|
|
215
214
|
reference: {
|
|
216
215
|
equals?: string | undefined;
|
|
217
216
|
is_empty?: boolean | undefined;
|
|
218
217
|
is_not_empty?: boolean | undefined;
|
|
219
218
|
};
|
|
220
|
-
}, {
|
|
221
219
|
attribute: string;
|
|
220
|
+
}, {
|
|
222
221
|
reference: {
|
|
223
222
|
equals?: string | undefined;
|
|
224
223
|
is_empty?: boolean | undefined;
|
|
225
224
|
is_not_empty?: boolean | undefined;
|
|
226
225
|
};
|
|
226
|
+
attribute: string;
|
|
227
227
|
}>, z.ZodObject<{
|
|
228
228
|
attribute: z.ZodString;
|
|
229
229
|
boolean: z.ZodObject<{
|
|
@@ -411,7 +411,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
411
411
|
on_or_before?: string | undefined;
|
|
412
412
|
}>;
|
|
413
413
|
}, "strip", z.ZodTypeAny, {
|
|
414
|
-
attribute: string;
|
|
415
414
|
date: {
|
|
416
415
|
equals?: string | undefined;
|
|
417
416
|
is_empty?: boolean | undefined;
|
|
@@ -421,8 +420,8 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
421
420
|
on_or_after?: string | undefined;
|
|
422
421
|
on_or_before?: string | undefined;
|
|
423
422
|
};
|
|
424
|
-
}, {
|
|
425
423
|
attribute: string;
|
|
424
|
+
}, {
|
|
426
425
|
date: {
|
|
427
426
|
equals?: string | undefined;
|
|
428
427
|
is_empty?: boolean | undefined;
|
|
@@ -432,6 +431,7 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
432
431
|
on_or_after?: string | undefined;
|
|
433
432
|
on_or_before?: string | undefined;
|
|
434
433
|
};
|
|
434
|
+
attribute: string;
|
|
435
435
|
}>, z.ZodObject<{
|
|
436
436
|
attribute: z.ZodString;
|
|
437
437
|
reference: z.ZodEffects<z.ZodObject<{
|
|
@@ -456,19 +456,19 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
456
456
|
is_not_empty?: boolean | undefined;
|
|
457
457
|
}>;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
|
-
attribute: string;
|
|
460
459
|
reference: {
|
|
461
460
|
equals?: string | undefined;
|
|
462
461
|
is_empty?: boolean | undefined;
|
|
463
462
|
is_not_empty?: boolean | undefined;
|
|
464
463
|
};
|
|
465
|
-
}, {
|
|
466
464
|
attribute: string;
|
|
465
|
+
}, {
|
|
467
466
|
reference: {
|
|
468
467
|
equals?: string | undefined;
|
|
469
468
|
is_empty?: boolean | undefined;
|
|
470
469
|
is_not_empty?: boolean | undefined;
|
|
471
470
|
};
|
|
471
|
+
attribute: string;
|
|
472
472
|
}>, z.ZodObject<{
|
|
473
473
|
attribute: z.ZodString;
|
|
474
474
|
boolean: z.ZodObject<{
|
|
@@ -656,7 +656,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
656
656
|
on_or_before?: string | undefined;
|
|
657
657
|
}>;
|
|
658
658
|
}, "strip", z.ZodTypeAny, {
|
|
659
|
-
attribute: string;
|
|
660
659
|
date: {
|
|
661
660
|
equals?: string | undefined;
|
|
662
661
|
is_empty?: boolean | undefined;
|
|
@@ -666,8 +665,8 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
666
665
|
on_or_after?: string | undefined;
|
|
667
666
|
on_or_before?: string | undefined;
|
|
668
667
|
};
|
|
669
|
-
}, {
|
|
670
668
|
attribute: string;
|
|
669
|
+
}, {
|
|
671
670
|
date: {
|
|
672
671
|
equals?: string | undefined;
|
|
673
672
|
is_empty?: boolean | undefined;
|
|
@@ -677,6 +676,7 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
677
676
|
on_or_after?: string | undefined;
|
|
678
677
|
on_or_before?: string | undefined;
|
|
679
678
|
};
|
|
679
|
+
attribute: string;
|
|
680
680
|
}>, z.ZodObject<{
|
|
681
681
|
attribute: z.ZodString;
|
|
682
682
|
reference: z.ZodEffects<z.ZodObject<{
|
|
@@ -701,19 +701,19 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
701
701
|
is_not_empty?: boolean | undefined;
|
|
702
702
|
}>;
|
|
703
703
|
}, "strip", z.ZodTypeAny, {
|
|
704
|
-
attribute: string;
|
|
705
704
|
reference: {
|
|
706
705
|
equals?: string | undefined;
|
|
707
706
|
is_empty?: boolean | undefined;
|
|
708
707
|
is_not_empty?: boolean | undefined;
|
|
709
708
|
};
|
|
710
|
-
}, {
|
|
711
709
|
attribute: string;
|
|
710
|
+
}, {
|
|
712
711
|
reference: {
|
|
713
712
|
equals?: string | undefined;
|
|
714
713
|
is_empty?: boolean | undefined;
|
|
715
714
|
is_not_empty?: boolean | undefined;
|
|
716
715
|
};
|
|
716
|
+
attribute: string;
|
|
717
717
|
}>, z.ZodObject<{
|
|
718
718
|
attribute: z.ZodString;
|
|
719
719
|
boolean: z.ZodObject<{
|
|
@@ -761,7 +761,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
761
761
|
};
|
|
762
762
|
attribute: string;
|
|
763
763
|
} | {
|
|
764
|
-
attribute: string;
|
|
765
764
|
date: {
|
|
766
765
|
equals?: string | undefined;
|
|
767
766
|
is_empty?: boolean | undefined;
|
|
@@ -771,13 +770,14 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
771
770
|
on_or_after?: string | undefined;
|
|
772
771
|
on_or_before?: string | undefined;
|
|
773
772
|
};
|
|
774
|
-
} | {
|
|
775
773
|
attribute: string;
|
|
774
|
+
} | {
|
|
776
775
|
reference: {
|
|
777
776
|
equals?: string | undefined;
|
|
778
777
|
is_empty?: boolean | undefined;
|
|
779
778
|
is_not_empty?: boolean | undefined;
|
|
780
779
|
};
|
|
780
|
+
attribute: string;
|
|
781
781
|
} | {
|
|
782
782
|
boolean: {
|
|
783
783
|
equals: boolean;
|
|
@@ -811,7 +811,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
811
811
|
};
|
|
812
812
|
attribute: string;
|
|
813
813
|
} | {
|
|
814
|
-
attribute: string;
|
|
815
814
|
date: {
|
|
816
815
|
equals?: string | undefined;
|
|
817
816
|
is_empty?: boolean | undefined;
|
|
@@ -821,13 +820,14 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
821
820
|
on_or_after?: string | undefined;
|
|
822
821
|
on_or_before?: string | undefined;
|
|
823
822
|
};
|
|
824
|
-
} | {
|
|
825
823
|
attribute: string;
|
|
824
|
+
} | {
|
|
826
825
|
reference: {
|
|
827
826
|
equals?: string | undefined;
|
|
828
827
|
is_empty?: boolean | undefined;
|
|
829
828
|
is_not_empty?: boolean | undefined;
|
|
830
829
|
};
|
|
830
|
+
attribute: string;
|
|
831
831
|
} | {
|
|
832
832
|
boolean: {
|
|
833
833
|
equals: boolean;
|
|
@@ -862,7 +862,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
862
862
|
};
|
|
863
863
|
attribute: string;
|
|
864
864
|
} | {
|
|
865
|
-
attribute: string;
|
|
866
865
|
date: {
|
|
867
866
|
equals?: string | undefined;
|
|
868
867
|
is_empty?: boolean | undefined;
|
|
@@ -872,13 +871,14 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
872
871
|
on_or_after?: string | undefined;
|
|
873
872
|
on_or_before?: string | undefined;
|
|
874
873
|
};
|
|
875
|
-
} | {
|
|
876
874
|
attribute: string;
|
|
875
|
+
} | {
|
|
877
876
|
reference: {
|
|
878
877
|
equals?: string | undefined;
|
|
879
878
|
is_empty?: boolean | undefined;
|
|
880
879
|
is_not_empty?: boolean | undefined;
|
|
881
880
|
};
|
|
881
|
+
attribute: string;
|
|
882
882
|
} | {
|
|
883
883
|
boolean: {
|
|
884
884
|
equals: boolean;
|
|
@@ -911,7 +911,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
911
911
|
};
|
|
912
912
|
attribute: string;
|
|
913
913
|
} | {
|
|
914
|
-
attribute: string;
|
|
915
914
|
date: {
|
|
916
915
|
equals?: string | undefined;
|
|
917
916
|
is_empty?: boolean | undefined;
|
|
@@ -921,13 +920,14 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
921
920
|
on_or_after?: string | undefined;
|
|
922
921
|
on_or_before?: string | undefined;
|
|
923
922
|
};
|
|
924
|
-
} | {
|
|
925
923
|
attribute: string;
|
|
924
|
+
} | {
|
|
926
925
|
reference: {
|
|
927
926
|
equals?: string | undefined;
|
|
928
927
|
is_empty?: boolean | undefined;
|
|
929
928
|
is_not_empty?: boolean | undefined;
|
|
930
929
|
};
|
|
930
|
+
attribute: string;
|
|
931
931
|
} | {
|
|
932
932
|
boolean: {
|
|
933
933
|
equals: boolean;
|
|
@@ -962,7 +962,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
962
962
|
};
|
|
963
963
|
attribute: string;
|
|
964
964
|
} | {
|
|
965
|
-
attribute: string;
|
|
966
965
|
date: {
|
|
967
966
|
equals?: string | undefined;
|
|
968
967
|
is_empty?: boolean | undefined;
|
|
@@ -972,13 +971,14 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
972
971
|
on_or_after?: string | undefined;
|
|
973
972
|
on_or_before?: string | undefined;
|
|
974
973
|
};
|
|
975
|
-
} | {
|
|
976
974
|
attribute: string;
|
|
975
|
+
} | {
|
|
977
976
|
reference: {
|
|
978
977
|
equals?: string | undefined;
|
|
979
978
|
is_empty?: boolean | undefined;
|
|
980
979
|
is_not_empty?: boolean | undefined;
|
|
981
980
|
};
|
|
981
|
+
attribute: string;
|
|
982
982
|
} | {
|
|
983
983
|
boolean: {
|
|
984
984
|
equals: boolean;
|
|
@@ -1011,7 +1011,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1011
1011
|
};
|
|
1012
1012
|
attribute: string;
|
|
1013
1013
|
} | {
|
|
1014
|
-
attribute: string;
|
|
1015
1014
|
date: {
|
|
1016
1015
|
equals?: string | undefined;
|
|
1017
1016
|
is_empty?: boolean | undefined;
|
|
@@ -1021,13 +1020,14 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1021
1020
|
on_or_after?: string | undefined;
|
|
1022
1021
|
on_or_before?: string | undefined;
|
|
1023
1022
|
};
|
|
1024
|
-
} | {
|
|
1025
1023
|
attribute: string;
|
|
1024
|
+
} | {
|
|
1026
1025
|
reference: {
|
|
1027
1026
|
equals?: string | undefined;
|
|
1028
1027
|
is_empty?: boolean | undefined;
|
|
1029
1028
|
is_not_empty?: boolean | undefined;
|
|
1030
1029
|
};
|
|
1030
|
+
attribute: string;
|
|
1031
1031
|
} | {
|
|
1032
1032
|
boolean: {
|
|
1033
1033
|
equals: boolean;
|
|
@@ -1203,7 +1203,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1203
1203
|
on_or_before?: string | undefined;
|
|
1204
1204
|
}>;
|
|
1205
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1206
|
-
attribute: string;
|
|
1207
1206
|
date: {
|
|
1208
1207
|
equals?: string | undefined;
|
|
1209
1208
|
is_empty?: boolean | undefined;
|
|
@@ -1213,8 +1212,8 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1213
1212
|
on_or_after?: string | undefined;
|
|
1214
1213
|
on_or_before?: string | undefined;
|
|
1215
1214
|
};
|
|
1216
|
-
}, {
|
|
1217
1215
|
attribute: string;
|
|
1216
|
+
}, {
|
|
1218
1217
|
date: {
|
|
1219
1218
|
equals?: string | undefined;
|
|
1220
1219
|
is_empty?: boolean | undefined;
|
|
@@ -1224,6 +1223,7 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1224
1223
|
on_or_after?: string | undefined;
|
|
1225
1224
|
on_or_before?: string | undefined;
|
|
1226
1225
|
};
|
|
1226
|
+
attribute: string;
|
|
1227
1227
|
}>, z.ZodObject<{
|
|
1228
1228
|
attribute: z.ZodString;
|
|
1229
1229
|
reference: z.ZodEffects<z.ZodObject<{
|
|
@@ -1248,19 +1248,19 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1248
1248
|
is_not_empty?: boolean | undefined;
|
|
1249
1249
|
}>;
|
|
1250
1250
|
}, "strip", z.ZodTypeAny, {
|
|
1251
|
-
attribute: string;
|
|
1252
1251
|
reference: {
|
|
1253
1252
|
equals?: string | undefined;
|
|
1254
1253
|
is_empty?: boolean | undefined;
|
|
1255
1254
|
is_not_empty?: boolean | undefined;
|
|
1256
1255
|
};
|
|
1257
|
-
}, {
|
|
1258
1256
|
attribute: string;
|
|
1257
|
+
}, {
|
|
1259
1258
|
reference: {
|
|
1260
1259
|
equals?: string | undefined;
|
|
1261
1260
|
is_empty?: boolean | undefined;
|
|
1262
1261
|
is_not_empty?: boolean | undefined;
|
|
1263
1262
|
};
|
|
1263
|
+
attribute: string;
|
|
1264
1264
|
}>, z.ZodObject<{
|
|
1265
1265
|
attribute: z.ZodString;
|
|
1266
1266
|
boolean: z.ZodObject<{
|
|
@@ -1448,7 +1448,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1448
1448
|
on_or_before?: string | undefined;
|
|
1449
1449
|
}>;
|
|
1450
1450
|
}, "strip", z.ZodTypeAny, {
|
|
1451
|
-
attribute: string;
|
|
1452
1451
|
date: {
|
|
1453
1452
|
equals?: string | undefined;
|
|
1454
1453
|
is_empty?: boolean | undefined;
|
|
@@ -1458,8 +1457,8 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1458
1457
|
on_or_after?: string | undefined;
|
|
1459
1458
|
on_or_before?: string | undefined;
|
|
1460
1459
|
};
|
|
1461
|
-
}, {
|
|
1462
1460
|
attribute: string;
|
|
1461
|
+
}, {
|
|
1463
1462
|
date: {
|
|
1464
1463
|
equals?: string | undefined;
|
|
1465
1464
|
is_empty?: boolean | undefined;
|
|
@@ -1469,6 +1468,7 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1469
1468
|
on_or_after?: string | undefined;
|
|
1470
1469
|
on_or_before?: string | undefined;
|
|
1471
1470
|
};
|
|
1471
|
+
attribute: string;
|
|
1472
1472
|
}>, z.ZodObject<{
|
|
1473
1473
|
attribute: z.ZodString;
|
|
1474
1474
|
reference: z.ZodEffects<z.ZodObject<{
|
|
@@ -1493,19 +1493,19 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1493
1493
|
is_not_empty?: boolean | undefined;
|
|
1494
1494
|
}>;
|
|
1495
1495
|
}, "strip", z.ZodTypeAny, {
|
|
1496
|
-
attribute: string;
|
|
1497
1496
|
reference: {
|
|
1498
1497
|
equals?: string | undefined;
|
|
1499
1498
|
is_empty?: boolean | undefined;
|
|
1500
1499
|
is_not_empty?: boolean | undefined;
|
|
1501
1500
|
};
|
|
1502
|
-
}, {
|
|
1503
1501
|
attribute: string;
|
|
1502
|
+
}, {
|
|
1504
1503
|
reference: {
|
|
1505
1504
|
equals?: string | undefined;
|
|
1506
1505
|
is_empty?: boolean | undefined;
|
|
1507
1506
|
is_not_empty?: boolean | undefined;
|
|
1508
1507
|
};
|
|
1508
|
+
attribute: string;
|
|
1509
1509
|
}>, z.ZodObject<{
|
|
1510
1510
|
attribute: z.ZodString;
|
|
1511
1511
|
boolean: z.ZodObject<{
|
|
@@ -1553,7 +1553,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1553
1553
|
};
|
|
1554
1554
|
attribute: string;
|
|
1555
1555
|
} | {
|
|
1556
|
-
attribute: string;
|
|
1557
1556
|
date: {
|
|
1558
1557
|
equals?: string | undefined;
|
|
1559
1558
|
is_empty?: boolean | undefined;
|
|
@@ -1563,13 +1562,14 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1563
1562
|
on_or_after?: string | undefined;
|
|
1564
1563
|
on_or_before?: string | undefined;
|
|
1565
1564
|
};
|
|
1566
|
-
} | {
|
|
1567
1565
|
attribute: string;
|
|
1566
|
+
} | {
|
|
1568
1567
|
reference: {
|
|
1569
1568
|
equals?: string | undefined;
|
|
1570
1569
|
is_empty?: boolean | undefined;
|
|
1571
1570
|
is_not_empty?: boolean | undefined;
|
|
1572
1571
|
};
|
|
1572
|
+
attribute: string;
|
|
1573
1573
|
} | {
|
|
1574
1574
|
boolean: {
|
|
1575
1575
|
equals: boolean;
|
|
@@ -1603,7 +1603,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1603
1603
|
};
|
|
1604
1604
|
attribute: string;
|
|
1605
1605
|
} | {
|
|
1606
|
-
attribute: string;
|
|
1607
1606
|
date: {
|
|
1608
1607
|
equals?: string | undefined;
|
|
1609
1608
|
is_empty?: boolean | undefined;
|
|
@@ -1613,13 +1612,14 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1613
1612
|
on_or_after?: string | undefined;
|
|
1614
1613
|
on_or_before?: string | undefined;
|
|
1615
1614
|
};
|
|
1616
|
-
} | {
|
|
1617
1615
|
attribute: string;
|
|
1616
|
+
} | {
|
|
1618
1617
|
reference: {
|
|
1619
1618
|
equals?: string | undefined;
|
|
1620
1619
|
is_empty?: boolean | undefined;
|
|
1621
1620
|
is_not_empty?: boolean | undefined;
|
|
1622
1621
|
};
|
|
1622
|
+
attribute: string;
|
|
1623
1623
|
} | {
|
|
1624
1624
|
boolean: {
|
|
1625
1625
|
equals: boolean;
|
|
@@ -1654,7 +1654,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1654
1654
|
};
|
|
1655
1655
|
attribute: string;
|
|
1656
1656
|
} | {
|
|
1657
|
-
attribute: string;
|
|
1658
1657
|
date: {
|
|
1659
1658
|
equals?: string | undefined;
|
|
1660
1659
|
is_empty?: boolean | undefined;
|
|
@@ -1664,13 +1663,14 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1664
1663
|
on_or_after?: string | undefined;
|
|
1665
1664
|
on_or_before?: string | undefined;
|
|
1666
1665
|
};
|
|
1667
|
-
} | {
|
|
1668
1666
|
attribute: string;
|
|
1667
|
+
} | {
|
|
1669
1668
|
reference: {
|
|
1670
1669
|
equals?: string | undefined;
|
|
1671
1670
|
is_empty?: boolean | undefined;
|
|
1672
1671
|
is_not_empty?: boolean | undefined;
|
|
1673
1672
|
};
|
|
1673
|
+
attribute: string;
|
|
1674
1674
|
} | {
|
|
1675
1675
|
boolean: {
|
|
1676
1676
|
equals: boolean;
|
|
@@ -1703,7 +1703,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1703
1703
|
};
|
|
1704
1704
|
attribute: string;
|
|
1705
1705
|
} | {
|
|
1706
|
-
attribute: string;
|
|
1707
1706
|
date: {
|
|
1708
1707
|
equals?: string | undefined;
|
|
1709
1708
|
is_empty?: boolean | undefined;
|
|
@@ -1713,13 +1712,14 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1713
1712
|
on_or_after?: string | undefined;
|
|
1714
1713
|
on_or_before?: string | undefined;
|
|
1715
1714
|
};
|
|
1716
|
-
} | {
|
|
1717
1715
|
attribute: string;
|
|
1716
|
+
} | {
|
|
1718
1717
|
reference: {
|
|
1719
1718
|
equals?: string | undefined;
|
|
1720
1719
|
is_empty?: boolean | undefined;
|
|
1721
1720
|
is_not_empty?: boolean | undefined;
|
|
1722
1721
|
};
|
|
1722
|
+
attribute: string;
|
|
1723
1723
|
} | {
|
|
1724
1724
|
boolean: {
|
|
1725
1725
|
equals: boolean;
|
|
@@ -1754,7 +1754,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1754
1754
|
};
|
|
1755
1755
|
attribute: string;
|
|
1756
1756
|
} | {
|
|
1757
|
-
attribute: string;
|
|
1758
1757
|
date: {
|
|
1759
1758
|
equals?: string | undefined;
|
|
1760
1759
|
is_empty?: boolean | undefined;
|
|
@@ -1764,13 +1763,14 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1764
1763
|
on_or_after?: string | undefined;
|
|
1765
1764
|
on_or_before?: string | undefined;
|
|
1766
1765
|
};
|
|
1767
|
-
} | {
|
|
1768
1766
|
attribute: string;
|
|
1767
|
+
} | {
|
|
1769
1768
|
reference: {
|
|
1770
1769
|
equals?: string | undefined;
|
|
1771
1770
|
is_empty?: boolean | undefined;
|
|
1772
1771
|
is_not_empty?: boolean | undefined;
|
|
1773
1772
|
};
|
|
1773
|
+
attribute: string;
|
|
1774
1774
|
} | {
|
|
1775
1775
|
boolean: {
|
|
1776
1776
|
equals: boolean;
|
|
@@ -1803,7 +1803,6 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1803
1803
|
};
|
|
1804
1804
|
attribute: string;
|
|
1805
1805
|
} | {
|
|
1806
|
-
attribute: string;
|
|
1807
1806
|
date: {
|
|
1808
1807
|
equals?: string | undefined;
|
|
1809
1808
|
is_empty?: boolean | undefined;
|
|
@@ -1813,13 +1812,14 @@ declare const SearchFilterSchema: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject
|
|
|
1813
1812
|
on_or_after?: string | undefined;
|
|
1814
1813
|
on_or_before?: string | undefined;
|
|
1815
1814
|
};
|
|
1816
|
-
} | {
|
|
1817
1815
|
attribute: string;
|
|
1816
|
+
} | {
|
|
1818
1817
|
reference: {
|
|
1819
1818
|
equals?: string | undefined;
|
|
1820
1819
|
is_empty?: boolean | undefined;
|
|
1821
1820
|
is_not_empty?: boolean | undefined;
|
|
1822
1821
|
};
|
|
1822
|
+
attribute: string;
|
|
1823
1823
|
} | {
|
|
1824
1824
|
boolean: {
|
|
1825
1825
|
equals: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-listeners.d.ts","sourceRoot":"","sources":["../../src/tools/change-listeners.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,QAqHrF"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export function registerChangeListenerTools(server, client) {
|
|
3
|
+
server.registerTool("cplace_get_change_listeners_by_type", {
|
|
4
|
+
description: "Get all JavaScript automation scripts (change listeners) that run automatically when specific attributes of a page type are modified. Change listeners are used for business logic automation like calculated fields (e.g., margin = price - cost), status propagation (e.g., mark project complete when all tasks done), and attribute synchronization between related pages. Returns the JavaScript code, trigger attributes, and metadata for each listener.",
|
|
5
|
+
inputSchema: {
|
|
6
|
+
workspaceId: z.string().describe("The workspace identifier (e.g., 'workspace/abc123')"),
|
|
7
|
+
typeInternalName: z.string().describe("The internal name of the type definition (e.g., 'cf.example.Project')")
|
|
8
|
+
},
|
|
9
|
+
annotations: { title: "Get Change Listeners by Type" }
|
|
10
|
+
}, async ({ workspaceId, typeInternalName }) => {
|
|
11
|
+
try {
|
|
12
|
+
const result = await client.makeApiRequest('json/change-listeners', 'GET', {
|
|
13
|
+
workspaceId,
|
|
14
|
+
typeInternalName
|
|
15
|
+
});
|
|
16
|
+
return {
|
|
17
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
catch (error) {
|
|
21
|
+
return {
|
|
22
|
+
content: [{ type: "text", text: `Error retrieving change listeners: ${error instanceof Error ? error.message : String(error)}` }]
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
server.registerTool("cplace_manage_change_listener", {
|
|
27
|
+
description: "Create or update JavaScript automation scripts (change listeners) that execute automatically when specified page attributes change. Common use cases: calculate derived values, propagate status changes, validate business rules, or synchronize data between pages. The script runs in the same transaction as the triggering change and has access to both old and new values via the 'changeEvent' object.",
|
|
28
|
+
inputSchema: {
|
|
29
|
+
operation: z.enum(["create", "update"]).describe("Operation type: 'create' for new change listeners, 'update' for existing change listeners"),
|
|
30
|
+
workspaceId: z.string().describe("Required: Target workspace ID (e.g., 'workspace/abc123')"),
|
|
31
|
+
typeInternalName: z.string().describe("Required: Type internal name (e.g., 'cf.example.Project')"),
|
|
32
|
+
identifier: z.string().describe("Required: Unique identifier for the listener"),
|
|
33
|
+
script: z.string().optional().describe("⚠️ REQUIRED: Review cplace Low-Code documentation before writing change listener scripts. Access via web (https://docs.cplace.io/lowcode/features/change-listeners/), MCP tools, or local file system."),
|
|
34
|
+
attributeNames: z.array(z.string()).optional().describe("For create (required): Trigger attributes (at least one). Attributes that will activate this listener when modified."),
|
|
35
|
+
enabled: z.boolean().optional().describe("For update only: Enable/disable the listener"),
|
|
36
|
+
localizedNames: z.record(z.string()).optional().describe("Optional: Localized display names (e.g., {\"en\": \"My Listener\", \"de\": \"Mein Listener\"})"),
|
|
37
|
+
description: z.string().optional().describe("Optional: Description of the listener")
|
|
38
|
+
},
|
|
39
|
+
annotations: { title: "Manage Change Listener" }
|
|
40
|
+
}, async (params) => {
|
|
41
|
+
try {
|
|
42
|
+
if (params.operation === "create") {
|
|
43
|
+
if (!params.script || !params.attributeNames || params.attributeNames.length === 0) {
|
|
44
|
+
return {
|
|
45
|
+
content: [{ type: "text", text: "Error: Create operation requires script and attributeNames parameters" }]
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
const requestBody = {
|
|
49
|
+
workspaceId: params.workspaceId,
|
|
50
|
+
typeInternalName: params.typeInternalName,
|
|
51
|
+
identifier: params.identifier,
|
|
52
|
+
script: params.script,
|
|
53
|
+
attributeNames: params.attributeNames
|
|
54
|
+
};
|
|
55
|
+
if (params.localizedNames) {
|
|
56
|
+
requestBody.localizedNames = params.localizedNames;
|
|
57
|
+
}
|
|
58
|
+
if (params.description) {
|
|
59
|
+
requestBody.description = params.description;
|
|
60
|
+
}
|
|
61
|
+
const result = await client.makeApiRequest('json/change-listener', 'POST', undefined, requestBody);
|
|
62
|
+
return {
|
|
63
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const requestBody = {
|
|
68
|
+
workspaceId: params.workspaceId,
|
|
69
|
+
typeInternalName: params.typeInternalName,
|
|
70
|
+
scriptIdentifier: params.identifier
|
|
71
|
+
};
|
|
72
|
+
if (params.script !== undefined) {
|
|
73
|
+
requestBody.script = params.script;
|
|
74
|
+
}
|
|
75
|
+
if (params.enabled !== undefined) {
|
|
76
|
+
requestBody.enabled = params.enabled;
|
|
77
|
+
}
|
|
78
|
+
if (params.localizedNames !== undefined) {
|
|
79
|
+
requestBody.localizedNames = params.localizedNames;
|
|
80
|
+
}
|
|
81
|
+
if (params.description !== undefined) {
|
|
82
|
+
requestBody.description = params.description;
|
|
83
|
+
}
|
|
84
|
+
const result = await client.makeApiRequest('json/change-listener', 'PATCH', undefined, requestBody);
|
|
85
|
+
return {
|
|
86
|
+
content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
catch (error) {
|
|
91
|
+
const operationText = params.operation === "create" ? "creating" : "updating";
|
|
92
|
+
return {
|
|
93
|
+
content: [{ type: "text", text: `Error ${operationText} change listener: ${error instanceof Error ? error.message : String(error)}` }]
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=change-listeners.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-listeners.js","sourceRoot":"","sources":["../../src/tools/change-listeners.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,MAAM,UAAU,2BAA2B,CAAC,MAAiB,EAAE,MAAuB;IAEpF,MAAM,CAAC,YAAY,CAAC,qCAAqC,EACvD;QACE,WAAW,EAAE,icAAic;QAC9c,WAAW,EAAE;YACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qDAAqD,CAAC;YACvF,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uEAAuE,CAAC;SAC/G;QACD,WAAW,EAAE,EAAE,KAAK,EAAE,8BAA8B,EAAE;KACvD,EACD,KAAK,EAAE,EAAE,WAAW,EAAE,gBAAgB,EAAE,EAAE,EAAE;QAC1C,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,uBAAuB,EAAE,KAAK,EAAE;gBACzE,WAAW;gBACX,gBAAgB;aACjB,CAAC,CAAC;YAEH,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;aACnE,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,sCAAsC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC;aAClI,CAAC;QACJ,CAAC;IACH,CAAC,CACF,CAAC;IAGF,MAAM,CAAC,YAAY,CAAC,+BAA+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