@messenger-box/platform-client 10.0.3-alpha.72 → 10.0.3-alpha.77

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [10.0.3-alpha.77](https://github.com/CDEBase/messenger-box/compare/v10.0.3-alpha.76...v10.0.3-alpha.77) (2025-09-19)
7
+
8
+ **Note:** Version bump only for package @messenger-box/platform-client
9
+
10
+ ## [10.0.3-alpha.74](https://github.com/CDEBase/messenger-box/compare/v10.0.3-alpha.73...v10.0.3-alpha.74) (2025-09-18)
11
+
12
+ **Note:** Version bump only for package @messenger-box/platform-client
13
+
6
14
  ## [10.0.3-alpha.72](https://github.com/CDEBase/messenger-box/compare/v10.0.3-alpha.71...v10.0.3-alpha.72) (2025-08-28)
7
15
 
8
16
  **Note:** Version bump only for package @messenger-box/platform-client
@@ -70,3 +70,8 @@ mutation saveMembersToChannel($membersIds:[String]!,$channelId:String!){
70
70
  mutation DeleteChannel($ChannelId:ID!){
71
71
  deleteChannel(id: $ChannelId)
72
72
  }
73
+
74
+
75
+ mutation CreateChannelWithProjectId($projectId: String!, $channelInput: ChannelInput!) {
76
+ createChannelWithProjectId(projectId: $projectId, channelInput: $channelInput)
77
+ }
@@ -5,6 +5,7 @@ mutation SendMessages(
5
5
  $postId: ID,
6
6
  $createdBy: ID,
7
7
  $notificationParams:ExpoNotificationData,
8
+ $extraProps:AnyObject
8
9
  ){
9
10
  sendMessage(
10
11
  channelId: $channelId,
@@ -13,6 +14,7 @@ mutation SendMessages(
13
14
  files: $files,
14
15
  createdBy: $createdBy
15
16
  notificationParams: $notificationParams
17
+ extraProps: $extraProps
16
18
  },
17
19
  postId: $postId
18
20
  ){
@@ -95,6 +97,41 @@ mutation DeleteMessageFile($url:String!){
95
97
  }
96
98
 
97
99
 
100
+ mutation GenerateAiCode($messageId: String!, $modelConfig: ModelConfigurationInput) {
101
+ generateAiCode(messageId: $messageId, modelConfig: $modelConfig) {
102
+ eventId
103
+ message
104
+ success
105
+ }
106
+ }
107
+
108
+ mutation RecreateSandbox($messageId: String!, $projectId: String!) {
109
+ recreateSandbox(messageId: $messageId, projectId: $projectId) {
110
+ eventId
111
+ message
112
+ success
113
+ }
114
+ }
115
+
116
+ mutation UpdateSandboxFile($projectId: String!, $messageId: String!, $filePath: String!, $content: String!) {
117
+ updateSandboxFile(projectId: $projectId, messageId: $messageId, filePath: $filePath, content: $content) {
118
+ success
119
+ message
120
+ filePath
121
+ timestamp
122
+ syncStatus
123
+ }
124
+ }
125
+
126
+ mutation RegenerateAiCode($messageId: String!, $modelConfig: ModelConfigurationInput) {
127
+ regenerateAiCode(messageId: $messageId, modelConfig: $modelConfig) {
128
+ eventId
129
+ message
130
+ success
131
+ }
132
+ }
133
+
134
+
98
135
  #mutation PinMessage($messageId:String! , $messageInput:String! , $content:String!) {
99
136
  # pinMessage(
100
137
  # messageId: {
@@ -1,5 +1,5 @@
1
- query Messages($channelId: ID,$parentId: String, $limit: Int! = 10, $skip: Int! = 0, $sort: Sort) {
2
- messages(channelId: $channelId,parentId:$parentId, limit: $limit, skip: $skip, sort: $sort) @connection(key: "messages", filter: ["channelId","skip"]){
1
+ query Messages($channelId: ID,$parentId: String, $limit: Int! = 10, $skip: Int! = 0, $sort: Sort, $props: AnyObject) {
2
+ messages(channelId: $channelId,parentId:$parentId, limit: $limit, skip: $skip, sort: $sort, props: $props) @connection(key: "messages", filter: ["channelId","skip"]){
3
3
  messagesRefId @client
4
4
  data{
5
5
  ...Post
@@ -0,0 +1,11 @@
1
+ subscription FileUpdated($projectId: String!) {
2
+ fileUpdated(projectId: $projectId) {
3
+ projectId
4
+ messageId
5
+ filePath
6
+ content
7
+ operation
8
+ timestamp
9
+ syncStatus
10
+ }
11
+ }
@@ -0,0 +1,7 @@
1
+ subscription fragmentUpdated($projectId: String!) {
2
+ fragmentUpdated(projectId: $projectId) {
3
+ projectId
4
+ fragmentId
5
+ newSandboxUrl
6
+ }
7
+ }
@@ -0,0 +1,17 @@
1
+ subscription SandboxError($projectId: String!) {
2
+ sandboxError(projectId: $projectId) {
3
+ projectId
4
+ sandboxId
5
+ error {
6
+ id
7
+ projectId
8
+ sandboxId
9
+ errorType
10
+ message
11
+ stack
12
+ timestamp
13
+ url
14
+ fixable
15
+ }
16
+ }
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messenger-box/platform-client",
3
- "version": "10.0.3-alpha.72",
3
+ "version": "10.0.3-alpha.77",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@container-stack/file-info-client": "^5.4.1-alpha.9",
24
- "@messenger-box/core": "10.0.3-alpha.72",
24
+ "@messenger-box/core": "10.0.3-alpha.77",
25
25
  "key-mirror": "1.0.1",
26
26
  "moment-timezone": "0.5.33"
27
27
  },
@@ -35,5 +35,5 @@
35
35
  "typescript": {
36
36
  "definition": "lib/index.d.ts"
37
37
  },
38
- "gitHead": "b4e54a34578a1a63afbe7ab48644b86e5cc8858f"
38
+ "gitHead": "a5cdcab3cc1889db3580b24c519de1884c739df6"
39
39
  }
@@ -70,3 +70,8 @@ mutation saveMembersToChannel($membersIds:[String]!,$channelId:String!){
70
70
  mutation DeleteChannel($ChannelId:ID!){
71
71
  deleteChannel(id: $ChannelId)
72
72
  }
73
+
74
+
75
+ mutation CreateChannelWithProjectId($projectId: String!, $channelInput: ChannelInput!) {
76
+ createChannelWithProjectId(projectId: $projectId, channelInput: $channelInput)
77
+ }
@@ -5,6 +5,7 @@ mutation SendMessages(
5
5
  $postId: ID,
6
6
  $createdBy: ID,
7
7
  $notificationParams:ExpoNotificationData,
8
+ $extraProps:AnyObject
8
9
  ){
9
10
  sendMessage(
10
11
  channelId: $channelId,
@@ -13,6 +14,7 @@ mutation SendMessages(
13
14
  files: $files,
14
15
  createdBy: $createdBy
15
16
  notificationParams: $notificationParams
17
+ extraProps: $extraProps
16
18
  },
17
19
  postId: $postId
18
20
  ){
@@ -95,6 +97,41 @@ mutation DeleteMessageFile($url:String!){
95
97
  }
96
98
 
97
99
 
100
+ mutation GenerateAiCode($messageId: String!, $modelConfig: ModelConfigurationInput) {
101
+ generateAiCode(messageId: $messageId, modelConfig: $modelConfig) {
102
+ eventId
103
+ message
104
+ success
105
+ }
106
+ }
107
+
108
+ mutation RecreateSandbox($messageId: String!, $projectId: String!) {
109
+ recreateSandbox(messageId: $messageId, projectId: $projectId) {
110
+ eventId
111
+ message
112
+ success
113
+ }
114
+ }
115
+
116
+ mutation UpdateSandboxFile($projectId: String!, $messageId: String!, $filePath: String!, $content: String!) {
117
+ updateSandboxFile(projectId: $projectId, messageId: $messageId, filePath: $filePath, content: $content) {
118
+ success
119
+ message
120
+ filePath
121
+ timestamp
122
+ syncStatus
123
+ }
124
+ }
125
+
126
+ mutation RegenerateAiCode($messageId: String!, $modelConfig: ModelConfigurationInput) {
127
+ regenerateAiCode(messageId: $messageId, modelConfig: $modelConfig) {
128
+ eventId
129
+ message
130
+ success
131
+ }
132
+ }
133
+
134
+
98
135
  #mutation PinMessage($messageId:String! , $messageInput:String! , $content:String!) {
99
136
  # pinMessage(
100
137
  # messageId: {
@@ -1,5 +1,5 @@
1
- query Messages($channelId: ID,$parentId: String, $limit: Int! = 10, $skip: Int! = 0, $sort: Sort) {
2
- messages(channelId: $channelId,parentId:$parentId, limit: $limit, skip: $skip, sort: $sort) @connection(key: "messages", filter: ["channelId","skip"]){
1
+ query Messages($channelId: ID,$parentId: String, $limit: Int! = 10, $skip: Int! = 0, $sort: Sort, $props: AnyObject) {
2
+ messages(channelId: $channelId,parentId:$parentId, limit: $limit, skip: $skip, sort: $sort, props: $props) @connection(key: "messages", filter: ["channelId","skip"]){
3
3
  messagesRefId @client
4
4
  data{
5
5
  ...Post
@@ -0,0 +1,11 @@
1
+ subscription FileUpdated($projectId: String!) {
2
+ fileUpdated(projectId: $projectId) {
3
+ projectId
4
+ messageId
5
+ filePath
6
+ content
7
+ operation
8
+ timestamp
9
+ syncStatus
10
+ }
11
+ }
@@ -0,0 +1,7 @@
1
+ subscription fragmentUpdated($projectId: String!) {
2
+ fragmentUpdated(projectId: $projectId) {
3
+ projectId
4
+ fragmentId
5
+ newSandboxUrl
6
+ }
7
+ }
@@ -0,0 +1,17 @@
1
+ subscription SandboxError($projectId: String!) {
2
+ sandboxError(projectId: $projectId) {
3
+ projectId
4
+ sandboxId
5
+ error {
6
+ id
7
+ projectId
8
+ sandboxId
9
+ errorType
10
+ message
11
+ stack
12
+ timestamp
13
+ url
14
+ fixable
15
+ }
16
+ }
17
+ }