@snap/camera-kit 0.23.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/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":"asset.d.ts","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/asset.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"asset.d.ts","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/asset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAClD,MAAM,WAAW,KAAK;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,eAAe,CAAC;CACzB;AACD,oBAAY,eAAe;IACvB,KAAK,IAAI;IACT,cAAc,IAAI;IAClB,KAAK,IAAI;IACT,SAAS,IAAI;IACb,cAAc,IAAI;IAClB,UAAU,IAAI;IACd,OAAO,IAAI;IACX,KAAK,IAAI;IACT,WAAW,IAAI;IACf,SAAS,IAAI;IACb,KAAK,KAAK;IACV,aAAa,KAAK;IAClB,SAAS,KAAK;IACd,UAAU,KAAK;IACf,SAAS,KAAK;IACd,YAAY,KAAK;IACjB,iBAAiB,KAAK;IACtB,WAAW,KAAK;IAChB,UAAU,KAAK;IACf,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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.content";
|
|
4
3
|
export var Asset_AssetType;
|
|
5
4
|
(function (Asset_AssetType) {
|
|
@@ -30,7 +29,7 @@ function createBaseAsset() {
|
|
|
30
29
|
return { id: "", type: 0 };
|
|
31
30
|
}
|
|
32
31
|
export const Asset = {
|
|
33
|
-
encode(message, writer =
|
|
32
|
+
encode(message, writer = new BinaryWriter()) {
|
|
34
33
|
if (message.id !== "") {
|
|
35
34
|
writer.uint32(10).string(message.id);
|
|
36
35
|
}
|
|
@@ -40,25 +39,37 @@ export const Asset = {
|
|
|
40
39
|
return writer;
|
|
41
40
|
},
|
|
42
41
|
decode(input, length) {
|
|
43
|
-
const reader = input instanceof
|
|
42
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
44
43
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
45
44
|
const message = createBaseAsset();
|
|
46
45
|
while (reader.pos < end) {
|
|
47
46
|
const tag = reader.uint32();
|
|
48
47
|
switch (tag >>> 3) {
|
|
49
|
-
case 1:
|
|
48
|
+
case 1: {
|
|
49
|
+
if (tag !== 10) {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
50
52
|
message.id = reader.string();
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
case 2: {
|
|
56
|
+
if (tag !== 16) {
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
53
59
|
message.type = reader.int32();
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
reader.skipType(tag & 7);
|
|
57
|
-
break;
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
58
62
|
}
|
|
63
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
reader.skip(tag & 7);
|
|
59
67
|
}
|
|
60
68
|
return message;
|
|
61
69
|
},
|
|
70
|
+
create(base) {
|
|
71
|
+
return Asset.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
72
|
+
},
|
|
62
73
|
fromPartial(object) {
|
|
63
74
|
var _a, _b;
|
|
64
75
|
const message = createBaseAsset();
|
|
@@ -67,8 +78,4 @@ export const Asset = {
|
|
|
67
78
|
return message;
|
|
68
79
|
},
|
|
69
80
|
};
|
|
70
|
-
if (_m0.util.Long !== Long) {
|
|
71
|
-
_m0.util.Long = Long;
|
|
72
|
-
_m0.configure();
|
|
73
|
-
}
|
|
74
81
|
//# sourceMappingURL=asset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset.js","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/asset.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"asset.js","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/asset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAKlD,MAAM,CAAN,IAAY,eAuBX;AAvBD,WAAY,eAAe;IACvB,uDAAS,CAAA;IACT,yEAAkB,CAAA;IAClB,uDAAS,CAAA;IACT,+DA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Ae,EAAE,CAAC;QAClC,OAAO,MAAM,CAAC,GAAG,GAAG,GAAG,EAAE;YACrB,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;YAC5B,QAAQ,GAAG,KAAK,CAAC,EAAE;gBACf,KAAK,CAAC,CAAC,CAAC;oBACJ,IAAI,GAAG,KAAK,EAAE,EAAE;wBACZ,MAAM;qBACT;oBACD,OAAO,CAAC,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;oBAC7B,SAAS;iBACZ;gBACD,KAAK,CAAC,CAAC,CAAC;oBACJ,IAAI,GAAG,KAAK,EAAE,EAAE;wBACZ,MAAM;qBACT;oBACD,OAAO,CAAC,IAAI,GAAG,MAAM,CAAC,KAAK,EAAS,CAAC;oBACrC,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,CAAyC,IAAQ;QACnD,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAK,EAAU,CAAC,CAAC;IAClD,CAAC;IACD,WAAW,CAAyC,MAAS;;QACzD,MAAM,OAAO,GAAG,eAAe,EAAE,CAAC;QAClC,OAAO,CAAC,EAAE,GAAG,MAAA,MAAM,CAAC,EAAE,mCAAI,EAAE,CAAC;QAC7B,OAAO,CAAC,IAAI,GAAG,MAAA,MAAM,CAAC,IAAI,mCAAI,CAAC,CAAC;QAChC,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAC","sourcesContent":["import { BinaryReader, BinaryWriter } from \"@bufbuild/protobuf/wire\";\nexport const protobufPackage = \"snapchat.content\";\nexport interface Asset {\n id: string;\n type: Asset_AssetType;\n}\nexport enum Asset_AssetType {\n UNSET = 0,\n BLOOPS_STICKER = 1,\n MUSIC = 2,\n RAW_MEDIA = 3,\n CANVAS_STICKER = 4,\n BASE_MEDIA = 5,\n OVERLAY = 6,\n EDITS = 7,\n FIRST_FRAME = 8,\n THUMBNAIL = 9,\n CAMEO = 10,\n WEB_THUMBNAIL = 11,\n WEB_MEDIA = 12,\n LENS_ASSET = 13,\n VOICEOVER = 14,\n AVATAR_IMAGE = 15,\n SPECTACLES_SIXDOF = 16,\n PLAIN_MEDIA = 17,\n LENS_MEDIA = 18,\n LOCAL_BURN_IN_ASSET = 19,\n CAMERA_ROLL_INDEX = 20,\n UNRECOGNIZED = -1\n}\nfunction createBaseAsset(): Asset {\n return { id: \"\", type: 0 };\n}\nexport const Asset: MessageFns<Asset> = {\n encode(message: Asset, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.id !== \"\") {\n writer.uint32(10).string(message.id);\n }\n if (message.type !== 0) {\n writer.uint32(16).int32(message.type);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): Asset {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseAsset();\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.id = reader.string();\n continue;\n }\n case 2: {\n if (tag !== 16) {\n break;\n }\n message.type = 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<Asset>, I>>(base?: I): Asset {\n return Asset.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<Asset>, I>>(object: I): Asset {\n const message = createBaseAsset();\n message.id = object.id ?? \"\";\n message.type = object.type ?? 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,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import { MediaType } from "./media_types";
|
|
3
3
|
export declare const protobufPackage = "snapchat.content";
|
|
4
4
|
export interface VideoDescription {
|
|
@@ -48,56 +48,23 @@ export declare enum MediaReference_ClaimBehavior {
|
|
|
48
48
|
DO_NOT_CLAIM = 1,
|
|
49
49
|
UNRECOGNIZED = -1
|
|
50
50
|
}
|
|
51
|
-
export declare const VideoDescription:
|
|
52
|
-
|
|
53
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): VideoDescription;
|
|
54
|
-
fromPartial<I extends {
|
|
55
|
-
mediaQualityType?: VideoDescription_MediaQualityType | undefined;
|
|
56
|
-
videoPlaybackType?: VideoDescription_VideoPlaybackType | undefined;
|
|
57
|
-
} & {
|
|
58
|
-
mediaQualityType?: VideoDescription_MediaQualityType | undefined;
|
|
59
|
-
videoPlaybackType?: VideoDescription_VideoPlaybackType | undefined;
|
|
60
|
-
} & Record<Exclude<keyof I, keyof VideoDescription>, never>>(object: I): VideoDescription;
|
|
61
|
-
};
|
|
62
|
-
export declare const MediaReference: {
|
|
63
|
-
encode(message: MediaReference, writer?: _m0.Writer): _m0.Writer;
|
|
64
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MediaReference;
|
|
65
|
-
fromPartial<I extends {
|
|
66
|
-
mediaListId?: string | undefined;
|
|
67
|
-
claimBehavior?: MediaReference_ClaimBehavior | undefined;
|
|
68
|
-
url?: string | undefined;
|
|
69
|
-
contentObject?: Uint8Array | undefined;
|
|
70
|
-
localContentKey?: string | undefined;
|
|
71
|
-
localCacheKey?: string | undefined;
|
|
72
|
-
videoDescription?: {
|
|
73
|
-
mediaQualityType?: VideoDescription_MediaQualityType | undefined;
|
|
74
|
-
videoPlaybackType?: VideoDescription_VideoPlaybackType | undefined;
|
|
75
|
-
} | undefined;
|
|
76
|
-
mediaType?: MediaType | undefined;
|
|
77
|
-
} & {
|
|
78
|
-
mediaListId?: string | undefined;
|
|
79
|
-
claimBehavior?: MediaReference_ClaimBehavior | undefined;
|
|
80
|
-
url?: string | undefined;
|
|
81
|
-
contentObject?: Uint8Array | undefined;
|
|
82
|
-
localContentKey?: string | undefined;
|
|
83
|
-
localCacheKey?: string | undefined;
|
|
84
|
-
videoDescription?: ({
|
|
85
|
-
mediaQualityType?: VideoDescription_MediaQualityType | undefined;
|
|
86
|
-
videoPlaybackType?: VideoDescription_VideoPlaybackType | undefined;
|
|
87
|
-
} & {
|
|
88
|
-
mediaQualityType?: VideoDescription_MediaQualityType | undefined;
|
|
89
|
-
videoPlaybackType?: VideoDescription_VideoPlaybackType | undefined;
|
|
90
|
-
} & Record<Exclude<keyof I["videoDescription"], keyof VideoDescription>, never>) | undefined;
|
|
91
|
-
mediaType?: MediaType | undefined;
|
|
92
|
-
} & Record<Exclude<keyof I, keyof MediaReference>, never>>(object: I): MediaReference;
|
|
93
|
-
};
|
|
51
|
+
export declare const VideoDescription: MessageFns<VideoDescription>;
|
|
52
|
+
export declare const MediaReference: MessageFns<MediaReference>;
|
|
94
53
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
95
|
-
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 {} ? {
|
|
54
|
+
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 {} ? {
|
|
96
55
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
97
56
|
} : Partial<T>;
|
|
98
57
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
99
58
|
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
100
59
|
[K in keyof P]: Exact<P[K], I[K]>;
|
|
101
|
-
} &
|
|
60
|
+
} & {
|
|
61
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
62
|
+
};
|
|
63
|
+
export interface MessageFns<T> {
|
|
64
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
65
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
66
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
67
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
68
|
+
}
|
|
102
69
|
export {};
|
|
103
70
|
//# sourceMappingURL=media_reference.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media_reference.d.ts","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/media_reference.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"media_reference.d.ts","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/media_reference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAClD,MAAM,WAAW,gBAAgB;IAC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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.content";
|
|
4
3
|
export var VideoDescription_MediaQualityType;
|
|
5
4
|
(function (VideoDescription_MediaQualityType) {
|
|
@@ -41,7 +40,7 @@ function createBaseVideoDescription() {
|
|
|
41
40
|
return { mediaQualityType: 0, videoPlaybackType: 0 };
|
|
42
41
|
}
|
|
43
42
|
export const VideoDescription = {
|
|
44
|
-
encode(message, writer =
|
|
43
|
+
encode(message, writer = new BinaryWriter()) {
|
|
45
44
|
if (message.mediaQualityType !== 0) {
|
|
46
45
|
writer.uint32(16).int32(message.mediaQualityType);
|
|
47
46
|
}
|
|
@@ -51,25 +50,37 @@ export const VideoDescription = {
|
|
|
51
50
|
return writer;
|
|
52
51
|
},
|
|
53
52
|
decode(input, length) {
|
|
54
|
-
const reader = input instanceof
|
|
53
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
55
54
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
56
55
|
const message = createBaseVideoDescription();
|
|
57
56
|
while (reader.pos < end) {
|
|
58
57
|
const tag = reader.uint32();
|
|
59
58
|
switch (tag >>> 3) {
|
|
60
|
-
case 2:
|
|
59
|
+
case 2: {
|
|
60
|
+
if (tag !== 16) {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
61
63
|
message.mediaQualityType = reader.int32();
|
|
62
|
-
|
|
63
|
-
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
case 1: {
|
|
67
|
+
if (tag !== 8) {
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
64
70
|
message.videoPlaybackType = reader.int32();
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
reader.skipType(tag & 7);
|
|
68
|
-
break;
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
69
73
|
}
|
|
74
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
reader.skip(tag & 7);
|
|
70
78
|
}
|
|
71
79
|
return message;
|
|
72
80
|
},
|
|
81
|
+
create(base) {
|
|
82
|
+
return VideoDescription.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
83
|
+
},
|
|
73
84
|
fromPartial(object) {
|
|
74
85
|
var _a, _b;
|
|
75
86
|
const message = createBaseVideoDescription();
|
|
@@ -83,7 +94,7 @@ function createBaseMediaReference() {
|
|
|
83
94
|
mediaListId: "0",
|
|
84
95
|
claimBehavior: 0,
|
|
85
96
|
url: "",
|
|
86
|
-
contentObject: new Uint8Array(),
|
|
97
|
+
contentObject: new Uint8Array(0),
|
|
87
98
|
localContentKey: "",
|
|
88
99
|
localCacheKey: "",
|
|
89
100
|
videoDescription: undefined,
|
|
@@ -91,7 +102,7 @@ function createBaseMediaReference() {
|
|
|
91
102
|
};
|
|
92
103
|
}
|
|
93
104
|
export const MediaReference = {
|
|
94
|
-
encode(message, writer =
|
|
105
|
+
encode(message, writer = new BinaryWriter()) {
|
|
95
106
|
if (message.mediaListId !== "0") {
|
|
96
107
|
writer.uint32(48).int64(message.mediaListId);
|
|
97
108
|
}
|
|
@@ -111,7 +122,7 @@ export const MediaReference = {
|
|
|
111
122
|
writer.uint32(82).string(message.localCacheKey);
|
|
112
123
|
}
|
|
113
124
|
if (message.videoDescription !== undefined) {
|
|
114
|
-
VideoDescription.encode(message.videoDescription, writer.uint32(42).fork()).
|
|
125
|
+
VideoDescription.encode(message.videoDescription, writer.uint32(42).fork()).join();
|
|
115
126
|
}
|
|
116
127
|
if (message.mediaType !== 0) {
|
|
117
128
|
writer.uint32(64).int32(message.mediaType);
|
|
@@ -119,65 +130,93 @@ export const MediaReference = {
|
|
|
119
130
|
return writer;
|
|
120
131
|
},
|
|
121
132
|
decode(input, length) {
|
|
122
|
-
const reader = input instanceof
|
|
133
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
123
134
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
124
135
|
const message = createBaseMediaReference();
|
|
125
136
|
while (reader.pos < end) {
|
|
126
137
|
const tag = reader.uint32();
|
|
127
138
|
switch (tag >>> 3) {
|
|
128
|
-
case 6:
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
139
|
+
case 6: {
|
|
140
|
+
if (tag !== 48) {
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
message.mediaListId = reader.int64().toString();
|
|
144
|
+
continue;
|
|
145
|
+
}
|
|
146
|
+
case 7: {
|
|
147
|
+
if (tag !== 56) {
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
132
150
|
message.claimBehavior = reader.int32();
|
|
133
|
-
|
|
134
|
-
|
|
151
|
+
continue;
|
|
152
|
+
}
|
|
153
|
+
case 2: {
|
|
154
|
+
if (tag !== 18) {
|
|
155
|
+
break;
|
|
156
|
+
}
|
|
135
157
|
message.url = reader.string();
|
|
136
|
-
|
|
137
|
-
|
|
158
|
+
continue;
|
|
159
|
+
}
|
|
160
|
+
case 3: {
|
|
161
|
+
if (tag !== 26) {
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
138
164
|
message.contentObject = reader.bytes();
|
|
139
|
-
|
|
140
|
-
|
|
165
|
+
continue;
|
|
166
|
+
}
|
|
167
|
+
case 9: {
|
|
168
|
+
if (tag !== 74) {
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
141
171
|
message.localContentKey = reader.string();
|
|
142
|
-
|
|
143
|
-
|
|
172
|
+
continue;
|
|
173
|
+
}
|
|
174
|
+
case 10: {
|
|
175
|
+
if (tag !== 82) {
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
144
178
|
message.localCacheKey = reader.string();
|
|
145
|
-
|
|
146
|
-
|
|
179
|
+
continue;
|
|
180
|
+
}
|
|
181
|
+
case 5: {
|
|
182
|
+
if (tag !== 42) {
|
|
183
|
+
break;
|
|
184
|
+
}
|
|
147
185
|
message.videoDescription = VideoDescription.decode(reader, reader.uint32());
|
|
148
|
-
|
|
149
|
-
|
|
186
|
+
continue;
|
|
187
|
+
}
|
|
188
|
+
case 8: {
|
|
189
|
+
if (tag !== 64) {
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
150
192
|
message.mediaType = reader.int32();
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
193
|
+
continue;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
197
|
+
break;
|
|
155
198
|
}
|
|
199
|
+
reader.skip(tag & 7);
|
|
156
200
|
}
|
|
157
201
|
return message;
|
|
158
202
|
},
|
|
203
|
+
create(base) {
|
|
204
|
+
return MediaReference.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
205
|
+
},
|
|
159
206
|
fromPartial(object) {
|
|
160
207
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
161
208
|
const message = createBaseMediaReference();
|
|
162
209
|
message.mediaListId = (_a = object.mediaListId) !== null && _a !== void 0 ? _a : "0";
|
|
163
210
|
message.claimBehavior = (_b = object.claimBehavior) !== null && _b !== void 0 ? _b : 0;
|
|
164
211
|
message.url = (_c = object.url) !== null && _c !== void 0 ? _c : "";
|
|
165
|
-
message.contentObject = (_d = object.contentObject) !== null && _d !== void 0 ? _d : new Uint8Array();
|
|
212
|
+
message.contentObject = (_d = object.contentObject) !== null && _d !== void 0 ? _d : new Uint8Array(0);
|
|
166
213
|
message.localContentKey = (_e = object.localContentKey) !== null && _e !== void 0 ? _e : "";
|
|
167
214
|
message.localCacheKey = (_f = object.localCacheKey) !== null && _f !== void 0 ? _f : "";
|
|
168
|
-
message.videoDescription =
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
: undefined;
|
|
215
|
+
message.videoDescription = (object.videoDescription !== undefined && object.videoDescription !== null)
|
|
216
|
+
? VideoDescription.fromPartial(object.videoDescription)
|
|
217
|
+
: undefined;
|
|
172
218
|
message.mediaType = (_g = object.mediaType) !== null && _g !== void 0 ? _g : 0;
|
|
173
219
|
return message;
|
|
174
220
|
},
|
|
175
221
|
};
|
|
176
|
-
function longToString(long) {
|
|
177
|
-
return long.toString();
|
|
178
|
-
}
|
|
179
|
-
if (_m0.util.Long !== Long) {
|
|
180
|
-
_m0.util.Long = Long;
|
|
181
|
-
_m0.configure();
|
|
182
|
-
}
|
|
183
222
|
//# sourceMappingURL=media_reference.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media_reference.js","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/media_reference.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAKlD,MAAM,CAAN,IAAY,iCAmBX;AAnBD,WAAY,iCAAiC;IACzC,qIAA8B,CAAA;IAC9B,uIAAgC,CAAA;IAChC,uIAAgC,CAAA;IAChC,uIAAgC,CAAA;IAChC,uIAAgC,CAAA;IAChC,uIAAgC,CAAA;IAChC,uIAAgC,CAAA;IAChC,uIAAgC,CAAA;IAChC,4IAAmC,CAAA;IACnC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,0GAAiB,CAAA;AACrB,CAAC,EAnBW,iCAAiC,KAAjC,iCAAiC,QAmB5C;AACD,MAAM,CAAN,IAAY,kCAOX;AAPD,WAAY,kCAAkC;IAC1C,yIAA+B,CAAA;IAC/B,uHAAsB,CAAA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_types\";\nexport const protobufPackage = \"snapchat.content\";\nexport interface VideoDescription {\n mediaQualityType: VideoDescription_MediaQualityType;\n videoPlaybackType: VideoDescription_VideoPlaybackType;\n}\nexport enum VideoDescription_MediaQualityType {\n MEDIA_QUALITY_TYPE_UNKNOWN = 0,\n MEDIA_QUALITY_TYPE_LEVEL_1 = 100,\n MEDIA_QUALITY_TYPE_LEVEL_2 = 200,\n MEDIA_QUALITY_TYPE_LEVEL_3 = 300,\n MEDIA_QUALITY_TYPE_LEVEL_4 = 400,\n MEDIA_QUALITY_TYPE_LEVEL_5 = 500,\n MEDIA_QUALITY_TYPE_LEVEL_6 = 600,\n MEDIA_QUALITY_TYPE_LEVEL_7 = 700,\n MEDIA_QUALITY_TYPE_LEVEL_MAX = 5000,\n MEDIA_QUALITY_TYPE_LEVEL_4_5 = 450,\n MEDIA_QUALITY_TYPE_LEVEL_2_1 = 210,\n MEDIA_QUALITY_TYPE_LEVEL_2_2 = 220,\n MEDIA_QUALITY_TYPE_LEVEL_2_5 = 250,\n MEDIA_QUALITY_TYPE_LEVEL_3_2 = 320,\n MEDIA_QUALITY_TYPE_LEVEL_3_5 = 350,\n MEDIA_QUALITY_TYPE_LEVEL_2_7 = 270,\n MEDIA_QUALITY_TYPE_LEVEL_6_5 = 650,\n UNRECOGNIZED = -1\n}\nexport enum VideoDescription_VideoPlaybackType {\n UNKNOWN_VIDEO_PLAYBACK_TYPE = 0,\n FASTSTART_DISABLED = 1,\n FASTSTART_ENABLED = 2,\n HTTP_STREAMING_DASH = 3,\n HTTP_STREAMING_HLS = 4,\n UNRECOGNIZED = -1\n}\nexport interface MediaReference {\n mediaListId: string;\n claimBehavior: MediaReference_ClaimBehavior;\n url: string;\n contentObject: Uint8Array;\n localContentKey: string;\n localCacheKey: string;\n videoDescription: VideoDescription | undefined;\n mediaType: MediaType;\n}\nexport enum MediaReference_ClaimBehavior {\n CAN_EXTEND_MEDIA_CLAIM = 0,\n DO_NOT_CLAIM = 1,\n UNRECOGNIZED = -1\n}\nfunction createBaseVideoDescription(): VideoDescription {\n return { mediaQualityType: 0, videoPlaybackType: 0 };\n}\nexport const VideoDescription = {\n encode(message: VideoDescription, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.mediaQualityType !== 0) {\n writer.uint32(16).int32(message.mediaQualityType);\n }\n if (message.videoPlaybackType !== 0) {\n writer.uint32(8).int32(message.videoPlaybackType);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): VideoDescription {\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 = createBaseVideoDescription();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 2:\n message.mediaQualityType = reader.int32() as any;\n break;\n case 1:\n message.videoPlaybackType = reader.int32() as any;\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<VideoDescription>, I>>(object: I): VideoDescription {\n const message = createBaseVideoDescription();\n message.mediaQualityType = object.mediaQualityType ?? 0;\n message.videoPlaybackType = object.videoPlaybackType ?? 0;\n return message;\n },\n};\nfunction createBaseMediaReference(): MediaReference {\n return {\n mediaListId: \"0\",\n claimBehavior: 0,\n url: \"\",\n contentObject: new Uint8Array(),\n localContentKey: \"\",\n localCacheKey: \"\",\n videoDescription: undefined,\n mediaType: 0,\n };\n}\nexport const MediaReference = {\n encode(message: MediaReference, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.mediaListId !== \"0\") {\n writer.uint32(48).int64(message.mediaListId);\n }\n if (message.claimBehavior !== 0) {\n writer.uint32(56).int32(message.claimBehavior);\n }\n if (message.url !== \"\") {\n writer.uint32(18).string(message.url);\n }\n if (message.contentObject.length !== 0) {\n writer.uint32(26).bytes(message.contentObject);\n }\n if (message.localContentKey !== \"\") {\n writer.uint32(74).string(message.localContentKey);\n }\n if (message.localCacheKey !== \"\") {\n writer.uint32(82).string(message.localCacheKey);\n }\n if (message.videoDescription !== undefined) {\n VideoDescription.encode(message.videoDescription, writer.uint32(42).fork()).ldelim();\n }\n if (message.mediaType !== 0) {\n writer.uint32(64).int32(message.mediaType);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): MediaReference {\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 = createBaseMediaReference();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 6:\n message.mediaListId = longToString(reader.int64() as Long);\n break;\n case 7:\n message.claimBehavior = reader.int32() as any;\n break;\n case 2:\n message.url = reader.string();\n break;\n case 3:\n message.contentObject = reader.bytes();\n break;\n case 9:\n message.localContentKey = reader.string();\n break;\n case 10:\n message.localCacheKey = reader.string();\n break;\n case 5:\n message.videoDescription = VideoDescription.decode(reader, reader.uint32());\n break;\n case 8:\n message.mediaType = reader.int32() as any;\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<MediaReference>, I>>(object: I): MediaReference {\n const message = createBaseMediaReference();\n message.mediaListId = object.mediaListId ?? \"0\";\n message.claimBehavior = object.claimBehavior ?? 0;\n message.url = object.url ?? \"\";\n message.contentObject = object.contentObject ?? new Uint8Array();\n message.localContentKey = object.localContentKey ?? \"\";\n message.localCacheKey = object.localCacheKey ?? \"\";\n message.videoDescription =\n object.videoDescription !== undefined && object.videoDescription !== null\n ? VideoDescription.fromPartial(object.videoDescription)\n : undefined;\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 Array<infer U> ? 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} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;\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":"media_reference.js","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/media_reference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAKlD,MAAM,CAAN,IAAY,iCAmBX;AAnBD,WAAY,iCAAiC;IACzC,qIAA8B,CAAA;IAC9B,uIAAgC,CAAA;IAChC,uIAAgC,CAAA;IAChC,uIAAgC,CAAA;IAChC,uIAAgC,CAAA;IAChC,uIAAgC,CAAA;IAChC,uIAAgC,CAAA;IAChC,uIAAgC,CAAA;IAChC,4IAAmC,CAAA;IACnC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,2IAAkC,CAAA;IAClC,0GAAiB,CAAA;AACrB,CAAC,EAnBW,iCAAiC,KAAjC,iCAAiC,QAmB5C;AACD,MAAM,CAAN,IAAY,kCAOX;AAPD,WAAY,kCAAkC;IAC1C,yIAA+B,CAAA;IAC/B,uHAAsB,CAAA;IACtB,qHAAqB,CAAA;IACrB,yHAAuB,CAAA;IACvB,uHAAsB,CAAA;IACtB,4GAAiB,CAAA;AACrB,CAAC,EAPW,kCAAkC,KAAlC,kCAAkC,QAO7C;AAWD,MAAM,CAAN,IAAY,4BAIX;AAJD,WAAY,4BAA4B;IACpC,mHAA0B,CAAA;IAC1B,+FAAgB,CAAA;IAChB,gGAAiB,CAAA;AACr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OAAO,CAAC,aAAa,GAAG,MAAA,MAAM,CAAC,aAAa,mCAAI,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAClE,OAAO,CAAC,eAAe,GAAG,MAAA,MAAM,CAAC,eAAe,mCAAI,EAAE,CAAC;QACvD,OAAO,CAAC,aAAa,GAAG,MAAA,MAAM,CAAC,aAAa,mCAAI,EAAE,CAAC;QACnD,OAAO,CAAC,gBAAgB,GAAG,CAAC,MAAM,CAAC,gBAAgB,KAAK,SAAS,IAAI,MAAM,CAAC,gBAAgB,KAAK,IAAI,CAAC;YAClG,CAAC,CAAC,gBAAgB,CAAC,WAAW,CAAC,MAAM,CAAC,gBAAgB,CAAC;YACvD,CAAC,CAAC,SAAS,CAAC;QAChB,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\";\nimport { MediaType } from \"./media_types\";\nexport const protobufPackage = \"snapchat.content\";\nexport interface VideoDescription {\n mediaQualityType: VideoDescription_MediaQualityType;\n videoPlaybackType: VideoDescription_VideoPlaybackType;\n}\nexport enum VideoDescription_MediaQualityType {\n MEDIA_QUALITY_TYPE_UNKNOWN = 0,\n MEDIA_QUALITY_TYPE_LEVEL_1 = 100,\n MEDIA_QUALITY_TYPE_LEVEL_2 = 200,\n MEDIA_QUALITY_TYPE_LEVEL_3 = 300,\n MEDIA_QUALITY_TYPE_LEVEL_4 = 400,\n MEDIA_QUALITY_TYPE_LEVEL_5 = 500,\n MEDIA_QUALITY_TYPE_LEVEL_6 = 600,\n MEDIA_QUALITY_TYPE_LEVEL_7 = 700,\n MEDIA_QUALITY_TYPE_LEVEL_MAX = 5000,\n MEDIA_QUALITY_TYPE_LEVEL_4_5 = 450,\n MEDIA_QUALITY_TYPE_LEVEL_2_1 = 210,\n MEDIA_QUALITY_TYPE_LEVEL_2_2 = 220,\n MEDIA_QUALITY_TYPE_LEVEL_2_5 = 250,\n MEDIA_QUALITY_TYPE_LEVEL_3_2 = 320,\n MEDIA_QUALITY_TYPE_LEVEL_3_5 = 350,\n MEDIA_QUALITY_TYPE_LEVEL_2_7 = 270,\n MEDIA_QUALITY_TYPE_LEVEL_6_5 = 650,\n UNRECOGNIZED = -1\n}\nexport enum VideoDescription_VideoPlaybackType {\n UNKNOWN_VIDEO_PLAYBACK_TYPE = 0,\n FASTSTART_DISABLED = 1,\n FASTSTART_ENABLED = 2,\n HTTP_STREAMING_DASH = 3,\n HTTP_STREAMING_HLS = 4,\n UNRECOGNIZED = -1\n}\nexport interface MediaReference {\n mediaListId: string;\n claimBehavior: MediaReference_ClaimBehavior;\n url: string;\n contentObject: Uint8Array;\n localContentKey: string;\n localCacheKey: string;\n videoDescription: VideoDescription | undefined;\n mediaType: MediaType;\n}\nexport enum MediaReference_ClaimBehavior {\n CAN_EXTEND_MEDIA_CLAIM = 0,\n DO_NOT_CLAIM = 1,\n UNRECOGNIZED = -1\n}\nfunction createBaseVideoDescription(): VideoDescription {\n return { mediaQualityType: 0, videoPlaybackType: 0 };\n}\nexport const VideoDescription: MessageFns<VideoDescription> = {\n encode(message: VideoDescription, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.mediaQualityType !== 0) {\n writer.uint32(16).int32(message.mediaQualityType);\n }\n if (message.videoPlaybackType !== 0) {\n writer.uint32(8).int32(message.videoPlaybackType);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): VideoDescription {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseVideoDescription();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 2: {\n if (tag !== 16) {\n break;\n }\n message.mediaQualityType = reader.int32() as any;\n continue;\n }\n case 1: {\n if (tag !== 8) {\n break;\n }\n message.videoPlaybackType = 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<VideoDescription>, I>>(base?: I): VideoDescription {\n return VideoDescription.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<VideoDescription>, I>>(object: I): VideoDescription {\n const message = createBaseVideoDescription();\n message.mediaQualityType = object.mediaQualityType ?? 0;\n message.videoPlaybackType = object.videoPlaybackType ?? 0;\n return message;\n },\n};\nfunction createBaseMediaReference(): MediaReference {\n return {\n mediaListId: \"0\",\n claimBehavior: 0,\n url: \"\",\n contentObject: new Uint8Array(0),\n localContentKey: \"\",\n localCacheKey: \"\",\n videoDescription: undefined,\n mediaType: 0,\n };\n}\nexport const MediaReference: MessageFns<MediaReference> = {\n encode(message: MediaReference, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {\n if (message.mediaListId !== \"0\") {\n writer.uint32(48).int64(message.mediaListId);\n }\n if (message.claimBehavior !== 0) {\n writer.uint32(56).int32(message.claimBehavior);\n }\n if (message.url !== \"\") {\n writer.uint32(18).string(message.url);\n }\n if (message.contentObject.length !== 0) {\n writer.uint32(26).bytes(message.contentObject);\n }\n if (message.localContentKey !== \"\") {\n writer.uint32(74).string(message.localContentKey);\n }\n if (message.localCacheKey !== \"\") {\n writer.uint32(82).string(message.localCacheKey);\n }\n if (message.videoDescription !== undefined) {\n VideoDescription.encode(message.videoDescription, writer.uint32(42).fork()).join();\n }\n if (message.mediaType !== 0) {\n writer.uint32(64).int32(message.mediaType);\n }\n return writer;\n },\n decode(input: BinaryReader | Uint8Array, length?: number): MediaReference {\n const reader = input instanceof BinaryReader ? input : new BinaryReader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseMediaReference();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 6: {\n if (tag !== 48) {\n break;\n }\n message.mediaListId = reader.int64().toString();\n continue;\n }\n case 7: {\n if (tag !== 56) {\n break;\n }\n message.claimBehavior = reader.int32() as any;\n continue;\n }\n case 2: {\n if (tag !== 18) {\n break;\n }\n message.url = reader.string();\n continue;\n }\n case 3: {\n if (tag !== 26) {\n break;\n }\n message.contentObject = reader.bytes();\n continue;\n }\n case 9: {\n if (tag !== 74) {\n break;\n }\n message.localContentKey = reader.string();\n continue;\n }\n case 10: {\n if (tag !== 82) {\n break;\n }\n message.localCacheKey = reader.string();\n continue;\n }\n case 5: {\n if (tag !== 42) {\n break;\n }\n message.videoDescription = VideoDescription.decode(reader, reader.uint32());\n continue;\n }\n case 8: {\n if (tag !== 64) {\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<MediaReference>, I>>(base?: I): MediaReference {\n return MediaReference.fromPartial(base ?? ({} as any));\n },\n fromPartial<I extends Exact<DeepPartial<MediaReference>, I>>(object: I): MediaReference {\n const message = createBaseMediaReference();\n message.mediaListId = object.mediaListId ?? \"0\";\n message.claimBehavior = object.claimBehavior ?? 0;\n message.url = object.url ?? \"\";\n message.contentObject = object.contentObject ?? new Uint8Array(0);\n message.localContentKey = object.localContentKey ?? \"\";\n message.localCacheKey = object.localCacheKey ?? \"\";\n message.videoDescription = (object.videoDescription !== undefined && object.videoDescription !== null)\n ? VideoDescription.fromPartial(object.videoDescription)\n : undefined;\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":"media_source.d.ts","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/media_source.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"media_source.d.ts","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/media_source.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,iCAAiC,CAAC;AAC9D,oBAAY,WAAW;IACnB,KAAK,IAAI;IACT,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,IAAI,IAAI;IACR,IAAI,IAAI;IACR,KAAK,IAAI;IACT,MAAM,IAAI;IACV,QAAQ,IAAI;IACZ,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,QAAQ,KAAK;IACb,oBAAoB,KAAK;IACzB,KAAK,KAAK;IACV,eAAe,KAAK;IACpB,YAAY,KAAK;CACpB"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import Long from "long";
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
3
1
|
export const protobufPackage = "snapchat.content.attribution";
|
|
4
2
|
export var MediaSource;
|
|
5
3
|
(function (MediaSource) {
|
|
@@ -19,8 +17,4 @@ export var MediaSource;
|
|
|
19
17
|
MediaSource[MediaSource["AD_WEBVIEW_HTML"] = 13] = "AD_WEBVIEW_HTML";
|
|
20
18
|
MediaSource[MediaSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
21
19
|
})(MediaSource || (MediaSource = {}));
|
|
22
|
-
if (_m0.util.Long !== Long) {
|
|
23
|
-
_m0.util.Long = Long;
|
|
24
|
-
_m0.configure();
|
|
25
|
-
}
|
|
26
20
|
//# sourceMappingURL=media_source.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media_source.js","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/media_source.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"media_source.js","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/media_source.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,8BAA8B,CAAC;AAC9D,MAAM,CAAN,IAAY,WAgBX;AAhBD,WAAY,WAAW;IACnB,+CAAS,CAAA;IACT,6CAAQ,CAAA;IACR,qDAAY,CAAA;IACZ,6CAAQ,CAAA;IACR,6CAAQ,CAAA;IACR,+CAAS,CAAA;IACT,iDAAU,CAAA;IACV,qDAAY,CAAA;IACZ,qDAAY,CAAA;IACZ,mDAAW,CAAA;IACX,sDAAa,CAAA;IACb,8EAAyB,CAAA;IACzB,gDAAU,CAAA;IACV,oEAAoB,CAAA;IACpB,8DAAiB,CAAA;AACrB,CAAC,EAhBW,WAAW,KAAX,WAAW,QAgBtB","sourcesContent":["export const protobufPackage = \"snapchat.content.attribution\";\nexport enum MediaSource {\n UNSET = 0,\n CHAT = 1,\n MEMORIES = 2,\n LENS = 3,\n MAPS = 4,\n MUSIC = 5,\n CAMEOS = 6,\n COMMERCE = 7,\n STICKERS = 8,\n PROFILE = 9,\n SNAP_PRO = 10,\n EXPORTED_MEDIA_SHARE = 11,\n FORMA = 12,\n AD_WEBVIEW_HTML = 13,\n UNRECOGNIZED = -1\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media_types.d.ts","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/media_types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"media_types.d.ts","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/media_types.ts"],"names":[],"mappings":"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
export const protobufPackage = "snapchat.content";
|
|
4
2
|
export var MediaType;
|
|
5
3
|
(function (MediaType) {
|
|
@@ -64,8 +62,4 @@ export var MediaContextType;
|
|
|
64
62
|
MediaContextType[MediaContextType["ComposerModulesArchive"] = 42] = "ComposerModulesArchive";
|
|
65
63
|
MediaContextType[MediaContextType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
66
64
|
})(MediaContextType || (MediaContextType = {}));
|
|
67
|
-
if (_m0.util.Long !== Long) {
|
|
68
|
-
_m0.util.Long = Long;
|
|
69
|
-
_m0.configure();
|
|
70
|
-
}
|
|
71
65
|
//# sourceMappingURL=media_types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media_types.js","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/media_types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"media_types.js","sourceRoot":"","sources":["../../../../src/generated-proto/pb_schema/content/media_types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAClD,MAAM,CAAN,IAAY,SAcX;AAdD,WAAY,SAAS;IACjB,qDAAc,CAAA;IACd,+CAAW,CAAA;IACX,2CAAS,CAAA;IACT,2CAAS,CAAA;IACT,uDAAe,CAAA;IACf,2CAAS,CAAA;IACT,2DAAiB,CAAA;IACjB,yCAAQ,CAAA;IACR,6DAAkB,CAAA;IAClB,yDAAgB,CAAA;IAChB,oDAAc,CAAA;IACd,kDAAa,CAAA;IACb,0DAAiB,CAAA;AACrB,CAAC,EAdW,SAAS,KAAT,SAAS,QAcpB;AACD,MAAM,CAAN,IAAY,gBA6CX;AA7CD,WAAY,gBAAgB;IACxB,6DAAW,CAAA;IACX,mEAAc,CAAA;IACd,+DAAY,CAAA;IACZ,+DAAY,CAAA;IACZ,6EAAmB,CAAA;IACnB,2EAAkB,CAAA;IAClB,uFAAwB,CAAA;IACxB,iGAA6B,CAAA;IAC7B,uEAAgB,CAAA;IAChB,2EAAkB,CAAA;IAClB,sDAAQ,CAAA;IACR,4EAAmB,CAAA;IACnB,wDAAS,CAAA;IACT,gEAAa,CAAA;IACb,oEAAe,CAAA;IACf,4DAAW,CAAA;IACX,gGAA6B,CAAA;IAC7B,sFAAwB,CAAA;IACxB,0DAAU,CAAA;IACV,wEAAiB,CAAA;IACjB,oFAAuB,CAAA;IACvB,0EAAkB,CAAA;IAClB,0EAAkB,CAAA;IAClB,0FAA0B,CAAA;IAC1B,4GAAmC,CAAA;IACnC,kEAAc,CAAA;IACd,kFAAsB,CAAA;IACtB,sEAAgB,CAAA;IAChB,gGAA6B,CAAA;IAC7B,wDAAS,CAAA;IACT,kEAAc,CAAA;IACd,gFAAqB,CAAA;IACrB,gFAAqB,CAAA;IACrB,oEAAe,CAAA;IACf,sEAAgB,CAAA;IAChB,oEAAe,CAAA;IACf,gEAAa,CAAA;IACb,oFAAuB,CAAA;IACvB,wFAAyB,CAAA;IACzB,sEAAgB,CAAA;IAChB,0EAAkB,CAAA;IAClB,8DAAY,CAAA;IACZ,4FAA2B,CAAA;IAC3B,wEAAiB,CAAA;AACrB,CAAC,EA7CW,gBAAgB,KAAhB,gBAAgB,QA6C3B","sourcesContent":["export const protobufPackage = \"snapchat.content\";\nexport enum MediaType {\n Unassigned = 0,\n Overlay = 1,\n Image = 2,\n Video = 3,\n AssetBundle = 4,\n Audio = 5,\n AnimatedImage = 6,\n Font = 7,\n WebViewContent = 8,\n VideoNoAudio = 9,\n Subtitles = 10,\n DataBlob = 11,\n UNRECOGNIZED = -1\n}\nexport enum MediaContextType {\n Bitmoji = 0,\n LensImages = 1,\n Stickers = 2,\n ChatSnap = 3,\n FriendStorySnap = 4,\n TempUnassigned = 5,\n FriendStoryThumbnail = 6,\n RecommendedStoryThumbnail = 7,\n CognacImages = 8,\n CommerceImages = 9,\n Ads = 10,\n ComposerImages = 11,\n Lens = 12,\n OnDemand = 13,\n Onboarding = 14,\n Bloops = 15,\n RecommendedUserStorySnap = 16,\n LocalizationStrings = 17,\n Music = 18,\n MemoriesSnap = 19,\n PublisherStorySnap = 20,\n GiphyStickers = 21,\n UGCLensAssets = 22,\n FriendStoryFirstFrame = 23,\n RecommendedUserStoryFirstFrame = 24,\n Geofilter = 25,\n MemoriesThumbnail = 26,\n LensBitmoji = 27,\n PublisherStoryFirstFrame = 28,\n Maps = 29,\n Snapshots = 30,\n SystemTestImages = 31,\n SystemTestVideos = 32,\n ARBusiness = 33,\n PreviewSnap = 34,\n Spectacles = 35,\n Cheerios = 36,\n ExportedMediaShare = 37,\n InclusionPanelSurvey = 38,\n Communities = 39,\n SpotlightSnap = 40,\n TosHtml = 41,\n ComposerModulesArchive = 42,\n UNRECOGNIZED = -1\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotations.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/google/api/annotations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"annotations.d.ts","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/google/api/annotations.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotations.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/google/api/annotations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"annotations.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/google/api/annotations.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,eAAe,GAAG,YAAY,CAAC","sourcesContent":["// Code generated by protoc-gen-ts_proto. DO NOT EDIT.\n// versions:\n// protoc-gen-ts_proto v2.2.4\n// protoc v5.28.2\n// source: google/api/annotations.proto\n\n/* eslint-disable */\n\nexport const protobufPackage = \"google.api\";\n"]}
|