@vibes.diy/api-types 14.3.259 → 14.3.261

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "14.3.259",
3
+ "version": "14.3.261",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -22,9 +22,9 @@
22
22
  "dependencies": {
23
23
  "@adviser/cement": "~0.5.34",
24
24
  "@cloudflare/workers-types": "~5.20261019.1",
25
- "@vibes.diy/call-ai-v2": "14.3.259",
26
- "@vibes.diy/identity": "14.3.259",
27
- "@vibes.diy/vibe-types": "14.3.259",
25
+ "@vibes.diy/call-ai-v2": "14.3.261",
26
+ "@vibes.diy/identity": "14.3.261",
27
+ "@vibes.diy/vibe-types": "14.3.261",
28
28
  "arktype": "~2.2.8"
29
29
  },
30
30
  "repository": {
@@ -15,6 +15,17 @@ export interface RetentionStep {
15
15
  readonly label: string;
16
16
  readonly to: "home" | "newest-app";
17
17
  };
18
+ readonly beforeButton?: string;
19
+ readonly cardButton?: string;
20
+ readonly many?: {
21
+ readonly subject?: string;
22
+ readonly beforeButton?: string;
23
+ readonly cardButton?: string;
24
+ readonly button?: {
25
+ readonly label: string;
26
+ readonly to: "home" | "newest-app";
27
+ };
28
+ };
18
29
  readonly after: string;
19
30
  }
20
31
  export declare const RETENTION_DRIP_STEPS: readonly RetentionStep[];
@@ -6,17 +6,16 @@ export const RETENTION_DRIP_STEPS = [
6
6
  afterDays: 2,
7
7
  withinDays: 5,
8
8
  subject: "Ideas for your first app",
9
- body: "Here's what people are making on Vibes DIY (https://vibes.diy/) right now:",
10
- showcase: "gallery",
11
- showcaseLimit: 3,
12
- button: { label: "Let's make an app", to: "home" },
13
- after: [
14
- "Each one started as a sentence typed into the box. Games, a tool for your group, a lab for one idea all work well. Start with whatever is on your mind.",
9
+ body: [
10
+ "One sentence is all it takes to make an app. Start with whatever is on your mind!",
15
11
  "",
16
- "Vibes DIY is free to try, and every app you make is yours to keep, so try lots of ideas.",
17
- "",
18
- "Want help with an idea? Reply. It comes straight to me.",
12
+ "Here's what people are making on Vibes DIY (https://vibes.diy/) right now:",
19
13
  ].join("\n"),
14
+ showcase: "gallery",
15
+ showcaseLimit: 3,
16
+ beforeButton: "Vibes DIY is free to try, and every app you make is yours to keep.",
17
+ button: { label: "Give it a try!", to: "home" },
18
+ after: "Want help with an idea? Just reach out!",
20
19
  },
21
20
  {
22
21
  id: "share-your-app",
@@ -25,15 +24,18 @@ export const RETENTION_DRIP_STEPS = [
25
24
  afterDays: 1,
26
25
  withinDays: 5,
27
26
  subject: "Your app is ready to share",
28
- body: "Here's what you made on Vibes DIY (https://vibes.diy/), ready to use.",
27
+ body: "Here's what you made on Vibes DIY (https://vibes.diy/)!",
29
28
  showcase: "own-apps",
30
29
  showcaseLimit: 5,
31
- button: { label: "Your app is ready to share", to: "newest-app" },
32
- after: [
33
- "Open it and tap Share to send it to someone.",
34
- "",
35
- "Free to try, yours to keep. Reply and it comes straight to me.",
36
- ].join("\n"),
30
+ beforeButton: "It has its own link, ready to send to a friend or drop in a group chat.",
31
+ button: { label: "Share your app", to: "newest-app" },
32
+ many: {
33
+ subject: "Your apps are ready to share",
34
+ beforeButton: "Each one has its own link, ready to send to a friend or drop in a group chat. Got another idea?",
35
+ cardButton: "Share It!",
36
+ button: { label: "Make another app", to: "home" },
37
+ },
38
+ after: "",
37
39
  },
38
40
  ];
39
41
  export function findRetentionStep(id) {
@@ -1 +1 @@
1
- {"version":3,"file":"retention-steps.js","sourceRoot":"","sources":["../jsr/retention-steps.ts"],"names":[],"mappings":"AAoEA,MAAM,CAAC,MAAM,oBAAoB,GAA6B;IAC5D;QACE,EAAE,EAAE,iBAAiB;QAErB,QAAQ,EAAE,eAAe;QACzB,KAAK,EAAE,QAAQ;QACf,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,CAAC;QACb,O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