@sprucelabs/spruce-core-schemas 41.1.20 → 41.2.0
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/build/.spruce/schemas/core.schemas.types.d.ts +16 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/message.schema.js +6 -0
- package/build/.spruce/schemas/spruce/v2020_07_22/sendMessage.schema.js +6 -0
- package/build/esm/.spruce/schemas/core.schemas.types.d.ts +16 -0
- package/build/esm/.spruce/schemas/spruce/v2020_07_22/message.schema.js +6 -0
- package/build/esm/.spruce/schemas/spruce/v2020_07_22/sendMessage.schema.js +6 -0
- package/build/esm/schemas/v2020_07_22/message.builder.d.ts +4 -0
- package/build/esm/schemas/v2020_07_22/message.builder.js +4 -0
- package/build/esm/schemas/v2020_07_22/sendMessage.builder.d.ts +4 -0
- package/build/schemas/v2020_07_22/message.builder.d.ts +4 -0
- package/build/schemas/v2020_07_22/message.builder.js +4 -0
- package/build/schemas/v2020_07_22/sendMessage.builder.d.ts +4 -0
- package/package.json +5 -5
|
@@ -749,6 +749,8 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
749
749
|
'id': string;
|
|
750
750
|
/** . An arbitrary id that can be used to track this message when being sent and not yet assigned an Id. */
|
|
751
751
|
'trackingId'?: string | undefined | null;
|
|
752
|
+
/** . If this message is a reply to another message, this is the id of that original message. */
|
|
753
|
+
'inReplyToMessageId'?: string | undefined | null;
|
|
752
754
|
'dateCreated': number;
|
|
753
755
|
'dateSent'?: number | undefined | null;
|
|
754
756
|
'target': SpruceSchemas.Spruce.v2020_07_22.MessageTarget;
|
|
@@ -782,6 +784,12 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
782
784
|
hint: 'An arbitrary id that can be used to track this message when being sent and not yet assigned an Id.';
|
|
783
785
|
options: undefined;
|
|
784
786
|
};
|
|
787
|
+
/** . If this message is a reply to another message, this is the id of that original message. */
|
|
788
|
+
'inReplyToMessageId': {
|
|
789
|
+
type: 'id';
|
|
790
|
+
hint: 'If this message is a reply to another message, this is the id of that original message.';
|
|
791
|
+
options: undefined;
|
|
792
|
+
};
|
|
785
793
|
/** . */
|
|
786
794
|
'dateCreated': {
|
|
787
795
|
type: 'number';
|
|
@@ -1255,6 +1263,8 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
1255
1263
|
interface SendMessage {
|
|
1256
1264
|
/** . An arbitrary id that can be used to track this message when being sent and not yet assigned an Id. */
|
|
1257
1265
|
'trackingId'?: string | undefined | null;
|
|
1266
|
+
/** . If this message is a reply to another message, this is the id of that original message. */
|
|
1267
|
+
'inReplyToMessageId'?: string | undefined | null;
|
|
1258
1268
|
'dateSent'?: number | undefined | null;
|
|
1259
1269
|
'target': SpruceSchemas.Spruce.v2020_07_22.MessageTarget;
|
|
1260
1270
|
'errors'?: string[] | undefined | null;
|
|
@@ -1279,6 +1289,12 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
1279
1289
|
hint: 'An arbitrary id that can be used to track this message when being sent and not yet assigned an Id.';
|
|
1280
1290
|
options: undefined;
|
|
1281
1291
|
};
|
|
1292
|
+
/** . If this message is a reply to another message, this is the id of that original message. */
|
|
1293
|
+
'inReplyToMessageId': {
|
|
1294
|
+
type: 'id';
|
|
1295
|
+
hint: 'If this message is a reply to another message, this is the id of that original message.';
|
|
1296
|
+
options: undefined;
|
|
1297
|
+
};
|
|
1282
1298
|
/** . */
|
|
1283
1299
|
'dateSent': {
|
|
1284
1300
|
type: 'number';
|
|
@@ -28,6 +28,12 @@ const messageSchema = {
|
|
|
28
28
|
hint: 'An arbitrary id that can be used to track this message when being sent and not yet assigned an Id.',
|
|
29
29
|
options: undefined
|
|
30
30
|
},
|
|
31
|
+
/** . If this message is a reply to another message, this is the id of that original message. */
|
|
32
|
+
'inReplyToMessageId': {
|
|
33
|
+
type: 'id',
|
|
34
|
+
hint: 'If this message is a reply to another message, this is the id of that original message.',
|
|
35
|
+
options: undefined
|
|
36
|
+
},
|
|
31
37
|
/** . */
|
|
32
38
|
'dateCreated': {
|
|
33
39
|
type: 'number',
|
|
@@ -20,6 +20,12 @@ const sendMessageSchema = {
|
|
|
20
20
|
hint: 'An arbitrary id that can be used to track this message when being sent and not yet assigned an Id.',
|
|
21
21
|
options: undefined
|
|
22
22
|
},
|
|
23
|
+
/** . If this message is a reply to another message, this is the id of that original message. */
|
|
24
|
+
'inReplyToMessageId': {
|
|
25
|
+
type: 'id',
|
|
26
|
+
hint: 'If this message is a reply to another message, this is the id of that original message.',
|
|
27
|
+
options: undefined
|
|
28
|
+
},
|
|
23
29
|
/** . */
|
|
24
30
|
'dateSent': {
|
|
25
31
|
type: 'number',
|
|
@@ -749,6 +749,8 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
749
749
|
'id': string;
|
|
750
750
|
/** . An arbitrary id that can be used to track this message when being sent and not yet assigned an Id. */
|
|
751
751
|
'trackingId'?: string | undefined | null;
|
|
752
|
+
/** . If this message is a reply to another message, this is the id of that original message. */
|
|
753
|
+
'inReplyToMessageId'?: string | undefined | null;
|
|
752
754
|
'dateCreated': number;
|
|
753
755
|
'dateSent'?: number | undefined | null;
|
|
754
756
|
'target': SpruceSchemas.Spruce.v2020_07_22.MessageTarget;
|
|
@@ -782,6 +784,12 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
782
784
|
hint: 'An arbitrary id that can be used to track this message when being sent and not yet assigned an Id.';
|
|
783
785
|
options: undefined;
|
|
784
786
|
};
|
|
787
|
+
/** . If this message is a reply to another message, this is the id of that original message. */
|
|
788
|
+
'inReplyToMessageId': {
|
|
789
|
+
type: 'id';
|
|
790
|
+
hint: 'If this message is a reply to another message, this is the id of that original message.';
|
|
791
|
+
options: undefined;
|
|
792
|
+
};
|
|
785
793
|
/** . */
|
|
786
794
|
'dateCreated': {
|
|
787
795
|
type: 'number';
|
|
@@ -1255,6 +1263,8 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
1255
1263
|
interface SendMessage {
|
|
1256
1264
|
/** . An arbitrary id that can be used to track this message when being sent and not yet assigned an Id. */
|
|
1257
1265
|
'trackingId'?: string | undefined | null;
|
|
1266
|
+
/** . If this message is a reply to another message, this is the id of that original message. */
|
|
1267
|
+
'inReplyToMessageId'?: string | undefined | null;
|
|
1258
1268
|
'dateSent'?: number | undefined | null;
|
|
1259
1269
|
'target': SpruceSchemas.Spruce.v2020_07_22.MessageTarget;
|
|
1260
1270
|
'errors'?: string[] | undefined | null;
|
|
@@ -1279,6 +1289,12 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
1279
1289
|
hint: 'An arbitrary id that can be used to track this message when being sent and not yet assigned an Id.';
|
|
1280
1290
|
options: undefined;
|
|
1281
1291
|
};
|
|
1292
|
+
/** . If this message is a reply to another message, this is the id of that original message. */
|
|
1293
|
+
'inReplyToMessageId': {
|
|
1294
|
+
type: 'id';
|
|
1295
|
+
hint: 'If this message is a reply to another message, this is the id of that original message.';
|
|
1296
|
+
options: undefined;
|
|
1297
|
+
};
|
|
1282
1298
|
/** . */
|
|
1283
1299
|
'dateSent': {
|
|
1284
1300
|
type: 'number';
|
|
@@ -23,6 +23,12 @@ const messageSchema = {
|
|
|
23
23
|
hint: 'An arbitrary id that can be used to track this message when being sent and not yet assigned an Id.',
|
|
24
24
|
options: undefined
|
|
25
25
|
},
|
|
26
|
+
/** . If this message is a reply to another message, this is the id of that original message. */
|
|
27
|
+
'inReplyToMessageId': {
|
|
28
|
+
type: 'id',
|
|
29
|
+
hint: 'If this message is a reply to another message, this is the id of that original message.',
|
|
30
|
+
options: undefined
|
|
31
|
+
},
|
|
26
32
|
/** . */
|
|
27
33
|
'dateCreated': {
|
|
28
34
|
type: 'number',
|
|
@@ -15,6 +15,12 @@ const sendMessageSchema = {
|
|
|
15
15
|
hint: 'An arbitrary id that can be used to track this message when being sent and not yet assigned an Id.',
|
|
16
16
|
options: undefined
|
|
17
17
|
},
|
|
18
|
+
/** . If this message is a reply to another message, this is the id of that original message. */
|
|
19
|
+
'inReplyToMessageId': {
|
|
20
|
+
type: 'id',
|
|
21
|
+
hint: 'If this message is a reply to another message, this is the id of that original message.',
|
|
22
|
+
options: undefined
|
|
23
|
+
},
|
|
18
24
|
/** . */
|
|
19
25
|
'dateSent': {
|
|
20
26
|
type: 'number',
|
|
@@ -44,6 +44,10 @@ export default buildSchema({
|
|
|
44
44
|
type: 'id',
|
|
45
45
|
hint: 'An arbitrary id that can be used to track this message when being sent and not yet assigned an Id.',
|
|
46
46
|
},
|
|
47
|
+
inReplyToMessageId: {
|
|
48
|
+
type: 'id',
|
|
49
|
+
hint: 'If this message is a reply to another message, this is the id of that original message.',
|
|
50
|
+
},
|
|
47
51
|
dateCreated: {
|
|
48
52
|
type: 'number',
|
|
49
53
|
isRequired: true,
|
|
@@ -57,6 +57,10 @@ exports.default = (0, schema_1.buildSchema)({
|
|
|
57
57
|
type: 'id',
|
|
58
58
|
hint: 'An arbitrary id that can be used to track this message when being sent and not yet assigned an Id.',
|
|
59
59
|
},
|
|
60
|
+
inReplyToMessageId: {
|
|
61
|
+
type: 'id',
|
|
62
|
+
hint: 'If this message is a reply to another message, this is the id of that original message.',
|
|
63
|
+
},
|
|
60
64
|
dateCreated: {
|
|
61
65
|
type: 'number',
|
|
62
66
|
isRequired: true,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "41.
|
|
6
|
+
"version": "41.2.0",
|
|
7
7
|
"files": [
|
|
8
8
|
"build/**/*",
|
|
9
9
|
"tsconfig.json"
|
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
"watch.rebuild": "yarn run clean.all && yarn install && yarn run watch.build.dev"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@sprucelabs/schema": "^32.1.
|
|
63
|
+
"@sprucelabs/schema": "^32.1.56"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@sprucelabs/esm-postbuild": "^7.0.38",
|
|
67
67
|
"@sprucelabs/jest-json-reporter": "^9.0.58",
|
|
68
68
|
"@sprucelabs/resolve-path-aliases": "^3.0.26",
|
|
69
69
|
"@sprucelabs/semantic-release": "^5.0.2",
|
|
70
|
-
"@sprucelabs/test": "^10.0.
|
|
71
|
-
"@sprucelabs/test-utils": "^6.0.
|
|
70
|
+
"@sprucelabs/test": "^10.0.23",
|
|
71
|
+
"@sprucelabs/test-utils": "^6.0.90",
|
|
72
72
|
"@types/node": "^24.6.0",
|
|
73
73
|
"chokidar-cli": "^3.0.0",
|
|
74
74
|
"date-fns": "^4.1.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"ts-node": "^10.9.2",
|
|
82
82
|
"tsc-watch": "^7.2.0",
|
|
83
83
|
"tsconfig-paths": "^4.2.0",
|
|
84
|
-
"typescript": "^5.9.
|
|
84
|
+
"typescript": "^5.9.3"
|
|
85
85
|
},
|
|
86
86
|
"jest": {
|
|
87
87
|
"testRunner": "jest-circus/runner",
|