@snap/camera-kit 0.23.0 → 1.0.1
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.
- package/LICENSE.md +1122 -537
- package/README.md +1 -1
- package/dist/CameraKit.d.ts +3 -3
- package/dist/CameraKit.d.ts.map +1 -1
- package/dist/CameraKit.js +1 -2
- package/dist/CameraKit.js.map +1 -1
- package/dist/RootServices.d.ts +78 -0
- package/dist/RootServices.d.ts.map +1 -0
- package/dist/RootServices.js.map +1 -0
- package/dist/bootstrapCameraKit.d.ts +3 -4
- package/dist/bootstrapCameraKit.d.ts.map +1 -1
- package/dist/bootstrapCameraKit.js +8 -8
- package/dist/bootstrapCameraKit.js.map +1 -1
- package/dist/clients/createTsProtoClient.d.ts +2 -2
- package/dist/clients/createTsProtoClient.d.ts.map +1 -1
- package/dist/clients/createTsProtoClient.js.map +1 -1
- package/dist/clients/grpcHandler.d.ts.map +1 -1
- package/dist/clients/grpcHandler.js +1 -1
- package/dist/clients/grpcHandler.js.map +1 -1
- package/dist/clients/lensesClient.js +1 -1
- package/dist/clients/lensesClient.js.map +1 -1
- package/dist/clients/metricsClient.d.ts.map +1 -1
- package/dist/clients/metricsClient.js +1 -1
- package/dist/clients/metricsClient.js.map +1 -1
- package/dist/common/pageVisibility.js +1 -1
- package/dist/common/pageVisibility.js.map +1 -1
- package/dist/configuration.d.ts.map +1 -1
- package/dist/configuration.js +1 -1
- package/dist/configuration.js.map +1 -1
- package/dist/environment.d.ts.map +1 -1
- package/dist/environment.js +1 -1
- package/dist/environment.js.map +1 -1
- package/dist/extensions/RemoteApiServices.js +1 -1
- package/dist/extensions/RemoteApiServices.js.map +1 -1
- package/dist/extensions/UriHandlers.js +1 -1
- package/dist/extensions/UriHandlers.js.map +1 -1
- package/dist/extensions/uriHandlersRegister.d.ts.map +1 -1
- package/dist/extensions/uriHandlersRegister.js +1 -1
- package/dist/extensions/uriHandlersRegister.js.map +1 -1
- package/dist/generated-proto/blizzard/cameraKitEvents.d.ts +45 -9270
- package/dist/generated-proto/blizzard/cameraKitEvents.d.ts.map +1 -1
- package/dist/generated-proto/blizzard/cameraKitEvents.js +300 -123
- package/dist/generated-proto/blizzard/cameraKitEvents.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/business_events.d.ts +12 -32
- package/dist/generated-proto/pb_schema/camera_kit/v3/business_events.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/business_events.js +77 -37
- package/dist/generated-proto/pb_schema/camera_kit/v3/business_events.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/export.d.ts +19 -454
- package/dist/generated-proto/pb_schema/camera_kit/v3/export.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/export.js +219 -118
- package/dist/generated-proto/pb_schema/camera_kit/v3/export.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.d.ts +12 -12
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.js +16 -13
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/ranking_info.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.d.ts +12 -12
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.js +16 -13
- package/dist/generated-proto/pb_schema/camera_kit/v3/features/remote_api_info.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/legal_prompt.d.ts +13 -54
- package/dist/generated-proto/pb_schema/camera_kit/v3/legal_prompt.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/legal_prompt.js +61 -34
- package/dist/generated-proto/pb_schema/camera_kit/v3/legal_prompt.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/lens.d.ts +19 -299
- package/dist/generated-proto/pb_schema/camera_kit/v3/lens.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/lens.js +294 -133
- package/dist/generated-proto/pb_schema/camera_kit/v3/lens.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/operational_metrics.d.ts +14 -148
- package/dist/generated-proto/pb_schema/camera_kit/v3/operational_metrics.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/operational_metrics.js +74 -48
- package/dist/generated-proto/pb_schema/camera_kit/v3/operational_metrics.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/ranking.d.ts +12 -18
- package/dist/generated-proto/pb_schema/camera_kit/v3/ranking.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/ranking.js +34 -19
- package/dist/generated-proto/pb_schema/camera_kit/v3/ranking.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.d.ts +19 -516
- package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.js +164 -80
- package/dist/generated-proto/pb_schema/camera_kit/v3/remote_api_spec.js.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/service.d.ts +80 -2371
- package/dist/generated-proto/pb_schema/camera_kit/v3/service.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/camera_kit/v3/service.js +847 -174
- package/dist/generated-proto/pb_schema/camera_kit/v3/service.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.js +0 -6
- package/dist/generated-proto/pb_schema/cdp/cof/app_launch_type.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark.d.ts +18 -59
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark.js +88 -52
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark_name.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark_name.js +0 -6
- package/dist/generated-proto/pb_schema/cdp/cof/benchmark_name.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.d.ts +12 -106
- package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.js +328 -140
- package/dist/generated-proto/pb_schema/cdp/cof/billboard_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.d.ts +12 -18
- package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.js +35 -20
- package/dist/generated-proto/pb_schema/cdp/cof/bolt_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.d.ts +12 -34
- package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.js +86 -39
- package/dist/generated-proto/pb_schema/cdp/cof/camera_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.d.ts +47 -28591
- package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.js +644 -348
- package/dist/generated-proto/pb_schema/cdp/cof/circumstance_service.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.d.ts +12 -12
- package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.js +16 -13
- package/dist/generated-proto/pb_schema/cdp/cof/cognac_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_request.d.ts +18 -214
- package/dist/generated-proto/pb_schema/cdp/cof/config_request.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_request.js +362 -157
- package/dist/generated-proto/pb_schema/cdp/cof/config_request.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_response.d.ts +20 -3801
- package/dist/generated-proto/pb_schema/cdp/cof/config_response.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_response.js +144 -46
- package/dist/generated-proto/pb_schema/cdp/cof/config_response.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_result.d.ts +49 -10060
- package/dist/generated-proto/pb_schema/cdp/cof/config_result.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/config_result.js +443 -182
- package/dist/generated-proto/pb_schema/cdp/cof/config_result.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/contact_authorization_status.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/contact_authorization_status.js +0 -6
- package/dist/generated-proto/pb_schema/cdp/cof/contact_authorization_status.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.d.ts +12 -12
- package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.js +16 -13
- package/dist/generated-proto/pb_schema/cdp/cof/content_manager_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.d.ts +12 -14
- package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.js +24 -17
- package/dist/generated-proto/pb_schema/cdp/cof/creative_tools_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/debug_info.d.ts +14 -56
- package/dist/generated-proto/pb_schema/cdp/cof/debug_info.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/debug_info.js +78 -45
- package/dist/generated-proto/pb_schema/cdp/cof/debug_info.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/discover_feed_provided_signals.d.ts +28 -0
- package/dist/generated-proto/pb_schema/cdp/cof/discover_feed_provided_signals.d.ts.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/discover_feed_provided_signals.js +89 -0
- package/dist/generated-proto/pb_schema/cdp/cof/discover_feed_provided_signals.js.map +1 -0
- package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.d.ts +28 -1103
- package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.js +358 -210
- package/dist/generated-proto/pb_schema/cdp/cof/feature_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.d.ts +12 -16
- package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.js +31 -23
- package/dist/generated-proto/pb_schema/cdp/cof/lenses_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.d.ts +13 -15
- package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.js +22 -15
- package/dist/generated-proto/pb_schema/cdp/cof/mdp_media_attribution.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.d.ts +12 -14
- package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.js +22 -15
- package/dist/generated-proto/pb_schema/cdp/cof/media_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/namespace.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/namespace.js +0 -6
- package/dist/generated-proto/pb_schema/cdp/cof/namespace.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.d.ts +12 -16
- package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.js +29 -18
- package/dist/generated-proto/pb_schema/cdp/cof/opera_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.d.ts +12 -12
- package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.js +16 -13
- package/dist/generated-proto/pb_schema/cdp/cof/perception_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.d.ts +12 -12
- package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.js +16 -13
- package/dist/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.d.ts +12 -12
- package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.js +16 -13
- package/dist/generated-proto/pb_schema/cdp/cof/routing_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.d.ts +12 -12
- package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.js +16 -13
- package/dist/generated-proto/pb_schema/cdp/cof/snap_kit_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.d.ts +12 -18
- package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.js +35 -20
- package/dist/generated-proto/pb_schema/cdp/cof/upload_provided_signals.js.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/media/snap_source.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/cdp/media/snap_source.js +0 -6
- package/dist/generated-proto/pb_schema/cdp/media/snap_source.js.map +1 -1
- package/dist/generated-proto/pb_schema/common/ruid.d.ts +12 -16
- package/dist/generated-proto/pb_schema/common/ruid.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/common/ruid.js +28 -17
- package/dist/generated-proto/pb_schema/common/ruid.js.map +1 -1
- package/dist/generated-proto/pb_schema/common/value.d.ts +25 -123
- package/dist/generated-proto/pb_schema/common/value.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/common/value.js +136 -71
- package/dist/generated-proto/pb_schema/common/value.js.map +1 -1
- package/dist/generated-proto/pb_schema/content/asset.d.ts +12 -14
- package/dist/generated-proto/pb_schema/content/asset.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/content/asset.js +22 -15
- package/dist/generated-proto/pb_schema/content/asset.js.map +1 -1
- package/dist/generated-proto/pb_schema/content/media_reference.d.ts +13 -46
- package/dist/generated-proto/pb_schema/content/media_reference.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/content/media_reference.js +86 -47
- package/dist/generated-proto/pb_schema/content/media_reference.js.map +1 -1
- package/dist/generated-proto/pb_schema/content/media_source.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/content/media_source.js +0 -6
- package/dist/generated-proto/pb_schema/content/media_source.js.map +1 -1
- package/dist/generated-proto/pb_schema/content/media_types.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/content/media_types.js +0 -6
- package/dist/generated-proto/pb_schema/content/media_types.js.map +1 -1
- package/dist/generated-proto/pb_schema/google/api/annotations.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/google/api/annotations.js +0 -6
- package/dist/generated-proto/pb_schema/google/api/annotations.js.map +1 -1
- package/dist/generated-proto/pb_schema/google/api/http.d.ts +15 -3336
- package/dist/generated-proto/pb_schema/google/api/http.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/google/api/http.js +129 -68
- package/dist/generated-proto/pb_schema/google/api/http.js.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/any.d.ts +12 -14
- package/dist/generated-proto/pb_schema/google/protobuf/any.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/any.js +24 -17
- package/dist/generated-proto/pb_schema/google/protobuf/any.js.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/descriptor.d.ts +126 -50157
- package/dist/generated-proto/pb_schema/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/descriptor.js +1162 -563
- package/dist/generated-proto/pb_schema/google/protobuf/descriptor.js.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/timestamp.d.ts +12 -14
- package/dist/generated-proto/pb_schema/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/timestamp.js +23 -19
- package/dist/generated-proto/pb_schema/google/protobuf/timestamp.js.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/wrappers.d.ts +20 -84
- package/dist/generated-proto/pb_schema/google/protobuf/wrappers.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/google/protobuf/wrappers.js +141 -77
- package/dist/generated-proto/pb_schema/google/protobuf/wrappers.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/geocircle.d.ts +12 -23
- package/dist/generated-proto/pb_schema/lenses/geocircle.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/geocircle.js +26 -18
- package/dist/generated-proto/pb_schema/lenses/geocircle.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/geopoint.d.ts +12 -14
- package/dist/generated-proto/pb_schema/lenses/geopoint.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/geopoint.js +22 -15
- package/dist/generated-proto/pb_schema/lenses/geopoint.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/launch_params.d.ts +12 -12
- package/dist/generated-proto/pb_schema/lenses/launch_params.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/launch_params.js +18 -15
- package/dist/generated-proto/pb_schema/lenses/launch_params.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/launchdata.d.ts +15 -324
- package/dist/generated-proto/pb_schema/lenses/launchdata.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/launchdata.js +112 -66
- package/dist/generated-proto/pb_schema/lenses/launchdata.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/lures.d.ts +12 -91
- package/dist/generated-proto/pb_schema/lenses/lures.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/lures.js +37 -28
- package/dist/generated-proto/pb_schema/lenses/lures.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/persistent_store.d.ts +12 -12
- package/dist/generated-proto/pb_schema/lenses/persistent_store.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/persistent_store.js +18 -15
- package/dist/generated-proto/pb_schema/lenses/persistent_store.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_service.d.ts +30 -396
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_service.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_service.js +520 -240
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_service.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.d.ts +30 -2429
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.js +991 -440
- package/dist/generated-proto/pb_schema/lenses/remote_api/remote_api_spec.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/snappable.d.ts +27 -783
- package/dist/generated-proto/pb_schema/lenses/snappable.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/snappable.js +502 -245
- package/dist/generated-proto/pb_schema/lenses/snappable.js.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/user_data.d.ts +15 -174
- package/dist/generated-proto/pb_schema/lenses/user_data.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/lenses/user_data.js +144 -77
- package/dist/generated-proto/pb_schema/lenses/user_data.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.d.ts +12 -14
- package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.js +24 -17
- package/dist/generated-proto/pb_schema/snapdoc/capture_characteristics.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/extensions.d.ts +14 -18
- package/dist/generated-proto/pb_schema/snapdoc/extensions.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/extensions.js +29 -18
- package/dist/generated-proto/pb_schema/snapdoc/extensions.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media.d.ts +52 -576
- package/dist/generated-proto/pb_schema/snapdoc/media.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media.js +615 -318
- package/dist/generated-proto/pb_schema/snapdoc/media.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.js +0 -6
- package/dist/generated-proto/pb_schema/snapdoc/media_codec_formats.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.js +0 -6
- package/dist/generated-proto/pb_schema/snapdoc/media_file_formats.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media_id.d.ts +12 -12
- package/dist/generated-proto/pb_schema/snapdoc/media_id.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/media_id.js +17 -17
- package/dist/generated-proto/pb_schema/snapdoc/media_id.js.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.d.ts.map +1 -1
- package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.js +0 -6
- package/dist/generated-proto/pb_schema/snapdoc/snap_component_type.js.map +1 -1
- package/dist/handlers/cameraKitServiceFetchHandlerFactory.d.ts.map +1 -1
- package/dist/handlers/cameraKitServiceFetchHandlerFactory.js +1 -1
- package/dist/handlers/cameraKitServiceFetchHandlerFactory.js.map +1 -1
- package/dist/handlers/defaultFetchHandler.js +1 -1
- package/dist/handlers/defaultFetchHandler.js.map +1 -1
- package/dist/handlers/requestStateEmittingHandler.js +1 -1
- package/dist/handlers/requestStateEmittingHandler.js.map +1 -1
- package/dist/index.d.ts +3 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/legal/legalPrompt.js +1 -1
- package/dist/legal/legalPrompt.js.map +1 -1
- package/dist/legal/legalState.js +1 -1
- package/dist/legal/legalState.js.map +1 -1
- package/dist/lens/LensPersistenceStore.js +1 -1
- package/dist/lens/LensPersistenceStore.js.map +1 -1
- package/dist/lens/LensRepository.js +1 -1
- package/dist/lens/LensRepository.js.map +1 -1
- package/dist/lens/LensSource.js +1 -1
- package/dist/lens/LensSource.js.map +1 -1
- package/dist/lens/assets/LensAssetRepository.js +1 -1
- package/dist/lens/assets/LensAssetRepository.js.map +1 -1
- package/dist/lens/assets/LensAssetsProvider.js +1 -1
- package/dist/lens/assets/LensAssetsProvider.js.map +1 -1
- package/dist/lens/assets/deviceDependentAssetLoader.js +1 -1
- package/dist/lens/assets/deviceDependentAssetLoader.js.map +1 -1
- package/dist/lens/assets/remoteMediaAssetLoaderFactory.js +1 -1
- package/dist/lens/assets/remoteMediaAssetLoaderFactory.js.map +1 -1
- package/dist/lens/assets/staticAssetLoader.js +1 -1
- package/dist/lens/assets/staticAssetLoader.js.map +1 -1
- package/dist/lens/cameraKitLensSource.d.ts.map +1 -1
- package/dist/lens/cameraKitLensSource.js +6 -6
- package/dist/lens/cameraKitLensSource.js.map +1 -1
- package/dist/lens/fetchWatermarkLens.d.ts.map +1 -1
- package/dist/lens/fetchWatermarkLens.js +1 -1
- package/dist/lens/fetchWatermarkLens.js.map +1 -1
- package/dist/lens/userDataAccessResolver.d.ts +52 -0
- package/dist/lens/userDataAccessResolver.d.ts.map +1 -0
- package/dist/lens/userDataAccessResolver.js +3 -0
- package/dist/lens/userDataAccessResolver.js.map +1 -0
- package/dist/lens-client-interface/filePicker.d.ts.map +1 -1
- package/dist/lens-client-interface/filePicker.js +1 -1
- package/dist/lens-client-interface/filePicker.js.map +1 -1
- package/dist/lens-client-interface/lensClientInterface.js +1 -1
- package/dist/lens-client-interface/lensClientInterface.js.map +1 -1
- package/dist/lens-core-module/loader/lensCoreFactory.d.ts.map +1 -1
- package/dist/lens-core-module/loader/lensCoreFactory.js +1 -1
- package/dist/lens-core-module/loader/lensCoreFactory.js.map +1 -1
- package/dist/lensCoreWasmVersions.js +3 -3
- package/dist/lensCoreWasmVersions.js.map +1 -1
- package/dist/logger/logEntries.js +1 -1
- package/dist/logger/logEntries.js.map +1 -1
- package/dist/logger/registerLogEntriesSubscriber.d.ts.map +1 -1
- package/dist/logger/registerLogEntriesSubscriber.js +1 -1
- package/dist/logger/registerLogEntriesSubscriber.js.map +1 -1
- package/dist/media-sources/CameraKitSource.d.ts +6 -0
- package/dist/media-sources/CameraKitSource.d.ts.map +1 -1
- package/dist/media-sources/CameraKitSource.js +2 -2
- package/dist/media-sources/CameraKitSource.js.map +1 -1
- package/dist/metrics/businessEventsReporter.js +1 -1
- package/dist/metrics/businessEventsReporter.js.map +1 -1
- package/dist/metrics/metricsEventTarget.js +1 -1
- package/dist/metrics/metricsEventTarget.js.map +1 -1
- package/dist/metrics/reporters/reportBenchmarks.d.ts.map +1 -1
- package/dist/metrics/reporters/reportBenchmarks.js +1 -1
- package/dist/metrics/reporters/reportBenchmarks.js.map +1 -1
- package/dist/metrics/reporters/reportGlobalException.js +1 -1
- package/dist/metrics/reporters/reportGlobalException.js.map +1 -1
- package/dist/metrics/reporters/reportHttpMetrics.js +1 -1
- package/dist/metrics/reporters/reportHttpMetrics.js.map +1 -1
- package/dist/metrics/reporters/reportLegalState.js +1 -1
- package/dist/metrics/reporters/reportLegalState.js.map +1 -1
- package/dist/metrics/reporters/reportLensAndAssetDownload.d.ts.map +1 -1
- package/dist/metrics/reporters/reportLensAndAssetDownload.js +1 -1
- package/dist/metrics/reporters/reportLensAndAssetDownload.js.map +1 -1
- package/dist/metrics/reporters/reportLensValidationFailed.js +1 -1
- package/dist/metrics/reporters/reportLensValidationFailed.js.map +1 -1
- package/dist/metrics/reporters/reportLensView.js +1 -1
- package/dist/metrics/reporters/reportLensView.js.map +1 -1
- package/dist/metrics/reporters/reportLensWait.js +1 -1
- package/dist/metrics/reporters/reportLensWait.js.map +1 -1
- package/dist/metrics/reporters/reportPlatformCapabilities.d.ts.map +1 -1
- package/dist/metrics/reporters/reportPlatformCapabilities.js +1 -1
- package/dist/metrics/reporters/reportPlatformCapabilities.js.map +1 -1
- package/dist/metrics/reporters/reportSessionException.js +1 -1
- package/dist/metrics/reporters/reportSessionException.js.map +1 -1
- package/dist/metrics/reporters/reportUserSession.js +1 -1
- package/dist/metrics/reporters/reportUserSession.js.map +1 -1
- package/dist/metrics/reporters/reporters.d.ts +1 -1
- package/dist/metrics/reporters/reporters.d.ts.map +1 -1
- package/dist/metrics/reporters/reporters.js +1 -1
- package/dist/metrics/reporters/reporters.js.map +1 -1
- package/dist/remote-configuration/cofHandler.d.ts.map +1 -1
- package/dist/remote-configuration/cofHandler.js +1 -1
- package/dist/remote-configuration/cofHandler.js.map +1 -1
- package/dist/remote-configuration/preloadConfiguration.js +1 -1
- package/dist/remote-configuration/preloadConfiguration.js.map +1 -1
- package/dist/remote-configuration/remoteConfiguration.d.ts.map +1 -1
- package/dist/remote-configuration/remoteConfiguration.js +1 -1
- package/dist/remote-configuration/remoteConfiguration.js.map +1 -1
- package/dist/session/CameraKitSession.d.ts +6 -1
- package/dist/session/CameraKitSession.d.ts.map +1 -1
- package/dist/session/CameraKitSession.js +1 -1
- package/dist/session/CameraKitSession.js.map +1 -1
- package/dist/session/LensKeyboard.js +1 -1
- package/dist/session/LensKeyboard.js.map +1 -1
- package/dist/session/lensState.d.ts +3 -2
- package/dist/session/lensState.d.ts.map +1 -1
- package/dist/session/lensState.js +9 -3
- package/dist/session/lensState.js.map +1 -1
- package/dist/session/sessionState.js +1 -1
- package/dist/session/sessionState.js.map +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/CameraKit.html +2 -2
- package/docs/html/classes/CameraKitSession.html +7 -3
- package/docs/html/classes/CameraKitSource.html +6 -2
- package/docs/html/classes/LensPerformanceMeasurement.html +2 -2
- package/docs/html/classes/LensPerformanceMetrics.html +2 -2
- package/docs/html/classes/LensRepository.html +2 -2
- package/docs/html/classes/Transform2D.html +2 -2
- package/docs/html/classes/TypedCustomEvent.html +2 -2
- package/docs/html/classes/TypedEventTarget.html +2 -2
- package/docs/html/enums/Lens_CameraFacing.html +2 -2
- package/docs/html/functions/bootstrapCameraKit.html +2 -2
- package/docs/html/functions/createExtension.html +2 -2
- package/docs/html/functions/createImageSource.html +2 -2
- package/docs/html/functions/createMediaStreamSource.html +2 -2
- package/docs/html/functions/createVideoSource.html +2 -2
- package/docs/html/functions/estimateLensPerformance.html +2 -2
- package/docs/html/functions/filePickerFactory.html +2 -4
- package/docs/html/functions/lensSourcesFactory.html +3 -5
- package/docs/html/functions/remoteApiServicesFactory.html +1 -3
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +3 -3
- package/docs/html/interfaces/BitmojiUserInfo.html +2 -2
- package/docs/html/interfaces/CameraKitBootstrapConfiguration.html +2 -2
- package/docs/html/interfaces/CameraKitDeviceOptions.html +2 -2
- package/docs/html/interfaces/CameraKitSourceInfo.html +2 -2
- package/docs/html/interfaces/CameraKitSourceSubscriber.html +2 -2
- package/docs/html/interfaces/ComputedFrameMetrics.html +2 -2
- package/docs/html/interfaces/CreateSessionOptions.html +2 -2
- package/docs/html/interfaces/EstimatedLensPerformance.html +2 -2
- package/docs/html/interfaces/FriendUserInfo.html +2 -2
- package/docs/html/interfaces/FunctionSourceOptions.html +2 -2
- package/docs/html/interfaces/Lens.html +2 -2
- package/docs/html/interfaces/LensCreator.html +2 -2
- package/docs/html/interfaces/LensLaunchData.html +2 -2
- package/docs/html/interfaces/LensSource.html +2 -2
- package/docs/html/interfaces/LensUserData.html +2 -2
- package/docs/html/interfaces/LoadAssetRequest.html +2 -2
- package/docs/html/interfaces/MediaStreamSourceOptions.html +2 -2
- package/docs/html/interfaces/Preview.html +2 -2
- package/docs/html/interfaces/RemoteApiRequest.html +2 -2
- package/docs/html/interfaces/RemoteApiResponse.html +2 -2
- package/docs/html/interfaces/RemoteApiService.html +2 -2
- package/docs/html/interfaces/Snapcode.html +2 -2
- package/docs/html/interfaces/UriCancelRequest.html +2 -2
- package/docs/html/interfaces/UriRequest.html +2 -2
- package/docs/html/interfaces/UriResponse.html +2 -2
- package/docs/html/interfaces/VideoSourceOptions.html +2 -2
- package/docs/html/modules.html +2 -4
- package/docs/html/types/ArgumentValidationError.html +2 -2
- package/docs/html/types/AssetLoader.html +2 -2
- package/docs/html/types/AssetResponse.html +1 -1
- package/docs/html/types/AssetTiming.html +2 -2
- package/docs/html/types/BenchmarkError.html +1 -1
- package/docs/html/types/BootstrapError.html +2 -2
- package/docs/html/types/CacheKeyNotFoundError.html +1 -1
- package/docs/html/types/CameraKitSessionEventListener.html +2 -2
- package/docs/html/types/CameraKitSessionEvents.html +2 -2
- package/docs/html/types/CameraKitSourceError.html +1 -1
- package/docs/html/types/ConfigurationError.html +2 -2
- package/docs/html/types/FetchHandler.html +1 -1
- package/docs/html/types/FilePicker.html +2 -2
- package/docs/html/types/FilePickerOptions.html +2 -2
- package/docs/html/types/FilePickerResult.html +2 -2
- package/docs/html/types/Keyboard.html +2 -2
- package/docs/html/types/KeyboardEvents.html +2 -2
- package/docs/html/types/LegalError.html +1 -1
- package/docs/html/types/LensAbortError.html +2 -2
- package/docs/html/types/LensAssetError.html +2 -2
- package/docs/html/types/LensContentValidationError.html +1 -1
- package/docs/html/types/LensError.html +1 -1
- package/docs/html/types/LensExecutionError.html +2 -2
- package/docs/html/types/LensImagePickerError.html +2 -2
- package/docs/html/types/LensLaunchParams.html +2 -2
- package/docs/html/types/LensMetricsEvents.html +2 -2
- package/docs/html/types/LensPerformanceCluster.html +1 -1
- package/docs/html/types/LensView.html +2 -2
- package/docs/html/types/LensWait.html +2 -2
- package/docs/html/types/Matrix.html +2 -2
- package/docs/html/types/PersistentStoreError.html +2 -2
- package/docs/html/types/PlatformNotSupportedError.html +2 -2
- package/docs/html/types/PublicContainer.html +2 -2
- package/docs/html/types/PublicServices.html +2 -2
- package/docs/html/types/RemoteApiCancelRequestHandler.html +2 -2
- package/docs/html/types/RemoteApiRequestHandler.html +2 -2
- package/docs/html/types/RemoteApiServices.html +1 -1
- package/docs/html/types/RemoteApiStatus.html +2 -2
- package/docs/html/types/RenderTarget.html +2 -2
- package/docs/html/types/Uri.html +1 -1
- package/docs/html/types/WebGLError.html +1 -1
- package/docs/html/types/Zodiac.html +1 -1
- package/docs/html/variables/extensionRequestContext.html +2 -2
- package/docs/md/README.md +1 -1
- package/docs/md/classes/CameraKit.md +1 -1
- package/docs/md/classes/CameraKitSession.md +7 -2
- package/docs/md/classes/CameraKitSource.md +6 -1
- package/docs/md/classes/LensPerformanceMeasurement.md +1 -1
- package/docs/md/classes/LensPerformanceMetrics.md +1 -1
- package/docs/md/classes/LensRepository.md +1 -1
- package/docs/md/classes/Transform2D.md +1 -1
- package/docs/md/classes/TypedCustomEvent.md +1 -1
- package/docs/md/classes/TypedEventTarget.md +1 -1
- package/docs/md/enums/Lens_CameraFacing.md +1 -1
- package/docs/md/interfaces/BitmojiUserInfo.md +1 -1
- package/docs/md/interfaces/CameraKitBootstrapConfiguration.md +1 -1
- package/docs/md/interfaces/CameraKitDeviceOptions.md +1 -1
- package/docs/md/interfaces/CameraKitSourceInfo.md +1 -1
- package/docs/md/interfaces/CameraKitSourceSubscriber.md +1 -1
- package/docs/md/interfaces/ComputedFrameMetrics.md +1 -1
- package/docs/md/interfaces/CreateSessionOptions.md +1 -1
- package/docs/md/interfaces/EstimatedLensPerformance.md +1 -1
- package/docs/md/interfaces/FriendUserInfo.md +1 -1
- package/docs/md/interfaces/FunctionSourceOptions.md +1 -1
- package/docs/md/interfaces/Lens.md +1 -1
- package/docs/md/interfaces/LensCreator.md +1 -1
- package/docs/md/interfaces/LensLaunchData.md +1 -1
- package/docs/md/interfaces/LensSource.md +1 -1
- package/docs/md/interfaces/LensUserData.md +1 -1
- package/docs/md/interfaces/LoadAssetRequest.md +1 -1
- package/docs/md/interfaces/MediaStreamSourceOptions.md +1 -1
- package/docs/md/interfaces/Preview.md +1 -1
- package/docs/md/interfaces/RemoteApiRequest.md +1 -1
- package/docs/md/interfaces/RemoteApiResponse.md +1 -1
- package/docs/md/interfaces/RemoteApiService.md +1 -1
- package/docs/md/interfaces/Snapcode.md +1 -1
- package/docs/md/interfaces/UriCancelRequest.md +1 -1
- package/docs/md/interfaces/UriRequest.md +1 -1
- package/docs/md/interfaces/UriResponse.md +1 -1
- package/docs/md/interfaces/VideoSourceOptions.md +1 -1
- package/docs/md/modules.md +5 -166
- package/package.json +5 -5
- package/dist/dependency-injection/Container.d.ts +0 -177
- package/dist/dependency-injection/Container.d.ts.map +0 -1
- package/dist/dependency-injection/Container.js +0 -72
- package/dist/dependency-injection/Container.js.map +0 -1
- package/dist/dependency-injection/Injectable.d.ts +0 -96
- package/dist/dependency-injection/Injectable.d.ts.map +0 -1
- package/dist/dependency-injection/Injectable.js +0 -37
- package/dist/dependency-injection/Injectable.js.map +0 -1
- package/dist/dependency-injection/PartialContainer.d.ts +0 -86
- package/dist/dependency-injection/PartialContainer.d.ts.map +0 -1
- package/dist/dependency-injection/PartialContainer.js +0 -28
- package/dist/dependency-injection/PartialContainer.js.map +0 -1
- package/dist/dependency-injection/RootServices.d.ts +0 -76
- package/dist/dependency-injection/RootServices.d.ts.map +0 -1
- package/dist/dependency-injection/RootServices.js.map +0 -1
- package/dist/dependency-injection/types.d.ts +0 -57
- package/dist/dependency-injection/types.d.ts.map +0 -1
- package/dist/dependency-injection/types.js +0 -2
- package/dist/dependency-injection/types.js.map +0 -1
- package/docs/html/functions/ConcatInjectable.html +0 -19
- package/docs/html/functions/Injectable.html +0 -17
- /package/dist/{dependency-injection/RootServices.js → RootServices.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operational_metrics.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/camera_kit/v3/operational_metrics.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,MAAM,CAAC,MAAM,eAAe,GAAG,uBAAuB,CAAC;AAkBvD,SAAS,2BAA2B;IAChC,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;AACjE,CAAC;AACD,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,MAAM,CAAC,OAA0B,EAAE,SAAqB,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;;QACvE,IAAI,OAAO,CAAC,IAAI,KAAK,EAAE,EAAE;YACrB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;SAC1C;QACD,IAAI,OAAO,CAAC,SAAS,KAAK,SAAS,EAAE;YACjC,SAA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IAC7D,MAAM,KAAK,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,OAAO,CAAC;IAChD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AAC9B,CAAC;AACD,SAAS,aAAa,CAAC,CAAY;IAC/B,IAAI,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IACtC,MAAM,IAAI,CAAC,CAAC,KAAK,GAAG,OAAO,CAAC;IAC5B,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC;AAC5B,CAAC;AACD,SAAS,YAAY,CAAC,IAAU;IAC5B,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;AAC3B,CAAC;AACD,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,EAAE;IACxB,GAAG,CAAC,IAAI,CAAC,IAAI,GAAG,IAAW,CAAC;IAC5B,GAAG,CAAC,SAAS,EAAE,CAAC;CACnB","sourcesContent":["import Long from \"long\";\nimport _m0 from \"protobufjs/minimal\";\nimport { Timestamp } from \"../../google/protobuf/timestamp\";\nexport const protobufPackage = \"com.snap.camerakit.v3\";\nexport interface OperationalMetric {\n name: string;\n timestamp: Date | undefined;\n metric?: {\n $case: \"count\";\n count: string;\n } | {\n $case: \"latencyMillis\";\n latencyMillis: string;\n } | {\n $case: \"histogram\";\n histogram: string;\n };\n}\nexport interface OperationalMetricsBundle {\n metrics: OperationalMetric[];\n}\nfunction createBaseOperationalMetric(): OperationalMetric {\n return { name: \"\", timestamp: undefined, metric: undefined };\n}\nexport const OperationalMetric = {\n encode(message: OperationalMetric, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.name !== \"\") {\n writer.uint32(10).string(message.name);\n }\n if (message.timestamp !== undefined) {\n Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();\n }\n if (message.metric?.$case === \"count\") {\n writer.uint32(24).uint64(message.metric.count);\n }\n if (message.metric?.$case === \"latencyMillis\") {\n writer.uint32(32).uint64(message.metric.latencyMillis);\n }\n if (message.metric?.$case === \"histogram\") {\n writer.uint32(40).int64(message.metric.histogram);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): OperationalMetric {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseOperationalMetric();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.name = reader.string();\n break;\n case 2:\n message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n break;\n case 3:\n message.metric = { $case: \"count\", count: longToString(reader.uint64() as Long) };\n break;\n case 4:\n message.metric = { $case: \"latencyMillis\", latencyMillis: longToString(reader.uint64() as Long) };\n break;\n case 5:\n message.metric = { $case: \"histogram\", histogram: longToString(reader.int64() as Long) };\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<OperationalMetric>, I>>(object: I): OperationalMetric {\n const message = createBaseOperationalMetric();\n message.name = object.name ?? \"\";\n message.timestamp = object.timestamp ?? undefined;\n if (object.metric?.$case === \"count\" && object.metric?.count !== undefined && object.metric?.count !== null) {\n message.metric = { $case: \"count\", count: object.metric.count };\n }\n if (object.metric?.$case === \"latencyMillis\" &&\n object.metric?.latencyMillis !== undefined &&\n object.metric?.latencyMillis !== null) {\n message.metric = { $case: \"latencyMillis\", latencyMillis: object.metric.latencyMillis };\n }\n if (object.metric?.$case === \"histogram\" &&\n object.metric?.histogram !== undefined &&\n object.metric?.histogram !== null) {\n message.metric = { $case: \"histogram\", histogram: object.metric.histogram };\n }\n return message;\n },\n};\nfunction createBaseOperationalMetricsBundle(): OperationalMetricsBundle {\n return { metrics: [] };\n}\nexport const OperationalMetricsBundle = {\n encode(message: OperationalMetricsBundle, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n for (const v of message.metrics) {\n OperationalMetric.encode(v!, writer.uint32(10).fork()).ldelim();\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): OperationalMetricsBundle {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseOperationalMetricsBundle();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.metrics.push(OperationalMetric.decode(reader, reader.uint32()));\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<OperationalMetricsBundle>, I>>(object: I): OperationalMetricsBundle {\n const message = createBaseOperationalMetricsBundle();\n message.metrics = object.metrics?.map((e) => OperationalMetric.fromPartial(e)) || [];\n return message;\n },\n};\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\nexport type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {\n $case: string;\n} ? {\n [K in keyof Omit<T, \"$case\">]?: DeepPartial<T[K]>;\n} & {\n $case: T[\"$case\"];\n} : T extends {} ? {\n [K in keyof T]?: DeepPartial<T[K]>;\n} : Partial<T>;\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P : P & {\n [K in keyof P]: Exact<P[K], I[K]>;\n} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;\nfunction toTimestamp(date: Date): Timestamp {\n const seconds = Math.trunc(date.getTime() / 1000).toString();\n const nanos = (date.getTime() % 1000) * 1000000;\n return { seconds, nanos };\n}\nfunction fromTimestamp(t: Timestamp): Date {\n let millis = Number(t.seconds) * 1000;\n millis += t.nanos / 1000000;\n return new Date(millis);\n}\nfunction longToString(long: Long) {\n return long.toString();\n}\nif (_m0.util.Long !== Long) {\n _m0.util.Long = Long as any;\n _m0.configure();\n}\n"]}
|
|
1
|
+
{"version":3,"file":"operational_metrics.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/camera_kit/v3/operational_metrics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,MAAM,CAAC,MAAM,eAAe,GAAG,uBAAuB,CAAC;AAkBvD,SAAS,2BAA2B;IAChC,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;AACjE,CAAC;AACD,MAAM,CAAC,MAAM,iBAAiB,GAAkC;IAC5D,MAAM,CAAC,OAA0B,EAAE,SAAuB,IAAI,YAAY,EAAE;;QACxE,IAAI,OAAO,CAAC,IAAI,KAAK,EAAE,EAAE;YACrB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;SAC1C;QACD,IAAI,OAAO,CAAC,SAAS,KAAK,SAAS,EAAE;YACjC,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;SACrF;QACD,QAAQ,MAAA,OAAO,CAAC,MAAM,0CAAE,KAAK,EAAE;YAC3B,KAAK,OAAO;gBACR,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;gBAC/C,MAAM;YACV,KAAK,eAAe;gBAChB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;gBACvD,MAAM;YACV,KAAK,WAAW;gBACZ,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC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E,CAAC;QACrF,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAC;AAiBF,SAAS,WAAW,CAAC,IAAU;IAC3B,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC;IAC7D,MAAM,KAAK,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,OAAO,CAAC;IAChD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AAC9B,CAAC;AACD,SAAS,aAAa,CAAC,CAAY;IAC/B,IAAI,MAAM,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC;IACxD,MAAM,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC;IACnC,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACvC,CAAC","sourcesContent":["import { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nimport { Timestamp } from \"../../google/protobuf/timestamp\";\nexport const protobufPackage = \"com.snap.camerakit.v3\";\nexport interface OperationalMetric {\n name: string;\n timestamp: Date | undefined;\n metric?: {\n $case: \"count\";\n count: string;\n } | {\n $case: \"latencyMillis\";\n latencyMillis: string;\n } | {\n $case: \"histogram\";\n histogram: string;\n } | undefined;\n}\nexport interface OperationalMetricsBundle {\n metrics: OperationalMetric[];\n}\nfunction createBaseOperationalMetric(): OperationalMetric {\n return { name: \"\", timestamp: undefined, metric: undefined };\n}\nexport const OperationalMetric: MessageFns<OperationalMetric> = {\n encode(message: OperationalMetric, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.name !== \"\") {\n writer.uint32(10).string(message.name);\n }\n if (message.timestamp !== undefined) {\n Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).join();\n }\n switch (message.metric?.$case) {\n case \"count\":\n writer.uint32(24).uint64(message.metric.count);\n break;\n case \"latencyMillis\":\n writer.uint32(32).uint64(message.metric.latencyMillis);\n break;\n case \"histogram\":\n writer.uint32(40).int64(message.metric.histogram);\n break;\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): OperationalMetric {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseOperationalMetric();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n message.name = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n message.metric = { $case: \"count\", count: reader.uint64().toString() };\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n message.metric = { $case: \"latencyMillis\", latencyMillis: reader.uint64().toString() };\n continue;\n }\n case 5: {\n if (tag !== 40) {\n break;\n }\n message.metric = { $case: \"histogram\", histogram: reader.int64().toString() };\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n create<I extends Exact<DeepPartial<OperationalMetric>, I>>(base?: I): OperationalMetric {\n return OperationalMetric.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<OperationalMetric>, I>>(object: I): OperationalMetric {\n const message = createBaseOperationalMetric();\n message.name = object.name ?? \"\";\n message.timestamp = object.timestamp ?? undefined;\n if (object.metric?.$case === \"count\" && object.metric?.count !== undefined && object.metric?.count !== null) {\n message.metric = { $case: \"count\", count: object.metric.count };\n }\n if (object.metric?.$case === \"latencyMillis\" &&\n object.metric?.latencyMillis !== undefined &&\n object.metric?.latencyMillis !== null) {\n message.metric = { $case: \"latencyMillis\", latencyMillis: object.metric.latencyMillis };\n }\n if (object.metric?.$case === \"histogram\" &&\n object.metric?.histogram !== undefined &&\n object.metric?.histogram !== null) {\n message.metric = { $case: \"histogram\", histogram: object.metric.histogram };\n }\n return message;\n },\n};\nfunction createBaseOperationalMetricsBundle(): OperationalMetricsBundle {\n return { metrics: [] };\n}\nexport const OperationalMetricsBundle: MessageFns<OperationalMetricsBundle> = {\n encode(message: OperationalMetricsBundle, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.metrics) {\n OperationalMetric.encode(v!, writer.uint32(10).fork()).join();\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): OperationalMetricsBundle {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseOperationalMetricsBundle();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n message.metrics.push(OperationalMetric.decode(reader, reader.uint32()));\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n create<I extends Exact<DeepPartial<OperationalMetricsBundle>, I>>(base?: I): OperationalMetricsBundle {\n return OperationalMetricsBundle.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<OperationalMetricsBundle>, I>>(object: I): OperationalMetricsBundle {\n const message = createBaseOperationalMetricsBundle();\n message.metrics = object.metrics?.map((e) => OperationalMetric.fromPartial(e)) || [];\n return message;\n },\n};\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\nexport type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {\n $case: string;\n} ? {\n [K in keyof Omit<T, \"$case\">]?: DeepPartial<T[K]>;\n} & {\n $case: T[\"$case\"];\n} : T extends {} ? {\n [K in keyof T]?: DeepPartial<T[K]>;\n} : Partial<T>;\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P : P & {\n [K in keyof P]: Exact<P[K], I[K]>;\n} & {\n [K in Exclude<keyof I, KeysOfUnion<P>>]: never;\n};\nfunction toTimestamp(date: Date): Timestamp {\n const seconds = Math.trunc(date.getTime() / 1000).toString();\n const nanos = (date.getTime() % 1000) * 1000000;\n return { seconds, nanos };\n}\nfunction fromTimestamp(t: Timestamp): Date {\n let millis = (globalThis.Number(t.seconds) || 0) * 1000;\n millis += (t.nanos || 0) / 1000000;\n return new globalThis.Date(millis);\n}\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;\n fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "com.snap.camerakit.v3";
|
|
3
3
|
export interface RankingData {
|
|
4
4
|
sessionId: string;
|
|
@@ -24,23 +24,9 @@ export declare enum RankingData_ConnectivityType {
|
|
|
24
24
|
CONNECTIVITY_TYPE_BLUETOOTH = 4,
|
|
25
25
|
UNRECOGNIZED = -1
|
|
26
26
|
}
|
|
27
|
-
export declare const RankingData:
|
|
28
|
-
encode(message: RankingData, writer?: _m0.Writer): _m0.Writer;
|
|
29
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RankingData;
|
|
30
|
-
fromPartial<I extends {
|
|
31
|
-
sessionId?: string | undefined;
|
|
32
|
-
locale?: string | undefined;
|
|
33
|
-
osType?: RankingData_OSType | undefined;
|
|
34
|
-
connectivityType?: RankingData_ConnectivityType | undefined;
|
|
35
|
-
} & {
|
|
36
|
-
sessionId?: string | undefined;
|
|
37
|
-
locale?: string | undefined;
|
|
38
|
-
osType?: RankingData_OSType | undefined;
|
|
39
|
-
connectivityType?: RankingData_ConnectivityType | undefined;
|
|
40
|
-
} & Record<Exclude<keyof I, keyof RankingData>, never>>(object: I): RankingData;
|
|
41
|
-
};
|
|
27
|
+
export declare const RankingData: MessageFns<RankingData>;
|
|
42
28
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
43
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
29
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
44
30
|
$case: string;
|
|
45
31
|
} ? {
|
|
46
32
|
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
@@ -52,6 +38,14 @@ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ?
|
|
|
52
38
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
53
39
|
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
54
40
|
[K in keyof P]: Exact<P[K], I[K]>;
|
|
55
|
-
} &
|
|
41
|
+
} & {
|
|
42
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
43
|
+
};
|
|
44
|
+
export interface MessageFns<T> {
|
|
45
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
46
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
47
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
48
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
49
|
+
}
|
|
56
50
|
export {};
|
|
57
51
|
//# sourceMappingURL=ranking.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ranking.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/camera_kit/v3/ranking.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ranking.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/camera_kit/v3/ranking.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,eAAO,MAAM,eAAe,0BAA0B,CAAC;AACvD,MAAM,WAAW,WAAW;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,kBAAkB,CAAC;IAC3B,gBAAgB,EAAE,4BAA4B,CAAC;CAClD;AACD,oBAAY,kBAAkB;IAC1B,aAAa,IAAI;IACjB,eAAe,IAAI;IACnB,WAAW,IAAI;IACf,eAAe,IAAI;IACnB,cAAc,IAAI;IAClB,eAAe,IAAI;IACnB,aAAa,IAAI;IACjB,YAAY,KAAK;CACpB;AACD,oBAAY,4BAA4B;IACpC,uBAAuB,IAAI;IAC3B,sBAAsB,IAAI;IAC1B,wBAAwB,IAAI;IAC5B,6BAA6B,IAAI;IACjC,2BAA2B,IAAI;IAC/B,YAAY,KAAK;CACpB;AAID,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,WAAW,CAsE/C,CAAC;AACF,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AACpF,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GAAG,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS;I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,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CACjE"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
3
2
|
export const protobufPackage = "com.snap.camerakit.v3";
|
|
4
3
|
export var RankingData_OSType;
|
|
5
4
|
(function (RankingData_OSType) {
|
|
@@ -25,7 +24,7 @@ function createBaseRankingData() {
|
|
|
25
24
|
return { sessionId: "", locale: "", osType: 0, connectivityType: 0 };
|
|
26
25
|
}
|
|
27
26
|
export const RankingData = {
|
|
28
|
-
encode(message, writer =
|
|
27
|
+
encode(message, writer = new BinaryWriter()) {
|
|
29
28
|
if (message.sessionId !== "") {
|
|
30
29
|
writer.uint32(10).string(message.sessionId);
|
|
31
30
|
}
|
|
@@ -41,31 +40,51 @@ export const RankingData = {
|
|
|
41
40
|
return writer;
|
|
42
41
|
},
|
|
43
42
|
decode(input, length) {
|
|
44
|
-
const reader = input instanceof
|
|
43
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
45
44
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
46
45
|
const message = createBaseRankingData();
|
|
47
46
|
while (reader.pos < end) {
|
|
48
47
|
const tag = reader.uint32();
|
|
49
48
|
switch (tag >>> 3) {
|
|
50
|
-
case 1:
|
|
49
|
+
case 1: {
|
|
50
|
+
if (tag !== 10) {
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
51
53
|
message.sessionId = reader.string();
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
continue;
|
|
55
|
+
}
|
|
56
|
+
case 2: {
|
|
57
|
+
if (tag !== 18) {
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
54
60
|
message.locale = reader.string();
|
|
55
|
-
|
|
56
|
-
|
|
61
|
+
continue;
|
|
62
|
+
}
|
|
63
|
+
case 3: {
|
|
64
|
+
if (tag !== 24) {
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
57
67
|
message.osType = reader.int32();
|
|
58
|
-
|
|
59
|
-
|
|
68
|
+
continue;
|
|
69
|
+
}
|
|
70
|
+
case 4: {
|
|
71
|
+
if (tag !== 32) {
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
60
74
|
message.connectivityType = reader.int32();
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
reader.skipType(tag & 7);
|
|
64
|
-
break;
|
|
75
|
+
continue;
|
|
76
|
+
}
|
|
65
77
|
}
|
|
78
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
reader.skip(tag & 7);
|
|
66
82
|
}
|
|
67
83
|
return message;
|
|
68
84
|
},
|
|
85
|
+
create(base) {
|
|
86
|
+
return RankingData.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
87
|
+
},
|
|
69
88
|
fromPartial(object) {
|
|
70
89
|
var _a, _b, _c, _d;
|
|
71
90
|
const message = createBaseRankingData();
|
|
@@ -76,8 +95,4 @@ export const RankingData = {
|
|
|
76
95
|
return message;
|
|
77
96
|
},
|
|
78
97
|
};
|
|
79
|
-
if (_m0.util.Long !== Long) {
|
|
80
|
-
_m0.util.Long = Long;
|
|
81
|
-
_m0.configure();
|
|
82
|
-
}
|
|
83
98
|
//# sourceMappingURL=ranking.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ranking.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/camera_kit/v3/ranking.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ranking.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/camera_kit/v3/ranking.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,MAAM,CAAC,MAAM,eAAe,GAAG,uBAAuB,CAAC;AAOvD,MAAM,CA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;oBACjD,SAAS;iBACZ;aACJ;YACD,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,EAAE;gBAC9B,MAAM;aACT;YACD,MAAM,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;SACxB;QACD,OAAO,OAAO,CAAC;IACnB,CAAC;IACD,MAAM,CAA+C,IAAQ;QACzD,OAAO,WAAW,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAK,EAAU,CAAC,CAAC;IACxD,CAAC;IACD,WAAW,CAA+C,MAAS;;QAC/D,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;QACxC,OAAO,CAAC,SAAS,GAAG,MAAA,MAAM,CAAC,SAAS,mCAAI,EAAE,CAAC;QAC3C,OAAO,CAAC,MAAM,GAAG,MAAA,MAAM,CAAC,MAAM,mCAAI,EAAE,CAAC;QACrC,OAAO,CAAC,MAAM,GAAG,MAAA,MAAM,CAAC,MAAM,mCAAI,CAAC,CAAC;QACpC,OAAO,CAAC,gBAAgB,GAAG,MAAA,MAAM,CAAC,gBAAgB,mCAAI,CAAC,CAAC;QACxD,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAC","sourcesContent":["import { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nexport const protobufPackage = \"com.snap.camerakit.v3\";\nexport interface RankingData {\n sessionId: string;\n locale: string;\n osType: RankingData_OSType;\n connectivityType: RankingData_ConnectivityType;\n}\nexport enum RankingData_OSType {\n OS_TYPE_UNSET = 0,\n OS_TYPE_ANDROID = 1,\n OS_TYPE_IOS = 2,\n OS_TYPE_IPAD_OS = 3,\n OS_TYPE_MAC_OS = 4,\n OS_TYPE_WINDOWS = 5,\n OS_TYPE_LINUX = 6,\n UNRECOGNIZED = -1\n}\nexport enum RankingData_ConnectivityType {\n CONNECTIVITY_TYPE_UNSET = 0,\n CONNECTIVITY_TYPE_WIFI = 1,\n CONNECTIVITY_TYPE_MOBILE = 2,\n CONNECTIVITY_TYPE_UNREACHABLE = 3,\n CONNECTIVITY_TYPE_BLUETOOTH = 4,\n UNRECOGNIZED = -1\n}\nfunction createBaseRankingData(): RankingData {\n return { sessionId: \"\", locale: \"\", osType: 0, connectivityType: 0 };\n}\nexport const RankingData: MessageFns<RankingData> = {\n encode(message: RankingData, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.sessionId !== \"\") {\n writer.uint32(10).string(message.sessionId);\n }\n if (message.locale !== \"\") {\n writer.uint32(18).string(message.locale);\n }\n if (message.osType !== 0) {\n writer.uint32(24).int32(message.osType);\n }\n if (message.connectivityType !== 0) {\n writer.uint32(32).int32(message.connectivityType);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): RankingData {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseRankingData();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 10) {\n break;\n }\n message.sessionId = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n message.locale = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n message.osType = reader.int32() as any;\n continue;\n }\n case 4: {\n if (tag !== 32) {\n break;\n }\n message.connectivityType = reader.int32() as any;\n continue;\n }\n }\n if ((tag & 7) === 4 || tag === 0) {\n break;\n }\n reader.skip(tag & 7);\n }\n return message;\n },\n create<I extends Exact<DeepPartial<RankingData>, I>>(base?: I): RankingData {\n return RankingData.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<RankingData>, I>>(object: I): RankingData {\n const message = createBaseRankingData();\n message.sessionId = object.sessionId ?? \"\";\n message.locale = object.locale ?? \"\";\n message.osType = object.osType ?? 0;\n message.connectivityType = object.connectivityType ?? 0;\n return message;\n },\n};\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\nexport type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {\n $case: string;\n} ? {\n [K in keyof Omit<T, \"$case\">]?: DeepPartial<T[K]>;\n} & {\n $case: T[\"$case\"];\n} : T extends {} ? {\n [K in keyof T]?: DeepPartial<T[K]>;\n} : Partial<T>;\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P : P & {\n [K in keyof P]: Exact<P[K], I[K]>;\n} & {\n [K in Exclude<keyof I, KeysOfUnion<P>>]: never;\n};\nexport interface MessageFns<T> {\n encode(message: T, writer?: BinaryWriter): BinaryWriter;\n decode(input: BinaryReader | Uint8Array, length?: number): T;\n create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;\n fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;\n}\n"]}
|