rimelight-components 2.2.7 → 2.2.8

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/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "docs": "https://rimelight.com/tools/rimelight-components",
5
5
  "configKey": "rimelightComponents",
6
6
  "compatibility": {
package/dist/module.mjs CHANGED
@@ -4,7 +4,7 @@ import { readdirSync } from 'node:fs';
4
4
  import { basename } from 'node:path';
5
5
 
6
6
  const name = "rimelight-components";
7
- const version = "2.2.7";
7
+ const version = "2.2.8";
8
8
  const homepage = "https://rimelight.com/tools/rimelight-components";
9
9
 
10
10
  const defaultOptions = {
@@ -15,6 +15,7 @@ const isOpen = computed({
15
15
  v-model:open="isOpen"
16
16
  :title="state.options.title"
17
17
  :description="state.options.description"
18
+ class="z-9999"
18
19
  >
19
20
  <template #body>
20
21
  <div class="flex flex-row justify-between gap-sm">
@@ -2215,6 +2215,7 @@ export declare const userRelations: import("drizzle-orm").Relations<"user", {
2215
2215
  notes: import("drizzle-orm").Many<"note">;
2216
2216
  noteLabels: import("drizzle-orm").Many<"noteLabel">;
2217
2217
  todos: import("drizzle-orm").Many<"todo">;
2218
+ teamMembers: import("drizzle-orm").Many<"team_member">;
2218
2219
  }>;
2219
2220
  export declare const sessionRelations: import("drizzle-orm").Relations<"session", {
2220
2221
  user: import("drizzle-orm").One<"user", true>;
@@ -144,8 +144,8 @@ export const team = pgTable(
144
144
  );
145
145
  export const teamMember = pgTable("team_member", {
146
146
  id: id.primaryKey(),
147
- teamId: uuid("team_id").notNull(),
148
- userId: uuid("user_id").notNull(),
147
+ teamId: uuid("team_id").notNull().references(() => team.id, { onDelete: "cascade" }),
148
+ userId: uuid("user_id").notNull().references(() => user.id, { onDelete: "cascade" }),
149
149
  role: text("role").notNull(),
150
150
  ...timestamps
151
151
  });
@@ -191,7 +191,8 @@ export const userRelations = relations(user, ({ many }) => ({
191
191
  invitations: many(invitation),
192
192
  notes: many(note),
193
193
  noteLabels: many(noteLabel),
194
- todos: many(todo)
194
+ todos: many(todo),
195
+ teamMembers: many(teamMember)
195
196
  }));
196
197
  export const sessionRelations = relations(session, ({ one }) => ({
197
198
  user: one(user, {
@@ -144,8 +144,8 @@ export const team = pgTable(
144
144
  );
145
145
  export const teamMember = pgTable("team_member", {
146
146
  id: id.primaryKey(),
147
- teamId: uuid("team_id").notNull(),
148
- userId: uuid("user_id").notNull(),
147
+ teamId: uuid("team_id").notNull().references(() => team.id, { onDelete: "cascade" }),
148
+ userId: uuid("user_id").notNull().references(() => user.id, { onDelete: "cascade" }),
149
149
  role: text("role").notNull(),
150
150
  ...timestamps
151
151
  });
@@ -191,7 +191,8 @@ export const userRelations = relations(user, ({ many }) => ({
191
191
  invitations: many(invitation),
192
192
  notes: many(note),
193
193
  noteLabels: many(noteLabel),
194
- todos: many(todo)
194
+ todos: many(todo),
195
+ teamMembers: many(teamMember)
195
196
  }));
196
197
  export const sessionRelations = relations(session, ({ one }) => ({
197
198
  user: one(user, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimelight-components",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "description": "A component library by Rimelight Entertainment.",
5
5
  "keywords": [
6
6
  "nuxt",