@cmssy/mcp-server 0.21.0 → 0.21.1

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/queries.d.ts CHANGED
@@ -16,12 +16,12 @@ export declare const REVERT_CONTENT_TO_PUBLISHED_MUTATION = "\n mutation Revert
16
16
  export declare const REVERT_LAYOUT_TO_PUBLISHED_MUTATION = "\n mutation RevertLayoutToPublished($id: ID!) {\n revertLayoutToPublished(id: $id) {\n id\n name\n slug\n hasUnpublishedContentChanges\n hasUnpublishedLayoutChanges\n updatedAt\n }\n }\n";
17
17
  export declare const REMOVE_PAGE_MUTATION = "\n mutation RemovePage($id: ID!) {\n removePage(id: $id)\n }\n";
18
18
  export declare const UPDATE_PAGE_LAYOUT_MUTATION = "\n mutation UpdatePageLayout($input: UpdatePageLayoutInput!) {\n updatePageLayout(input: $input) {\n id\n slug\n hasUnpublishedContentChanges\n hasUnpublishedLayoutChanges\n updatedAt\n layoutBlocks {\n id type position order isActive\n content settings style advanced\n translations defaultLanguage\n metadata { createdAt updatedAt createdBy version }\n blockVersion\n }\n layoutOverrides { position action blockId }\n inheritsLayout\n }\n }\n";
19
- export declare const FORMS_QUERY = "\n query Forms($status: String, $skip: Int, $limit: Int) {\n forms(status: $status, skip: $skip, limit: $limit) {\n forms { \n id\n name\n slug\n description\n status\n fields {\n id name fieldType\n label placeholder helpText\n defaultValue\n validation { required minLength maxLength minValue maxValue pattern customMessage }\n options { value label disabled }\n width order showIf\n }\n settings {\n actionType webhookUrl emailRecipients newsletterListId\n submitButtonLabel successMessage errorMessage\n redirectUrl enableCaptcha requireLogin\n saveSubmissions sendEmailNotification emailConfigurationId\n }\n submissionCount\n createdAt updatedAt createdBy updatedBy\n }\n total\n hasMore\n }\n }\n";
20
- export declare const FORM_BY_ID_QUERY = "\n query Form($formId: ID!) {\n form(formId: $formId) {\n \n id\n name\n slug\n description\n status\n fields {\n id name fieldType\n label placeholder helpText\n defaultValue\n validation { required minLength maxLength minValue maxValue pattern customMessage }\n options { value label disabled }\n width order showIf\n }\n settings {\n actionType webhookUrl emailRecipients newsletterListId\n submitButtonLabel successMessage errorMessage\n redirectUrl enableCaptcha requireLogin\n saveSubmissions sendEmailNotification emailConfigurationId\n }\n submissionCount\n createdAt updatedAt createdBy updatedBy\n\n }\n }\n";
19
+ export declare const FORMS_QUERY = "\n query Forms($status: String, $skip: Int, $limit: Int) {\n forms(status: $status, skip: $skip, limit: $limit) {\n forms { \n id\n name\n slug\n description\n status\n fields {\n id name fieldType\n label placeholder helpText\n defaultValue\n validation { required minLength maxLength minValue maxValue pattern customMessage }\n options { value label disabled }\n width order showWhen\n }\n settings {\n actionType webhookUrl emailRecipients newsletterListId\n submitButtonLabel successMessage errorMessage\n redirectUrl enableCaptcha requireLogin\n saveSubmissions sendEmailNotification emailConfigurationId\n }\n submissionCount\n createdAt updatedAt createdBy updatedBy\n }\n total\n hasMore\n }\n }\n";
20
+ export declare const FORM_BY_ID_QUERY = "\n query Form($formId: ID!) {\n form(formId: $formId) {\n \n id\n name\n slug\n description\n status\n fields {\n id name fieldType\n label placeholder helpText\n defaultValue\n validation { required minLength maxLength minValue maxValue pattern customMessage }\n options { value label disabled }\n width order showWhen\n }\n settings {\n actionType webhookUrl emailRecipients newsletterListId\n submitButtonLabel successMessage errorMessage\n redirectUrl enableCaptcha requireLogin\n saveSubmissions sendEmailNotification emailConfigurationId\n }\n submissionCount\n createdAt updatedAt createdBy updatedBy\n\n }\n }\n";
21
21
  export declare const FORM_SUBMISSIONS_QUERY = "\n query FormSubmissions($formId: ID, $status: String, $skip: Int, $limit: Int) {\n formSubmissions(formId: $formId, status: $status, skip: $skip, limit: $limit) {\n submissions {\n id formId formSlug data status\n ipAddress userAgent referrer customerId\n processedAt emailSent webhookSent createdAt\n }\n total\n hasMore\n }\n }\n";
22
22
  export declare const FORM_SUBMISSION_BY_ID_QUERY = "\n query FormSubmission($submissionId: ID!) {\n formSubmission(submissionId: $submissionId) {\n id formId formSlug data status\n ipAddress userAgent referrer customerId\n processedAt emailSent webhookSent createdAt\n }\n }\n";
23
- export declare const CREATE_FORM_MUTATION = "\n mutation CreateForm($input: CreateFormInput!) {\n createForm(input: $input) {\n \n id\n name\n slug\n description\n status\n fields {\n id name fieldType\n label placeholder helpText\n defaultValue\n validation { required minLength maxLength minValue maxValue pattern customMessage }\n options { value label disabled }\n width order showIf\n }\n settings {\n actionType webhookUrl emailRecipients newsletterListId\n submitButtonLabel successMessage errorMessage\n redirectUrl enableCaptcha requireLogin\n saveSubmissions sendEmailNotification emailConfigurationId\n }\n submissionCount\n createdAt updatedAt createdBy updatedBy\n\n }\n }\n";
24
- export declare const UPDATE_FORM_MUTATION = "\n mutation UpdateForm($formId: ID!, $input: UpdateFormInput!) {\n updateForm(formId: $formId, input: $input) {\n \n id\n name\n slug\n description\n status\n fields {\n id name fieldType\n label placeholder helpText\n defaultValue\n validation { required minLength maxLength minValue maxValue pattern customMessage }\n options { value label disabled }\n width order showIf\n }\n settings {\n actionType webhookUrl emailRecipients newsletterListId\n submitButtonLabel successMessage errorMessage\n redirectUrl enableCaptcha requireLogin\n saveSubmissions sendEmailNotification emailConfigurationId\n }\n submissionCount\n createdAt updatedAt createdBy updatedBy\n\n }\n }\n";
23
+ export declare const CREATE_FORM_MUTATION = "\n mutation CreateForm($input: CreateFormInput!) {\n createForm(input: $input) {\n \n id\n name\n slug\n description\n status\n fields {\n id name fieldType\n label placeholder helpText\n defaultValue\n validation { required minLength maxLength minValue maxValue pattern customMessage }\n options { value label disabled }\n width order showWhen\n }\n settings {\n actionType webhookUrl emailRecipients newsletterListId\n submitButtonLabel successMessage errorMessage\n redirectUrl enableCaptcha requireLogin\n saveSubmissions sendEmailNotification emailConfigurationId\n }\n submissionCount\n createdAt updatedAt createdBy updatedBy\n\n }\n }\n";
24
+ export declare const UPDATE_FORM_MUTATION = "\n mutation UpdateForm($formId: ID!, $input: UpdateFormInput!) {\n updateForm(formId: $formId, input: $input) {\n \n id\n name\n slug\n description\n status\n fields {\n id name fieldType\n label placeholder helpText\n defaultValue\n validation { required minLength maxLength minValue maxValue pattern customMessage }\n options { value label disabled }\n width order showWhen\n }\n settings {\n actionType webhookUrl emailRecipients newsletterListId\n submitButtonLabel successMessage errorMessage\n redirectUrl enableCaptcha requireLogin\n saveSubmissions sendEmailNotification emailConfigurationId\n }\n submissionCount\n createdAt updatedAt createdBy updatedBy\n\n }\n }\n";
25
25
  export declare const DELETE_FORM_MUTATION = "\n mutation DeleteForm($formId: ID!) {\n deleteForm(formId: $formId)\n }\n";
26
26
  export declare const UPDATE_FORM_SUBMISSION_STATUS_MUTATION = "\n mutation UpdateFormSubmissionStatus($submissionId: ID!, $status: String!) {\n updateFormSubmissionStatus(submissionId: $submissionId, status: $status)\n }\n";
27
27
  export declare const DELETE_FORM_SUBMISSION_MUTATION = "\n mutation DeleteFormSubmission($submissionId: ID!) {\n deleteFormSubmission(submissionId: $submissionId)\n }\n";
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../src/queries.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,2YAqBvB,CAAC;AAIF,eAAO,MAAM,kBAAkB,8GAO9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,0kDA0E5B,CAAC;AAIF,eAAO,MAAM,iBAAiB,2JAU7B,CAAC;AAIF,eAAO,MAAM,uBAAuB,yRAiBnC,CAAC;AAIF,eAAO,MAAM,kBAAkB,+TAmB9B,CAAC;AAIF,eAAO,MAAM,kBAAkB,+tBAuC9B,CAAC;AAOF,eAAO,MAAM,4BAA4B,0OAUxC,CAAC;AAEF,eAAO,MAAM,6BAA6B,+ZAmBzC,CAAC;AAIF,eAAO,MAAM,gBAAgB,mUAsB5B,CAAC;AAEF,eAAO,MAAM,yBAAyB,uTAcrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,yOAYnC,CAAC;AAEF,eAAO,MAAM,6BAA6B,giBA6BzC,CAAC;AAEF,eAAO,MAAM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C,CAAC;AAEF,eAAO,MAAM,wBAAwB,gVAiBpC,CAAC;AAEF,eAAO,MAAM,yBAAyB,8GAIrC,CAAC;AAEF,eAAO,MAAM,gCAAgC,wPAO5C,CAAC;AAEF,eAAO,MAAM,gCAAgC,iNAI5C,CAAC;AAEF,eAAO,MAAM,8BAA8B,iQAO1C,CAAC;AAEF,eAAO,MAAM,gCAAgC,4IAI5C,CAAC;AAIF,eAAO,MAAM,qBAAqB,2sBAwCjC,CAAC;AAEF,eAAO,MAAM,oCAAoC,6QAYhD,CAAC;AAEF,eAAO,MAAM,oCAAoC,gMAOhD,CAAC;AAEF,eAAO,MAAM,aAAa,oRAmBzB,CAAC;AAEF,eAAO,MAAM,WAAW,yJAWvB,CAAC"}
package/dist/queries.js CHANGED
@@ -396,7 +396,7 @@ const FORM_FIELDS_FRAGMENT = `
396
396
  defaultValue
397
397
  validation { required minLength maxLength minValue maxValue pattern customMessage }
398
398
  options { value label disabled }
399
- width order showIf
399
+ width order showWhen
400
400
  }
401
401
  settings {
402
402
  actionType webhookUrl emailRecipients newsletterListId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmssy/mcp-server",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "description": "MCP server for Cmssy CMS — enables AI-driven page creation and management",
5
5
  "type": "module",
6
6
  "bin": {