@instantdb/platform 1.0.34 → 1.0.35-branch-drewh-cli-email.25942034561.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.
@@ -1,35 +1,35 @@
1
1
 
2
- > @instantdb/platform@1.0.34 build /home/runner/work/instant/instant/client/packages/platform
2
+ > @instantdb/platform@1.0.35-branch-drewh-cli-email.25942034561.1 build /home/runner/work/instant/instant/client/packages/platform
3
3
  > rm -rf dist; npm run build:tshy && npm run build:standalone && npm run check-exports
4
4
 
5
5
  npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
6
6
  npm warn Unknown user config "always-auth". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
7
7
 
8
- > @instantdb/platform@1.0.34 build:tshy
8
+ > @instantdb/platform@1.0.35-branch-drewh-cli-email.25942034561.1 build:tshy
9
9
  > tshy
10
10
 
11
11
  npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
12
12
  npm warn Unknown user config "always-auth". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
13
13
 
14
- > @instantdb/platform@1.0.34 build:standalone
14
+ > @instantdb/platform@1.0.35-branch-drewh-cli-email.25942034561.1 build:standalone
15
15
  > vite build
16
16
 
17
17
  vite v5.4.14 building for production...
18
18
  transforming...
19
- ✓ 85 modules transformed.
19
+ ✓ 86 modules transformed.
20
20
  rendering chunks...
21
21
  computing gzip size...
22
- dist/standalone/index.umd.cjs 364.59 kB │ gzip: 100.33 kB
23
- dist/standalone/index.js 486.59 kB │ gzip: 116.91 kB
24
- ✓ built in 2.40s
22
+ dist/standalone/index.umd.cjs 365.82 kB │ gzip: 100.89 kB
23
+ dist/standalone/index.js 487.89 kB │ gzip: 117.45 kB
24
+ ✓ built in 3.35s
25
25
  npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
26
26
  npm warn Unknown user config "always-auth". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
27
27
 
28
- > @instantdb/platform@1.0.34 check-exports
28
+ > @instantdb/platform@1.0.35-branch-drewh-cli-email.25942034561.1 check-exports
29
29
  > attw --pack .
30
30
 
31
31
 
32
- @instantdb/platform v1.0.34
32
+ @instantdb/platform v1.0.35-branch-drewh-cli-email.25942034561.1
33
33
 
34
34
  Build tools:
35
35
  - @arethetypeswrong/cli@^0.17.4
@@ -0,0 +1,11 @@
1
+ export declare const defaultMagicCodeEmailHtml = "<div style=\"background: #f6f6f6; font-family: Helvetica, Arial, sans-serif; line-height: 1.6; font-size: 18px;\">\n <div style=\"max-width: 650px; margin: 0 auto; background: white; padding: 20px\">\n <div style=\"background: #f6f6f6; font-family: Helvetica, Arial, sans-serif; line-height: 1.6; font-size: 18px;\">\n <div style=\"max-width: 650px; margin: 0 auto; background: white; padding: 20px;\">\n <p><strong>Welcome,</strong></p>\n <p>\n You asked to join {app_title}. To complete your registration, use this\n verification code:\n </p>\n <h2 style=\"text-align: center\"><strong>{code}</strong></h2>\n <p>\n Copy and paste this into the confirmation box, and you'll be on your\n way.\n </p>\n <p>\n Note: This code will expire in 10 minutes, and can only be used once. If\n you didn't request this code, please reply to this email.\n </p>\n </div>\n </div>\n </div>\n</div>\n";
2
+ export declare const defaultMagicCodeEmailSubject = "{code} is your code for {app_title}";
3
+ export declare const defaultMagicCodeEmailConfig: {
4
+ authEmail: {
5
+ subject: string;
6
+ from: string;
7
+ fromAddress: undefined;
8
+ body: string;
9
+ };
10
+ };
11
+ //# sourceMappingURL=email.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../src/email.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,y/BAsBrC,CAAC;AAEF,eAAO,MAAM,4BAA4B,wCACF,CAAC;AAExC,eAAO,MAAM,2BAA2B;;;;;;;CAOvC,CAAC"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultMagicCodeEmailConfig = exports.defaultMagicCodeEmailSubject = exports.defaultMagicCodeEmailHtml = void 0;
4
+ exports.defaultMagicCodeEmailHtml = `<div style="background: #f6f6f6; font-family: Helvetica, Arial, sans-serif; line-height: 1.6; font-size: 18px;">
5
+ <div style="max-width: 650px; margin: 0 auto; background: white; padding: 20px">
6
+ <div style="background: #f6f6f6; font-family: Helvetica, Arial, sans-serif; line-height: 1.6; font-size: 18px;">
7
+ <div style="max-width: 650px; margin: 0 auto; background: white; padding: 20px;">
8
+ <p><strong>Welcome,</strong></p>
9
+ <p>
10
+ You asked to join {app_title}. To complete your registration, use this
11
+ verification code:
12
+ </p>
13
+ <h2 style="text-align: center"><strong>{code}</strong></h2>
14
+ <p>
15
+ Copy and paste this into the confirmation box, and you'll be on your
16
+ way.
17
+ </p>
18
+ <p>
19
+ Note: This code will expire in 10 minutes, and can only be used once. If
20
+ you didn't request this code, please reply to this email.
21
+ </p>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ `;
27
+ exports.defaultMagicCodeEmailSubject = '{code} is your code for {app_title}';
28
+ exports.defaultMagicCodeEmailConfig = {
29
+ authEmail: {
30
+ subject: exports.defaultMagicCodeEmailSubject,
31
+ from: '',
32
+ fromAddress: undefined,
33
+ body: exports.defaultMagicCodeEmailHtml,
34
+ },
35
+ };
36
+ //# sourceMappingURL=email.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.js","sourceRoot":"","sources":["../../src/email.ts"],"names":[],"mappings":";;;AAAa,QAAA,yBAAyB,GAAc;;;;;;;;;;;;;;;;;;;;;;CAsBnD,CAAC;AAEW,QAAA,4BAA4B,GACvC,qCAAqC,CAAC;AAE3B,QAAA,2BAA2B,GAAG;IACzC,SAAS,EAAE;QACT,OAAO,EAAE,oCAA4B;QACrC,IAAI,EAAE,EAAE;QACR,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,iCAAyB;KAChC;CACF,CAAC","sourcesContent":["export const defaultMagicCodeEmailHtml = /* html */ `<div style=\"background: #f6f6f6; font-family: Helvetica, Arial, sans-serif; line-height: 1.6; font-size: 18px;\">\n <div style=\"max-width: 650px; margin: 0 auto; background: white; padding: 20px\">\n <div style=\"background: #f6f6f6; font-family: Helvetica, Arial, sans-serif; line-height: 1.6; font-size: 18px;\">\n <div style=\"max-width: 650px; margin: 0 auto; background: white; padding: 20px;\">\n <p><strong>Welcome,</strong></p>\n <p>\n You asked to join {app_title}. To complete your registration, use this\n verification code:\n </p>\n <h2 style=\"text-align: center\"><strong>{code}</strong></h2>\n <p>\n Copy and paste this into the confirmation box, and you'll be on your\n way.\n </p>\n <p>\n Note: This code will expire in 10 minutes, and can only be used once. If\n you didn't request this code, please reply to this email.\n </p>\n </div>\n </div>\n </div>\n</div>\n`;\n\nexport const defaultMagicCodeEmailSubject =\n '{code} is your code for {app_title}';\n\nexport const defaultMagicCodeEmailConfig = {\n authEmail: {\n subject: defaultMagicCodeEmailSubject,\n from: '',\n fromAddress: undefined,\n body: defaultMagicCodeEmailHtml,\n },\n};\n"]}
@@ -10,7 +10,8 @@ import { i, type InstantRules } from '@instantdb/core';
10
10
  import { exchangeCodeForToken, exchangeRefreshToken } from './serverOAuth.ts';
11
11
  import { clerkDomainFromPublishableKey } from './clerk.ts';
12
12
  import { Webhooks, type WebhookAction, type WebhookStatus, type WebhookEventStatus, type WebhookInfo, type WebhookAttempt, type WebhookEventInfo, type WebhookEventsPage, type WebhookBody, type WebhookEntity, type WebhookPayload, type WebhookPayloadRecord, type WebhookPayloadRecordFor, type WebhookHandlerFn, type WebhookHandlers, type WebhookHelpers, type CreateWebhookParams, type UpdateWebhookParams, WebhooksManager } from '@instantdb/webhooks';
13
- export { type InstantAPIPlatformSchema, type InstantDBOAuthAccessToken, type OAuthHandlerConfig, type OAuthScope, type InstantRules, OAuthHandler, InstantOAuthError, generateSchemaTypescriptFile, collectSystemCatalogIdentNames, validateSchema, SchemaValidationError, generatePermsTypescriptFile, permsTypescriptFileToCode, apiSchemaToInstantSchemaDef, schemaTypescriptFileToInstantSchema, version, translatePlanSteps, PlatformApi, ProgressPromise, exchangeCodeForToken, exchangeRefreshToken, clerkDomainFromPublishableKey, i, Webhooks, WebhooksManager, type WebhookAction, type WebhookStatus, type WebhookEventStatus, type WebhookInfo, type WebhookAttempt, type WebhookEventInfo, type WebhookEventsPage, type WebhookBody, type WebhookEntity, type WebhookPayload, type WebhookPayloadRecord, type WebhookPayloadRecordFor, type WebhookHandlerFn, type WebhookHandlers, type WebhookHelpers, type CreateWebhookParams, type UpdateWebhookParams, };
13
+ import { defaultMagicCodeEmailConfig, defaultMagicCodeEmailHtml, defaultMagicCodeEmailSubject } from './email.ts';
14
+ export { type InstantAPIPlatformSchema, type InstantDBOAuthAccessToken, type OAuthHandlerConfig, type OAuthScope, type InstantRules, OAuthHandler, InstantOAuthError, generateSchemaTypescriptFile, collectSystemCatalogIdentNames, validateSchema, SchemaValidationError, generatePermsTypescriptFile, permsTypescriptFileToCode, apiSchemaToInstantSchemaDef, schemaTypescriptFileToInstantSchema, version, translatePlanSteps, PlatformApi, ProgressPromise, exchangeCodeForToken, exchangeRefreshToken, clerkDomainFromPublishableKey, defaultMagicCodeEmailConfig, defaultMagicCodeEmailHtml, defaultMagicCodeEmailSubject, i, Webhooks, WebhooksManager, type WebhookAction, type WebhookStatus, type WebhookEventStatus, type WebhookInfo, type WebhookAttempt, type WebhookEventInfo, type WebhookEventsPage, type WebhookBody, type WebhookEntity, type WebhookPayload, type WebhookPayloadRecord, type WebhookPayloadRecordFor, type WebhookHandlerFn, type WebhookHandlers, type WebhookHelpers, type CreateWebhookParams, type UpdateWebhookParams, };
14
15
  export { diffSchemas, convertTxSteps, isRenamePromptItem, buildAutoRenameSelector, type RenameResolveFn, type MigrationTx, type MigrationTxSpecific, type MigrationTxTypes, type Identifier, } from './migrations.ts';
15
16
  export { DEFAULT_OAUTH_CALLBACK_URL, GOOGLE_AUTHORIZATION_ENDPOINT, GOOGLE_DISCOVERY_ENDPOINT, GOOGLE_TOKEN_ENDPOINT, APPLE_AUTHORIZATION_ENDPOINT, APPLE_DISCOVERY_ENDPOINT, APPLE_TOKEN_ENDPOINT, LINKEDIN_AUTHORIZATION_ENDPOINT, LINKEDIN_DISCOVERY_ENDPOINT, LINKEDIN_TOKEN_ENDPOINT, } from './consts.ts';
16
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,YAAY,EACb,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EAC1B,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,KAAK,wBAAwB,EAC7B,4BAA4B,EAC5B,8BAA8B,EAC9B,cAAc,EACd,qBAAqB,EACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,2BAA2B,EAC3B,WAAW,EACX,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAE7E,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,CAAC,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,gBAAgB,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A+B,EAC/B,2BAA2B,EAC3B,uBAAuB,GACxB,MAAM,aAAa,CAAC"}
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.LINKEDIN_TOKEN_ENDPOINT = exports.LINKEDIN_DISCOVERY_ENDPOINT = exports.LINKEDIN_AUTHORIZATION_ENDPOINT = exports.APPLE_TOKEN_ENDPOINT = exports.APPLE_DISCOVERY_ENDPOINT = exports.APPLE_AUTHORIZATION_ENDPOINT = exports.GOOGLE_TOKEN_ENDPOINT = exports.GOOGLE_DISCOVERY_ENDPOINT = exports.GOOGLE_AUTHORIZATION_ENDPOINT = exports.DEFAULT_OAUTH_CALLBACK_URL = exports.buildAutoRenameSelector = exports.isRenamePromptItem = exports.convertTxSteps = exports.diffSchemas = exports.WebhooksManager = exports.Webhooks = exports.i = exports.clerkDomainFromPublishableKey = exports.exchangeRefreshToken = exports.exchangeCodeForToken = exports.ProgressPromise = exports.PlatformApi = exports.translatePlanSteps = exports.version = exports.schemaTypescriptFileToInstantSchema = exports.apiSchemaToInstantSchemaDef = exports.permsTypescriptFileToCode = exports.generatePermsTypescriptFile = exports.SchemaValidationError = exports.validateSchema = exports.collectSystemCatalogIdentNames = exports.generateSchemaTypescriptFile = exports.InstantOAuthError = exports.OAuthHandler = void 0;
6
+ exports.LINKEDIN_TOKEN_ENDPOINT = exports.LINKEDIN_DISCOVERY_ENDPOINT = exports.LINKEDIN_AUTHORIZATION_ENDPOINT = exports.APPLE_TOKEN_ENDPOINT = exports.APPLE_DISCOVERY_ENDPOINT = exports.APPLE_AUTHORIZATION_ENDPOINT = exports.GOOGLE_TOKEN_ENDPOINT = exports.GOOGLE_DISCOVERY_ENDPOINT = exports.GOOGLE_AUTHORIZATION_ENDPOINT = exports.DEFAULT_OAUTH_CALLBACK_URL = exports.buildAutoRenameSelector = exports.isRenamePromptItem = exports.convertTxSteps = exports.diffSchemas = exports.WebhooksManager = exports.Webhooks = exports.i = exports.defaultMagicCodeEmailSubject = exports.defaultMagicCodeEmailHtml = exports.defaultMagicCodeEmailConfig = exports.clerkDomainFromPublishableKey = exports.exchangeRefreshToken = exports.exchangeCodeForToken = exports.ProgressPromise = exports.PlatformApi = exports.translatePlanSteps = exports.version = exports.schemaTypescriptFileToInstantSchema = exports.apiSchemaToInstantSchemaDef = exports.permsTypescriptFileToCode = exports.generatePermsTypescriptFile = exports.SchemaValidationError = exports.validateSchema = exports.collectSystemCatalogIdentNames = exports.generateSchemaTypescriptFile = exports.InstantOAuthError = exports.OAuthHandler = void 0;
7
7
  const oauthCommon_ts_1 = require("./oauthCommon.js");
8
8
  Object.defineProperty(exports, "InstantOAuthError", { enumerable: true, get: function () { return oauthCommon_ts_1.InstantOAuthError; } });
9
9
  const oauth_ts_1 = require("./oauth.js");
@@ -36,6 +36,10 @@ Object.defineProperty(exports, "clerkDomainFromPublishableKey", { enumerable: tr
36
36
  const webhooks_1 = require("@instantdb/webhooks");
37
37
  Object.defineProperty(exports, "Webhooks", { enumerable: true, get: function () { return webhooks_1.Webhooks; } });
38
38
  Object.defineProperty(exports, "WebhooksManager", { enumerable: true, get: function () { return webhooks_1.WebhooksManager; } });
39
+ const email_ts_1 = require("./email.js");
40
+ Object.defineProperty(exports, "defaultMagicCodeEmailConfig", { enumerable: true, get: function () { return email_ts_1.defaultMagicCodeEmailConfig; } });
41
+ Object.defineProperty(exports, "defaultMagicCodeEmailHtml", { enumerable: true, get: function () { return email_ts_1.defaultMagicCodeEmailHtml; } });
42
+ Object.defineProperty(exports, "defaultMagicCodeEmailSubject", { enumerable: true, get: function () { return email_ts_1.defaultMagicCodeEmailSubject; } });
39
43
  var migrations_ts_1 = require("./migrations.js");
40
44
  Object.defineProperty(exports, "diffSchemas", { enumerable: true, get: function () { return migrations_ts_1.diffSchemas; } });
41
45
  Object.defineProperty(exports, "convertTxSteps", { enumerable: true, get: function () {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A;AACxB,iHAAA,oBAAoB,OAAA;AACpB,4HAAA,+BAA+B,OAAA;AAC/B,wHAAA,2BAA2B,OAAA;AAC3B,oHAAA,uBAAuB,OAAA","sourcesContent":["import { InstantOAuthError, type OAuthScope } from './oauthCommon.ts';\nimport {\n type InstantDBOAuthAccessToken,\n type OAuthHandlerConfig,\n OAuthHandler,\n} from './oauth.ts';\nimport {\n generatePermsTypescriptFile,\n permsTypescriptFileToCode,\n} from './perms.ts';\nimport {\n type InstantAPIPlatformSchema,\n generateSchemaTypescriptFile,\n collectSystemCatalogIdentNames,\n validateSchema,\n SchemaValidationError,\n} from './schema.ts';\nimport {\n apiSchemaToInstantSchemaDef,\n PlatformApi,\n translatePlanSteps,\n} from './api.ts';\nimport { schemaTypescriptFileToInstantSchema } from './typescript-schema.ts';\n\nimport version from './version.ts';\nimport { ProgressPromise } from './ProgressPromise.ts';\nimport { i, type InstantRules } from '@instantdb/core';\nimport { exchangeCodeForToken, exchangeRefreshToken } from './serverOAuth.ts';\nimport { clerkDomainFromPublishableKey } from './clerk.ts';\nimport {\n Webhooks,\n type WebhookAction,\n type WebhookStatus,\n type WebhookEventStatus,\n type WebhookInfo,\n type WebhookAttempt,\n type WebhookEventInfo,\n type WebhookEventsPage,\n type WebhookBody,\n type WebhookEntity,\n type WebhookPayload,\n type WebhookPayloadRecord,\n type WebhookPayloadRecordFor,\n type WebhookHandlerFn,\n type WebhookHandlers,\n type WebhookHelpers,\n type CreateWebhookParams,\n type UpdateWebhookParams,\n WebhooksManager,\n} from '@instantdb/webhooks';\n\nexport {\n type InstantAPIPlatformSchema,\n type InstantDBOAuthAccessToken,\n type OAuthHandlerConfig,\n type OAuthScope,\n type InstantRules,\n OAuthHandler,\n InstantOAuthError,\n generateSchemaTypescriptFile,\n collectSystemCatalogIdentNames,\n validateSchema,\n SchemaValidationError,\n generatePermsTypescriptFile,\n permsTypescriptFileToCode,\n apiSchemaToInstantSchemaDef,\n schemaTypescriptFileToInstantSchema,\n version,\n translatePlanSteps,\n PlatformApi,\n ProgressPromise,\n exchangeCodeForToken,\n exchangeRefreshToken,\n clerkDomainFromPublishableKey,\n i,\n Webhooks,\n WebhooksManager,\n type WebhookAction,\n type WebhookStatus,\n type WebhookEventStatus,\n type WebhookInfo,\n type WebhookAttempt,\n type WebhookEventInfo,\n type WebhookEventsPage,\n type WebhookBody,\n type WebhookEntity,\n type WebhookPayload,\n type WebhookPayloadRecord,\n type WebhookPayloadRecordFor,\n type WebhookHandlerFn,\n type WebhookHandlers,\n type WebhookHelpers,\n type CreateWebhookParams,\n type UpdateWebhookParams,\n};\n\nexport {\n diffSchemas,\n convertTxSteps,\n isRenamePromptItem,\n buildAutoRenameSelector,\n type RenameResolveFn,\n type MigrationTx,\n type MigrationTxSpecific,\n type MigrationTxTypes,\n type Identifier,\n} from './migrations.ts';\n\nexport {\n DEFAULT_OAUTH_CALLBACK_URL,\n GOOGLE_AUTHORIZATION_ENDPOINT,\n GOOGLE_DISCOVERY_ENDPOINT,\n GOOGLE_TOKEN_ENDPOINT,\n APPLE_AUTHORIZATION_ENDPOINT,\n APPLE_DISCOVERY_ENDPOINT,\n APPLE_TOKEN_ENDPOINT,\n LINKEDIN_AUTHORIZATION_ENDPOINT,\n LINKEDIN_DISCOVERY_ENDPOINT,\n LINKEDIN_TOKEN_ENDPOINT,\n} from './consts.ts';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAsE;AA+DpE,kGA/DO,kCAAiB,OA+DP;AA9DnB,yCAIoB;AAyDlB,6FA1DA,uBAAY,OA0DA;AAxDd,yCAGoB;AA2DlB,4GA7DA,sCAA2B,OA6DA;AAC3B,0GA7DA,oCAAyB,OA6DA;AA3D3B,2CAMqB;AAgDnB,6GApDA,wCAA4B,OAoDA;AAC5B,+GApDA,0CAA8B,OAoDA;AAC9B,+FApDA,0BAAc,OAoDA;AACd,sGApDA,iCAAqB,OAoDA;AAlDvB,qCAIkB;AAiDhB,4GApDA,oCAA2B,OAoDA;AAI3B,4FAvDA,oBAAW,OAuDA;AADX,mGArDA,2BAAkB,OAqDA;AAnDpB,iEAA6E;AAiD3E,oHAjDO,0DAAmC,OAiDP;AA/CrC,8DAAmC;AAgDjC,kBAhDK,oBAAO,CAgDL;AA/CT,6DAAuD;AAkDrD,gGAlDO,oCAAe,OAkDP;AAjDjB,0CAAuD;AAwDrD,kFAxDO,QAAC,OAwDP;AAvDH,qDAA8E;AAiD5E,qGAjDO,qCAAoB,OAiDP;AACpB,qGAlD6B,qCAAoB,OAkD7B;AAjDtB,yCAA2D;AAkDzD,8GAlDO,wCAA6B,OAkDP;AAjD/B,kDAoB6B;AAkC3B,yFArDA,mBAAQ,OAqDA;AACR,gGApCA,0BAAe,OAoCA;AAlCjB,yCAIoB;AAyBlB,4GA5BA,sCAA2B,OA4BA;AAC3B,0GA5BA,oCAAyB,OA4BA;AACzB,6GA5BA,uCAA4B,OA4BA;AAuB9B,iDAUyB;AATvB,4GAAA,WAAW,OAAA;AACX,+GAAA,cAAc,OAAA;AACd,mHAAA,kBAAkB,OAAA;AAClB,wHAAA,uBAAuB,OAAA;AAQzB,yCAWqB;AAVnB,uHAAA,0BAA0B,OAAA;AAC1B,0HAAA,6BAA6B,OAAA;AAC7B,sHAAA,yBAAyB,OAAA;AACzB,kHAAA,qBAAqB,OAAA;AACrB,yHAAA,4BAA4B,OAAA;AAC5B,qHAAA,wBAAwB,OAAA;AACxB,iHAAA,oBAAoB,OAAA;AACpB,4HAAA,+BAA+B,OAAA;AAC/B,wHAAA,2BAA2B,OAAA;AAC3B,oHAAA,uBAAuB,OAAA","sourcesContent":["import { InstantOAuthError, type OAuthScope } from './oauthCommon.ts';\nimport {\n type InstantDBOAuthAccessToken,\n type OAuthHandlerConfig,\n OAuthHandler,\n} from './oauth.ts';\nimport {\n generatePermsTypescriptFile,\n permsTypescriptFileToCode,\n} from './perms.ts';\nimport {\n type InstantAPIPlatformSchema,\n generateSchemaTypescriptFile,\n collectSystemCatalogIdentNames,\n validateSchema,\n SchemaValidationError,\n} from './schema.ts';\nimport {\n apiSchemaToInstantSchemaDef,\n PlatformApi,\n translatePlanSteps,\n} from './api.ts';\nimport { schemaTypescriptFileToInstantSchema } from './typescript-schema.ts';\n\nimport version from './version.ts';\nimport { ProgressPromise } from './ProgressPromise.ts';\nimport { i, type InstantRules } from '@instantdb/core';\nimport { exchangeCodeForToken, exchangeRefreshToken } from './serverOAuth.ts';\nimport { clerkDomainFromPublishableKey } from './clerk.ts';\nimport {\n Webhooks,\n type WebhookAction,\n type WebhookStatus,\n type WebhookEventStatus,\n type WebhookInfo,\n type WebhookAttempt,\n type WebhookEventInfo,\n type WebhookEventsPage,\n type WebhookBody,\n type WebhookEntity,\n type WebhookPayload,\n type WebhookPayloadRecord,\n type WebhookPayloadRecordFor,\n type WebhookHandlerFn,\n type WebhookHandlers,\n type WebhookHelpers,\n type CreateWebhookParams,\n type UpdateWebhookParams,\n WebhooksManager,\n} from '@instantdb/webhooks';\nimport {\n defaultMagicCodeEmailConfig,\n defaultMagicCodeEmailHtml,\n defaultMagicCodeEmailSubject,\n} from './email.ts';\n\nexport {\n type InstantAPIPlatformSchema,\n type InstantDBOAuthAccessToken,\n type OAuthHandlerConfig,\n type OAuthScope,\n type InstantRules,\n OAuthHandler,\n InstantOAuthError,\n generateSchemaTypescriptFile,\n collectSystemCatalogIdentNames,\n validateSchema,\n SchemaValidationError,\n generatePermsTypescriptFile,\n permsTypescriptFileToCode,\n apiSchemaToInstantSchemaDef,\n schemaTypescriptFileToInstantSchema,\n version,\n translatePlanSteps,\n PlatformApi,\n ProgressPromise,\n exchangeCodeForToken,\n exchangeRefreshToken,\n clerkDomainFromPublishableKey,\n defaultMagicCodeEmailConfig,\n defaultMagicCodeEmailHtml,\n defaultMagicCodeEmailSubject,\n i,\n Webhooks,\n WebhooksManager,\n type WebhookAction,\n type WebhookStatus,\n type WebhookEventStatus,\n type WebhookInfo,\n type WebhookAttempt,\n type WebhookEventInfo,\n type WebhookEventsPage,\n type WebhookBody,\n type WebhookEntity,\n type WebhookPayload,\n type WebhookPayloadRecord,\n type WebhookPayloadRecordFor,\n type WebhookHandlerFn,\n type WebhookHandlers,\n type WebhookHelpers,\n type CreateWebhookParams,\n type UpdateWebhookParams,\n};\n\nexport {\n diffSchemas,\n convertTxSteps,\n isRenamePromptItem,\n buildAutoRenameSelector,\n type RenameResolveFn,\n type MigrationTx,\n type MigrationTxSpecific,\n type MigrationTxTypes,\n type Identifier,\n} from './migrations.ts';\n\nexport {\n DEFAULT_OAUTH_CALLBACK_URL,\n GOOGLE_AUTHORIZATION_ENDPOINT,\n GOOGLE_DISCOVERY_ENDPOINT,\n GOOGLE_TOKEN_ENDPOINT,\n APPLE_AUTHORIZATION_ENDPOINT,\n APPLE_DISCOVERY_ENDPOINT,\n APPLE_TOKEN_ENDPOINT,\n LINKEDIN_AUTHORIZATION_ENDPOINT,\n LINKEDIN_DISCOVERY_ENDPOINT,\n LINKEDIN_TOKEN_ENDPOINT,\n} from './consts.ts';\n"]}
@@ -0,0 +1,11 @@
1
+ export declare const defaultMagicCodeEmailHtml = "<div style=\"background: #f6f6f6; font-family: Helvetica, Arial, sans-serif; line-height: 1.6; font-size: 18px;\">\n <div style=\"max-width: 650px; margin: 0 auto; background: white; padding: 20px\">\n <div style=\"background: #f6f6f6; font-family: Helvetica, Arial, sans-serif; line-height: 1.6; font-size: 18px;\">\n <div style=\"max-width: 650px; margin: 0 auto; background: white; padding: 20px;\">\n <p><strong>Welcome,</strong></p>\n <p>\n You asked to join {app_title}. To complete your registration, use this\n verification code:\n </p>\n <h2 style=\"text-align: center\"><strong>{code}</strong></h2>\n <p>\n Copy and paste this into the confirmation box, and you'll be on your\n way.\n </p>\n <p>\n Note: This code will expire in 10 minutes, and can only be used once. If\n you didn't request this code, please reply to this email.\n </p>\n </div>\n </div>\n </div>\n</div>\n";
2
+ export declare const defaultMagicCodeEmailSubject = "{code} is your code for {app_title}";
3
+ export declare const defaultMagicCodeEmailConfig: {
4
+ authEmail: {
5
+ subject: string;
6
+ from: string;
7
+ fromAddress: undefined;
8
+ body: string;
9
+ };
10
+ };
11
+ //# sourceMappingURL=email.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../src/email.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,y/BAsBrC,CAAC;AAEF,eAAO,MAAM,4BAA4B,wCACF,CAAC;AAExC,eAAO,MAAM,2BAA2B;;;;;;;CAOvC,CAAC"}
@@ -0,0 +1,33 @@
1
+ export const defaultMagicCodeEmailHtml = /* html */ `<div style="background: #f6f6f6; font-family: Helvetica, Arial, sans-serif; line-height: 1.6; font-size: 18px;">
2
+ <div style="max-width: 650px; margin: 0 auto; background: white; padding: 20px">
3
+ <div style="background: #f6f6f6; font-family: Helvetica, Arial, sans-serif; line-height: 1.6; font-size: 18px;">
4
+ <div style="max-width: 650px; margin: 0 auto; background: white; padding: 20px;">
5
+ <p><strong>Welcome,</strong></p>
6
+ <p>
7
+ You asked to join {app_title}. To complete your registration, use this
8
+ verification code:
9
+ </p>
10
+ <h2 style="text-align: center"><strong>{code}</strong></h2>
11
+ <p>
12
+ Copy and paste this into the confirmation box, and you'll be on your
13
+ way.
14
+ </p>
15
+ <p>
16
+ Note: This code will expire in 10 minutes, and can only be used once. If
17
+ you didn't request this code, please reply to this email.
18
+ </p>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </div>
23
+ `;
24
+ export const defaultMagicCodeEmailSubject = '{code} is your code for {app_title}';
25
+ export const defaultMagicCodeEmailConfig = {
26
+ authEmail: {
27
+ subject: defaultMagicCodeEmailSubject,
28
+ from: '',
29
+ fromAddress: undefined,
30
+ body: defaultMagicCodeEmailHtml,
31
+ },
32
+ };
33
+ //# sourceMappingURL=email.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.js","sourceRoot":"","sources":["../../src/email.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;CAsBnD,CAAC;AAEF,MAAM,CAAC,MAAM,4BAA4B,GACvC,qCAAqC,CAAC;AAExC,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,SAAS,EAAE;QACT,OAAO,EAAE,4BAA4B;QACrC,IAAI,EAAE,EAAE;QACR,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,yBAAyB;KAChC;CACF,CAAC","sourcesContent":["export const defaultMagicCodeEmailHtml = /* html */ `<div style=\"background: #f6f6f6; font-family: Helvetica, Arial, sans-serif; line-height: 1.6; font-size: 18px;\">\n <div style=\"max-width: 650px; margin: 0 auto; background: white; padding: 20px\">\n <div style=\"background: #f6f6f6; font-family: Helvetica, Arial, sans-serif; line-height: 1.6; font-size: 18px;\">\n <div style=\"max-width: 650px; margin: 0 auto; background: white; padding: 20px;\">\n <p><strong>Welcome,</strong></p>\n <p>\n You asked to join {app_title}. To complete your registration, use this\n verification code:\n </p>\n <h2 style=\"text-align: center\"><strong>{code}</strong></h2>\n <p>\n Copy and paste this into the confirmation box, and you'll be on your\n way.\n </p>\n <p>\n Note: This code will expire in 10 minutes, and can only be used once. If\n you didn't request this code, please reply to this email.\n </p>\n </div>\n </div>\n </div>\n</div>\n`;\n\nexport const defaultMagicCodeEmailSubject =\n '{code} is your code for {app_title}';\n\nexport const defaultMagicCodeEmailConfig = {\n authEmail: {\n subject: defaultMagicCodeEmailSubject,\n from: '',\n fromAddress: undefined,\n body: defaultMagicCodeEmailHtml,\n },\n};\n"]}
@@ -10,7 +10,8 @@ import { i, type InstantRules } from '@instantdb/core';
10
10
  import { exchangeCodeForToken, exchangeRefreshToken } from './serverOAuth.ts';
11
11
  import { clerkDomainFromPublishableKey } from './clerk.ts';
12
12
  import { Webhooks, type WebhookAction, type WebhookStatus, type WebhookEventStatus, type WebhookInfo, type WebhookAttempt, type WebhookEventInfo, type WebhookEventsPage, type WebhookBody, type WebhookEntity, type WebhookPayload, type WebhookPayloadRecord, type WebhookPayloadRecordFor, type WebhookHandlerFn, type WebhookHandlers, type WebhookHelpers, type CreateWebhookParams, type UpdateWebhookParams, WebhooksManager } from '@instantdb/webhooks';
13
- export { type InstantAPIPlatformSchema, type InstantDBOAuthAccessToken, type OAuthHandlerConfig, type OAuthScope, type InstantRules, OAuthHandler, InstantOAuthError, generateSchemaTypescriptFile, collectSystemCatalogIdentNames, validateSchema, SchemaValidationError, generatePermsTypescriptFile, permsTypescriptFileToCode, apiSchemaToInstantSchemaDef, schemaTypescriptFileToInstantSchema, version, translatePlanSteps, PlatformApi, ProgressPromise, exchangeCodeForToken, exchangeRefreshToken, clerkDomainFromPublishableKey, i, Webhooks, WebhooksManager, type WebhookAction, type WebhookStatus, type WebhookEventStatus, type WebhookInfo, type WebhookAttempt, type WebhookEventInfo, type WebhookEventsPage, type WebhookBody, type WebhookEntity, type WebhookPayload, type WebhookPayloadRecord, type WebhookPayloadRecordFor, type WebhookHandlerFn, type WebhookHandlers, type WebhookHelpers, type CreateWebhookParams, type UpdateWebhookParams, };
13
+ import { defaultMagicCodeEmailConfig, defaultMagicCodeEmailHtml, defaultMagicCodeEmailSubject } from './email.ts';
14
+ export { type InstantAPIPlatformSchema, type InstantDBOAuthAccessToken, type OAuthHandlerConfig, type OAuthScope, type InstantRules, OAuthHandler, InstantOAuthError, generateSchemaTypescriptFile, collectSystemCatalogIdentNames, validateSchema, SchemaValidationError, generatePermsTypescriptFile, permsTypescriptFileToCode, apiSchemaToInstantSchemaDef, schemaTypescriptFileToInstantSchema, version, translatePlanSteps, PlatformApi, ProgressPromise, exchangeCodeForToken, exchangeRefreshToken, clerkDomainFromPublishableKey, defaultMagicCodeEmailConfig, defaultMagicCodeEmailHtml, defaultMagicCodeEmailSubject, i, Webhooks, WebhooksManager, type WebhookAction, type WebhookStatus, type WebhookEventStatus, type WebhookInfo, type WebhookAttempt, type WebhookEventInfo, type WebhookEventsPage, type WebhookBody, type WebhookEntity, type WebhookPayload, type WebhookPayloadRecord, type WebhookPayloadRecordFor, type WebhookHandlerFn, type WebhookHandlers, type WebhookHelpers, type CreateWebhookParams, type UpdateWebhookParams, };
14
15
  export { diffSchemas, convertTxSteps, isRenamePromptItem, buildAutoRenameSelector, type RenameResolveFn, type MigrationTx, type MigrationTxSpecific, type MigrationTxTypes, type Identifier, } from './migrations.ts';
15
16
  export { DEFAULT_OAUTH_CALLBACK_URL, GOOGLE_AUTHORIZATION_ENDPOINT, GOOGLE_DISCOVERY_ENDPOINT, GOOGLE_TOKEN_ENDPOINT, APPLE_AUTHORIZATION_ENDPOINT, APPLE_DISCOVERY_ENDPOINT, APPLE_TOKEN_ENDPOINT, LINKEDIN_AUTHORIZATION_ENDPOINT, LINKEDIN_DISCOVERY_ENDPOINT, LINKEDIN_TOKEN_ENDPOINT, } from './consts.ts';
16
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,YAAY,EACb,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EAC1B,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,KAAK,wBAAwB,EAC7B,4BAA4B,EAC5B,8BAA8B,EAC9B,cAAc,EACd,qBAAqB,EACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,2BAA2B,EAC3B,WAAW,EACX,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAE7E,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,CAAC,EAAE,KAAK,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W,EACX,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,UAAU,GAChB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,0BAA0B,EAC1B,6BAA6B,EAC7B,yBAAyB,EACzB,qBAAqB,EACrB,4BAA4B,EAC5B,wBAAwB,EACxB,oBAAoB,EACpB,+BAA+B,EAC/B,2BAA2B,EAC3B,uBAAuB,GACxB,MAAM,aAAa,CAAC"}
package/dist/esm/index.js CHANGED
@@ -10,7 +10,8 @@ import { i } from '@instantdb/core';
10
10
  import { exchangeCodeForToken, exchangeRefreshToken } from "./serverOAuth.js";
11
11
  import { clerkDomainFromPublishableKey } from "./clerk.js";
12
12
  import { Webhooks, WebhooksManager, } from '@instantdb/webhooks';
13
- export { OAuthHandler, InstantOAuthError, generateSchemaTypescriptFile, collectSystemCatalogIdentNames, validateSchema, SchemaValidationError, generatePermsTypescriptFile, permsTypescriptFileToCode, apiSchemaToInstantSchemaDef, schemaTypescriptFileToInstantSchema, version, translatePlanSteps, PlatformApi, ProgressPromise, exchangeCodeForToken, exchangeRefreshToken, clerkDomainFromPublishableKey, i, Webhooks, WebhooksManager, };
13
+ import { defaultMagicCodeEmailConfig, defaultMagicCodeEmailHtml, defaultMagicCodeEmailSubject, } from "./email.js";
14
+ export { OAuthHandler, InstantOAuthError, generateSchemaTypescriptFile, collectSystemCatalogIdentNames, validateSchema, SchemaValidationError, generatePermsTypescriptFile, permsTypescriptFileToCode, apiSchemaToInstantSchemaDef, schemaTypescriptFileToInstantSchema, version, translatePlanSteps, PlatformApi, ProgressPromise, exchangeCodeForToken, exchangeRefreshToken, clerkDomainFromPublishableKey, defaultMagicCodeEmailConfig, defaultMagicCodeEmailHtml, defaultMagicCodeEmailSubject, i, Webhooks, WebhooksManager, };
14
15
  export { diffSchemas, convertTxSteps, isRenamePromptItem, buildAutoRenameSelector, } from "./migrations.js";
15
16
  export { DEFAULT_OAUTH_CALLBACK_URL, GOOGLE_AUTHORIZATION_ENDPOINT, GOOGLE_DISCOVERY_ENDPOINT, GOOGLE_TOKEN_ENDPOINT, APPLE_AUTHORIZATION_ENDPOINT, APPLE_DISCOVERY_ENDPOINT, APPLE_TOKEN_ENDPOINT, LINKEDIN_AUTHORIZATION_ENDPOINT, LINKEDIN_DISCOVERY_ENDPOINT, LINKEDIN_TOKEN_ENDPOINT, } from "./consts.js";
16
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAmB,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAGL,YAAY,GACb,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,YAAY,CAAC;AACpB,OAAO,EAEL,4BAA4B,EAC5B,8BAA8B,EAC9B,cAAc,EACd,qBAAqB,GACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,2BAA2B,EAC3B,WAAW,EACX,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAE7E,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,CAAC,EAAqB,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,EACL,QAAQ,EAkBR,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAML,YAAY,EACZ,iBAAiB,EACjB,4BAA4B,EAC5B,8BAA8B,EAC9B,cAAc,EACd,qBAAqB,EACrB,2BAA2B,EAC3B,yBAAyB,EACzB,2BAA2B,EAC3B,mCAAmC,EACnC,OAAO,EACP,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,EAC7B,CAAC,EACD,QAAQ,EACR,eAAe,GAkBhB,CAAC;AAEF,OAAO,EACL,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,uBAAuB,GAMxB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,0BAA0B,EAC1B,6BAA6B,EAC7B,yBAAyB,EACzB,qBAAqB,EACrB,4BAA4B,EAC5B,wBAAwB,EACxB,oBAAoB,EACpB,+BAA+B,EAC/B,2BAA2B,EAC3B,uBAAuB,GACxB,MAAM,aAAa,CAAC","sourcesContent":["import { InstantOAuthError, type OAuthScope } from './oauthCommon.ts';\nimport {\n type InstantDBOAuthAccessToken,\n type OAuthHandlerConfig,\n OAuthHandler,\n} from './oauth.ts';\nimport {\n generatePermsTypescriptFile,\n permsTypescriptFileToCode,\n} from './perms.ts';\nimport {\n type InstantAPIPlatformSchema,\n generateSchemaTypescriptFile,\n collectSystemCatalogIdentNames,\n validateSchema,\n SchemaValidationError,\n} from './schema.ts';\nimport {\n apiSchemaToInstantSchemaDef,\n PlatformApi,\n translatePlanSteps,\n} from './api.ts';\nimport { schemaTypescriptFileToInstantSchema } from './typescript-schema.ts';\n\nimport version from './version.ts';\nimport { ProgressPromise } from './ProgressPromise.ts';\nimport { i, type InstantRules } from '@instantdb/core';\nimport { exchangeCodeForToken, exchangeRefreshToken } from './serverOAuth.ts';\nimport { clerkDomainFromPublishableKey } from './clerk.ts';\nimport {\n Webhooks,\n type WebhookAction,\n type WebhookStatus,\n type WebhookEventStatus,\n type WebhookInfo,\n type WebhookAttempt,\n type WebhookEventInfo,\n type WebhookEventsPage,\n type WebhookBody,\n type WebhookEntity,\n type WebhookPayload,\n type WebhookPayloadRecord,\n type WebhookPayloadRecordFor,\n type WebhookHandlerFn,\n type WebhookHandlers,\n type WebhookHelpers,\n type CreateWebhookParams,\n type UpdateWebhookParams,\n WebhooksManager,\n} from '@instantdb/webhooks';\n\nexport {\n type InstantAPIPlatformSchema,\n type InstantDBOAuthAccessToken,\n type OAuthHandlerConfig,\n type OAuthScope,\n type InstantRules,\n OAuthHandler,\n InstantOAuthError,\n generateSchemaTypescriptFile,\n collectSystemCatalogIdentNames,\n validateSchema,\n SchemaValidationError,\n generatePermsTypescriptFile,\n permsTypescriptFileToCode,\n apiSchemaToInstantSchemaDef,\n schemaTypescriptFileToInstantSchema,\n version,\n translatePlanSteps,\n PlatformApi,\n ProgressPromise,\n exchangeCodeForToken,\n exchangeRefreshToken,\n clerkDomainFromPublishableKey,\n i,\n Webhooks,\n WebhooksManager,\n type WebhookAction,\n type WebhookStatus,\n type WebhookEventStatus,\n type WebhookInfo,\n type WebhookAttempt,\n type WebhookEventInfo,\n type WebhookEventsPage,\n type WebhookBody,\n type WebhookEntity,\n type WebhookPayload,\n type WebhookPayloadRecord,\n type WebhookPayloadRecordFor,\n type WebhookHandlerFn,\n type WebhookHandlers,\n type WebhookHelpers,\n type CreateWebhookParams,\n type UpdateWebhookParams,\n};\n\nexport {\n diffSchemas,\n convertTxSteps,\n isRenamePromptItem,\n buildAutoRenameSelector,\n type RenameResolveFn,\n type MigrationTx,\n type MigrationTxSpecific,\n type MigrationTxTypes,\n type Identifier,\n} from './migrations.ts';\n\nexport {\n DEFAULT_OAUTH_CALLBACK_URL,\n GOOGLE_AUTHORIZATION_ENDPOINT,\n GOOGLE_DISCOVERY_ENDPOINT,\n GOOGLE_TOKEN_ENDPOINT,\n APPLE_AUTHORIZATION_ENDPOINT,\n APPLE_DISCOVERY_ENDPOINT,\n APPLE_TOKEN_ENDPOINT,\n LINKEDIN_AUTHORIZATION_ENDPOINT,\n LINKEDIN_DISCOVERY_ENDPOINT,\n LINKEDIN_TOKEN_ENDPOINT,\n} from './consts.ts';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],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CAAC;AAEzB,OAAO,EACL,0BAA0B,EAC1B,6BAA6B,EAC7B,yBAAyB,EACzB,qBAAqB,EACrB,4BAA4B,EAC5B,wBAAwB,EACxB,oBAAoB,EACpB,+BAA+B,EAC/B,2BAA2B,EAC3B,uBAAuB,GACxB,MAAM,aAAa,CAAC","sourcesContent":["import { InstantOAuthError, type OAuthScope } from './oauthCommon.ts';\nimport {\n type InstantDBOAuthAccessToken,\n type OAuthHandlerConfig,\n OAuthHandler,\n} from './oauth.ts';\nimport {\n generatePermsTypescriptFile,\n permsTypescriptFileToCode,\n} from './perms.ts';\nimport {\n type InstantAPIPlatformSchema,\n generateSchemaTypescriptFile,\n collectSystemCatalogIdentNames,\n validateSchema,\n SchemaValidationError,\n} from './schema.ts';\nimport {\n apiSchemaToInstantSchemaDef,\n PlatformApi,\n translatePlanSteps,\n} from './api.ts';\nimport { schemaTypescriptFileToInstantSchema } from './typescript-schema.ts';\n\nimport version from './version.ts';\nimport { ProgressPromise } from './ProgressPromise.ts';\nimport { i, type InstantRules } from '@instantdb/core';\nimport { exchangeCodeForToken, exchangeRefreshToken } from './serverOAuth.ts';\nimport { clerkDomainFromPublishableKey } from './clerk.ts';\nimport {\n Webhooks,\n type WebhookAction,\n type WebhookStatus,\n type WebhookEventStatus,\n type WebhookInfo,\n type WebhookAttempt,\n type WebhookEventInfo,\n type WebhookEventsPage,\n type WebhookBody,\n type WebhookEntity,\n type WebhookPayload,\n type WebhookPayloadRecord,\n type WebhookPayloadRecordFor,\n type WebhookHandlerFn,\n type WebhookHandlers,\n type WebhookHelpers,\n type CreateWebhookParams,\n type UpdateWebhookParams,\n WebhooksManager,\n} from '@instantdb/webhooks';\nimport {\n defaultMagicCodeEmailConfig,\n defaultMagicCodeEmailHtml,\n defaultMagicCodeEmailSubject,\n} from './email.ts';\n\nexport {\n type InstantAPIPlatformSchema,\n type InstantDBOAuthAccessToken,\n type OAuthHandlerConfig,\n type OAuthScope,\n type InstantRules,\n OAuthHandler,\n InstantOAuthError,\n generateSchemaTypescriptFile,\n collectSystemCatalogIdentNames,\n validateSchema,\n SchemaValidationError,\n generatePermsTypescriptFile,\n permsTypescriptFileToCode,\n apiSchemaToInstantSchemaDef,\n schemaTypescriptFileToInstantSchema,\n version,\n translatePlanSteps,\n PlatformApi,\n ProgressPromise,\n exchangeCodeForToken,\n exchangeRefreshToken,\n clerkDomainFromPublishableKey,\n defaultMagicCodeEmailConfig,\n defaultMagicCodeEmailHtml,\n defaultMagicCodeEmailSubject,\n i,\n Webhooks,\n WebhooksManager,\n type WebhookAction,\n type WebhookStatus,\n type WebhookEventStatus,\n type WebhookInfo,\n type WebhookAttempt,\n type WebhookEventInfo,\n type WebhookEventsPage,\n type WebhookBody,\n type WebhookEntity,\n type WebhookPayload,\n type WebhookPayloadRecord,\n type WebhookPayloadRecordFor,\n type WebhookHandlerFn,\n type WebhookHandlers,\n type WebhookHelpers,\n type CreateWebhookParams,\n type UpdateWebhookParams,\n};\n\nexport {\n diffSchemas,\n convertTxSteps,\n isRenamePromptItem,\n buildAutoRenameSelector,\n type RenameResolveFn,\n type MigrationTx,\n type MigrationTxSpecific,\n type MigrationTxTypes,\n type Identifier,\n} from './migrations.ts';\n\nexport {\n DEFAULT_OAUTH_CALLBACK_URL,\n GOOGLE_AUTHORIZATION_ENDPOINT,\n GOOGLE_DISCOVERY_ENDPOINT,\n GOOGLE_TOKEN_ENDPOINT,\n APPLE_AUTHORIZATION_ENDPOINT,\n APPLE_DISCOVERY_ENDPOINT,\n APPLE_TOKEN_ENDPOINT,\n LINKEDIN_AUTHORIZATION_ENDPOINT,\n LINKEDIN_DISCOVERY_ENDPOINT,\n LINKEDIN_TOKEN_ENDPOINT,\n} from './consts.ts';\n"]}