@stripe/extensibility-dev-tools 0.23.5 → 0.23.7

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 (67) hide show
  1. package/README.md +28 -0
  2. package/dist/api-surface.d.ts.map +1 -0
  3. package/dist/bin/build-custom-object-definitions.cjs +21 -24
  4. package/dist/bin/build-custom-object-definitions.js +21 -24
  5. package/dist/bin/create-upload-image.cjs +21 -24
  6. package/dist/bin/create-upload-image.js +21 -24
  7. package/dist/bin/dev-tools-rpc.cjs +35 -25
  8. package/dist/bin/dev-tools-rpc.js +35 -25
  9. package/dist/bin/gen-workspace.cjs +35 -25
  10. package/dist/bin/gen-workspace.js +35 -25
  11. package/dist/bin/template-info.cjs +21 -24
  12. package/dist/bin/template-info.js +21 -24
  13. package/dist/dependencies/index.d.ts +7 -7
  14. package/dist/index.cjs +35 -25
  15. package/dist/index.js +35 -25
  16. package/dist/manifest/manifest-v2.d.ts +3 -8
  17. package/dist/templates/diff-viewer/types.d.ts +2 -2
  18. package/dist/templates/extensions/base.d.ts +3 -5
  19. package/dist/templates/extensions/base.d.ts.map +1 -1
  20. package/dist/templates/extensions/types.d.ts +3 -9
  21. package/dist/templates/file-writer.d.ts +2 -2
  22. package/dist/templates/index.cjs +35 -25
  23. package/dist/templates/index.js +35 -25
  24. package/dist/templates/root/index.d.ts +1 -1
  25. package/dist/templates/root/index.d.ts.map +1 -1
  26. package/dist/tsconfig.build.tsbuildinfo +1 -1
  27. package/dist/workspace/index.cjs +35 -25
  28. package/dist/workspace/index.d.ts +30 -34
  29. package/dist/workspace/index.js +35 -25
  30. package/package.json +4 -4
  31. package/templates/extensions/billing.bill.discount_calculation/index.ts +1 -2
  32. package/templates/extensions/billing.customer_balance_application/index.test.ts +5 -5
  33. package/templates/extensions/billing.customer_balance_application/index.ts +4 -4
  34. package/templates/extensions/billing.invoice_collection_setting/index.ts +1 -1
  35. package/templates/extensions/billing.prorations/index.ts +1 -1
  36. package/templates/extensions/billing.recurring_billing_item_handling/index.ts +1 -1
  37. package/templates/extensions/core.workflows.custom_action/index.ts +1 -2
  38. package/templates/extensions/extend.workflows.custom_action/index.ts +1 -2
  39. package/templates/root/custom-objects/{package.json → package.json.mustache} +4 -4
  40. package/dist/extensibility-dev-tools-alpha.d.ts +0 -199
  41. package/dist/extensibility-dev-tools-beta.d.ts +0 -199
  42. package/dist/extensibility-dev-tools-dependencies-alpha.d.ts +0 -51
  43. package/dist/extensibility-dev-tools-dependencies-beta.d.ts +0 -51
  44. package/dist/extensibility-dev-tools-dependencies-internal.d.ts +0 -372
  45. package/dist/extensibility-dev-tools-dependencies-public.d.ts +0 -51
  46. package/dist/extensibility-dev-tools-internal.d.ts +0 -1722
  47. package/dist/extensibility-dev-tools-jsonschema-tools-alpha.d.ts +0 -57
  48. package/dist/extensibility-dev-tools-jsonschema-tools-beta.d.ts +0 -57
  49. package/dist/extensibility-dev-tools-jsonschema-tools-internal.d.ts +0 -123
  50. package/dist/extensibility-dev-tools-jsonschema-tools-public.d.ts +0 -57
  51. package/dist/extensibility-dev-tools-manifest-alpha.d.ts +0 -31
  52. package/dist/extensibility-dev-tools-manifest-beta.d.ts +0 -31
  53. package/dist/extensibility-dev-tools-manifest-internal.d.ts +0 -461
  54. package/dist/extensibility-dev-tools-manifest-public.d.ts +0 -31
  55. package/dist/extensibility-dev-tools-public.d.ts +0 -199
  56. package/dist/extensibility-dev-tools-schemas-alpha.d.ts +0 -9
  57. package/dist/extensibility-dev-tools-schemas-beta.d.ts +0 -9
  58. package/dist/extensibility-dev-tools-schemas-internal.d.ts +0 -41
  59. package/dist/extensibility-dev-tools-schemas-public.d.ts +0 -9
  60. package/dist/extensibility-dev-tools-templates-alpha.d.ts +0 -67
  61. package/dist/extensibility-dev-tools-templates-beta.d.ts +0 -67
  62. package/dist/extensibility-dev-tools-templates-internal.d.ts +0 -554
  63. package/dist/extensibility-dev-tools-templates-public.d.ts +0 -67
  64. package/dist/extensibility-dev-tools-workspace-alpha.d.ts +0 -51
  65. package/dist/extensibility-dev-tools-workspace-beta.d.ts +0 -51
  66. package/dist/extensibility-dev-tools-workspace-internal.d.ts +0 -410
  67. package/dist/extensibility-dev-tools-workspace-public.d.ts +0 -51
@@ -1,9 +0,0 @@
1
- /* Excluded from this release type: buildExtensionSchemas */
2
-
3
- /* Excluded from this release type: BuildExtensionSchemasOptions */
4
-
5
- /* Excluded from this release type: BuildExtensionSchemasResult */
6
-
7
- /* Excluded from this release type: SchemaFileInfo */
8
-
9
- export { }
@@ -1,41 +0,0 @@
1
- /** @internal */
2
- export declare function buildExtensionSchemas(options: BuildExtensionSchemasOptions): Promise<BuildExtensionSchemasResult>;
3
-
4
- /**
5
- * Schema generation for Stripe extension config types.
6
- *
7
- * Reads stripe-app.yaml, extracts config schemas from an extension's entry
8
- * point, and writes JSON Schema + UI Schema files to disk.
9
- *
10
- * @deprecated NOT FOR EXTERNAL USE. This subpath is Stripe-internal and will be removed in a future release. External consumers must not depend on it.
11
- * @internal
12
- */
13
- /** @internal */
14
- export declare interface BuildExtensionSchemasOptions {
15
- /** Path to project root containing stripe-app.yaml (default: ".") */
16
- root?: string;
17
- /** Extension ID to process (must exist in stripe-app.yaml) */
18
- extensionId: string;
19
- /** Output directory, resolved relative to cwd (default: ".") */
20
- outDir?: string;
21
- /** Base name for generated schema files (default: the TypeScript type name) */
22
- schemaName?: string;
23
- }
24
-
25
- /** @internal */
26
- export declare interface BuildExtensionSchemasResult {
27
- extensionId: string;
28
- schemas: SchemaFileInfo[];
29
- }
30
-
31
- /** @internal */
32
- export declare interface SchemaFileInfo {
33
- /** TypeScript type name, e.g. "LoyaltyDiscountConfig" */
34
- typeName: string;
35
- /** Absolute path to the written JSON Schema file (.schema.json) */
36
- jsonSchemaPath: string;
37
- /** Absolute path to the written UI Schema file (.ui.json) */
38
- uiSchemaPath: string;
39
- }
40
-
41
- export { }
@@ -1,9 +0,0 @@
1
- /* Excluded from this release type: buildExtensionSchemas */
2
-
3
- /* Excluded from this release type: BuildExtensionSchemasOptions */
4
-
5
- /* Excluded from this release type: BuildExtensionSchemasResult */
6
-
7
- /* Excluded from this release type: SchemaFileInfo */
8
-
9
- export { }
@@ -1,67 +0,0 @@
1
- /* Excluded from this release type: _advancedDiffPrompt */
2
-
3
- /* Excluded from this release type: _createExtensionEslintConfigFile */
4
-
5
- /* Excluded from this release type: _createSimpleSingleFileTemplate */
6
-
7
- /* Excluded from this release type: _createSimpleTemplate */
8
-
9
- /* Excluded from this release type: _DevNpmDependency */
10
-
11
- /* Excluded from this release type: _ExtensionMethodInfo */
12
-
13
- /* Excluded from this release type: _ExtensionParams */
14
-
15
- /* Excluded from this release type: _ExtensionTemplate */
16
-
17
- /* Excluded from this release type: _ExtensionTemplateInfo */
18
-
19
- /* Excluded from this release type: _ExtensionTemplateManager */
20
-
21
- /* Excluded from this release type: _ExtensionTemplateOutput */
22
-
23
- /* Excluded from this release type: _FileWriteResult */
24
-
25
- /* Excluded from this release type: _FileWriterOptions */
26
-
27
- /* Excluded from this release type: _fs */
28
-
29
- /* Excluded from this release type: _GeneratedFile */
30
-
31
- /* Excluded from this release type: _NpmDependency */
32
-
33
- /* Excluded from this release type: _OverwriteDecision */
34
-
35
- /* Excluded from this release type: _OverwritePromptCallback */
36
-
37
- /* Excluded from this release type: _PostGenerationHook */
38
-
39
- /* Excluded from this release type: _promptOverwrite */
40
-
41
- /* Excluded from this release type: _rootTemplateManager */
42
-
43
- /* Excluded from this release type: _RootWorkspaceOutput */
44
-
45
- /* Excluded from this release type: _RootWorkspaceParams */
46
-
47
- /* Excluded from this release type: _rootWorkspaceTemplate */
48
-
49
- /* Excluded from this release type: _SingleTemplateManager */
50
-
51
- /* Excluded from this release type: _Template */
52
-
53
- /* Excluded from this release type: _TemplateContext */
54
-
55
- /* Excluded from this release type: _TemplateFS */
56
-
57
- /* Excluded from this release type: _TemplateManager */
58
-
59
- /* Excluded from this release type: _templateManager */
60
-
61
- /* Excluded from this release type: _TemplateOutput */
62
-
63
- /* Excluded from this release type: _writeGeneratedFiles */
64
-
65
- /* Excluded from this release type: _WriteMode */
66
-
67
- export { }
@@ -1,67 +0,0 @@
1
- /* Excluded from this release type: _advancedDiffPrompt */
2
-
3
- /* Excluded from this release type: _createExtensionEslintConfigFile */
4
-
5
- /* Excluded from this release type: _createSimpleSingleFileTemplate */
6
-
7
- /* Excluded from this release type: _createSimpleTemplate */
8
-
9
- /* Excluded from this release type: _DevNpmDependency */
10
-
11
- /* Excluded from this release type: _ExtensionMethodInfo */
12
-
13
- /* Excluded from this release type: _ExtensionParams */
14
-
15
- /* Excluded from this release type: _ExtensionTemplate */
16
-
17
- /* Excluded from this release type: _ExtensionTemplateInfo */
18
-
19
- /* Excluded from this release type: _ExtensionTemplateManager */
20
-
21
- /* Excluded from this release type: _ExtensionTemplateOutput */
22
-
23
- /* Excluded from this release type: _FileWriteResult */
24
-
25
- /* Excluded from this release type: _FileWriterOptions */
26
-
27
- /* Excluded from this release type: _fs */
28
-
29
- /* Excluded from this release type: _GeneratedFile */
30
-
31
- /* Excluded from this release type: _NpmDependency */
32
-
33
- /* Excluded from this release type: _OverwriteDecision */
34
-
35
- /* Excluded from this release type: _OverwritePromptCallback */
36
-
37
- /* Excluded from this release type: _PostGenerationHook */
38
-
39
- /* Excluded from this release type: _promptOverwrite */
40
-
41
- /* Excluded from this release type: _rootTemplateManager */
42
-
43
- /* Excluded from this release type: _RootWorkspaceOutput */
44
-
45
- /* Excluded from this release type: _RootWorkspaceParams */
46
-
47
- /* Excluded from this release type: _rootWorkspaceTemplate */
48
-
49
- /* Excluded from this release type: _SingleTemplateManager */
50
-
51
- /* Excluded from this release type: _Template */
52
-
53
- /* Excluded from this release type: _TemplateContext */
54
-
55
- /* Excluded from this release type: _TemplateFS */
56
-
57
- /* Excluded from this release type: _TemplateManager */
58
-
59
- /* Excluded from this release type: _templateManager */
60
-
61
- /* Excluded from this release type: _TemplateOutput */
62
-
63
- /* Excluded from this release type: _writeGeneratedFiles */
64
-
65
- /* Excluded from this release type: _WriteMode */
66
-
67
- export { }