@rimori/client 2.5.24 → 2.5.25-next.1
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/plugin/CommunicationHandler.d.ts +1 -0
- package/dist/plugin/module/DbModule.d.ts +1 -1
- package/dist/plugin/module/ExerciseModule.d.ts +1 -1
- package/dist/plugin/module/ExerciseModule.js +1 -1
- package/dist/plugin/module/PluginModule.d.ts +1 -1
- package/dist/plugin/module/PluginModule.js +1 -0
- package/package.json +1 -1
|
@@ -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
|
}
|
|
@@ -55,6 +55,7 @@ export declare class PluginModule {
|
|
|
55
55
|
id: string;
|
|
56
56
|
name: string;
|
|
57
57
|
description: string | null;
|
|
58
|
+
isShadowGuild: boolean;
|
|
58
59
|
};
|
|
59
60
|
/**
|
|
60
61
|
* Register a callback to be notified when RimoriInfo is updated.
|
|
@@ -134,7 +135,6 @@ export interface UserInfo {
|
|
|
134
135
|
skill_level_listening: LanguageLevel;
|
|
135
136
|
skill_level_understanding: LanguageLevel;
|
|
136
137
|
study_buddy: Buddy;
|
|
137
|
-
study_duration: number;
|
|
138
138
|
/**
|
|
139
139
|
* The language the user speaks natively.
|
|
140
140
|
*/
|