Skip to content

Commit 2832e7f

Browse files
Copilothotlong
andcommitted
Add feeds and activities capabilities to all examples for consistency
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent ed7726d commit 2832e7f

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

examples/modern-fields/src/event.object.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ export const Event = ObjectSchema.create({
1717
enable: {
1818
apiEnabled: true,
1919
trackHistory: true,
20-
mru: true,
20+
feeds: true, // Enable social feed, comments, and mentions
21+
activities: true, // Enable tasks and events tracking
22+
mru: true, // Track Most Recently Used
2123
},
2224
fields: {
2325
title: Field.text({

examples/modern-fields/src/product.object.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ export const Product = ObjectSchema.create({
1717
enable: {
1818
apiEnabled: true,
1919
trackHistory: true,
20-
mru: true,
20+
feeds: true, // Enable social feed, comments, and mentions
21+
activities: true, // Enable tasks and events tracking
22+
mru: true, // Track Most Recently Used
2123
},
2224
fields: {
2325
// Basic fields

examples/todo/src/domains/todo/task.object.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ export const TodoTask = ObjectSchema.create({
99
enable: {
1010
apiEnabled: true,
1111
trackHistory: true,
12-
mru: true,
12+
feeds: true, // Enable social feed, comments, and mentions
13+
activities: true, // Enable tasks and events tracking
14+
mru: true, // Track Most Recently Used
1315
},
1416
fields: {
1517
subject: Field.text({ required: true }),

0 commit comments

Comments
 (0)