@stripe/extensibility-dev-tools 0.24.2 → 0.25.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 (62) hide show
  1. package/dist/bin/build-custom-object-definitions.cjs +203 -46
  2. package/dist/bin/build-custom-object-definitions.js +194 -37
  3. package/dist/bin/create-upload-image.cjs +206 -46
  4. package/dist/bin/create-upload-image.js +201 -41
  5. package/dist/bin/dev-tools-rpc.cjs +199 -59
  6. package/dist/bin/dev-tools-rpc.js +174 -34
  7. package/dist/bin/gen-workspace.cjs +187 -47
  8. package/dist/bin/gen-workspace.js +174 -34
  9. package/dist/bin/template-info.cjs +161 -30
  10. package/dist/bin/template-info.js +156 -25
  11. package/dist/custom-objects/build-definitions.d.ts.map +1 -1
  12. package/dist/custom-objects/generated/proto/custom_objects/pub/api/app_api/object_definitions_app_service.pb.d.ts +32 -0
  13. package/dist/custom-objects/generated/proto/custom_objects/pub/api/app_api/object_definitions_app_service.pb.d.ts.map +1 -1
  14. package/dist/custom-objects/generated/proto/google/protobuf/descriptor.pb.d.ts +2 -2
  15. package/dist/custom-objects/generated/proto/google/protobuf/wrappers.pb.d.ts +168 -0
  16. package/dist/custom-objects/generated/proto/google/protobuf/wrappers.pb.d.ts.map +1 -0
  17. package/dist/custom-objects/generated/proto/proto/extensions.pb.d.ts +4 -4
  18. package/dist/custom-objects/generated/proto/proto/extensions.pb.d.ts.map +1 -1
  19. package/dist/custom-objects/generated/proto/vendor/proto/model/common/common_model.pb.d.ts +1553 -0
  20. package/dist/custom-objects/generated/proto/vendor/proto/model/common/common_model.pb.d.ts.map +1 -0
  21. package/dist/custom-objects/generated/proto/vendor/proto/model/common/kronos_model.pb.d.ts +1372 -0
  22. package/dist/custom-objects/generated/proto/vendor/proto/model/common/kronos_model.pb.d.ts.map +1 -0
  23. package/dist/custom-objects/generated/proto/vendor/publicapi/api_group_enum.pb.d.ts +2 -0
  24. package/dist/custom-objects/generated/proto/vendor/publicapi/api_group_enum.pb.d.ts.map +1 -1
  25. package/dist/custom-objects/generated/proto/vendor/publicapi/extension_interface.pb.d.ts +2 -0
  26. package/dist/custom-objects/generated/proto/vendor/publicapi/extension_interface.pb.d.ts.map +1 -1
  27. package/dist/custom-objects/generated/proto/vendor/publicapi/feature_enum.pb.d.ts +14 -2
  28. package/dist/custom-objects/generated/proto/vendor/publicapi/feature_enum.pb.d.ts.map +1 -1
  29. package/dist/custom-objects/generated/proto/vendor/publicapi/http_error_status.pb.d.ts +6 -0
  30. package/dist/custom-objects/generated/proto/vendor/publicapi/http_error_status.pb.d.ts.map +1 -1
  31. package/dist/custom-objects/generated/proto/vendor/publicapi/rollout_configs.pb.d.ts +74 -0
  32. package/dist/custom-objects/generated/proto/vendor/publicapi/rollout_configs.pb.d.ts.map +1 -1
  33. package/dist/custom-objects/generated/proto/vendor/publicapi/v2ext.pb.d.ts +10 -3
  34. package/dist/custom-objects/generated/proto/vendor/publicapi/v2ext.pb.d.ts.map +1 -1
  35. package/dist/custom-objects/generated/proto/vendor/vext/privacy_unified_annotations.pb.d.ts +1 -0
  36. package/dist/custom-objects/generated/proto/vendor/vext/privacy_unified_annotations.pb.d.ts.map +1 -1
  37. package/dist/index.cjs +192 -52
  38. package/dist/index.js +174 -34
  39. package/dist/templates/extensions/billing.invoice_collection_options.d.ts +6 -0
  40. package/dist/templates/extensions/billing.invoice_collection_options.d.ts.map +1 -0
  41. package/dist/templates/index.cjs +174 -34
  42. package/dist/templates/index.js +172 -32
  43. package/dist/templates/root/index.d.ts.map +1 -1
  44. package/dist/tsconfig.build.tsbuildinfo +1 -1
  45. package/dist/workspace/index.cjs +183 -43
  46. package/dist/workspace/index.d.ts.map +1 -1
  47. package/dist/workspace/index.js +174 -34
  48. package/dist/workspace-versions.d.ts +26 -0
  49. package/dist/workspace-versions.d.ts.map +1 -0
  50. package/package.json +4 -4
  51. package/templates/extensions/billing.invoice_collection_options/index.test.ts +15 -0
  52. package/templates/extensions/billing.invoice_collection_options/index.ts +16 -0
  53. package/templates/root/custom-objects/eslint.config.mts +89 -0
  54. package/templates/root/custom-objects/package.json.mustache +2 -0
  55. package/templates/root/custom-objects/tsconfig.json +1 -0
  56. package/templates/root/custom-objects/vitest.config.mts +7 -0
  57. package/templates/root/package.json.mustache +1 -1
  58. package/templates/root/tools/test.mts +4 -2
  59. package/dist/templates/extensions/billing.invoice_collection_setting.d.ts +0 -6
  60. package/dist/templates/extensions/billing.invoice_collection_setting.d.ts.map +0 -1
  61. package/templates/extensions/billing.invoice_collection_setting/index.test.ts +0 -15
  62. package/templates/extensions/billing.invoice_collection_setting/index.ts +0 -16
@@ -593,7 +593,7 @@ var _DependencyManager = class {
593
593
 
594
594
  // src/workspace/index.ts
595
595
  var import_internal = require("@stripe/extensibility-custom-objects-tools/internal");
596
- var import_extensibility_tool_utils11 = require("@stripe/extensibility-tool-utils");
596
+ var import_extensibility_tool_utils9 = require("@stripe/extensibility-tool-utils");
597
597
 
598
598
  // src/manifest/stripe-app-manifest.ts
599
599
  var import_extensibility_tool_utils3 = require("@stripe/extensibility-tool-utils");
@@ -1254,35 +1254,35 @@ export default class MyBalanceApp implements Billing.CustomerBalanceApplication<
1254
1254
  `
1255
1255
  },
1256
1256
  {
1257
- path: "extensions/billing.invoice_collection_setting/index.test.ts",
1257
+ path: "extensions/billing.invoice_collection_options/index.test.ts",
1258
1258
  content: `import { beforeEach, describe, it, expect } from 'vitest';
1259
1259
 
1260
- import MyInvoiceCollectionSetting from './index.js';
1260
+ import MyInvoiceCollectionOptions from './index.js';
1261
1261
 
1262
- describe('MyInvoiceCollectionSetting', () => {
1263
- let instance: MyInvoiceCollectionSetting;
1262
+ describe('MyInvoiceCollectionOptions', () => {
1263
+ let instance: MyInvoiceCollectionOptions;
1264
1264
 
1265
1265
  beforeEach(() => {
1266
- instance = new MyInvoiceCollectionSetting();
1266
+ instance = new MyInvoiceCollectionOptions();
1267
1267
  });
1268
1268
 
1269
1269
  it('should be constructable', () => {
1270
- expect(instance).toBeInstanceOf(MyInvoiceCollectionSetting);
1270
+ expect(instance).toBeInstanceOf(MyInvoiceCollectionOptions);
1271
1271
  });
1272
1272
  });
1273
1273
  `
1274
1274
  },
1275
1275
  {
1276
- path: "extensions/billing.invoice_collection_setting/index.ts",
1276
+ path: "extensions/billing.invoice_collection_options/index.ts",
1277
1277
  content: `import type { Billing, Context } from '@stripe/extensibility-sdk';
1278
1278
 
1279
1279
  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
1280
- interface MyInvoiceCollectionSettingConfig {}
1280
+ interface MyInvoiceCollectionOptionsConfig {}
1281
1281
 
1282
- export default class MyInvoiceCollectionSetting implements Billing.InvoiceCollectionSetting<MyInvoiceCollectionSettingConfig> {
1283
- collectionOverride(
1284
- _request: Billing.InvoiceCollectionSetting.InvoiceCollectionRequest,
1285
- _config: MyInvoiceCollectionSettingConfig,
1282
+ export default class MyInvoiceCollectionOptions implements Billing.InvoiceCollectionOptions<MyInvoiceCollectionOptionsConfig> {
1283
+ overrideOptions(
1284
+ _request: Billing.InvoiceCollectionOptions.InvoiceCollectionOptionsInput,
1285
+ _config: MyInvoiceCollectionOptionsConfig,
1286
1286
  _context: Context
1287
1287
  ) {
1288
1288
  // TODO: implement your collection setting logic here
@@ -1754,6 +1754,99 @@ install-deps.log
1754
1754
 
1755
1755
  # generated schemas
1756
1756
  generated
1757
+ `
1758
+ },
1759
+ {
1760
+ path: "root/custom-objects/eslint.config.mts",
1761
+ content: `import eslint from '@eslint/js';
1762
+ import { defineConfig } from 'eslint/config';
1763
+ import tseslint from 'typescript-eslint';
1764
+ import eslintConfigPrettier from 'eslint-config-prettier/flat';
1765
+
1766
+ import globals from 'globals';
1767
+
1768
+ import stripeAppsConfig from '@stripe/extensibility-eslint-plugin';
1769
+ import customObjectsConfig from '@stripe/extensibility-eslint-plugin/custom-objects';
1770
+
1771
+ export default defineConfig([
1772
+ eslint.configs.recommended,
1773
+ ...tseslint.configs.recommended,
1774
+ ...stripeAppsConfig,
1775
+ ...customObjectsConfig,
1776
+
1777
+ // Global ignores
1778
+ {
1779
+ ignores: ['dist', 'generated', 'node_modules'],
1780
+ },
1781
+
1782
+ // TypeScript source files (with type-checking)
1783
+ {
1784
+ name: 'sources',
1785
+ files: ['src/**/*.ts'],
1786
+ ignores: ['**/*.test.ts', '**/__tests__/**'],
1787
+ languageOptions: {
1788
+ globals: {
1789
+ ...globals.node,
1790
+ },
1791
+ parserOptions: {
1792
+ projectService: true,
1793
+ tsconfigRootDir: import.meta.dirname,
1794
+ },
1795
+ },
1796
+ },
1797
+
1798
+ // Test files
1799
+ {
1800
+ name: 'tests',
1801
+ files: ['src/**/*.test.ts', 'src/**/__tests__/**/*.ts'],
1802
+ languageOptions: {
1803
+ globals: {
1804
+ ...globals.node,
1805
+ },
1806
+ parserOptions: {
1807
+ projectService: true,
1808
+ tsconfigRootDir: import.meta.dirname,
1809
+ },
1810
+ },
1811
+ },
1812
+
1813
+ // Config files
1814
+ {
1815
+ name: 'ts-configs',
1816
+ files: ['*.config.m?ts', 'eslint.config.mts'],
1817
+ languageOptions: {
1818
+ globals: {
1819
+ ...globals.node,
1820
+ },
1821
+ parserOptions: {
1822
+ projectService: false,
1823
+ },
1824
+ },
1825
+ rules: {
1826
+ '@typescript-eslint/no-unused-vars': 'off',
1827
+ },
1828
+ },
1829
+
1830
+ // JavaScript/MJS files (scripts, configs) \u2014 no TS project, so only
1831
+ // disable the TS-parser-specific rule that doesn't apply without it.
1832
+ {
1833
+ name: 'js-configs',
1834
+ files: ['**/*.js', '**/*.mjs'],
1835
+ languageOptions: {
1836
+ globals: {
1837
+ ...globals.node,
1838
+ },
1839
+ parserOptions: {
1840
+ projectService: false,
1841
+ },
1842
+ },
1843
+ rules: {
1844
+ '@typescript-eslint/no-require-imports': 'off',
1845
+ },
1846
+ },
1847
+
1848
+ eslintConfigPrettier,
1849
+ ]);
1757
1850
  `
1758
1851
  },
1759
1852
  {
@@ -1766,7 +1859,9 @@ generated
1766
1859
  "private": true,
1767
1860
  "scripts": {
1768
1861
  "build": "test -d src && custom-objects-build --input src --output dist || true",
1862
+ "lint": "pnpm lint:types && pnpm lint:eslint",
1769
1863
  "lint:types": "test ! -d src || tsc --noEmit",
1864
+ "lint:eslint": "eslint .",
1770
1865
  "test": "vitest run"
1771
1866
  },
1772
1867
  "dependencies": {
@@ -1789,8 +1884,20 @@ generated
1789
1884
  "moduleResolution": "bundler",
1790
1885
  "types": ["vitest/globals"]
1791
1886
  },
1887
+ "include": ["src/**/*.ts"],
1792
1888
  "exclude": ["dist"]
1793
1889
  }
1890
+ `
1891
+ },
1892
+ {
1893
+ path: "root/custom-objects/vitest.config.mts",
1894
+ content: `import { defineConfig } from 'vitest/config';
1895
+
1896
+ export default defineConfig({
1897
+ test: {
1898
+ globals: true,
1899
+ },
1900
+ });
1794
1901
  `
1795
1902
  },
1796
1903
  {
@@ -1908,7 +2015,7 @@ export default defineConfig([
1908
2015
  "build": "pnpm -r --if-present build",
1909
2016
  "lint": "pnpm lint:types && pnpm lint:eslint && pnpm lint:format",
1910
2017
  "lint:types": "pnpm -r --if-present lint:types",
1911
- "lint:eslint": "eslint . --ignore-pattern 'extensions/**' && pnpm -r --filter './extensions/*' --if-present lint:eslint",
2018
+ "lint:eslint": "eslint . --ignore-pattern 'extensions/**' && pnpm -r --filter './extensions/*' --if-present lint:eslint && pnpm -r --filter './custom-objects' --if-present lint:eslint",
1912
2019
  "lint:format": "prettier --check .",
1913
2020
  "fix:lint": "eslint --fix . --ignore-pattern 'extensions/**' && pnpm -r --filter './extensions/*' --if-present fix:lint",
1914
2021
  "fix:format": "prettier --write .",
@@ -1954,7 +2061,7 @@ declarations:
1954
2061
  content: `#!/usr/bin/env tsx
1955
2062
  /**
1956
2063
  * Runs tests across the workspace:
1957
- * - vitest for script extensions and custom objects (extensions/*)
2064
+ * - vitest for script extensions (extensions/*) and custom objects (custom-objects/)
1958
2065
  * - jest for UI extensions (ui/)
1959
2066
  */
1960
2067
  import { existsSync, readdirSync } from 'node:fs';
@@ -1964,6 +2071,8 @@ const hasExtensions =
1964
2071
  existsSync('extensions') &&
1965
2072
  readdirSync('extensions').some((name) => existsSync(\`extensions/\${name}/package.json\`));
1966
2073
 
2074
+ const hasCustomObjects = existsSync('custom-objects/package.json');
2075
+
1967
2076
  const hasUI = existsSync('ui/package.json');
1968
2077
 
1969
2078
  let exitCode = 0;
@@ -1976,7 +2085,7 @@ function run(cmd: string): void {
1976
2085
  }
1977
2086
  }
1978
2087
 
1979
- if (hasExtensions) {
2088
+ if (hasExtensions || hasCustomObjects) {
1980
2089
  run('vitest run');
1981
2090
  }
1982
2091
 
@@ -2740,11 +2849,33 @@ var _ExtensionTemplateManager = class extends import_extensibility_tool_utils4._
2740
2849
  }
2741
2850
  };
2742
2851
 
2852
+ // src/workspace-versions.json
2853
+ var workspace_versions_default = {
2854
+ "@stripe/extensibility-custom-objects": "0.8.0",
2855
+ "@stripe/extensibility-custom-objects-tools": "0.42.1",
2856
+ "@stripe/extensibility-dev-tools": "0.25.1",
2857
+ "@stripe/extensibility-eslint-plugin": "0.17.1",
2858
+ "@stripe/extensibility-language-server": "0.3.4",
2859
+ "@stripe/extensibility-sdk": "0.27.1",
2860
+ "@stripe/extensibility-test-helpers": "0.2.7"
2861
+ };
2862
+
2863
+ // src/workspace-versions.ts
2864
+ var _workspaceVersions = workspace_versions_default;
2865
+ function _workspaceVersion(packageName) {
2866
+ const v = _workspaceVersions[packageName];
2867
+ if (v === void 0) {
2868
+ throw new Error(
2869
+ `Unknown workspace package "${packageName}". Check workspace-versions.json or run: tsx scripts/src/sync-workspace-versions.ts`
2870
+ );
2871
+ }
2872
+ return v;
2873
+ }
2874
+
2743
2875
  // src/templates/extensions/base.ts
2744
- var import_extensibility_tool_utils9 = require("@stripe/extensibility-tool-utils");
2745
2876
  var SDK_PACKAGE_NAME = "@stripe/extensibility-sdk";
2746
2877
  var LANGUAGE_SERVER_PACKAGE_NAME = "@stripe/extensibility-language-server";
2747
- var LANGUAGE_SERVER_PACKAGE_VERSION = `^${(0, import_extensibility_tool_utils9._workspaceVersion)(LANGUAGE_SERVER_PACKAGE_NAME)}`;
2878
+ var LANGUAGE_SERVER_PACKAGE_VERSION = `^${_workspaceVersion(LANGUAGE_SERVER_PACKAGE_NAME)}`;
2748
2879
  function _createExtensionEslintConfigFile(params, context) {
2749
2880
  const { id, extensionInterfaceId } = params;
2750
2881
  const { fs: fs2 } = context;
@@ -2787,7 +2918,7 @@ function _createBaseOutput(params, context) {
2787
2918
  dependencies: {
2788
2919
  // Exact pin (no caret) — the SDK is tightly coupled to dev-tools and
2789
2920
  // must match the version that generated the extension scaffolding.
2790
- runtime: [_npmDep(SDK_PACKAGE_NAME, (0, import_extensibility_tool_utils9._workspaceVersion)(SDK_PACKAGE_NAME))],
2921
+ runtime: [_npmDep(SDK_PACKAGE_NAME, _workspaceVersion(SDK_PACKAGE_NAME))],
2791
2922
  dev: [_devNpmDep(LANGUAGE_SERVER_PACKAGE_NAME, LANGUAGE_SERVER_PACKAGE_VERSION)]
2792
2923
  },
2793
2924
  postGenerationHooks: [
@@ -3046,14 +3177,14 @@ var billing_bill_discount_calculation_default = {
3046
3177
  [EXTENSION_INTERFACE_ID5]: discountCalculationTemplate
3047
3178
  };
3048
3179
 
3049
- // src/templates/extensions/billing.invoice_collection_setting.ts
3050
- var EXTENSION_INTERFACE_ID6 = "billing.invoice_collection_setting";
3051
- var invoiceCollectionSettingTemplate = {
3180
+ // src/templates/extensions/billing.invoice_collection_options.ts
3181
+ var EXTENSION_INTERFACE_ID6 = "billing.invoice_collection_options";
3182
+ var invoiceCollectionOptionsTemplate = {
3052
3183
  hidden: true,
3053
3184
  methods: {
3054
- collection_override: { implementation_types: ["script"] }
3185
+ override_options: { implementation_types: ["script"] }
3055
3186
  },
3056
- description: "Use Stripe Scripts to create custom invoice collection logic that controls how your integration handles invoices generated from subscriptions.",
3187
+ description: "Use Stripe Scripts to create custom invoice collection options that controls how your integration handles invoices generated from subscriptions.",
3057
3188
  generate: (params, context) => {
3058
3189
  const { id } = params;
3059
3190
  const { fs: fs2 } = context;
@@ -3081,15 +3212,15 @@ var invoiceCollectionSettingTemplate = {
3081
3212
  ...base.files
3082
3213
  ],
3083
3214
  methods: {
3084
- collection_override: {
3215
+ override_options: {
3085
3216
  implementation_type: "script"
3086
3217
  }
3087
3218
  }
3088
3219
  };
3089
3220
  }
3090
3221
  };
3091
- var billing_invoice_collection_setting_default = {
3092
- [EXTENSION_INTERFACE_ID6]: invoiceCollectionSettingTemplate
3222
+ var billing_invoice_collection_options_default = {
3223
+ [EXTENSION_INTERFACE_ID6]: invoiceCollectionOptionsTemplate
3093
3224
  };
3094
3225
 
3095
3226
  // src/templates/extensions/billing.prorations.ts
@@ -3197,7 +3328,7 @@ var DEFAULT_TEMPLATES = {
3197
3328
  ...extend_workflows_custom_action_default,
3198
3329
  ...billing_customer_balance_application_default,
3199
3330
  ...billing_bill_discount_calculation_default,
3200
- ...billing_invoice_collection_setting_default,
3331
+ ...billing_invoice_collection_options_default,
3201
3332
  ...billing_prorations_default,
3202
3333
  ...billing_recurring_billing_item_handling_default
3203
3334
  };
@@ -3210,9 +3341,8 @@ var _templateManager = new _ExtensionTemplateManager(
3210
3341
  );
3211
3342
 
3212
3343
  // src/templates/root/index.ts
3213
- var import_extensibility_tool_utils10 = require("@stripe/extensibility-tool-utils");
3214
3344
  var EXTENSIBILITY_ESLINT_PLUGIN_PACKAGE_NAME = "@stripe/extensibility-eslint-plugin";
3215
- var EXTENSIBILITY_ESLINT_PLUGIN_VERSION = `^${(0, import_extensibility_tool_utils10._workspaceVersion)(EXTENSIBILITY_ESLINT_PLUGIN_PACKAGE_NAME)}`;
3345
+ var EXTENSIBILITY_ESLINT_PLUGIN_VERSION = `^${_workspaceVersion(EXTENSIBILITY_ESLINT_PLUGIN_PACKAGE_NAME)}`;
3216
3346
  var _rootWorkspaceTemplate = {
3217
3347
  generate: (params, context) => {
3218
3348
  const { fs: fs2 } = context;
@@ -3267,14 +3397,14 @@ var _rootWorkspaceTemplate = {
3267
3397
  path: "custom-objects/package.json",
3268
3398
  content: fs2.mustache(
3269
3399
  {
3270
- customObjectsVersion: (0, import_extensibility_tool_utils10._workspaceVersion)(
3400
+ customObjectsVersion: _workspaceVersion(
3271
3401
  "@stripe/extensibility-custom-objects"
3272
3402
  ),
3273
- sdkVersion: (0, import_extensibility_tool_utils10._workspaceVersion)("@stripe/extensibility-sdk"),
3274
- customObjectsToolsVersion: (0, import_extensibility_tool_utils10._workspaceVersion)(
3403
+ sdkVersion: _workspaceVersion("@stripe/extensibility-sdk"),
3404
+ customObjectsToolsVersion: _workspaceVersion(
3275
3405
  "@stripe/extensibility-custom-objects-tools"
3276
3406
  ),
3277
- testHelpersVersion: (0, import_extensibility_tool_utils10._workspaceVersion)("@stripe/extensibility-test-helpers")
3407
+ testHelpersVersion: _workspaceVersion("@stripe/extensibility-test-helpers")
3278
3408
  },
3279
3409
  "custom-objects",
3280
3410
  "package.json.mustache"
@@ -3286,6 +3416,16 @@ var _rootWorkspaceTemplate = {
3286
3416
  content: fs2.textFile("custom-objects/tsconfig.json"),
3287
3417
  precious: true
3288
3418
  },
3419
+ {
3420
+ path: "custom-objects/eslint.config.mts",
3421
+ content: fs2.textFile("custom-objects/eslint.config.mts"),
3422
+ precious: true
3423
+ },
3424
+ {
3425
+ path: "custom-objects/vitest.config.mts",
3426
+ content: fs2.textFile("custom-objects/vitest.config.mts"),
3427
+ precious: true
3428
+ },
3289
3429
  {
3290
3430
  path: "ui/package.json",
3291
3431
  content: fs2.textFile("ui/package.json"),
@@ -3312,7 +3452,7 @@ var _rootWorkspaceTemplate = {
3312
3452
  _devNpmDep("@types/node", "^20.19.0"),
3313
3453
  _devNpmDep(
3314
3454
  "@stripe/extensibility-dev-tools",
3315
- `^${(0, import_extensibility_tool_utils10._workspaceVersion)("@stripe/extensibility-dev-tools")}`
3455
+ `^${_workspaceVersion("@stripe/extensibility-dev-tools")}`
3316
3456
  ),
3317
3457
  _devNpmDep("concurrently", "^9.2.1"),
3318
3458
  _devNpmDep("eslint", "^9.0.0"),
@@ -3406,7 +3546,7 @@ async function _resolvePackageMetadata(providedId, providedName, packageDir) {
3406
3546
  name ??= id;
3407
3547
  return { id, name, version };
3408
3548
  }
3409
- function runPostGenerationHooks(hooks, workingDir, disabled = false, context = (0, import_extensibility_tool_utils11._createCliContext)()) {
3549
+ function runPostGenerationHooks(hooks, workingDir, disabled = false, context = (0, import_extensibility_tool_utils9._createCliContext)()) {
3410
3550
  if (!hooks || hooks.length === 0 || disabled) {
3411
3551
  return Promise.resolve();
3412
3552
  }
@@ -3510,9 +3650,9 @@ function resolveMode(options, projectRoot, packageDir) {
3510
3650
  workspaceDir: () => packageDir ?? import_node_path3.default.join(projectRoot, "custom-objects"),
3511
3651
  generate: async (svc) => {
3512
3652
  const customObjectsWorkspaceDir = packageDir ?? import_node_path3.default.join(projectRoot, "custom-objects");
3513
- const workspaceExists = (0, import_node_fs2.existsSync)(import_node_path3.default.join(customObjectsWorkspaceDir, "package.json")) && (0, import_node_fs2.existsSync)(import_node_path3.default.join(customObjectsWorkspaceDir, "tsconfig.json"));
3653
+ const workspaceScaffoldingExists = (0, import_node_fs2.existsSync)(import_node_path3.default.join(customObjectsWorkspaceDir, "package.json")) && (0, import_node_fs2.existsSync)(import_node_path3.default.join(customObjectsWorkspaceDir, "tsconfig.json")) && (0, import_node_fs2.existsSync)(import_node_path3.default.join(customObjectsWorkspaceDir, "eslint.config.mts"));
3514
3654
  const objectResult = await svc.generateCustomObject({ name: objectName });
3515
- if (workspaceExists) {
3655
+ if (workspaceScaffoldingExists) {
3516
3656
  return objectResult;
3517
3657
  }
3518
3658
  const workspaceResult = await svc.generateCustomObjectsWorkspace({});
@@ -3527,11 +3667,11 @@ function resolveMode(options, projectRoot, packageDir) {
3527
3667
  finalize: async (_svc, _meta, root, _output, context) => {
3528
3668
  context.ux.log("\nUpdating stripe-app.yaml...");
3529
3669
  const manifestPath = import_node_path3.default.join(root, "stripe-app.yaml");
3530
- const manifest = await (0, import_extensibility_tool_utils11._openStripeAppManifest)(manifestPath);
3531
- const apiName = (0, import_extensibility_tool_utils11._toSnakeCase)(objectName);
3670
+ const manifest = await (0, import_extensibility_tool_utils9._openStripeAppManifest)(manifestPath);
3671
+ const apiName = (0, import_extensibility_tool_utils9._toSnakeCase)(objectName);
3532
3672
  if (!manifest.hasCustomObject(apiName)) {
3533
3673
  manifest.addCustomObject(apiName, `custom-objects/src/${apiName}.object.ts`);
3534
- const tx = (0, import_extensibility_tool_utils11._beginTransaction)();
3674
+ const tx = (0, import_extensibility_tool_utils9._beginTransaction)();
3535
3675
  tx.adopt(manifest);
3536
3676
  const report = await tx.commit();
3537
3677
  if (report.written.length > 0) {
@@ -3625,7 +3765,7 @@ var _defaultServices = {
3625
3765
  };
3626
3766
  },
3627
3767
  generateCustomObjectsWorkspace: async (vars) => {
3628
- const runner = new import_extensibility_tool_utils11._GeneratorRunner(import_internal._customObjectsWorkspaceGenerator);
3768
+ const runner = new import_extensibility_tool_utils9._GeneratorRunner(import_internal._customObjectsWorkspaceGenerator);
3629
3769
  const plan = await runner.plan(vars, {
3630
3770
  scope: "project",
3631
3771
  projectRoot: process.cwd()
@@ -3639,7 +3779,7 @@ var _defaultServices = {
3639
3779
  loadManifest: (manifestPath) => _StripeAppManifest.load(manifestPath),
3640
3780
  runHooks: runPostGenerationHooks
3641
3781
  };
3642
- async function _regenAppProjectWorkspace(options, services = _defaultServices, context = (0, import_extensibility_tool_utils11._createCliContext)()) {
3782
+ async function _regenAppProjectWorkspace(options, services = _defaultServices, context = (0, import_extensibility_tool_utils9._createCliContext)()) {
3643
3783
  const isCustomObjectMode = options.templateId === "custom-object";
3644
3784
  if (!isCustomObjectMode && !options.packageDir && !options.workspaceId) {
3645
3785
  throw new Error("At least one of packageDir or workspaceId is required");
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workspace/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,O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