BindForms registers various application form constructors. These bindings are mostly used internally and/or preserved for backward compatibility with earlier versions.
(vm *goja.Runtime)
| 832 | // BindForms registers various application form constructors. |
| 833 | // These bindings are mostly used internally and/or preserved for backward compatibility with earlier versions. |
| 834 | func BindForms(vm *goja.Runtime) { |
| 835 | registerFactoryAsConstructor(vm, "AppleClientSecretCreateForm", forms.NewAppleClientSecretCreate) |
| 836 | registerFactoryAsConstructor(vm, "RecordUpsertForm", forms.NewRecordUpsert) |
| 837 | registerFactoryAsConstructor(vm, "TestEmailSendForm", forms.NewTestEmailSend) |
| 838 | registerFactoryAsConstructor(vm, "TestS3FilesystemForm", forms.NewTestS3Filesystem) |
| 839 | } |
| 840 | |
| 841 | // BindApis registers $apis.* namespaced object with reusable Web API |
| 842 | // handlers, middlewares and other related helpers. |
searching dependent graphs…