@messenger-box/platform-client 10.0.3-alpha.72 → 10.0.3-alpha.74
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 +4 -0
- package/lib/graphql/mutations/channel-mutation.gql +5 -0
- package/lib/graphql/mutations/messages-mutation.gql +37 -0
- package/lib/graphql/queries/messages.gql +2 -2
- package/lib/graphql/subscription/fileUpdated.gql +11 -0
- package/lib/graphql/subscription/fragmentUpdated.gql +7 -0
- package/lib/graphql/subscription/sandboxError.gql +17 -0
- package/package.json +3 -3
- package/src/graphql/mutations/channel-mutation.gql +5 -0
- package/src/graphql/mutations/messages-mutation.gql +37 -0
- package/src/graphql/queries/messages.gql +2 -2
- package/src/graphql/subscription/fileUpdated.gql +11 -0
- package/src/graphql/subscription/fragmentUpdated.gql +7 -0
- package/src/graphql/subscription/sandboxError.gql +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.74](https://github.com/CDEBase/messenger-box/compare/v10.0.3-alpha.73...v10.0.3-alpha.74) (2025-09-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @messenger-box/platform-client
|
|
9
|
+
|
|
6
10
|
## [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
11
|
|
|
8
12
|
**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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@messenger-box/platform-client",
|
|
3
|
-
"version": "10.0.3-alpha.
|
|
3
|
+
"version": "10.0.3-alpha.74",
|
|
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.
|
|
24
|
+
"@messenger-box/core": "10.0.3-alpha.74",
|
|
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": "
|
|
38
|
+
"gitHead": "2bfc901f9f0a9da1919294e1ebd8246edec0a3b0"
|
|
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
|