motia 0.5.11-beta.120-011950 → 0.5.11-beta.120-356715
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/cjs/create/templates/python/steps/api_step.py.txt +1 -1
- package/dist/cjs/create/templates/python/tutorial.tsx.txt +1 -1
- package/dist/cjs/create/templates/typescript/steps/api.step.ts.txt +2 -2
- package/dist/cjs/create/templates/typescript/tutorial.tsx.txt +1 -1
- package/dist/dot-files/.cursor/rules/ai-agent-patterns.mdc +725 -0
- package/dist/dot-files/.cursor/rules/api-design-patterns.mdc +740 -0
- package/dist/dot-files/.cursor/rules/api-steps.mdc +125 -64
- package/dist/dot-files/.cursor/rules/authentication-patterns.mdc +620 -0
- package/dist/dot-files/.cursor/rules/background-job-patterns.mdc +628 -0
- package/dist/dot-files/.cursor/rules/complete-application-patterns.mdc +433 -0
- package/dist/dot-files/.cursor/rules/complete-backend-generator.mdc +415 -0
- package/dist/dot-files/.cursor/rules/event-steps.mdc +271 -133
- package/dist/dot-files/.cursor/rules/multi-language-workflows.mdc +1059 -0
- package/dist/dot-files/.cursor/rules/production-deployment.mdc +668 -0
- package/dist/dot-files/.cursor/rules/realtime-streaming.mdc +656 -0
- package/dist/dot-files/.cursor/rules/state-management.mdc +133 -87
- package/dist/dot-files/.cursor/rules/steps.mdc +68 -12
- package/dist/dot-files/.cursor/rules/workflow-patterns.mdc +938 -0
- package/dist/dot-files/CLAUDE.md +334 -129
- package/dist/esm/create/templates/python/steps/api_step.py.txt +1 -1
- package/dist/esm/create/templates/python/tutorial.tsx.txt +1 -1
- package/dist/esm/create/templates/typescript/steps/api.step.ts.txt +2 -2
- package/dist/esm/create/templates/typescript/tutorial.tsx.txt +1 -1
- package/package.json +4 -4
|
@@ -611,7 +611,7 @@ export const steps: TutorialStep[] = [
|
|
|
611
611
|
<br />
|
|
612
612
|
<br />
|
|
613
613
|
We recommend you give our{' '}
|
|
614
|
-
<a href="https://www.motia.dev/docs/
|
|
614
|
+
<a href="https://www.motia.dev/docs/concepts" target="_blank">
|
|
615
615
|
core concepts
|
|
616
616
|
</a>{' '}
|
|
617
617
|
a read if you wish to learn further about Motia's fundamentals.
|
|
@@ -29,7 +29,7 @@ export const config: ApiRouteConfig = {
|
|
|
29
29
|
emits: ['process-food-order'],
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export const handler: Handlers['ApiTrigger'] = async (req, { logger, emit }) => {
|
|
32
|
+
export const handler: Handlers['ApiTrigger'] = async (req, { logger, traceId, emit }) => {
|
|
33
33
|
logger.info('Step 01 – Processing API Step', { body: req.body })
|
|
34
34
|
|
|
35
35
|
const { pet, foodOrder } = req.body
|
|
@@ -46,5 +46,5 @@ export const handler: Handlers['ApiTrigger'] = async (req, { logger, emit }) =>
|
|
|
46
46
|
})
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
return { status: 200, body: newPetRecord }
|
|
49
|
+
return { status: 200, body: {...newPetRecord, traceId } }
|
|
50
50
|
}
|
|
@@ -611,7 +611,7 @@ export const steps: TutorialStep[] = [
|
|
|
611
611
|
<br />
|
|
612
612
|
<br />
|
|
613
613
|
We recommend you give our{' '}
|
|
614
|
-
<a href="https://www.motia.dev/docs/
|
|
614
|
+
<a href="https://www.motia.dev/docs/concepts" target="_blank">
|
|
615
615
|
core concepts
|
|
616
616
|
</a>{' '}
|
|
617
617
|
a read if you wish to learn further about Motia's fundamentals.
|