mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update stubs
This commit is contained in:
@@ -1,76 +1,84 @@
|
|||||||
from typing import Any
|
from re import Pattern
|
||||||
|
|
||||||
def transpile_javascript(url, content): ...
|
def transpile_javascript(url: str, content: str) -> str: ...
|
||||||
|
|
||||||
URL_RE: Any
|
URL_RE: Pattern
|
||||||
|
|
||||||
def url_to_module_path(url): ...
|
def url_to_module_path(url: str) -> str: ...
|
||||||
def wrap_with_odoo_define(module_path, content): ...
|
def wrap_with_odoo_define(module_path: str, content: str) -> str: ...
|
||||||
|
|
||||||
EXPORT_FCT_OR_CLASS_RE: Any
|
EXPORT_FCT_RE: Pattern
|
||||||
|
|
||||||
def convert_export_function_or_class(content): ...
|
def convert_export_function(content: str) -> str: ...
|
||||||
|
|
||||||
EXPORT_FCT_OR_CLASS_DEFAULT_RE: Any
|
EXPORT_CLASS_RE: Pattern
|
||||||
|
|
||||||
def convert_export_function_or_class_default(content): ...
|
def convert_export_class(content: str) -> str: ...
|
||||||
|
|
||||||
EXPORT_VAR_RE: Any
|
EXPORT_FCT_DEFAULT_RE: Pattern
|
||||||
|
|
||||||
def convert_variable_export(content): ...
|
def convert_export_function_default(content: str): str: ...
|
||||||
|
|
||||||
EXPORT_DEFAULT_VAR_RE: Any
|
EXPORT_CLASS_DEFAULT_RE: Pattern
|
||||||
|
|
||||||
def convert_variable_export_default(content): ...
|
def convert_export_class_default(content: str) -> str: ...
|
||||||
|
|
||||||
EXPORT_OBJECT_RE: Any
|
EXPORT_VAR_RE: Pattern
|
||||||
|
|
||||||
def convert_object_export(content): ...
|
def convert_variable_export(content: str) -> str: ...
|
||||||
|
|
||||||
EXPORT_FROM_RE: Any
|
EXPORT_DEFAULT_VAR_RE: Pattern
|
||||||
|
|
||||||
def convert_from_export(content): ...
|
def convert_variable_export_default(content: str) -> str: ...
|
||||||
|
|
||||||
EXPORT_STAR_FROM_RE: Any
|
EXPORT_OBJECT_RE: Pattern
|
||||||
|
|
||||||
def convert_star_from_export(content): ...
|
def convert_object_export(content: str) -> str: ...
|
||||||
|
|
||||||
EXPORT_DEFAULT_RE: Any
|
EXPORT_FROM_RE: Pattern
|
||||||
|
|
||||||
def convert_default_export(content): ...
|
def convert_from_export(content: str) -> str: ...
|
||||||
|
|
||||||
IMPORT_BASIC_RE: Any
|
EXPORT_STAR_FROM_RE: Pattern
|
||||||
|
|
||||||
def convert_basic_import(content): ...
|
def convert_star_from_export(content: str) -> str: ...
|
||||||
|
|
||||||
IMPORT_LEGACY_DEFAULT_RE: Any
|
EXPORT_DEFAULT_RE: Pattern
|
||||||
|
|
||||||
def convert_legacy_default_import(content): ...
|
def convert_default_export(content: str) -> str: ...
|
||||||
|
|
||||||
IMPORT_DEFAULT: Any
|
IMPORT_BASIC_RE: Pattern
|
||||||
|
|
||||||
def convert_default_import(content): ...
|
def convert_basic_import(content: str) -> str: ...
|
||||||
|
|
||||||
RELATIVE_REQUIRE_RE: Any
|
IMPORT_LEGACY_DEFAULT_RE: Pattern
|
||||||
|
|
||||||
def convert_relative_require(url, content): ...
|
def convert_legacy_default_import(content: str) -> str: ...
|
||||||
|
|
||||||
IMPORT_STAR: Any
|
IMPORT_DEFAULT: Pattern
|
||||||
|
|
||||||
def convert_star_import(content): ...
|
def convert_default_import(content: str) -> str: ...
|
||||||
|
|
||||||
IMPORT_UNNAMED_RELATIVE_RE: Any
|
RELATIVE_REQUIRE_RE: Pattern
|
||||||
|
|
||||||
def convert_unnamed_relative_import(content): ...
|
def convert_relative_require(url: str, content: str) -> str: ...
|
||||||
|
|
||||||
URL_INDEX_RE: Any
|
IMPORT_STAR: Pattern
|
||||||
|
|
||||||
def remove_index(content): ...
|
def convert_star_import(content: str) -> str: ...
|
||||||
def relative_path_to_module_path(url, path_rel): ...
|
|
||||||
|
|
||||||
ODOO_MODULE_RE: Any
|
IMPORT_UNNAMED_RELATIVE_RE: Pattern
|
||||||
|
|
||||||
def is_odoo_module(content): ...
|
def convert_unnamed_relative_import(content: str) -> str: ...
|
||||||
def get_aliased_odoo_define_content(module_path, content): ...
|
|
||||||
def convert_as(val): ...
|
URL_INDEX_RE: Pattern
|
||||||
def remove_as(val): ...
|
|
||||||
|
def remove_index(content: str) -> str: ...
|
||||||
|
def relative_path_to_module_path(url: str, path_rel: str) -> str: ...
|
||||||
|
|
||||||
|
ODOO_MODULE_RE: Pattern
|
||||||
|
|
||||||
|
def is_odoo_module(content: str) -> str: ...
|
||||||
|
def get_aliased_odoo_define_content(module_path: str, content: str) -> str: ...
|
||||||
|
def convert_as(val: str) -> list[str] | str: ...
|
||||||
|
def remove_as(val: str) -> list[str] | str: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user