BLUE
PHP 7.4.33
Path:
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/@react-native/codegen/lib/generators
Run
Logout
Edit File
Size: 2.98 KB
Close
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/@react-native/codegen/lib/generators/RNCodegen.d.ts
Text
Base64
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import type { SchemaType } from '../CodegenSchema'; export type FilesOutput = Map<string, string>; export type LibraryGeneratorFunction = (libraryName: string, schema: SchemaType, packageName: string | undefined, assumeNonnull: boolean) => FilesOutput; export type SchemaGeneratorFunction = (schemas: { [key: string]: SchemaType }) => FilesOutput; export type ViewGeneratorFunction = (libraryName: string, schema: SchemaType) => FilesOutput; type LibraryGeneratorNames = | 'generateComponentDescriptorH' | 'generateComponentDescriptorCpp' | 'generateComponentHObjCpp' | 'generateEventEmitterCpp' | 'generateEventEmitterH' | 'generatePropsCpp' | 'generatePropsH' | 'generateStateCpp' | 'generateStateH' | 'generateModuleH' | 'generateModuleCpp' | 'generateModuleObjCpp' | 'generateModuleJavaSpec' | 'generateModuleJniCpp' | 'generateModuleJniH' | 'generatePropsJavaInterface' | 'generatePropsJavaDelegate' | 'generateTests' | 'generateShadowNodeCpp' | 'generateShadowNodeH' ; type SchemaGeneratorNames = | 'generateThirdPartyFabricComponentsProviderObjCpp' | 'generateThirdPartyFabricComponentsProviderH' ; type ViewGeneratorNames = | 'generateViewConfigJs' ; export type AllGenerators = & { readonly [key in LibraryGeneratorNames]: LibraryGeneratorFunction; } & { readonly [key in SchemaGeneratorNames]: SchemaGeneratorFunction; } & { readonly [key in ViewGeneratorNames]: ViewGeneratorFunction; } ; export type LibraryGenerators = | 'componentsAndroid' | 'componentsIOS' | 'descriptors' | 'events' | 'props' | 'states' | 'tests' | 'shadow-nodes' | 'modulesAndroid' | 'modulesCxx' | 'modulesIOS' ; export type SchemaGenerators = | 'providerIOS' ; export interface LibraryOptions { libraryName: string; schema: SchemaType; outputDirectory: string; packageName?: string | undefined; assumeNonnull: boolean; } export interface LibraryConfig { generators: LibraryGenerators[]; test?: boolean | undefined; } export interface SchemasOptions { schemas: { [key: string]: SchemaType }; outputDirectory: string; } export interface SchemasConfig { generators: SchemaGenerators[]; test?: boolean | undefined; } export declare const allGenerators: AllGenerators; export declare const libraryGenerators: { readonly [key in LibraryGenerators]: LibraryGeneratorFunction }; export declare const schemaGenerators: { readonly [key in SchemaGenerators]: SchemaGeneratorFunction }; export declare function generate(options: LibraryOptions, config: LibraryConfig): boolean; export declare function generateFromSchemas(options: SchemasOptions, config: SchemasConfig): boolean; export declare function generateViewConfig(options: LibraryOptions): string;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 4 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
components
DIR
-
drwxr-xr-x
2025-03-28 11:04:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
modules
DIR
-
drwxr-xr-x
2025-03-28 11:04:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
TypeUtils
DIR
-
drwxr-xr-x
2025-03-28 11:04:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
__test_fixtures__
DIR
-
drwxr-xr-x
2025-03-28 11:04:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RNCodegen.d.ts
2.98 KB
lrw-r--r--
2025-03-28 11:04:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RNCodegen.js
9.37 KB
lrw-r--r--
2025-03-28 11:04:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RNCodegen.js.flow
10.65 KB
lrw-r--r--
2025-03-28 11:04:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Utils.js
1.07 KB
lrw-r--r--
2025-03-28 11:04:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Utils.js.flow
1.18 KB
lrw-r--r--
2025-03-28 11:04:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).