@snap/camera-kit 0.22.0 → 1.0.0
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/bootstrapURLs.d.ts +2 -0
- package/dist/lens-core-module/loader/bootstrapURLs.d.ts.map +1 -1
- package/dist/lens-core-module/loader/bootstrapURLs.js +22 -11
- package/dist/lens-core-module/loader/bootstrapURLs.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/platform/platformCapabilities.d.ts +6 -16
- package/dist/platform/platformCapabilities.d.ts.map +1 -1
- package/dist/platform/platformCapabilities.js +15 -15
- package/dist/platform/platformCapabilities.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 +21 -6
- 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 +6 -6
- 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":"media_provided_signals.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/media_provided_signals.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"media_provided_signals.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/media_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAClD,oBAAY,SAAS;IACjB,gBAAgB,IAAI;IACpB,KAAK,IAAI;IACT,KAAK,IAAI;IACT,GAAG,IAAI;IACP,KAAK,IAAI;IAC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E,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,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 = "snapchat.cdp.cof";
|
|
4
3
|
export var MediaType;
|
|
5
4
|
(function (MediaType) {
|
|
@@ -14,7 +13,7 @@ function createBaseMediaSignals() {
|
|
|
14
13
|
return { mediaDurationMs: 0, mediaType: 0 };
|
|
15
14
|
}
|
|
16
15
|
export const MediaSignals = {
|
|
17
|
-
encode(message, writer =
|
|
16
|
+
encode(message, writer = new BinaryWriter()) {
|
|
18
17
|
if (message.mediaDurationMs !== 0) {
|
|
19
18
|
writer.uint32(8).uint32(message.mediaDurationMs);
|
|
20
19
|
}
|
|
@@ -24,25 +23,37 @@ export const MediaSignals = {
|
|
|
24
23
|
return writer;
|
|
25
24
|
},
|
|
26
25
|
decode(input, length) {
|
|
27
|
-
const reader = input instanceof
|
|
26
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
28
27
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
28
|
const message = createBaseMediaSignals();
|
|
30
29
|
while (reader.pos < end) {
|
|
31
30
|
const tag = reader.uint32();
|
|
32
31
|
switch (tag >>> 3) {
|
|
33
|
-
case 1:
|
|
32
|
+
case 1: {
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
34
36
|
message.mediaDurationMs = reader.uint32();
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
case 2: {
|
|
40
|
+
if (tag !== 16) {
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
37
43
|
message.mediaType = reader.int32();
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
reader.skipType(tag & 7);
|
|
41
|
-
break;
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
42
46
|
}
|
|
47
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
reader.skip(tag & 7);
|
|
43
51
|
}
|
|
44
52
|
return message;
|
|
45
53
|
},
|
|
54
|
+
create(base) {
|
|
55
|
+
return MediaSignals.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
56
|
+
},
|
|
46
57
|
fromPartial(object) {
|
|
47
58
|
var _a, _b;
|
|
48
59
|
const message = createBaseMediaSignals();
|
|
@@ -51,8 +62,4 @@ export const MediaSignals = {
|
|
|
51
62
|
return message;
|
|
52
63
|
},
|
|
53
64
|
};
|
|
54
|
-
if (_m0.util.Long !== Long) {
|
|
55
|
-
_m0.util.Long = Long;
|
|
56
|
-
_m0.configure();
|
|
57
|
-
}
|
|
58
65
|
//# sourceMappingURL=media_provided_signals.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media_provided_signals.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/media_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"media_provided_signals.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/media_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACr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KAAK,CAAC,EAAE;gBACf,KAAK,CAAC,CAAC,CAAC;oBACJ,IAAI,GAAG,KAAK,CAAC,EAAE;wBACX,MAAM;qBACT;oBACD,OAAO,CAAC,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;oBAC1C,SAAS;iBACZ;gBACD,KAAK,CAAC,CAAC,CAAC;oBACJ,IAAI,GAAG,KAAK,EAAE,EAAE;wBACZ,MAAM;qBACT;oBACD,OAAO,CAAC,SAAS,GAAG,MAAM,CAAC,KAAK,EAAS,CAAC;oBAC1C,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,CAAgD,IAAQ;QAC1D,OAAO,YAAY,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAK,EAAU,CAAC,CAAC;IACzD,CAAC;IACD,WAAW,CAAgD,MAAS;;QAChE,MAAM,OAAO,GAAG,sBAAsB,EAAE,CAAC;QACzC,OAAO,CAAC,eAAe,GAAG,MAAA,MAAM,CAAC,eAAe,mCAAI,CAAC,CAAC;QACtD,OAAO,CAAC,SAAS,GAAG,MAAA,MAAM,CAAC,SAAS,mCAAI,CAAC,CAAC;QAC1C,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAC","sourcesContent":["import { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nexport const protobufPackage = \"snapchat.cdp.cof\";\nexport enum MediaType {\n MEDIA_TYPE_UNSET = 0,\n IMAGE = 1,\n VIDEO = 2,\n GIF = 3,\n AUDIO = 4,\n UNRECOGNIZED = -1\n}\nexport interface MediaSignals {\n mediaDurationMs: number;\n mediaType: MediaType;\n}\nfunction createBaseMediaSignals(): MediaSignals {\n return { mediaDurationMs: 0, mediaType: 0 };\n}\nexport const MediaSignals: MessageFns<MediaSignals> = {\n encode(message: MediaSignals, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.mediaDurationMs !== 0) {\n writer.uint32(8).uint32(message.mediaDurationMs);\n }\n if (message.mediaType !== 0) {\n writer.uint32(16).int32(message.mediaType);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): MediaSignals {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseMediaSignals();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n message.mediaDurationMs = reader.uint32();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n message.mediaType = 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<MediaSignals>, I>>(base?: I): MediaSignals {\n return MediaSignals.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<MediaSignals>, I>>(object: I): MediaSignals {\n const message = createBaseMediaSignals();\n message.mediaDurationMs = object.mediaDurationMs ?? 0;\n message.mediaType = object.mediaType ?? 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 [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"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"namespace.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/namespace.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"namespace.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/namespace.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAClD,oBAAY,SAAS;IACjB,OAAO,IAAI;IACX,SAAS,KAAK;IACd,eAAe,KAAK;IACpB,gBAAgB,MAAM;IACtB,YAAY,KAAK;CACpB"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import Long from "long";
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
3
1
|
export const protobufPackage = "snapchat.cdp.cof";
|
|
4
2
|
export var Namespace;
|
|
5
3
|
(function (Namespace) {
|
|
@@ -9,8 +7,4 @@ export var Namespace;
|
|
|
9
7
|
Namespace[Namespace["LENS_CORE_CONFIG"] = 143] = "LENS_CORE_CONFIG";
|
|
10
8
|
Namespace[Namespace["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
11
9
|
})(Namespace || (Namespace = {}));
|
|
12
|
-
if (_m0.util.Long !== Long) {
|
|
13
|
-
_m0.util.Long = Long;
|
|
14
|
-
_m0.configure();
|
|
15
|
-
}
|
|
16
10
|
//# sourceMappingURL=namespace.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"namespace.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/namespace.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"namespace.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/namespace.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAClD,MAAM,CAAN,IAAY,SAMX;AAND,WAAY,SAAS;IACjB,+CAAW,CAAA;IACX,oDAAc,CAAA;IACd,gEAAoB,CAAA;IACpB,mEAAsB,CAAA;IACtB,0DAAiB,CAAA;AACrB,CAAC,EANW,SAAS,KAAT,SAAS,QAMpB","sourcesContent":["export const protobufPackage = \"snapchat.cdp.cof\";\nexport enum Namespace {\n DEFAULT = 0,\n LENS_CORE = 64,\n CAMERA_KIT_CORE = 65,\n LENS_CORE_CONFIG = 143,\n UNRECOGNIZED = -1\n}\n"]}
|
|
@@ -1,30 +1,26 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "snapchat.cdp.cof";
|
|
3
3
|
export interface OperaSignals {
|
|
4
4
|
contentViewSource: number;
|
|
5
5
|
playbackItemType: number;
|
|
6
6
|
useVerticalNavigation: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare const OperaSignals:
|
|
9
|
-
encode(message: OperaSignals, writer?: _m0.Writer): _m0.Writer;
|
|
10
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): OperaSignals;
|
|
11
|
-
fromPartial<I extends {
|
|
12
|
-
contentViewSource?: number | undefined;
|
|
13
|
-
playbackItemType?: number | undefined;
|
|
14
|
-
useVerticalNavigation?: boolean | undefined;
|
|
15
|
-
} & {
|
|
16
|
-
contentViewSource?: number | undefined;
|
|
17
|
-
playbackItemType?: number | undefined;
|
|
18
|
-
useVerticalNavigation?: boolean | undefined;
|
|
19
|
-
} & Record<Exclude<keyof I, keyof OperaSignals>, never>>(object: I): OperaSignals;
|
|
20
|
-
};
|
|
8
|
+
export declare const OperaSignals: MessageFns<OperaSignals>;
|
|
21
9
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
22
|
-
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 {} ? {
|
|
10
|
+
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 {} ? {
|
|
23
11
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
24
12
|
} : Partial<T>;
|
|
25
13
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
26
14
|
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
27
15
|
[K in keyof P]: Exact<P[K], I[K]>;
|
|
28
|
-
} &
|
|
16
|
+
} & {
|
|
17
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
18
|
+
};
|
|
19
|
+
export interface MessageFns<T> {
|
|
20
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
21
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
22
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
24
|
+
}
|
|
29
25
|
export {};
|
|
30
26
|
//# sourceMappingURL=opera_provided_signals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opera_provided_signals.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/opera_provided_signals.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"opera_provided_signals.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/opera_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAClD,MAAM,WAAW,YAAY;IACzB,iBAA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AAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CACjE"}
|
|
@@ -1,45 +1,60 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
3
2
|
export const protobufPackage = "snapchat.cdp.cof";
|
|
4
3
|
function createBaseOperaSignals() {
|
|
5
4
|
return { contentViewSource: 0, playbackItemType: 0, useVerticalNavigation: false };
|
|
6
5
|
}
|
|
7
6
|
export const OperaSignals = {
|
|
8
|
-
encode(message, writer =
|
|
7
|
+
encode(message, writer = new BinaryWriter()) {
|
|
9
8
|
if (message.contentViewSource !== 0) {
|
|
10
9
|
writer.uint32(8).int32(message.contentViewSource);
|
|
11
10
|
}
|
|
12
11
|
if (message.playbackItemType !== 0) {
|
|
13
12
|
writer.uint32(16).int32(message.playbackItemType);
|
|
14
13
|
}
|
|
15
|
-
if (message.useVerticalNavigation
|
|
14
|
+
if (message.useVerticalNavigation !== false) {
|
|
16
15
|
writer.uint32(24).bool(message.useVerticalNavigation);
|
|
17
16
|
}
|
|
18
17
|
return writer;
|
|
19
18
|
},
|
|
20
19
|
decode(input, length) {
|
|
21
|
-
const reader = input instanceof
|
|
20
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
22
21
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
23
22
|
const message = createBaseOperaSignals();
|
|
24
23
|
while (reader.pos < end) {
|
|
25
24
|
const tag = reader.uint32();
|
|
26
25
|
switch (tag >>> 3) {
|
|
27
|
-
case 1:
|
|
26
|
+
case 1: {
|
|
27
|
+
if (tag !== 8) {
|
|
28
|
+
break;
|
|
29
|
+
}
|
|
28
30
|
message.contentViewSource = reader.int32();
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
case 2: {
|
|
34
|
+
if (tag !== 16) {
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
31
37
|
message.playbackItemType = reader.int32();
|
|
32
|
-
|
|
33
|
-
|
|
38
|
+
continue;
|
|
39
|
+
}
|
|
40
|
+
case 3: {
|
|
41
|
+
if (tag !== 24) {
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
34
44
|
message.useVerticalNavigation = reader.bool();
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
reader.skipType(tag & 7);
|
|
38
|
-
break;
|
|
45
|
+
continue;
|
|
46
|
+
}
|
|
39
47
|
}
|
|
48
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
reader.skip(tag & 7);
|
|
40
52
|
}
|
|
41
53
|
return message;
|
|
42
54
|
},
|
|
55
|
+
create(base) {
|
|
56
|
+
return OperaSignals.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
57
|
+
},
|
|
43
58
|
fromPartial(object) {
|
|
44
59
|
var _a, _b, _c;
|
|
45
60
|
const message = createBaseOperaSignals();
|
|
@@ -49,8 +64,4 @@ export const OperaSignals = {
|
|
|
49
64
|
return message;
|
|
50
65
|
},
|
|
51
66
|
};
|
|
52
|
-
if (_m0.util.Long !== Long) {
|
|
53
|
-
_m0.util.Long = Long;
|
|
54
|
-
_m0.configure();
|
|
55
|
-
}
|
|
56
67
|
//# sourceMappingURL=opera_provided_signals.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opera_provided_signals.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/opera_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"opera_provided_signals.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/opera_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAMlD,SAAS,sBAAsB;IAC3B,OAAO,EAAE,iBAAiB,EAAE,CAAC,EAAE,gBAAgB,EAAE,CAAC,EAAE,qBAAqB,EAAE,KAAK,EAAE,CAAC;AACvF,CAAC;AACD,MAAM,CAAC,MAAM,YAAY,GAA6B;IAClD,MAAM,CAAC,OAAqB,EAAE,SAAuB,IAAI,YAAY,EAAE;QACnE,IAAI,OAAO,CAAC,iBAAiB,KAAK,CAAC,EAAE;YACjC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;SACrD;QACD,IAAI,OAAO,CAAC,gBAAgB,KAAK,CAAC,EAAE;YAChC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;SACrD;QACD,IAAI,OAAO,CAAC,qBAAqB,KAAK,KAAK,EAAE;YACzC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;SACzD;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IACD,MAAM,CAAC,KAAgC,EAAE,MAAe;QACpD,MAAM,MAAM,GAAG,KAAK,YAAY,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/E,IAAI,GAAG,GAAG,MAAM,KAAK,SAAS,CAA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AAM,CAAC,iBAAiB,mCAAI,CAAC,CAAC;QAC1D,OAAO,CAAC,gBAAgB,GAAG,MAAA,MAAM,CAAC,gBAAgB,mCAAI,CAAC,CAAC;QACxD,OAAO,CAAC,qBAAqB,GAAG,MAAA,MAAM,CAAC,qBAAqB,mCAAI,KAAK,CAAC;QACtE,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAC","sourcesContent":["import { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nexport const protobufPackage = \"snapchat.cdp.cof\";\nexport interface OperaSignals {\n contentViewSource: number;\n playbackItemType: number;\n useVerticalNavigation: boolean;\n}\nfunction createBaseOperaSignals(): OperaSignals {\n return { contentViewSource: 0, playbackItemType: 0, useVerticalNavigation: false };\n}\nexport const OperaSignals: MessageFns<OperaSignals> = {\n encode(message: OperaSignals, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.contentViewSource !== 0) {\n writer.uint32(8).int32(message.contentViewSource);\n }\n if (message.playbackItemType !== 0) {\n writer.uint32(16).int32(message.playbackItemType);\n }\n if (message.useVerticalNavigation !== false) {\n writer.uint32(24).bool(message.useVerticalNavigation);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): OperaSignals {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseOperaSignals();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1: {\n if (tag !== 8) {\n break;\n }\n message.contentViewSource = reader.int32();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n message.playbackItemType = reader.int32();\n continue;\n }\n case 3: {\n if (tag !== 24) {\n break;\n }\n message.useVerticalNavigation = reader.bool();\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<OperaSignals>, I>>(base?: I): OperaSignals {\n return OperaSignals.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<OperaSignals>, I>>(object: I): OperaSignals {\n const message = createBaseOperaSignals();\n message.contentViewSource = object.contentViewSource ?? 0;\n message.playbackItemType = object.playbackItemType ?? 0;\n message.useVerticalNavigation = object.useVerticalNavigation ?? false;\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 [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"]}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "snapchat.cdp.cof";
|
|
3
3
|
export interface PerceptionSignals {
|
|
4
4
|
scannedCategoryIds: string[];
|
|
5
5
|
}
|
|
6
|
-
export declare const PerceptionSignals:
|
|
7
|
-
encode(message: PerceptionSignals, writer?: _m0.Writer): _m0.Writer;
|
|
8
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): PerceptionSignals;
|
|
9
|
-
fromPartial<I extends {
|
|
10
|
-
scannedCategoryIds?: string[] | undefined;
|
|
11
|
-
} & {
|
|
12
|
-
scannedCategoryIds?: (string[] & string[] & Record<Exclude<keyof I["scannedCategoryIds"], keyof string[]>, never>) | undefined;
|
|
13
|
-
} & Record<Exclude<keyof I, "scannedCategoryIds">, never>>(object: I): PerceptionSignals;
|
|
14
|
-
};
|
|
6
|
+
export declare const PerceptionSignals: MessageFns<PerceptionSignals>;
|
|
15
7
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
16
|
-
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 {} ? {
|
|
8
|
+
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 {} ? {
|
|
17
9
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
18
10
|
} : Partial<T>;
|
|
19
11
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
20
12
|
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
21
13
|
[K in keyof P]: Exact<P[K], I[K]>;
|
|
22
|
-
} &
|
|
14
|
+
} & {
|
|
15
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
16
|
+
};
|
|
17
|
+
export interface MessageFns<T> {
|
|
18
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
19
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
20
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
21
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
22
|
+
}
|
|
23
23
|
export {};
|
|
24
24
|
//# sourceMappingURL=perception_provided_signals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"perception_provided_signals.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/perception_provided_signals.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"perception_provided_signals.d.ts","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AM,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK;CACjD,CAAC;AACF,MAAM,WAAW,UAAU,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CACjE"}
|
|
@@ -1,33 +1,40 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
3
2
|
export const protobufPackage = "snapchat.cdp.cof";
|
|
4
3
|
function createBasePerceptionSignals() {
|
|
5
4
|
return { scannedCategoryIds: [] };
|
|
6
5
|
}
|
|
7
6
|
export const PerceptionSignals = {
|
|
8
|
-
encode(message, writer =
|
|
7
|
+
encode(message, writer = new BinaryWriter()) {
|
|
9
8
|
for (const v of message.scannedCategoryIds) {
|
|
10
9
|
writer.uint32(10).string(v);
|
|
11
10
|
}
|
|
12
11
|
return writer;
|
|
13
12
|
},
|
|
14
13
|
decode(input, length) {
|
|
15
|
-
const reader = input instanceof
|
|
14
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
16
15
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
17
16
|
const message = createBasePerceptionSignals();
|
|
18
17
|
while (reader.pos < end) {
|
|
19
18
|
const tag = reader.uint32();
|
|
20
19
|
switch (tag >>> 3) {
|
|
21
|
-
case 1:
|
|
20
|
+
case 1: {
|
|
21
|
+
if (tag !== 10) {
|
|
22
|
+
break;
|
|
23
|
+
}
|
|
22
24
|
message.scannedCategoryIds.push(reader.string());
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
reader.skipType(tag & 7);
|
|
26
|
-
break;
|
|
25
|
+
continue;
|
|
26
|
+
}
|
|
27
27
|
}
|
|
28
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
29
|
+
break;
|
|
30
|
+
}
|
|
31
|
+
reader.skip(tag & 7);
|
|
28
32
|
}
|
|
29
33
|
return message;
|
|
30
34
|
},
|
|
35
|
+
create(base) {
|
|
36
|
+
return PerceptionSignals.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
37
|
+
},
|
|
31
38
|
fromPartial(object) {
|
|
32
39
|
var _a;
|
|
33
40
|
const message = createBasePerceptionSignals();
|
|
@@ -35,8 +42,4 @@ export const PerceptionSignals = {
|
|
|
35
42
|
return message;
|
|
36
43
|
},
|
|
37
44
|
};
|
|
38
|
-
if (_m0.util.Long !== Long) {
|
|
39
|
-
_m0.util.Long = Long;
|
|
40
|
-
_m0.configure();
|
|
41
|
-
}
|
|
42
45
|
//# sourceMappingURL=perception_provided_signals.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"perception_provided_signals.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/perception_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"perception_provided_signals.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/perception_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAIlD,SAAS,2BAA2B;IAChC,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AACt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AAI,cAAJ,IAAI,GAAK,EAAU,CAAC,CAAC;IAC9D,CAAC;IACD,WAAW,CAAqD,MAAS;;QACrE,MAAM,OAAO,GAAG,2BAA2B,EAAE,CAAC;QAC9C,OAAO,CAAC,kBAAkB,GAAG,CAAA,MAAA,MAAM,CAAC,kBAAkB,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAI,EAAE,CAAC;QAC5E,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAC","sourcesContent":["import { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nexport const protobufPackage = \"snapchat.cdp.cof\";\nexport interface PerceptionSignals {\n scannedCategoryIds: string[];\n}\nfunction createBasePerceptionSignals(): PerceptionSignals {\n return { scannedCategoryIds: [] };\n}\nexport const PerceptionSignals: MessageFns<PerceptionSignals> = {\n encode(message: PerceptionSignals, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.scannedCategoryIds) {\n writer.uint32(10).string(v!);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): PerceptionSignals {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBasePerceptionSignals();\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.scannedCategoryIds.push(reader.string());\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<PerceptionSignals>, I>>(base?: I): PerceptionSignals {\n return PerceptionSignals.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<PerceptionSignals>, I>>(object: I): PerceptionSignals {\n const message = createBasePerceptionSignals();\n message.scannedCategoryIds = object.scannedCategoryIds?.map((e) => 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 [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"]}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "snapchat.cdp.cof";
|
|
3
3
|
export interface RecipientsSignals {
|
|
4
4
|
userIds: string[];
|
|
5
5
|
}
|
|
6
|
-
export declare const RecipientsSignals:
|
|
7
|
-
encode(message: RecipientsSignals, writer?: _m0.Writer): _m0.Writer;
|
|
8
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RecipientsSignals;
|
|
9
|
-
fromPartial<I extends {
|
|
10
|
-
userIds?: string[] | undefined;
|
|
11
|
-
} & {
|
|
12
|
-
userIds?: (string[] & string[] & Record<Exclude<keyof I["userIds"], keyof string[]>, never>) | undefined;
|
|
13
|
-
} & Record<Exclude<keyof I, "userIds">, never>>(object: I): RecipientsSignals;
|
|
14
|
-
};
|
|
6
|
+
export declare const RecipientsSignals: MessageFns<RecipientsSignals>;
|
|
15
7
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
16
|
-
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 {} ? {
|
|
8
|
+
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 {} ? {
|
|
17
9
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
18
10
|
} : Partial<T>;
|
|
19
11
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
20
12
|
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
21
13
|
[K in keyof P]: Exact<P[K], I[K]>;
|
|
22
|
-
} &
|
|
14
|
+
} & {
|
|
15
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
16
|
+
};
|
|
17
|
+
export interface MessageFns<T> {
|
|
18
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
19
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
20
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
21
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
22
|
+
}
|
|
23
23
|
export {};
|
|
24
24
|
//# sourceMappingURL=recipients_provided_signals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipients_provided_signals.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"recipients_provided_signals.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAClD,MAAM,WAAW,iBAAiB;IAC9B,OAAO,EAAE,MAAM,EAAE,CAAC;CACrB;AAID,eAAO,MAAM,iB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AAG,CAAC,CAAC;IAC7D,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CACjE"}
|
|
@@ -1,33 +1,40 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
3
2
|
export const protobufPackage = "snapchat.cdp.cof";
|
|
4
3
|
function createBaseRecipientsSignals() {
|
|
5
4
|
return { userIds: [] };
|
|
6
5
|
}
|
|
7
6
|
export const RecipientsSignals = {
|
|
8
|
-
encode(message, writer =
|
|
7
|
+
encode(message, writer = new BinaryWriter()) {
|
|
9
8
|
for (const v of message.userIds) {
|
|
10
9
|
writer.uint32(10).string(v);
|
|
11
10
|
}
|
|
12
11
|
return writer;
|
|
13
12
|
},
|
|
14
13
|
decode(input, length) {
|
|
15
|
-
const reader = input instanceof
|
|
14
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
16
15
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
17
16
|
const message = createBaseRecipientsSignals();
|
|
18
17
|
while (reader.pos < end) {
|
|
19
18
|
const tag = reader.uint32();
|
|
20
19
|
switch (tag >>> 3) {
|
|
21
|
-
case 1:
|
|
20
|
+
case 1: {
|
|
21
|
+
if (tag !== 10) {
|
|
22
|
+
break;
|
|
23
|
+
}
|
|
22
24
|
message.userIds.push(reader.string());
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
reader.skipType(tag & 7);
|
|
26
|
-
break;
|
|
25
|
+
continue;
|
|
26
|
+
}
|
|
27
27
|
}
|
|
28
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
29
|
+
break;
|
|
30
|
+
}
|
|
31
|
+
reader.skip(tag & 7);
|
|
28
32
|
}
|
|
29
33
|
return message;
|
|
30
34
|
},
|
|
35
|
+
create(base) {
|
|
36
|
+
return RecipientsSignals.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
37
|
+
},
|
|
31
38
|
fromPartial(object) {
|
|
32
39
|
var _a;
|
|
33
40
|
const message = createBaseRecipientsSignals();
|
|
@@ -35,8 +42,4 @@ export const RecipientsSignals = {
|
|
|
35
42
|
return message;
|
|
36
43
|
},
|
|
37
44
|
};
|
|
38
|
-
if (_m0.util.Long !== Long) {
|
|
39
|
-
_m0.util.Long = Long;
|
|
40
|
-
_m0.configure();
|
|
41
|
-
}
|
|
42
45
|
//# sourceMappingURL=recipients_provided_signals.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipients_provided_signals.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"recipients_provided_signals.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/cdp/cof/recipients_provided_signals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAIlD,SAAS,2BAA2B;IAChC,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;AAC3B,CAAC;AACD,MAAM,CAAC,MAAM,iBAAiB,GAAkC;IAC5D,MAAM,CAAC,OAA0B,EAAE,SAAuB,IAAI,YAAY,EAAE;QACxE,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,OAAO,EAAE;YAC7B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAE,CAAC,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IAC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AAC;IACnB,CAAC;CACJ,CAAC","sourcesContent":["import { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nexport const protobufPackage = \"snapchat.cdp.cof\";\nexport interface RecipientsSignals {\n userIds: string[];\n}\nfunction createBaseRecipientsSignals(): RecipientsSignals {\n return { userIds: [] };\n}\nexport const RecipientsSignals: MessageFns<RecipientsSignals> = {\n encode(message: RecipientsSignals, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n for (const v of message.userIds) {\n writer.uint32(10).string(v!);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): RecipientsSignals {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseRecipientsSignals();\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.userIds.push(reader.string());\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<RecipientsSignals>, I>>(base?: I): RecipientsSignals {\n return RecipientsSignals.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<RecipientsSignals>, I>>(object: I): RecipientsSignals {\n const message = createBaseRecipientsSignals();\n message.userIds = object.userIds?.map((e) => 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 [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"]}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "snapchat.cdp.cof";
|
|
3
3
|
export interface RoutingSignals {
|
|
4
4
|
url: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const RoutingSignals:
|
|
7
|
-
encode(message: RoutingSignals, writer?: _m0.Writer): _m0.Writer;
|
|
8
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RoutingSignals;
|
|
9
|
-
fromPartial<I extends {
|
|
10
|
-
url?: string | undefined;
|
|
11
|
-
} & {
|
|
12
|
-
url?: string | undefined;
|
|
13
|
-
} & Record<Exclude<keyof I, "url">, never>>(object: I): RoutingSignals;
|
|
14
|
-
};
|
|
6
|
+
export declare const RoutingSignals: MessageFns<RoutingSignals>;
|
|
15
7
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
16
|
-
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 {} ? {
|
|
8
|
+
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 {} ? {
|
|
17
9
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
18
10
|
} : Partial<T>;
|
|
19
11
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
20
12
|
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
21
13
|
[K in keyof P]: Exact<P[K], I[K]>;
|
|
22
|
-
} &
|
|
14
|
+
} & {
|
|
15
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
16
|
+
};
|
|
17
|
+
export interface MessageFns<T> {
|
|
18
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
19
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
20
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
21
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
22
|
+
}
|
|
23
23
|
export {};
|
|
24
24
|
//# sourceMappingURL=routing_provided_signals.d.ts.map
|