@speakableio/core 0.1.95 → 0.1.96

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.
@@ -149,6 +149,8 @@ interface PageActivity {
149
149
  allowTTS?: boolean;
150
150
  feedback_language?: string | null;
151
151
  correct_answer?: string | null;
152
+ limit_attempts?: boolean;
153
+ max_attempts?: number;
152
154
  }
153
155
  declare enum ActivityPageType {
154
156
  READ_REPEAT = "READ_REPEAT",
@@ -267,6 +269,8 @@ declare function useCreateCards(): {
267
269
  allowTTS?: boolean;
268
270
  feedback_language?: string | null;
269
271
  correct_answer?: string | null;
272
+ limit_attempts?: boolean;
273
+ max_attempts?: number;
270
274
  }[], Error, {
271
275
  cards: PageActivity[];
272
276
  }, unknown>;
@@ -356,6 +360,8 @@ declare const createCardRepo: () => {
356
360
  allowTTS?: boolean;
357
361
  feedback_language?: string | null;
358
362
  correct_answer?: string | null;
363
+ limit_attempts?: boolean;
364
+ max_attempts?: number;
359
365
  }[]>;
360
366
  getCard: (params: {
361
367
  cardId: string;
@@ -1127,6 +1133,8 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1127
1133
  allowTTS?: boolean;
1128
1134
  feedback_language?: string | null;
1129
1135
  correct_answer?: string | null;
1136
+ limit_attempts?: boolean;
1137
+ max_attempts?: number;
1130
1138
  }[]>;
1131
1139
  getCard: (params: {
1132
1140
  cardId: string;
@@ -2796,6 +2804,8 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
2796
2804
  allowTTS?: boolean;
2797
2805
  feedback_language?: string | null;
2798
2806
  correct_answer?: string | null;
2807
+ limit_attempts?: boolean;
2808
+ max_attempts?: number;
2799
2809
  }[]>;
2800
2810
  getCard: (params: {
2801
2811
  cardId: string;
@@ -149,6 +149,8 @@ interface PageActivity {
149
149
  allowTTS?: boolean;
150
150
  feedback_language?: string | null;
151
151
  correct_answer?: string | null;
152
+ limit_attempts?: boolean;
153
+ max_attempts?: number;
152
154
  }
153
155
  declare enum ActivityPageType {
154
156
  READ_REPEAT = "READ_REPEAT",
@@ -267,6 +269,8 @@ declare function useCreateCards(): {
267
269
  allowTTS?: boolean;
268
270
  feedback_language?: string | null;
269
271
  correct_answer?: string | null;
272
+ limit_attempts?: boolean;
273
+ max_attempts?: number;
270
274
  }[], Error, {
271
275
  cards: PageActivity[];
272
276
  }, unknown>;
@@ -356,6 +360,8 @@ declare const createCardRepo: () => {
356
360
  allowTTS?: boolean;
357
361
  feedback_language?: string | null;
358
362
  correct_answer?: string | null;
363
+ limit_attempts?: boolean;
364
+ max_attempts?: number;
359
365
  }[]>;
360
366
  getCard: (params: {
361
367
  cardId: string;
@@ -1127,6 +1133,8 @@ declare function createFsClientBase({ db, helpers, httpsCallable, logEvent, }: {
1127
1133
  allowTTS?: boolean;
1128
1134
  feedback_language?: string | null;
1129
1135
  correct_answer?: string | null;
1136
+ limit_attempts?: boolean;
1137
+ max_attempts?: number;
1130
1138
  }[]>;
1131
1139
  getCard: (params: {
1132
1140
  cardId: string;
@@ -2796,6 +2804,8 @@ declare const createFsClientNative: ({ db, httpsCallable, logEvent }: FsClientPa
2796
2804
  allowTTS?: boolean;
2797
2805
  feedback_language?: string | null;
2798
2806
  correct_answer?: string | null;
2807
+ limit_attempts?: boolean;
2808
+ max_attempts?: number;
2799
2809
  }[]>;
2800
2810
  getCard: (params: {
2801
2811
  cardId: string;