@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,199 +0,0 @@
1
- /**
2
- * `@stripe/extensibility-dev-tools`
3
- *
4
- * Development tools for Stripe Apps extension projects:
5
- * - Template system for code generation
6
- * - Dependency management
7
- * - Manifest parsing (stripe-app.yaml)
8
- * - Workspace regeneration
9
- *
10
- * @packageDocumentation
11
- */
12
-
13
- import { z } from 'zod';
14
-
15
- /* Excluded from this release type: _advancedDiffPrompt */
16
-
17
- /* Excluded from this release type: _CheckResult */
18
-
19
- /* Excluded from this release type: _CliContext */
20
-
21
- /* Excluded from this release type: _CliUx */
22
-
23
- /* Excluded from this release type: _CommitOptions */
24
-
25
- /* Excluded from this release type: _CommitResult */
26
-
27
- /* Excluded from this release type: _ConflictResult */
28
-
29
- /* Excluded from this release type: _createCliContext */
30
-
31
- /* Excluded from this release type: _createExtensionEslintConfigFile */
32
-
33
- /* Excluded from this release type: _createSimpleSingleFileTemplate */
34
-
35
- /* Excluded from this release type: _createSimpleTemplate */
36
-
37
- /* Excluded from this release type: _CustomObjectDefinition */
38
-
39
- /* Excluded from this release type: _CustomObjectDefinitionsBlock */
40
-
41
- /* Excluded from this release type: _CustomObjectDefinitionYaml */
42
-
43
- /* Excluded from this release type: _CustomObjectEntry */
44
-
45
- /* Excluded from this release type: _defaultServices */
46
-
47
- /* Excluded from this release type: _Dependency */
48
-
49
- /* Excluded from this release type: _DependencyAction */
50
-
51
- /* Excluded from this release type: _DependencyHandler */
52
-
53
- /* Excluded from this release type: _DependencyManager */
54
-
55
- /* Excluded from this release type: _DependencyManagerOptions */
56
-
57
- /* Excluded from this release type: _detectPackageManager */
58
-
59
- /* Excluded from this release type: _devNpmDep */
60
-
61
- /* Excluded from this release type: _DevNpmDependency */
62
-
63
- /* Excluded from this release type: _EndpointAuth */
64
-
65
- /* Excluded from this release type: _EndpointDefinition */
66
-
67
- /* Excluded from this release type: _EnsureDependenciesInput */
68
-
69
- /* Excluded from this release type: _ExtensionConfig */
70
-
71
- /* Excluded from this release type: _ExtensionConfiguration */
72
-
73
- /* Excluded from this release type: _ExtensionMethodInfo */
74
-
75
- /* Excluded from this release type: _ExtensionParams */
76
-
77
- /* Excluded from this release type: _ExtensionTemplate */
78
-
79
- /* Excluded from this release type: _ExtensionTemplateInfo */
80
-
81
- /* Excluded from this release type: _ExtensionTemplateManager */
82
-
83
- /* Excluded from this release type: _ExtensionTemplateOutput */
84
-
85
- /* Excluded from this release type: _FileWriteResult */
86
-
87
- /* Excluded from this release type: _FileWriterOptions */
88
-
89
- /* Excluded from this release type: _fs */
90
-
91
- /* Excluded from this release type: _GeneratedFile */
92
-
93
- /* Excluded from this release type: _ManifestV1 */
94
-
95
- /* Excluded from this release type: _ManifestV1Data */
96
-
97
- /* Excluded from this release type: _ManifestV2 */
98
-
99
- /* Excluded from this release type: _ManifestV2Data */
100
-
101
- /* Excluded from this release type: _ManifestVersion */
102
-
103
- /* Excluded from this release type: _npmDep */
104
-
105
- /* Excluded from this release type: _NpmDependency */
106
-
107
- /* Excluded from this release type: _NpmDependencyHandler */
108
-
109
- /* Excluded from this release type: _NpmHandlerOptions */
110
-
111
- /* Excluded from this release type: _OverwriteDecision */
112
-
113
- /* Excluded from this release type: _OverwritePromptCallback */
114
-
115
- /* Excluded from this release type: _PackageManager */
116
-
117
- /* Excluded from this release type: _PackageMetadata */
118
-
119
- /* Excluded from this release type: _PendingChange */
120
-
121
- /* Excluded from this release type: _PostGenerationHook */
122
-
123
- /* Excluded from this release type: _promptOverwrite */
124
-
125
- /* Excluded from this release type: _regenAppProjectWorkspace */
126
-
127
- /* Excluded from this release type: _RegenWorkspaceOptions */
128
-
129
- /* Excluded from this release type: _regenWorkspaceOptionsSchema */
130
-
131
- /* Excluded from this release type: _resolvePackageMetadata */
132
-
133
- /* Excluded from this release type: _rootTemplateManager */
134
-
135
- /* Excluded from this release type: _RootWorkspaceOutput */
136
-
137
- /* Excluded from this release type: _RootWorkspaceParams */
138
-
139
- /* Excluded from this release type: _rootWorkspaceTemplate */
140
-
141
- /* Excluded from this release type: _SchemaReference */
142
-
143
- /* Excluded from this release type: _SingleTemplateManager */
144
-
145
- /* Excluded from this release type: _StripeAppManifest */
146
-
147
- /* Excluded from this release type: _stripeCliPluginDep */
148
-
149
- /* Excluded from this release type: _StripeCliPluginDependency */
150
-
151
- /* Excluded from this release type: _StripeCliPluginHandler */
152
-
153
- /* Excluded from this release type: _StripeCliPluginHandlerOptions */
154
-
155
- /* Excluded from this release type: _Template */
156
-
157
- /* Excluded from this release type: _TemplateContext */
158
-
159
- /* Excluded from this release type: _TemplateFS */
160
-
161
- /* Excluded from this release type: _TemplateManager */
162
-
163
- /* Excluded from this release type: _templateManager */
164
-
165
- /* Excluded from this release type: _TemplateOutput */
166
-
167
- /* Excluded from this release type: _WorkspaceDependency */
168
-
169
- /* Excluded from this release type: _WorkspaceDependencyManager */
170
-
171
- /* Excluded from this release type: _WorkspaceExtensionConfig */
172
-
173
- /* Excluded from this release type: _WorkspaceFileWriteResult */
174
-
175
- /* Excluded from this release type: _WorkspaceFileWriterOptions */
176
-
177
- /* Excluded from this release type: _WorkspaceGeneratedFile */
178
-
179
- /* Excluded from this release type: _WorkspaceGenerateResult */
180
-
181
- /* Excluded from this release type: _WorkspaceManifest */
182
-
183
- /* Excluded from this release type: _WorkspaceOverwriteDecision */
184
-
185
- /* Excluded from this release type: _WorkspaceOverwritePromptCallback */
186
-
187
- /* Excluded from this release type: _WorkspacePendingChange */
188
-
189
- /* Excluded from this release type: _WorkspacePostGenerationHook */
190
-
191
- /* Excluded from this release type: _WorkspaceServices */
192
-
193
- /* Excluded from this release type: _WorkspaceWriteMode */
194
-
195
- /* Excluded from this release type: _writeGeneratedFiles */
196
-
197
- /* Excluded from this release type: _WriteMode */
198
-
199
- export { }
@@ -1,199 +0,0 @@
1
- /**
2
- * `@stripe/extensibility-dev-tools`
3
- *
4
- * Development tools for Stripe Apps extension projects:
5
- * - Template system for code generation
6
- * - Dependency management
7
- * - Manifest parsing (stripe-app.yaml)
8
- * - Workspace regeneration
9
- *
10
- * @packageDocumentation
11
- */
12
-
13
- import { z } from 'zod';
14
-
15
- /* Excluded from this release type: _advancedDiffPrompt */
16
-
17
- /* Excluded from this release type: _CheckResult */
18
-
19
- /* Excluded from this release type: _CliContext */
20
-
21
- /* Excluded from this release type: _CliUx */
22
-
23
- /* Excluded from this release type: _CommitOptions */
24
-
25
- /* Excluded from this release type: _CommitResult */
26
-
27
- /* Excluded from this release type: _ConflictResult */
28
-
29
- /* Excluded from this release type: _createCliContext */
30
-
31
- /* Excluded from this release type: _createExtensionEslintConfigFile */
32
-
33
- /* Excluded from this release type: _createSimpleSingleFileTemplate */
34
-
35
- /* Excluded from this release type: _createSimpleTemplate */
36
-
37
- /* Excluded from this release type: _CustomObjectDefinition */
38
-
39
- /* Excluded from this release type: _CustomObjectDefinitionsBlock */
40
-
41
- /* Excluded from this release type: _CustomObjectDefinitionYaml */
42
-
43
- /* Excluded from this release type: _CustomObjectEntry */
44
-
45
- /* Excluded from this release type: _defaultServices */
46
-
47
- /* Excluded from this release type: _Dependency */
48
-
49
- /* Excluded from this release type: _DependencyAction */
50
-
51
- /* Excluded from this release type: _DependencyHandler */
52
-
53
- /* Excluded from this release type: _DependencyManager */
54
-
55
- /* Excluded from this release type: _DependencyManagerOptions */
56
-
57
- /* Excluded from this release type: _detectPackageManager */
58
-
59
- /* Excluded from this release type: _devNpmDep */
60
-
61
- /* Excluded from this release type: _DevNpmDependency */
62
-
63
- /* Excluded from this release type: _EndpointAuth */
64
-
65
- /* Excluded from this release type: _EndpointDefinition */
66
-
67
- /* Excluded from this release type: _EnsureDependenciesInput */
68
-
69
- /* Excluded from this release type: _ExtensionConfig */
70
-
71
- /* Excluded from this release type: _ExtensionConfiguration */
72
-
73
- /* Excluded from this release type: _ExtensionMethodInfo */
74
-
75
- /* Excluded from this release type: _ExtensionParams */
76
-
77
- /* Excluded from this release type: _ExtensionTemplate */
78
-
79
- /* Excluded from this release type: _ExtensionTemplateInfo */
80
-
81
- /* Excluded from this release type: _ExtensionTemplateManager */
82
-
83
- /* Excluded from this release type: _ExtensionTemplateOutput */
84
-
85
- /* Excluded from this release type: _FileWriteResult */
86
-
87
- /* Excluded from this release type: _FileWriterOptions */
88
-
89
- /* Excluded from this release type: _fs */
90
-
91
- /* Excluded from this release type: _GeneratedFile */
92
-
93
- /* Excluded from this release type: _ManifestV1 */
94
-
95
- /* Excluded from this release type: _ManifestV1Data */
96
-
97
- /* Excluded from this release type: _ManifestV2 */
98
-
99
- /* Excluded from this release type: _ManifestV2Data */
100
-
101
- /* Excluded from this release type: _ManifestVersion */
102
-
103
- /* Excluded from this release type: _npmDep */
104
-
105
- /* Excluded from this release type: _NpmDependency */
106
-
107
- /* Excluded from this release type: _NpmDependencyHandler */
108
-
109
- /* Excluded from this release type: _NpmHandlerOptions */
110
-
111
- /* Excluded from this release type: _OverwriteDecision */
112
-
113
- /* Excluded from this release type: _OverwritePromptCallback */
114
-
115
- /* Excluded from this release type: _PackageManager */
116
-
117
- /* Excluded from this release type: _PackageMetadata */
118
-
119
- /* Excluded from this release type: _PendingChange */
120
-
121
- /* Excluded from this release type: _PostGenerationHook */
122
-
123
- /* Excluded from this release type: _promptOverwrite */
124
-
125
- /* Excluded from this release type: _regenAppProjectWorkspace */
126
-
127
- /* Excluded from this release type: _RegenWorkspaceOptions */
128
-
129
- /* Excluded from this release type: _regenWorkspaceOptionsSchema */
130
-
131
- /* Excluded from this release type: _resolvePackageMetadata */
132
-
133
- /* Excluded from this release type: _rootTemplateManager */
134
-
135
- /* Excluded from this release type: _RootWorkspaceOutput */
136
-
137
- /* Excluded from this release type: _RootWorkspaceParams */
138
-
139
- /* Excluded from this release type: _rootWorkspaceTemplate */
140
-
141
- /* Excluded from this release type: _SchemaReference */
142
-
143
- /* Excluded from this release type: _SingleTemplateManager */
144
-
145
- /* Excluded from this release type: _StripeAppManifest */
146
-
147
- /* Excluded from this release type: _stripeCliPluginDep */
148
-
149
- /* Excluded from this release type: _StripeCliPluginDependency */
150
-
151
- /* Excluded from this release type: _StripeCliPluginHandler */
152
-
153
- /* Excluded from this release type: _StripeCliPluginHandlerOptions */
154
-
155
- /* Excluded from this release type: _Template */
156
-
157
- /* Excluded from this release type: _TemplateContext */
158
-
159
- /* Excluded from this release type: _TemplateFS */
160
-
161
- /* Excluded from this release type: _TemplateManager */
162
-
163
- /* Excluded from this release type: _templateManager */
164
-
165
- /* Excluded from this release type: _TemplateOutput */
166
-
167
- /* Excluded from this release type: _WorkspaceDependency */
168
-
169
- /* Excluded from this release type: _WorkspaceDependencyManager */
170
-
171
- /* Excluded from this release type: _WorkspaceExtensionConfig */
172
-
173
- /* Excluded from this release type: _WorkspaceFileWriteResult */
174
-
175
- /* Excluded from this release type: _WorkspaceFileWriterOptions */
176
-
177
- /* Excluded from this release type: _WorkspaceGeneratedFile */
178
-
179
- /* Excluded from this release type: _WorkspaceGenerateResult */
180
-
181
- /* Excluded from this release type: _WorkspaceManifest */
182
-
183
- /* Excluded from this release type: _WorkspaceOverwriteDecision */
184
-
185
- /* Excluded from this release type: _WorkspaceOverwritePromptCallback */
186
-
187
- /* Excluded from this release type: _WorkspacePendingChange */
188
-
189
- /* Excluded from this release type: _WorkspacePostGenerationHook */
190
-
191
- /* Excluded from this release type: _WorkspaceServices */
192
-
193
- /* Excluded from this release type: _WorkspaceWriteMode */
194
-
195
- /* Excluded from this release type: _writeGeneratedFiles */
196
-
197
- /* Excluded from this release type: _WriteMode */
198
-
199
- export { }
@@ -1,51 +0,0 @@
1
- /* Excluded from this release type: _CheckResult */
2
-
3
- /* Excluded from this release type: _CliContext */
4
-
5
- /* Excluded from this release type: _CliUx */
6
-
7
- /* Excluded from this release type: _CommitOptions */
8
-
9
- /* Excluded from this release type: _CommitResult */
10
-
11
- /* Excluded from this release type: _ConflictResult */
12
-
13
- /* Excluded from this release type: _Dependency */
14
-
15
- /* Excluded from this release type: _DependencyAction */
16
-
17
- /* Excluded from this release type: _DependencyHandler */
18
-
19
- /* Excluded from this release type: _DependencyManager */
20
-
21
- /* Excluded from this release type: _DependencyManagerOptions */
22
-
23
- /* Excluded from this release type: _detectPackageManager */
24
-
25
- /* Excluded from this release type: _devNpmDep */
26
-
27
- /* Excluded from this release type: _DevNpmDependency */
28
-
29
- /* Excluded from this release type: _EnsureDependenciesInput */
30
-
31
- /* Excluded from this release type: _npmDep */
32
-
33
- /* Excluded from this release type: _NpmDependency */
34
-
35
- /* Excluded from this release type: _NpmDependencyHandler */
36
-
37
- /* Excluded from this release type: _NpmHandlerOptions */
38
-
39
- /* Excluded from this release type: _PackageManager */
40
-
41
- /* Excluded from this release type: _PendingChange */
42
-
43
- /* Excluded from this release type: _stripeCliPluginDep */
44
-
45
- /* Excluded from this release type: _StripeCliPluginDependency */
46
-
47
- /* Excluded from this release type: _StripeCliPluginHandler */
48
-
49
- /* Excluded from this release type: _StripeCliPluginHandlerOptions */
50
-
51
- export { }
@@ -1,51 +0,0 @@
1
- /* Excluded from this release type: _CheckResult */
2
-
3
- /* Excluded from this release type: _CliContext */
4
-
5
- /* Excluded from this release type: _CliUx */
6
-
7
- /* Excluded from this release type: _CommitOptions */
8
-
9
- /* Excluded from this release type: _CommitResult */
10
-
11
- /* Excluded from this release type: _ConflictResult */
12
-
13
- /* Excluded from this release type: _Dependency */
14
-
15
- /* Excluded from this release type: _DependencyAction */
16
-
17
- /* Excluded from this release type: _DependencyHandler */
18
-
19
- /* Excluded from this release type: _DependencyManager */
20
-
21
- /* Excluded from this release type: _DependencyManagerOptions */
22
-
23
- /* Excluded from this release type: _detectPackageManager */
24
-
25
- /* Excluded from this release type: _devNpmDep */
26
-
27
- /* Excluded from this release type: _DevNpmDependency */
28
-
29
- /* Excluded from this release type: _EnsureDependenciesInput */
30
-
31
- /* Excluded from this release type: _npmDep */
32
-
33
- /* Excluded from this release type: _NpmDependency */
34
-
35
- /* Excluded from this release type: _NpmDependencyHandler */
36
-
37
- /* Excluded from this release type: _NpmHandlerOptions */
38
-
39
- /* Excluded from this release type: _PackageManager */
40
-
41
- /* Excluded from this release type: _PendingChange */
42
-
43
- /* Excluded from this release type: _stripeCliPluginDep */
44
-
45
- /* Excluded from this release type: _StripeCliPluginDependency */
46
-
47
- /* Excluded from this release type: _StripeCliPluginHandler */
48
-
49
- /* Excluded from this release type: _StripeCliPluginHandlerOptions */
50
-
51
- export { }