diff --git a/autogen.sh b/autogen.sh index 766881b..3b105ad 100755 --- a/autogen.sh +++ b/autogen.sh @@ -4,7 +4,7 @@ set -e app_root_dir="diagrams" # NOTE: azure icon set is not latest version -providers=("onprem" "aws" "azure" "gcp" "k8s" "alibabacloud" "oci" "programming") +providers=("onprem" "aws" "azure" "gcp" "firebase" "k8s" "alibabacloud" "oci" "programming") if ! [ -x "$(command -v round)" ]; then echo 'round is not installed' diff --git a/config.py b/config.py index 0cb566a..8809a26 100644 --- a/config.py +++ b/config.py @@ -11,7 +11,7 @@ DIR_APP_ROOT = "diagrams" DIR_RESOURCE = "resources" DIR_TEMPLATE = "templates" -PROVIDERS = ("base", "onprem", "aws", "azure", "gcp", "k8s", "alibabacloud", "oci", "programming") +PROVIDERS = ("base", "onprem", "aws", "azure", "gcp", "firebase", "k8s", "alibabacloud", "oci", "programming") ######################### # Resource Processing # @@ -29,6 +29,7 @@ FILE_PREFIXES = { "aws": ("Amazon-", "AWS-"), "azure": ("Azure-",), "gcp": ("Cloud-",), + "firebase": ("Cloud-",), "k8s": (), "alibabacloud": (), "oci": ("OCI-",), @@ -51,6 +52,7 @@ UPPER_WORDS = { "aws": ("aws", "api", "ebs", "ec2", "efs", "emr", "rds", "ml", "mq", "nat", "vpc", "waf", "sdk"), "azure": ("ad", "b2c", "ai", "api", "cdn", "ddos", "dns", "fxt", "hana", "hd", "id", "sap", "sql", "vm"), "gcp": ("gcp", "ai", "api", "cdn", "dns", "gke", "gpu", "iap", "ml", "nat", "os", "sdk", "sql", "tpu", "vpn"), + "firebase": ("ab", "fcm", "ml"), "k8s": ( "api", "cm", "ccm", "crb", "crd", "ds", "etcd", "hpa", "k8s", "ns", "psp", "pv", "pvc", "rb", "rs", "sa", "sc", "sts", "svc", @@ -234,6 +236,11 @@ ALIASES = { "Storage": "GCS", }, }, + "firebase": { + "grow": { + "Messaging": "FCM" + } + }, "k8s": { "clusterconfig": { "Limits": "LimitRange", diff --git a/diagrams/firebase/base.py b/diagrams/firebase/base.py new file mode 100644 index 0000000..a7c9531 --- /dev/null +++ b/diagrams/firebase/base.py @@ -0,0 +1,15 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Firebase + + +class _Base(_Firebase): + _type = "base" + _icon_dir = "resources/firebase/base" + + +class Firebase(_Base): + _icon = "firebase.png" + + +# Aliases diff --git a/diagrams/firebase/develop.py b/diagrams/firebase/develop.py new file mode 100644 index 0000000..27426e5 --- /dev/null +++ b/diagrams/firebase/develop.py @@ -0,0 +1,39 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Firebase + + +class _Develop(_Firebase): + _type = "develop" + _icon_dir = "resources/firebase/develop" + + +class Authentication(_Develop): + _icon = "authentication.png" + + +class Firestore(_Develop): + _icon = "firestore.png" + + +class Functions(_Develop): + _icon = "functions.png" + + +class Hosting(_Develop): + _icon = "hosting.png" + + +class MLKit(_Develop): + _icon = "ml-kit.png" + + +class RealtimeDatabase(_Develop): + _icon = "realtime-database.png" + + +class Storage(_Develop): + _icon = "storage.png" + + +# Aliases diff --git a/diagrams/firebase/extentions.py b/diagrams/firebase/extentions.py new file mode 100644 index 0000000..9d5926c --- /dev/null +++ b/diagrams/firebase/extentions.py @@ -0,0 +1,15 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Firebase + + +class _Extentions(_Firebase): + _type = "extentions" + _icon_dir = "resources/firebase/extentions" + + +class Extensions(_Extentions): + _icon = "extensions.png" + + +# Aliases diff --git a/diagrams/firebase/grow.py b/diagrams/firebase/grow.py new file mode 100644 index 0000000..b015dd3 --- /dev/null +++ b/diagrams/firebase/grow.py @@ -0,0 +1,45 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Firebase + + +class _Grow(_Firebase): + _type = "grow" + _icon_dir = "resources/firebase/grow" + + +class ABTesting(_Grow): + _icon = "ab-testing.png" + + +class AppIndexing(_Grow): + _icon = "app-indexing.png" + + +class DynamicLinks(_Grow): + _icon = "dynamic-links.png" + + +class InAppMessaging(_Grow): + _icon = "in-app-messaging.png" + + +class Invites(_Grow): + _icon = "invites.png" + + +class Messaging(_Grow): + _icon = "messaging.png" + + +class Predictions(_Grow): + _icon = "predictions.png" + + +class RemoteConfig(_Grow): + _icon = "remote-config.png" + + +# Aliases + +FCM = Messaging diff --git a/diagrams/firebase/quality.py b/diagrams/firebase/quality.py new file mode 100644 index 0000000..227a4c3 --- /dev/null +++ b/diagrams/firebase/quality.py @@ -0,0 +1,31 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _Firebase + + +class _Quality(_Firebase): + _type = "quality" + _icon_dir = "resources/firebase/quality" + + +class AppDistribution(_Quality): + _icon = "app-distribution.png" + + +class CrashReporting(_Quality): + _icon = "crash-reporting.png" + + +class Crashlytics(_Quality): + _icon = "crashlytics.png" + + +class PerformanceMonitoring(_Quality): + _icon = "performance-monitoring.png" + + +class TestLab(_Quality): + _icon = "test-lab.png" + + +# Aliases diff --git a/docs/nodes/azure.md b/docs/nodes/azure.md index 63e5377..076b18d 100644 --- a/docs/nodes/azure.md +++ b/docs/nodes/azure.md @@ -5,46 +5,42 @@ title: Azure Node classes list of azure provider. -## azure.mobile - -- **diagrams.azure.mobile.AppServiceMobile** -- **diagrams.azure.mobile.MobileEngagement** -- **diagrams.azure.mobile.NotificationHubs** - -## azure.identity +## azure.analytics -- **diagrams.azure.identity.AccessReview** -- **diagrams.azure.identity.ActiveDirectoryConnectHealth** -- **diagrams.azure.identity.ActiveDirectory** -- **diagrams.azure.identity.ADB2C** -- **diagrams.azure.identity.ADDomainServices** -- **diagrams.azure.identity.ADIdentityProtection** -- **diagrams.azure.identity.ADPrivilegedIdentityManagement** -- **diagrams.azure.identity.AppRegistrations** -- **diagrams.azure.identity.ConditionalAccess** -- **diagrams.azure.identity.EnterpriseApplications** -- **diagrams.azure.identity.IdentityGovernance** -- **diagrams.azure.identity.InformationProtection** -- **diagrams.azure.identity.ManagedIdentities** +- **diagrams.azure.analytics.AnalysisServices** +- **diagrams.azure.analytics.DataExplorerClusters** +- **diagrams.azure.analytics.DataFactories** +- **diagrams.azure.analytics.DataLakeAnalytics** +- **diagrams.azure.analytics.DataLakeStoreGen1** +- **diagrams.azure.analytics.Databricks** +- **diagrams.azure.analytics.EventHubClusters** +- **diagrams.azure.analytics.EventHubs** +- **diagrams.azure.analytics.Hdinsightclusters** +- **diagrams.azure.analytics.LogAnalyticsWorkspaces** +- **diagrams.azure.analytics.StreamAnalyticsJobs** -## azure.storage +## azure.compute -- **diagrams.azure.storage.ArchiveStorage** -- **diagrams.azure.storage.Azurefxtedgefiler** -- **diagrams.azure.storage.BlobStorage** -- **diagrams.azure.storage.DataBoxEdgeDataBoxGateway** -- **diagrams.azure.storage.DataBox** -- **diagrams.azure.storage.DataLakeStorage** -- **diagrams.azure.storage.GeneralStorage** -- **diagrams.azure.storage.NetappFiles** -- **diagrams.azure.storage.QueuesStorage** -- **diagrams.azure.storage.StorageAccountsClassic** -- **diagrams.azure.storage.StorageAccounts** -- **diagrams.azure.storage.StorageExplorer** -- **diagrams.azure.storage.StorageSyncServices** -- **diagrams.azure.storage.StorsimpleDataManagers** -- **diagrams.azure.storage.StorsimpleDeviceManagers** -- **diagrams.azure.storage.TableStorage** +- **diagrams.azure.compute.AvailabilitySets** +- **diagrams.azure.compute.BatchAccounts** +- **diagrams.azure.compute.CitrixVirtualDesktopsEssentials** +- **diagrams.azure.compute.CloudServicesClassic** +- **diagrams.azure.compute.CloudServices** +- **diagrams.azure.compute.CloudsimpleVirtualMachines** +- **diagrams.azure.compute.ContainerInstances** +- **diagrams.azure.compute.ContainerRegistries**, **ACR** (alias) +- **diagrams.azure.compute.DiskSnapshots** +- **diagrams.azure.compute.Disks** +- **diagrams.azure.compute.FunctionApps** +- **diagrams.azure.compute.KubernetesServices**, **AKS** (alias) +- **diagrams.azure.compute.MeshApplications** +- **diagrams.azure.compute.SAPHANAOnAzure** +- **diagrams.azure.compute.ServiceFabricClusters** +- **diagrams.azure.compute.VMClassic** +- **diagrams.azure.compute.VMImages** +- **diagrams.azure.compute.VMLinux** +- **diagrams.azure.compute.VMWindows** +- **diagrams.azure.compute.VM** ## azure.database @@ -77,31 +73,50 @@ Node classes list of azure provider. - **diagrams.azure.devops.Repos** - **diagrams.azure.devops.TestPlans** -## azure.web +## azure.general -- **diagrams.azure.web.APIConnections** -- **diagrams.azure.web.AppServiceCertificates** -- **diagrams.azure.web.AppServiceDomains** -- **diagrams.azure.web.AppServiceEnvironments** -- **diagrams.azure.web.AppServicePlans** -- **diagrams.azure.web.AppServices** -- **diagrams.azure.web.MediaServices** -- **diagrams.azure.web.NotificationHubNamespaces** -- **diagrams.azure.web.Search** -- **diagrams.azure.web.Signalr** +- **diagrams.azure.general.Allresources** +- **diagrams.azure.general.Azurehome** +- **diagrams.azure.general.Developertools** +- **diagrams.azure.general.Helpsupport** +- **diagrams.azure.general.Information** +- **diagrams.azure.general.Managementgroups** +- **diagrams.azure.general.Marketplace** +- **diagrams.azure.general.Quickstartcenter** +- **diagrams.azure.general.Recent** +- **diagrams.azure.general.Reservations** +- **diagrams.azure.general.Resource** +- **diagrams.azure.general.Resourcegroups** +- **diagrams.azure.general.Servicehealth** +- **diagrams.azure.general.Shareddashboard** +- **diagrams.azure.general.Subscriptions** +- **diagrams.azure.general.Support** +- **diagrams.azure.general.Supportrequests** +- **diagrams.azure.general.Tag** +- **diagrams.azure.general.Tags** +- **diagrams.azure.general.Templates** +- **diagrams.azure.general.Twousericon** +- **diagrams.azure.general.Userhealthicon** +- **diagrams.azure.general.Usericon** +- **diagrams.azure.general.Userprivacy** +- **diagrams.azure.general.Userresource** +- **diagrams.azure.general.Whatsnew** -## azure.iot +## azure.identity -- **diagrams.azure.iot.DeviceProvisioningServices** -- **diagrams.azure.iot.DigitalTwins** -- **diagrams.azure.iot.IotCentralApplications** -- **diagrams.azure.iot.IotHubSecurity** -- **diagrams.azure.iot.IotHub** -- **diagrams.azure.iot.Maps** -- **diagrams.azure.iot.Sphere** -- **diagrams.azure.iot.TimeSeriesInsightsEnvironments** -- **diagrams.azure.iot.TimeSeriesInsightsEventsSources** -- **diagrams.azure.iot.Windows10IotCoreServices** +- **diagrams.azure.identity.AccessReview** +- **diagrams.azure.identity.ActiveDirectoryConnectHealth** +- **diagrams.azure.identity.ActiveDirectory** +- **diagrams.azure.identity.ADB2C** +- **diagrams.azure.identity.ADDomainServices** +- **diagrams.azure.identity.ADIdentityProtection** +- **diagrams.azure.identity.ADPrivilegedIdentityManagement** +- **diagrams.azure.identity.AppRegistrations** +- **diagrams.azure.identity.ConditionalAccess** +- **diagrams.azure.identity.EnterpriseApplications** +- **diagrams.azure.identity.IdentityGovernance** +- **diagrams.azure.identity.InformationProtection** +- **diagrams.azure.identity.ManagedIdentities** ## azure.integration @@ -123,6 +138,25 @@ Node classes list of azure provider. - **diagrams.azure.integration.SoftwareAsAService** - **diagrams.azure.integration.StorsimpleDeviceManagers** +## azure.iot + +- **diagrams.azure.iot.DeviceProvisioningServices** +- **diagrams.azure.iot.DigitalTwins** +- **diagrams.azure.iot.IotCentralApplications** +- **diagrams.azure.iot.IotHubSecurity** +- **diagrams.azure.iot.IotHub** +- **diagrams.azure.iot.Maps** +- **diagrams.azure.iot.Sphere** +- **diagrams.azure.iot.TimeSeriesInsightsEnvironments** +- **diagrams.azure.iot.TimeSeriesInsightsEventsSources** +- **diagrams.azure.iot.Windows10IotCoreServices** + +## azure.migration + +- **diagrams.azure.migration.DatabaseMigrationServices** +- **diagrams.azure.migration.MigrationProjects** +- **diagrams.azure.migration.RecoveryServicesVaults** + ## azure.ml - **diagrams.azure.ml.BatchAI** @@ -134,83 +168,11 @@ Node classes list of azure provider. - **diagrams.azure.ml.MachineLearningStudioWebServices** - **diagrams.azure.ml.MachineLearningStudioWorkspaces** -## azure.migration - -- **diagrams.azure.migration.DatabaseMigrationServices** -- **diagrams.azure.migration.MigrationProjects** -- **diagrams.azure.migration.RecoveryServicesVaults** - -## azure.analytics - -- **diagrams.azure.analytics.AnalysisServices** -- **diagrams.azure.analytics.DataExplorerClusters** -- **diagrams.azure.analytics.DataFactories** -- **diagrams.azure.analytics.DataLakeAnalytics** -- **diagrams.azure.analytics.DataLakeStoreGen1** -- **diagrams.azure.analytics.Databricks** -- **diagrams.azure.analytics.EventHubClusters** -- **diagrams.azure.analytics.EventHubs** -- **diagrams.azure.analytics.Hdinsightclusters** -- **diagrams.azure.analytics.LogAnalyticsWorkspaces** -- **diagrams.azure.analytics.StreamAnalyticsJobs** - -## azure.security - -- **diagrams.azure.security.KeyVaults** -- **diagrams.azure.security.SecurityCenter** -- **diagrams.azure.security.Sentinel** - -## azure.general - -- **diagrams.azure.general.Allresources** -- **diagrams.azure.general.Azurehome** -- **diagrams.azure.general.Developertools** -- **diagrams.azure.general.Helpsupport** -- **diagrams.azure.general.Information** -- **diagrams.azure.general.Managementgroups** -- **diagrams.azure.general.Marketplace** -- **diagrams.azure.general.Quickstartcenter** -- **diagrams.azure.general.Recent** -- **diagrams.azure.general.Reservations** -- **diagrams.azure.general.Resource** -- **diagrams.azure.general.Resourcegroups** -- **diagrams.azure.general.Servicehealth** -- **diagrams.azure.general.Shareddashboard** -- **diagrams.azure.general.Subscriptions** -- **diagrams.azure.general.Support** -- **diagrams.azure.general.Supportrequests** -- **diagrams.azure.general.Tag** -- **diagrams.azure.general.Tags** -- **diagrams.azure.general.Templates** -- **diagrams.azure.general.Twousericon** -- **diagrams.azure.general.Userhealthicon** -- **diagrams.azure.general.Usericon** -- **diagrams.azure.general.Userprivacy** -- **diagrams.azure.general.Userresource** -- **diagrams.azure.general.Whatsnew** - -## azure.compute +## azure.mobile -- **diagrams.azure.compute.AvailabilitySets** -- **diagrams.azure.compute.BatchAccounts** -- **diagrams.azure.compute.CitrixVirtualDesktopsEssentials** -- **diagrams.azure.compute.CloudServicesClassic** -- **diagrams.azure.compute.CloudServices** -- **diagrams.azure.compute.CloudsimpleVirtualMachines** -- **diagrams.azure.compute.ContainerInstances** -- **diagrams.azure.compute.ContainerRegistries**, **ACR** (alias) -- **diagrams.azure.compute.DiskSnapshots** -- **diagrams.azure.compute.Disks** -- **diagrams.azure.compute.FunctionApps** -- **diagrams.azure.compute.KubernetesServices**, **AKS** (alias) -- **diagrams.azure.compute.MeshApplications** -- **diagrams.azure.compute.SAPHANAOnAzure** -- **diagrams.azure.compute.ServiceFabricClusters** -- **diagrams.azure.compute.VMClassic** -- **diagrams.azure.compute.VMImages** -- **diagrams.azure.compute.VMLinux** -- **diagrams.azure.compute.VMWindows** -- **diagrams.azure.compute.VM** +- **diagrams.azure.mobile.AppServiceMobile** +- **diagrams.azure.mobile.MobileEngagement** +- **diagrams.azure.mobile.NotificationHubs** ## azure.network @@ -240,3 +202,41 @@ Node classes list of azure provider. - **diagrams.azure.network.VirtualNetworkGateways** - **diagrams.azure.network.VirtualNetworks** - **diagrams.azure.network.VirtualWans** + +## azure.security + +- **diagrams.azure.security.KeyVaults** +- **diagrams.azure.security.SecurityCenter** +- **diagrams.azure.security.Sentinel** + +## azure.storage + +- **diagrams.azure.storage.ArchiveStorage** +- **diagrams.azure.storage.Azurefxtedgefiler** +- **diagrams.azure.storage.BlobStorage** +- **diagrams.azure.storage.DataBoxEdgeDataBoxGateway** +- **diagrams.azure.storage.DataBox** +- **diagrams.azure.storage.DataLakeStorage** +- **diagrams.azure.storage.GeneralStorage** +- **diagrams.azure.storage.NetappFiles** +- **diagrams.azure.storage.QueuesStorage** +- **diagrams.azure.storage.StorageAccountsClassic** +- **diagrams.azure.storage.StorageAccounts** +- **diagrams.azure.storage.StorageExplorer** +- **diagrams.azure.storage.StorageSyncServices** +- **diagrams.azure.storage.StorsimpleDataManagers** +- **diagrams.azure.storage.StorsimpleDeviceManagers** +- **diagrams.azure.storage.TableStorage** + +## azure.web + +- **diagrams.azure.web.APIConnections** +- **diagrams.azure.web.AppServiceCertificates** +- **diagrams.azure.web.AppServiceDomains** +- **diagrams.azure.web.AppServiceEnvironments** +- **diagrams.azure.web.AppServicePlans** +- **diagrams.azure.web.AppServices** +- **diagrams.azure.web.MediaServices** +- **diagrams.azure.web.NotificationHubNamespaces** +- **diagrams.azure.web.Search** +- **diagrams.azure.web.Signalr** diff --git a/docs/nodes/firebase.md b/docs/nodes/firebase.md new file mode 100644 index 0000000..f49a5c9 --- /dev/null +++ b/docs/nodes/firebase.md @@ -0,0 +1,43 @@ +--- +id: firebase +title: Firebase +--- + +Node classes list of firebase provider. + +## firebase.base + +- **diagrams.firebase.base.Firebase** + +## firebase.develop + +- **diagrams.firebase.develop.Authentication** +- **diagrams.firebase.develop.Firestore** +- **diagrams.firebase.develop.Functions** +- **diagrams.firebase.develop.Hosting** +- **diagrams.firebase.develop.MLKit** +- **diagrams.firebase.develop.RealtimeDatabase** +- **diagrams.firebase.develop.Storage** + +## firebase.extentions + +- **diagrams.firebase.extentions.Extensions** + +## firebase.grow + +- **diagrams.firebase.grow.ABTesting** +- **diagrams.firebase.grow.AppIndexing** +- **diagrams.firebase.grow.DynamicLinks** +- **diagrams.firebase.grow.InAppMessaging** +- **diagrams.firebase.grow.Invites** +- **diagrams.firebase.grow.Messaging**, **FCM** (alias) +- **diagrams.firebase.grow.Predictions** +- **diagrams.firebase.grow.RemoteConfig** + +## firebase.quality + +- **diagrams.firebase.quality.AppDistribution** +- **diagrams.firebase.quality.CrashReporting** +- **diagrams.firebase.quality.Crashlytics** +- **diagrams.firebase.quality.PerformanceMonitoring** +- **diagrams.firebase.quality.TestLab** diff --git a/resources/baas/firebase/firebase.png b/resources/firebase/base/firebase.png similarity index 100% rename from resources/baas/firebase/firebase.png rename to resources/firebase/base/firebase.png diff --git a/resources/baas/firebase/authentication.png b/resources/firebase/develop/authentication.png similarity index 100% rename from resources/baas/firebase/authentication.png rename to resources/firebase/develop/authentication.png diff --git a/resources/baas/firebase/cloud-firestore.png b/resources/firebase/develop/firestore.png similarity index 100% rename from resources/baas/firebase/cloud-firestore.png rename to resources/firebase/develop/firestore.png diff --git a/resources/baas/firebase/cloud-functions.png b/resources/firebase/develop/functions.png similarity index 100% rename from resources/baas/firebase/cloud-functions.png rename to resources/firebase/develop/functions.png diff --git a/resources/baas/firebase/hosting.png b/resources/firebase/develop/hosting.png similarity index 100% rename from resources/baas/firebase/hosting.png rename to resources/firebase/develop/hosting.png diff --git a/resources/baas/firebase/ml-kit.png b/resources/firebase/develop/ml-kit.png similarity index 100% rename from resources/baas/firebase/ml-kit.png rename to resources/firebase/develop/ml-kit.png diff --git a/resources/baas/firebase/realtime-database.png b/resources/firebase/develop/realtime-database.png similarity index 100% rename from resources/baas/firebase/realtime-database.png rename to resources/firebase/develop/realtime-database.png diff --git a/resources/baas/firebase/cloud-storage.png b/resources/firebase/develop/storage.png similarity index 100% rename from resources/baas/firebase/cloud-storage.png rename to resources/firebase/develop/storage.png diff --git a/resources/baas/firebase/extensions.png b/resources/firebase/extentions/extensions.png similarity index 100% rename from resources/baas/firebase/extensions.png rename to resources/firebase/extentions/extensions.png diff --git a/resources/baas/firebase/ab-testing.png b/resources/firebase/grow/ab-testing.png similarity index 100% rename from resources/baas/firebase/ab-testing.png rename to resources/firebase/grow/ab-testing.png diff --git a/resources/baas/firebase/app-indexing.png b/resources/firebase/grow/app-indexing.png similarity index 100% rename from resources/baas/firebase/app-indexing.png rename to resources/firebase/grow/app-indexing.png diff --git a/resources/baas/firebase/dynamic-links.png b/resources/firebase/grow/dynamic-links.png similarity index 100% rename from resources/baas/firebase/dynamic-links.png rename to resources/firebase/grow/dynamic-links.png diff --git a/resources/baas/firebase/in-app-messaging.png b/resources/firebase/grow/in-app-messaging.png similarity index 100% rename from resources/baas/firebase/in-app-messaging.png rename to resources/firebase/grow/in-app-messaging.png diff --git a/resources/baas/firebase/invites.png b/resources/firebase/grow/invites.png similarity index 100% rename from resources/baas/firebase/invites.png rename to resources/firebase/grow/invites.png diff --git a/resources/baas/firebase/cloud-messaging.png b/resources/firebase/grow/messaging.png similarity index 100% rename from resources/baas/firebase/cloud-messaging.png rename to resources/firebase/grow/messaging.png diff --git a/resources/baas/firebase/predictions.png b/resources/firebase/grow/predictions.png similarity index 100% rename from resources/baas/firebase/predictions.png rename to resources/firebase/grow/predictions.png diff --git a/resources/baas/firebase/remote-config.png b/resources/firebase/grow/remote-config.png similarity index 100% rename from resources/baas/firebase/remote-config.png rename to resources/firebase/grow/remote-config.png diff --git a/resources/baas/firebase/app-distribution.png b/resources/firebase/quality/app-distribution.png similarity index 100% rename from resources/baas/firebase/app-distribution.png rename to resources/firebase/quality/app-distribution.png diff --git a/resources/baas/firebase/crash-reporting.png b/resources/firebase/quality/crash-reporting.png similarity index 100% rename from resources/baas/firebase/crash-reporting.png rename to resources/firebase/quality/crash-reporting.png diff --git a/resources/baas/firebase/crashlytics.png b/resources/firebase/quality/crashlytics.png similarity index 100% rename from resources/baas/firebase/crashlytics.png rename to resources/firebase/quality/crashlytics.png diff --git a/resources/baas/firebase/performance-monitoring.png b/resources/firebase/quality/performance-monitoring.png similarity index 100% rename from resources/baas/firebase/performance-monitoring.png rename to resources/firebase/quality/performance-monitoring.png diff --git a/resources/baas/firebase/test-lab.png b/resources/firebase/quality/test-lab.png similarity index 100% rename from resources/baas/firebase/test-lab.png rename to resources/firebase/quality/test-lab.png diff --git a/scripts/generate.py b/scripts/generate.py index 7ec0a87..412def7 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -50,7 +50,7 @@ def gen_apidoc(pvd: str, typ_paths: dict) -> str: return name typ_classes = {} - for typ, paths in typ_paths.items(): + for typ, paths in sorted(typ_paths.items()): typ_classes[typ] = [] for name in map(_gen_class_name, paths): alias = cfg.ALIASES[pvd].get(typ, {}).get(name) diff --git a/scripts/resource.py b/scripts/resource.py index 10575af..138533a 100644 --- a/scripts/resource.py +++ b/scripts/resource.py @@ -53,6 +53,16 @@ def cleaner_gcp(f): return f.lower() +def cleaner_firebase(f): + f = f.replace("_", "-") + f = "-".join(f.split()) + for p in cfg.FILE_PREFIXES["firebase"]: + if f.startswith(p): + f = f[len(p) :] + break + return f.lower() + + def cleaner_k8s(f): f = f.replace("-256", "") for p in cfg.FILE_PREFIXES["k8s"]: @@ -89,6 +99,7 @@ cleaners = { "aws": cleaner_aws, "azure": cleaner_azure, "gcp": cleaner_gcp, + "firebase": cleaner_firebase, "k8s": cleaner_k8s, "alibabacloud": cleaner_alibabacloud, "oci": cleaner_oci,