@convex-dev/workos-authkit 0.1.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.
Files changed (60) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +288 -0
  3. package/dist/client/_generated/_ignore.d.ts +1 -0
  4. package/dist/client/_generated/_ignore.d.ts.map +1 -0
  5. package/dist/client/_generated/_ignore.js +3 -0
  6. package/dist/client/_generated/_ignore.js.map +1 -0
  7. package/dist/client/index.d.ts +83 -0
  8. package/dist/client/index.d.ts.map +1 -0
  9. package/dist/client/index.js +177 -0
  10. package/dist/client/index.js.map +1 -0
  11. package/dist/client/types.d.ts +27 -0
  12. package/dist/client/types.d.ts.map +1 -0
  13. package/dist/client/types.js +2 -0
  14. package/dist/client/types.js.map +1 -0
  15. package/dist/component/_generated/api.d.ts +112 -0
  16. package/dist/component/_generated/api.d.ts.map +1 -0
  17. package/dist/component/_generated/api.js +31 -0
  18. package/dist/component/_generated/api.js.map +1 -0
  19. package/dist/component/_generated/component.d.ts +50 -0
  20. package/dist/component/_generated/component.d.ts.map +1 -0
  21. package/dist/component/_generated/component.js +11 -0
  22. package/dist/component/_generated/component.js.map +1 -0
  23. package/dist/component/_generated/dataModel.d.ts +46 -0
  24. package/dist/component/_generated/dataModel.d.ts.map +1 -0
  25. package/dist/component/_generated/dataModel.js +11 -0
  26. package/dist/component/_generated/dataModel.js.map +1 -0
  27. package/dist/component/_generated/server.d.ts +121 -0
  28. package/dist/component/_generated/server.d.ts.map +1 -0
  29. package/dist/component/_generated/server.js +78 -0
  30. package/dist/component/_generated/server.js.map +1 -0
  31. package/dist/component/convex.config.d.ts +3 -0
  32. package/dist/component/convex.config.d.ts.map +1 -0
  33. package/dist/component/convex.config.js +6 -0
  34. package/dist/component/convex.config.js.map +1 -0
  35. package/dist/component/lib.d.ts +43 -0
  36. package/dist/component/lib.d.ts.map +1 -0
  37. package/dist/component/lib.js +177 -0
  38. package/dist/component/lib.js.map +1 -0
  39. package/dist/component/schema.d.ts +44 -0
  40. package/dist/component/schema.d.ts.map +1 -0
  41. package/dist/component/schema.js +24 -0
  42. package/dist/component/schema.js.map +1 -0
  43. package/dist/react/index.d.ts +2 -0
  44. package/dist/react/index.d.ts.map +1 -0
  45. package/dist/react/index.js +6 -0
  46. package/dist/react/index.js.map +1 -0
  47. package/package.json +108 -0
  48. package/src/client/_generated/_ignore.ts +1 -0
  49. package/src/client/index.ts +278 -0
  50. package/src/client/types.ts +71 -0
  51. package/src/component/_generated/api.ts +138 -0
  52. package/src/component/_generated/component.ts +63 -0
  53. package/src/component/_generated/dataModel.ts +60 -0
  54. package/src/component/_generated/server.ts +161 -0
  55. package/src/component/convex.config.ts +8 -0
  56. package/src/component/lib.ts +189 -0
  57. package/src/component/schema.ts +24 -0
  58. package/src/component/setup.test.ts +5 -0
  59. package/src/react/index.ts +7 -0
  60. package/src/test.ts +17 -0
@@ -0,0 +1,78 @@
1
+ /* eslint-disable */
2
+ /**
3
+ * Generated utilities for implementing server-side Convex query and mutation functions.
4
+ *
5
+ * THIS CODE IS AUTOMATICALLY GENERATED.
6
+ *
7
+ * To regenerate, run `npx convex dev`.
8
+ * @module
9
+ */
10
+ import { actionGeneric, httpActionGeneric, queryGeneric, mutationGeneric, internalActionGeneric, internalMutationGeneric, internalQueryGeneric, } from "convex/server";
11
+ /**
12
+ * Define a query in this Convex app's public API.
13
+ *
14
+ * This function will be allowed to read your Convex database and will be accessible from the client.
15
+ *
16
+ * @param func - The query function. It receives a {@link QueryCtx} as its first argument.
17
+ * @returns The wrapped query. Include this as an `export` to name it and make it accessible.
18
+ */
19
+ export const query = queryGeneric;
20
+ /**
21
+ * Define a query that is only accessible from other Convex functions (but not from the client).
22
+ *
23
+ * This function will be allowed to read from your Convex database. It will not be accessible from the client.
24
+ *
25
+ * @param func - The query function. It receives a {@link QueryCtx} as its first argument.
26
+ * @returns The wrapped query. Include this as an `export` to name it and make it accessible.
27
+ */
28
+ export const internalQuery = internalQueryGeneric;
29
+ /**
30
+ * Define a mutation in this Convex app's public API.
31
+ *
32
+ * This function will be allowed to modify your Convex database and will be accessible from the client.
33
+ *
34
+ * @param func - The mutation function. It receives a {@link MutationCtx} as its first argument.
35
+ * @returns The wrapped mutation. Include this as an `export` to name it and make it accessible.
36
+ */
37
+ export const mutation = mutationGeneric;
38
+ /**
39
+ * Define a mutation that is only accessible from other Convex functions (but not from the client).
40
+ *
41
+ * This function will be allowed to modify your Convex database. It will not be accessible from the client.
42
+ *
43
+ * @param func - The mutation function. It receives a {@link MutationCtx} as its first argument.
44
+ * @returns The wrapped mutation. Include this as an `export` to name it and make it accessible.
45
+ */
46
+ export const internalMutation = internalMutationGeneric;
47
+ /**
48
+ * Define an action in this Convex app's public API.
49
+ *
50
+ * An action is a function which can execute any JavaScript code, including non-deterministic
51
+ * code and code with side-effects, like calling third-party services.
52
+ * They can be run in Convex's JavaScript environment or in Node.js using the "use node" directive.
53
+ * They can interact with the database indirectly by calling queries and mutations using the {@link ActionCtx}.
54
+ *
55
+ * @param func - The action. It receives an {@link ActionCtx} as its first argument.
56
+ * @returns The wrapped action. Include this as an `export` to name it and make it accessible.
57
+ */
58
+ export const action = actionGeneric;
59
+ /**
60
+ * Define an action that is only accessible from other Convex functions (but not from the client).
61
+ *
62
+ * @param func - The function. It receives an {@link ActionCtx} as its first argument.
63
+ * @returns The wrapped function. Include this as an `export` to name it and make it accessible.
64
+ */
65
+ export const internalAction = internalActionGeneric;
66
+ /**
67
+ * Define an HTTP action.
68
+ *
69
+ * The wrapped function will be used to respond to HTTP requests received
70
+ * by a Convex deployment if the requests matches the path and method where
71
+ * this action is routed. Be sure to route your httpAction in `convex/http.js`.
72
+ *
73
+ * @param func - The function. It receives an {@link ActionCtx} as its first argument
74
+ * and a Fetch API `Request` object as its second.
75
+ * @returns The wrapped function. Import this function from `convex/http.js` and route it to hook it up.
76
+ */
77
+ export const httpAction = httpActionGeneric;
78
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.js","sourceRoot":"","sources":["../../../src/component/_generated/server.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB;;;;;;;GAOG;AAaH,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,eAAe,CAAC;AAGvB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,KAAK,GAAsC,YAAY,CAAC;AAErE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,aAAa,GACxB,oBAAoB,CAAC;AAEvB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAyC,eAAe,CAAC;AAE9E;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAC3B,uBAAuB,CAAC;AAE1B;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,MAAM,GAAuC,aAAa,CAAC;AAExE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GACzB,qBAAqB,CAAC;AAExB;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,UAAU,GAAsB,iBAAiB,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const component: import("convex/server").ComponentDefinition<any>;
2
+ export default component;
3
+ //# sourceMappingURL=convex.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convex.config.d.ts","sourceRoot":"","sources":["../../src/component/convex.config.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,SAAS,kDAAmC,CAAC;AAInD,eAAe,SAAS,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { defineComponent } from "convex/server";
2
+ import workpool from "@convex-dev/workpool/convex.config";
3
+ const component = defineComponent("workOSAuthKit");
4
+ component.use(workpool, { name: "eventWorkpool" });
5
+ export default component;
6
+ //# sourceMappingURL=convex.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convex.config.js","sourceRoot":"","sources":["../../src/component/convex.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,QAAQ,MAAM,oCAAoC,CAAC;AAE1D,MAAM,SAAS,GAAG,eAAe,CAAC,eAAe,CAAC,CAAC;AAEnD,SAAS,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC;AAEnD,eAAe,SAAS,CAAC"}
@@ -0,0 +1,43 @@
1
+ export declare const enqueueWebhookEvent: import("convex/server").RegisteredMutation<"public", {
2
+ eventTypes?: string[] | undefined;
3
+ logLevel?: "DEBUG" | undefined;
4
+ onEventHandle?: string | undefined;
5
+ updatedAt?: string | undefined;
6
+ apiKey: string;
7
+ event: string;
8
+ eventId: string;
9
+ }, Promise<void>>;
10
+ export declare const getCursor: import("convex/server").RegisteredQuery<"internal", {}, Promise<string | undefined>>;
11
+ export declare const updateEvents: import("convex/server").RegisteredAction<"internal", {
12
+ eventTypes?: string[] | undefined;
13
+ logLevel?: "DEBUG" | undefined;
14
+ onEventHandle?: string | undefined;
15
+ apiKey: string;
16
+ }, Promise<void>>;
17
+ export declare const processEvent: import("convex/server").RegisteredMutation<"internal", {
18
+ logLevel?: "DEBUG" | undefined;
19
+ onEventHandle?: string | undefined;
20
+ event: {
21
+ event: string;
22
+ id: string;
23
+ data: Record<string, any>;
24
+ createdAt: string;
25
+ };
26
+ }, Promise<void>>;
27
+ export declare const getAuthUser: import("convex/server").RegisteredQuery<"public", {
28
+ id: string;
29
+ }, Promise<{
30
+ firstName?: string | null | undefined;
31
+ lastName?: string | null | undefined;
32
+ profilePictureUrl?: string | null | undefined;
33
+ lastSignInAt?: string | null | undefined;
34
+ externalId?: string | null | undefined;
35
+ locale?: string | null | undefined;
36
+ updatedAt: string;
37
+ id: string;
38
+ email: string;
39
+ emailVerified: boolean;
40
+ metadata: Record<string, any>;
41
+ createdAt: string;
42
+ } | null>>;
43
+ //# sourceMappingURL=lib.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../src/component/lib.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,mBAAmB;;;;;;;;iBAmB9B,CAAC;AAEH,eAAO,MAAM,SAAS,sFAUpB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;iBAuCvB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;iBAiFvB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;UAYtB,CAAC"}
@@ -0,0 +1,177 @@
1
+ import { v } from "convex/values";
2
+ import { internalAction, internalMutation, internalQuery, mutation, query, } from "./_generated/server.js";
3
+ import { components, internal } from "./_generated/api.js";
4
+ import { omit, withoutSystemFields } from "convex-helpers";
5
+ import { WorkOS } from "@workos-inc/node";
6
+ import { Workpool } from "@convex-dev/workpool";
7
+ import schema from "./schema.js";
8
+ const eventWorkpool = new Workpool(components.eventWorkpool, {
9
+ maxParallelism: 1,
10
+ });
11
+ export const enqueueWebhookEvent = mutation({
12
+ args: {
13
+ apiKey: v.string(),
14
+ eventId: v.string(),
15
+ event: v.string(),
16
+ updatedAt: v.optional(v.string()),
17
+ onEventHandle: v.optional(v.string()),
18
+ eventTypes: v.optional(v.array(v.string())),
19
+ logLevel: v.optional(v.literal("DEBUG")),
20
+ },
21
+ handler: async (ctx, args) => {
22
+ await eventWorkpool.cancelAll(ctx);
23
+ await eventWorkpool.enqueueAction(ctx, internal.lib.updateEvents, {
24
+ apiKey: args.apiKey,
25
+ onEventHandle: args.onEventHandle,
26
+ eventTypes: args.eventTypes,
27
+ logLevel: args.logLevel,
28
+ });
29
+ },
30
+ });
31
+ export const getCursor = internalQuery({
32
+ args: {},
33
+ returns: v.union(v.string(), v.null()),
34
+ handler: async (ctx) => {
35
+ const lastProcessedEvent = await ctx.db
36
+ .query("events")
37
+ .order("desc")
38
+ .first();
39
+ return lastProcessedEvent?.eventId;
40
+ },
41
+ });
42
+ export const updateEvents = internalAction({
43
+ args: {
44
+ apiKey: v.string(),
45
+ onEventHandle: v.optional(v.string()),
46
+ eventTypes: v.optional(v.array(v.string())),
47
+ logLevel: v.optional(v.literal("DEBUG")),
48
+ },
49
+ handler: async (ctx, args) => {
50
+ const workos = new WorkOS(args.apiKey);
51
+ const cursor = await ctx.runQuery(internal.lib.getCursor);
52
+ let nextCursor = cursor ?? undefined;
53
+ const eventTypes = [
54
+ "user.created",
55
+ "user.updated",
56
+ "user.deleted",
57
+ ...(args.eventTypes ?? []),
58
+ ];
59
+ // No cursor should mean we haven't handled any events - set
60
+ // a start time of 5 minutes ago
61
+ let rangeStart = nextCursor
62
+ ? undefined
63
+ : new Date(Date.now() - 1000 * 60 * 5).toISOString();
64
+ do {
65
+ const { data, listMetadata } = await workos.events.listEvents({
66
+ events: eventTypes,
67
+ after: nextCursor,
68
+ rangeStart,
69
+ });
70
+ for (const event of data) {
71
+ await ctx.runMutation(internal.lib.processEvent, {
72
+ event,
73
+ logLevel: args.logLevel,
74
+ onEventHandle: args.onEventHandle,
75
+ });
76
+ }
77
+ nextCursor = listMetadata.after;
78
+ rangeStart = undefined;
79
+ } while (nextCursor);
80
+ },
81
+ });
82
+ export const processEvent = internalMutation({
83
+ args: {
84
+ event: v.object({
85
+ id: v.string(),
86
+ createdAt: v.string(),
87
+ event: v.string(),
88
+ data: v.record(v.string(), v.any()),
89
+ }),
90
+ logLevel: v.optional(v.literal("DEBUG")),
91
+ onEventHandle: v.optional(v.string()),
92
+ },
93
+ handler: async (ctx, args) => {
94
+ if (args.logLevel === "DEBUG") {
95
+ console.log("processing event", args.event);
96
+ }
97
+ const dbEvent = await ctx.db
98
+ .query("events")
99
+ .withIndex("eventId", (q) => q.eq("eventId", args.event.id))
100
+ .unique();
101
+ if (dbEvent) {
102
+ console.log("event already processed", args.event.id);
103
+ return;
104
+ }
105
+ await ctx.db.insert("events", {
106
+ eventId: args.event.id,
107
+ event: args.event.event,
108
+ updatedAt: args.event.data.updatedAt,
109
+ });
110
+ const event = args.event;
111
+ switch (event.event) {
112
+ case "user.created": {
113
+ const data = omit(event.data, ["object"]);
114
+ const existingUser = await ctx.db
115
+ .query("users")
116
+ .withIndex("id", (q) => q.eq("id", data.id))
117
+ .unique();
118
+ if (existingUser) {
119
+ console.warn("user already exists", data.id);
120
+ break;
121
+ }
122
+ await ctx.db.insert("users", data);
123
+ break;
124
+ }
125
+ case "user.updated": {
126
+ const data = omit(event.data, ["object"]);
127
+ const user = await ctx.db
128
+ .query("users")
129
+ .withIndex("id", (q) => q.eq("id", data.id))
130
+ .unique();
131
+ if (!user) {
132
+ console.error("user not found", data.id);
133
+ break;
134
+ }
135
+ if (user.updatedAt >= data.updatedAt) {
136
+ console.warn(`user already updated for event ${event.id}, skipping`);
137
+ break;
138
+ }
139
+ await ctx.db.patch(user._id, data);
140
+ break;
141
+ }
142
+ case "user.deleted": {
143
+ const data = omit(event.data, ["object"]);
144
+ const user = await ctx.db
145
+ .query("users")
146
+ .withIndex("id", (q) => q.eq("id", data.id))
147
+ .unique();
148
+ if (!user) {
149
+ console.warn("user not found", data.id);
150
+ break;
151
+ }
152
+ await ctx.db.delete(user._id);
153
+ break;
154
+ }
155
+ }
156
+ if (args.onEventHandle) {
157
+ await ctx.runMutation(args.onEventHandle, {
158
+ event: args.event.event,
159
+ data: args.event.data,
160
+ });
161
+ }
162
+ },
163
+ });
164
+ export const getAuthUser = query({
165
+ args: {
166
+ id: v.string(),
167
+ },
168
+ returns: v.union(schema.tables.users.validator, v.null()),
169
+ handler: async (ctx, args) => {
170
+ const user = await ctx.db
171
+ .query("users")
172
+ .withIndex("id", (q) => q.eq("id", args.id))
173
+ .unique();
174
+ return user ? withoutSystemFields(user) : null;
175
+ },
176
+ });
177
+ //# sourceMappingURL=lib.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib.js","sourceRoot":"","sources":["../../src/component/lib.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAClC,OAAO,EACL,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C,EAAE;aACtB,KAAK,CAAC,OAAO,CAAC;aACd,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;aAC3C,MAAM,EAAE,CAAC;QACZ,OAAO,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACjD,CAAC;CACF,CAAC,CAAC"}
@@ -0,0 +1,44 @@
1
+ declare const _default: import("convex/server").SchemaDefinition<{
2
+ events: import("convex/server").TableDefinition<import("convex/values").VObject<{
3
+ updatedAt?: string | undefined;
4
+ event: string;
5
+ eventId: string;
6
+ }, {
7
+ eventId: import("convex/values").VString<string, "required">;
8
+ event: import("convex/values").VString<string, "required">;
9
+ updatedAt: import("convex/values").VString<string | undefined, "optional">;
10
+ }, "required", "event" | "eventId" | "updatedAt">, {
11
+ eventId: ["eventId", "_creationTime"];
12
+ }, {}, {}>;
13
+ users: import("convex/server").TableDefinition<import("convex/values").VObject<{
14
+ firstName?: string | null | undefined;
15
+ lastName?: string | null | undefined;
16
+ profilePictureUrl?: string | null | undefined;
17
+ lastSignInAt?: string | null | undefined;
18
+ externalId?: string | null | undefined;
19
+ locale?: string | null | undefined;
20
+ updatedAt: string;
21
+ id: string;
22
+ email: string;
23
+ emailVerified: boolean;
24
+ metadata: Record<string, any>;
25
+ createdAt: string;
26
+ }, {
27
+ id: import("convex/values").VString<string, "required">;
28
+ email: import("convex/values").VString<string, "required">;
29
+ firstName: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
30
+ lastName: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
31
+ emailVerified: import("convex/values").VBoolean<boolean, "required">;
32
+ profilePictureUrl: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
33
+ lastSignInAt: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
34
+ externalId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
35
+ metadata: import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>;
36
+ locale: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
37
+ createdAt: import("convex/values").VString<string, "required">;
38
+ updatedAt: import("convex/values").VString<string, "required">;
39
+ }, "required", "updatedAt" | "id" | "email" | "firstName" | "lastName" | "emailVerified" | "profilePictureUrl" | "lastSignInAt" | "externalId" | "metadata" | "locale" | "createdAt" | `metadata.${string}`>, {
40
+ id: ["id", "_creationTime"];
41
+ }, {}, {}>;
42
+ }, true>;
43
+ export default _default;
44
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/component/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAoBG"}
@@ -0,0 +1,24 @@
1
+ import { defineSchema, defineTable } from "convex/server";
2
+ import { v } from "convex/values";
3
+ export default defineSchema({
4
+ events: defineTable({
5
+ eventId: v.string(),
6
+ event: v.string(),
7
+ updatedAt: v.optional(v.string()),
8
+ }).index("eventId", ["eventId"]),
9
+ users: defineTable({
10
+ id: v.string(),
11
+ email: v.string(),
12
+ firstName: v.optional(v.union(v.null(), v.string())),
13
+ lastName: v.optional(v.union(v.null(), v.string())),
14
+ emailVerified: v.boolean(),
15
+ profilePictureUrl: v.optional(v.union(v.null(), v.string())),
16
+ lastSignInAt: v.optional(v.union(v.null(), v.string())),
17
+ externalId: v.optional(v.union(v.null(), v.string())),
18
+ metadata: v.record(v.string(), v.any()),
19
+ locale: v.optional(v.union(v.null(), v.string())),
20
+ createdAt: v.string(),
21
+ updatedAt: v.string(),
22
+ }).index("id", ["id"]),
23
+ });
24
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/component/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,eAAe,YAAY,CAAC;IAC1B,MAAM,EAAE,WAAW,CAAC;QAClB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;QACnB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;QACjB,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;KAClC,CAAC,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC,SAAS,CAAC,CAAC;IAChC,KAAK,EAAE,WAAW,CAAC;QACjB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;QACd,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;QACjB,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QACpD,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QACnD,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE;QAC1B,iBAAiB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QAC5D,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QACvD,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QACrD,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC;QACvC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QACjD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;QACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;KACtB,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC;CACvB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const useMyComponent: () => {};
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,UAE1B,CAAC"}
@@ -0,0 +1,6 @@
1
+ "use client";
2
+ // This is where React components / hooks go.
3
+ export const useMyComponent = () => {
4
+ return {};
5
+ };
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,6CAA6C;AAE7C,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;IACjC,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC"}
package/package.json ADDED
@@ -0,0 +1,108 @@
1
+ {
2
+ "name": "@convex-dev/workos-authkit",
3
+ "description": "A WorkOS AuthKit component for Convex.",
4
+ "repository": "github:get-convex/workos-authkit",
5
+ "homepage": "https://github.com/get-convex/workos-authkit#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/get-convex/workos-authkit/issues"
8
+ },
9
+ "version": "0.1.1",
10
+ "license": "Apache-2.0",
11
+ "keywords": [
12
+ "convex",
13
+ "component"
14
+ ],
15
+ "type": "module",
16
+ "scripts": {
17
+ "dev": "run-p -r 'dev:*'",
18
+ "dev:backend": "convex dev --typecheck-components",
19
+ "dev:frontend": "cd example && vite --clearScreen false",
20
+ "dev:build": "chokidar 'tsconfig*.json' 'src/**/*.ts' -i '**/*.test.ts' -c 'npx convex codegen --component-dir ./src/component && npm run build' --initial",
21
+ "predev": "path-exists .env.local || (npm run build && convex dev --until-success)",
22
+ "clean": "rm -rf dist *.tsbuildinfo",
23
+ "build": "tsc --project ./tsconfig.build.json",
24
+ "typecheck": "tsc --noEmit && tsc -p example && tsc -p example/convex",
25
+ "lint": "eslint .",
26
+ "all": "run-p -r 'dev:*' 'test:watch'",
27
+ "test": "vitest run --typecheck",
28
+ "test:watch": "vitest --typecheck --clearScreen false",
29
+ "test:debug": "vitest --inspect-brk --no-file-parallelism",
30
+ "test:coverage": "vitest run --coverage --coverage.reporter=text",
31
+ "prepublishOnly": "npm run clean && npm run build",
32
+ "preversion": "npm run clean && npm ci && npm run build && run-p test lint typecheck",
33
+ "alpha": "npm version prerelease --preid alpha && npm publish --tag alpha && git push --tags",
34
+ "release": "npm version patch && npm publish && git push --tags && git push",
35
+ "version": "vim -c 'normal o' -c 'normal o## '$npm_package_version CHANGELOG.md && prettier -w CHANGELOG.md && git add CHANGELOG.md"
36
+ },
37
+ "files": [
38
+ "dist",
39
+ "src"
40
+ ],
41
+ "exports": {
42
+ "./package.json": "./package.json",
43
+ ".": {
44
+ "types": "./dist/client/index.d.ts",
45
+ "default": "./dist/client/index.js"
46
+ },
47
+ "./react": {
48
+ "types": "./dist/react/index.d.ts",
49
+ "default": "./dist/react/index.js"
50
+ },
51
+ "./test": "./src/test.ts",
52
+ "./_generated/component.js": {
53
+ "types": "./dist/component/_generated/component.d.ts"
54
+ },
55
+ "./convex.config.js": {
56
+ "types": "./dist/component/convex.config.d.ts",
57
+ "default": "./dist/component/convex.config.js"
58
+ },
59
+ "./convex.config": {
60
+ "types": "./dist/component/convex.config.d.ts",
61
+ "default": "./dist/component/convex.config.js"
62
+ }
63
+ },
64
+ "peerDependencies": {
65
+ "convex": "^1.29.3",
66
+ "react": "^18.3.1 || ^19.0.0"
67
+ },
68
+ "devDependencies": {
69
+ "@arethetypeswrong/cli": "^0.18.0",
70
+ "@convex-dev/eslint-plugin": "^1.0.0",
71
+ "@edge-runtime/vm": "^5.0.0",
72
+ "@eslint/eslintrc": "^3.3.1",
73
+ "@eslint/js": "9.39.1",
74
+ "@types/node": "^20.19.25",
75
+ "@types/react": "^19.2.7",
76
+ "@types/react-dom": "^19.2.3",
77
+ "@vitejs/plugin-react": "^5.1.1",
78
+ "chokidar-cli": "3.0.0",
79
+ "convex": "1.29.3",
80
+ "convex-test": "0.0.40",
81
+ "cpy-cli": "^6.0.0",
82
+ "eslint": "9.39.1",
83
+ "eslint-plugin-react": "^7.37.5",
84
+ "eslint-plugin-react-hooks": "^7.0.1",
85
+ "eslint-plugin-react-refresh": "^0.4.24",
86
+ "globals": "^16.5.0",
87
+ "npm-run-all2": "8.0.4",
88
+ "path-exists-cli": "2.0.0",
89
+ "pkg-pr-new": "^0.0.60",
90
+ "prettier": "3.6.2",
91
+ "react": "^19.2.0",
92
+ "react-dom": "^19.2.0",
93
+ "typescript": "5.9.3",
94
+ "typescript-eslint": "8.47.0",
95
+ "vite": "6.4.1",
96
+ "vitest": "3.2.4"
97
+ },
98
+ "types": "./dist/client/index.d.ts",
99
+ "module": "./dist/client/index.js",
100
+ "dependencies": {
101
+ "@convex-dev/workos": "^0.0.1",
102
+ "@convex-dev/workpool": "^0.2.19",
103
+ "@workos-inc/authkit-react": "^0.13.0",
104
+ "@workos-inc/node": "^7.72.0",
105
+ "convex-helpers": "^0.1.104",
106
+ "type-fest": "^5.1.0"
107
+ }
108
+ }
@@ -0,0 +1 @@
1
+ // This is only here so convex-test can detect a _generated folder