@rimori/client 2.5.24-next.1 → 2.5.24-next.2
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.
|
@@ -20,7 +20,7 @@ type DbQueryBuilder<Row extends Record<string, unknown>> = Omit<PostgrestQueryBu
|
|
|
20
20
|
count?: 'exact' | 'planned' | 'estimated';
|
|
21
21
|
}): PostgrestFilterBuilder<any, any, Row, Row[], string, any, 'GET'>;
|
|
22
22
|
};
|
|
23
|
-
export type PublicityLevel = 'own' | 'guild';
|
|
23
|
+
export type PublicityLevel = 'own' | 'guild' | 'lang';
|
|
24
24
|
/**
|
|
25
25
|
* Database module for plugin database operations.
|
|
26
26
|
* Provides access to plugin tables with automatic prefixing and schema management.
|
|
@@ -29,7 +29,7 @@ export class ExerciseModule {
|
|
|
29
29
|
*/
|
|
30
30
|
view() {
|
|
31
31
|
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
-
const { data, error } = yield this.supabase.from('weekly_exercises').select('*');
|
|
32
|
+
const { data, error } = yield this.supabase.schema('public').from('weekly_exercises').select('*');
|
|
33
33
|
if (error) {
|
|
34
34
|
throw new Error(`Failed to fetch weekly exercises: ${error.message}`);
|
|
35
35
|
}
|