@googlemaps/solar 0.5.0 → 0.5.2
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/README.md +42 -99
- package/build/protos/google/maps/solar/v1/solar_service.proto +10 -1
- package/build/protos/protos.d.ts +5 -519
- package/build/protos/protos.js +52 -1725
- package/build/protos/protos.json +22 -193
- package/build/src/index.js +1 -1
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/solar_client.js +1 -1
- package/package.json +10 -2
- package/LICENSE +0 -202
package/build/protos/protos.json
CHANGED
|
@@ -753,7 +753,8 @@
|
|
|
753
753
|
"java_multiple_files": true,
|
|
754
754
|
"java_outer_classname": "HttpBodyProto",
|
|
755
755
|
"java_package": "com.google.api",
|
|
756
|
-
"objc_class_prefix": "GAPI"
|
|
756
|
+
"objc_class_prefix": "GAPI",
|
|
757
|
+
"cc_enable_arenas": true
|
|
757
758
|
},
|
|
758
759
|
"nested": {
|
|
759
760
|
"http": {
|
|
@@ -877,10 +878,6 @@
|
|
|
877
878
|
"rule": "repeated",
|
|
878
879
|
"type": "ClientLibraryDestination",
|
|
879
880
|
"id": 2
|
|
880
|
-
},
|
|
881
|
-
"selectiveGapicGeneration": {
|
|
882
|
-
"type": "SelectiveGapicGeneration",
|
|
883
|
-
"id": 3
|
|
884
881
|
}
|
|
885
882
|
}
|
|
886
883
|
},
|
|
@@ -1021,28 +1018,6 @@
|
|
|
1021
1018
|
"common": {
|
|
1022
1019
|
"type": "CommonLanguageSettings",
|
|
1023
1020
|
"id": 1
|
|
1024
|
-
},
|
|
1025
|
-
"experimentalFeatures": {
|
|
1026
|
-
"type": "ExperimentalFeatures",
|
|
1027
|
-
"id": 2
|
|
1028
|
-
}
|
|
1029
|
-
},
|
|
1030
|
-
"nested": {
|
|
1031
|
-
"ExperimentalFeatures": {
|
|
1032
|
-
"fields": {
|
|
1033
|
-
"restAsyncIoEnabled": {
|
|
1034
|
-
"type": "bool",
|
|
1035
|
-
"id": 1
|
|
1036
|
-
},
|
|
1037
|
-
"protobufPythonicTypesEnabled": {
|
|
1038
|
-
"type": "bool",
|
|
1039
|
-
"id": 2
|
|
1040
|
-
},
|
|
1041
|
-
"unversionedPackageDisabled": {
|
|
1042
|
-
"type": "bool",
|
|
1043
|
-
"id": 3
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
1021
|
}
|
|
1047
1022
|
}
|
|
1048
1023
|
},
|
|
@@ -1100,11 +1075,6 @@
|
|
|
1100
1075
|
"common": {
|
|
1101
1076
|
"type": "CommonLanguageSettings",
|
|
1102
1077
|
"id": 1
|
|
1103
|
-
},
|
|
1104
|
-
"renamedServices": {
|
|
1105
|
-
"keyType": "string",
|
|
1106
|
-
"type": "string",
|
|
1107
|
-
"id": 2
|
|
1108
1078
|
}
|
|
1109
1079
|
}
|
|
1110
1080
|
},
|
|
@@ -1166,19 +1136,6 @@
|
|
|
1166
1136
|
"PACKAGE_MANAGER": 20
|
|
1167
1137
|
}
|
|
1168
1138
|
},
|
|
1169
|
-
"SelectiveGapicGeneration": {
|
|
1170
|
-
"fields": {
|
|
1171
|
-
"methods": {
|
|
1172
|
-
"rule": "repeated",
|
|
1173
|
-
"type": "string",
|
|
1174
|
-
"id": 1
|
|
1175
|
-
},
|
|
1176
|
-
"generateOmittedAsInternal": {
|
|
1177
|
-
"type": "bool",
|
|
1178
|
-
"id": 2
|
|
1179
|
-
}
|
|
1180
|
-
}
|
|
1181
|
-
},
|
|
1182
1139
|
"LaunchStage": {
|
|
1183
1140
|
"values": {
|
|
1184
1141
|
"LAUNCH_STAGE_UNSPECIFIED": 0,
|
|
@@ -1251,19 +1208,12 @@
|
|
|
1251
1208
|
"type": "FileDescriptorProto",
|
|
1252
1209
|
"id": 1
|
|
1253
1210
|
}
|
|
1254
|
-
}
|
|
1255
|
-
"extensions": [
|
|
1256
|
-
[
|
|
1257
|
-
536000000,
|
|
1258
|
-
536000000
|
|
1259
|
-
]
|
|
1260
|
-
]
|
|
1211
|
+
}
|
|
1261
1212
|
},
|
|
1262
1213
|
"Edition": {
|
|
1263
1214
|
"edition": "proto2",
|
|
1264
1215
|
"values": {
|
|
1265
1216
|
"EDITION_UNKNOWN": 0,
|
|
1266
|
-
"EDITION_LEGACY": 900,
|
|
1267
1217
|
"EDITION_PROTO2": 998,
|
|
1268
1218
|
"EDITION_PROTO3": 999,
|
|
1269
1219
|
"EDITION_2023": 1000,
|
|
@@ -1302,11 +1252,6 @@
|
|
|
1302
1252
|
"type": "int32",
|
|
1303
1253
|
"id": 11
|
|
1304
1254
|
},
|
|
1305
|
-
"optionDependency": {
|
|
1306
|
-
"rule": "repeated",
|
|
1307
|
-
"type": "string",
|
|
1308
|
-
"id": 15
|
|
1309
|
-
},
|
|
1310
1255
|
"messageType": {
|
|
1311
1256
|
"rule": "repeated",
|
|
1312
1257
|
"type": "DescriptorProto",
|
|
@@ -1395,10 +1340,6 @@
|
|
|
1395
1340
|
"rule": "repeated",
|
|
1396
1341
|
"type": "string",
|
|
1397
1342
|
"id": 10
|
|
1398
|
-
},
|
|
1399
|
-
"visibility": {
|
|
1400
|
-
"type": "SymbolVisibility",
|
|
1401
|
-
"id": 11
|
|
1402
1343
|
}
|
|
1403
1344
|
},
|
|
1404
1345
|
"nested": {
|
|
@@ -1624,10 +1565,6 @@
|
|
|
1624
1565
|
"rule": "repeated",
|
|
1625
1566
|
"type": "string",
|
|
1626
1567
|
"id": 5
|
|
1627
|
-
},
|
|
1628
|
-
"visibility": {
|
|
1629
|
-
"type": "SymbolVisibility",
|
|
1630
|
-
"id": 6
|
|
1631
1568
|
}
|
|
1632
1569
|
},
|
|
1633
1570
|
"nested": {
|
|
@@ -1842,7 +1779,6 @@
|
|
|
1842
1779
|
42,
|
|
1843
1780
|
42
|
|
1844
1781
|
],
|
|
1845
|
-
"php_generic_services",
|
|
1846
1782
|
[
|
|
1847
1783
|
38,
|
|
1848
1784
|
38
|
|
@@ -1978,8 +1914,7 @@
|
|
|
1978
1914
|
"type": "bool",
|
|
1979
1915
|
"id": 10,
|
|
1980
1916
|
"options": {
|
|
1981
|
-
"default": false
|
|
1982
|
-
"deprecated": true
|
|
1917
|
+
"default": false
|
|
1983
1918
|
}
|
|
1984
1919
|
},
|
|
1985
1920
|
"debugRedact": {
|
|
@@ -2007,10 +1942,6 @@
|
|
|
2007
1942
|
"type": "FeatureSet",
|
|
2008
1943
|
"id": 21
|
|
2009
1944
|
},
|
|
2010
|
-
"featureSupport": {
|
|
2011
|
-
"type": "FeatureSupport",
|
|
2012
|
-
"id": 22
|
|
2013
|
-
},
|
|
2014
1945
|
"uninterpretedOption": {
|
|
2015
1946
|
"rule": "repeated",
|
|
2016
1947
|
"type": "UninterpretedOption",
|
|
@@ -2080,26 +2011,6 @@
|
|
|
2080
2011
|
"id": 2
|
|
2081
2012
|
}
|
|
2082
2013
|
}
|
|
2083
|
-
},
|
|
2084
|
-
"FeatureSupport": {
|
|
2085
|
-
"fields": {
|
|
2086
|
-
"editionIntroduced": {
|
|
2087
|
-
"type": "Edition",
|
|
2088
|
-
"id": 1
|
|
2089
|
-
},
|
|
2090
|
-
"editionDeprecated": {
|
|
2091
|
-
"type": "Edition",
|
|
2092
|
-
"id": 2
|
|
2093
|
-
},
|
|
2094
|
-
"deprecationWarning": {
|
|
2095
|
-
"type": "string",
|
|
2096
|
-
"id": 3
|
|
2097
|
-
},
|
|
2098
|
-
"editionRemoved": {
|
|
2099
|
-
"type": "Edition",
|
|
2100
|
-
"id": 4
|
|
2101
|
-
}
|
|
2102
|
-
}
|
|
2103
2014
|
}
|
|
2104
2015
|
}
|
|
2105
2016
|
},
|
|
@@ -2188,10 +2099,6 @@
|
|
|
2188
2099
|
"default": false
|
|
2189
2100
|
}
|
|
2190
2101
|
},
|
|
2191
|
-
"featureSupport": {
|
|
2192
|
-
"type": "FieldOptions.FeatureSupport",
|
|
2193
|
-
"id": 4
|
|
2194
|
-
},
|
|
2195
2102
|
"uninterpretedOption": {
|
|
2196
2103
|
"rule": "repeated",
|
|
2197
2104
|
"type": "UninterpretedOption",
|
|
@@ -2334,7 +2241,6 @@
|
|
|
2334
2241
|
"options": {
|
|
2335
2242
|
"retention": "RETENTION_RUNTIME",
|
|
2336
2243
|
"targets": "TARGET_TYPE_FILE",
|
|
2337
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
2338
2244
|
"edition_defaults.edition": "EDITION_2023",
|
|
2339
2245
|
"edition_defaults.value": "EXPLICIT"
|
|
2340
2246
|
}
|
|
@@ -2345,7 +2251,6 @@
|
|
|
2345
2251
|
"options": {
|
|
2346
2252
|
"retention": "RETENTION_RUNTIME",
|
|
2347
2253
|
"targets": "TARGET_TYPE_FILE",
|
|
2348
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
2349
2254
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
2350
2255
|
"edition_defaults.value": "OPEN"
|
|
2351
2256
|
}
|
|
@@ -2356,7 +2261,6 @@
|
|
|
2356
2261
|
"options": {
|
|
2357
2262
|
"retention": "RETENTION_RUNTIME",
|
|
2358
2263
|
"targets": "TARGET_TYPE_FILE",
|
|
2359
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
2360
2264
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
2361
2265
|
"edition_defaults.value": "PACKED"
|
|
2362
2266
|
}
|
|
@@ -2367,7 +2271,6 @@
|
|
|
2367
2271
|
"options": {
|
|
2368
2272
|
"retention": "RETENTION_RUNTIME",
|
|
2369
2273
|
"targets": "TARGET_TYPE_FILE",
|
|
2370
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
2371
2274
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
2372
2275
|
"edition_defaults.value": "VERIFY"
|
|
2373
2276
|
}
|
|
@@ -2378,8 +2281,7 @@
|
|
|
2378
2281
|
"options": {
|
|
2379
2282
|
"retention": "RETENTION_RUNTIME",
|
|
2380
2283
|
"targets": "TARGET_TYPE_FILE",
|
|
2381
|
-
"
|
|
2382
|
-
"edition_defaults.edition": "EDITION_LEGACY",
|
|
2284
|
+
"edition_defaults.edition": "EDITION_PROTO2",
|
|
2383
2285
|
"edition_defaults.value": "LENGTH_PREFIXED"
|
|
2384
2286
|
}
|
|
2385
2287
|
},
|
|
@@ -2389,38 +2291,27 @@
|
|
|
2389
2291
|
"options": {
|
|
2390
2292
|
"retention": "RETENTION_RUNTIME",
|
|
2391
2293
|
"targets": "TARGET_TYPE_FILE",
|
|
2392
|
-
"feature_support.edition_introduced": "EDITION_2023",
|
|
2393
2294
|
"edition_defaults.edition": "EDITION_PROTO3",
|
|
2394
2295
|
"edition_defaults.value": "ALLOW"
|
|
2395
2296
|
}
|
|
2396
|
-
},
|
|
2397
|
-
"enforceNamingStyle": {
|
|
2398
|
-
"type": "EnforceNamingStyle",
|
|
2399
|
-
"id": 7,
|
|
2400
|
-
"options": {
|
|
2401
|
-
"retention": "RETENTION_SOURCE",
|
|
2402
|
-
"targets": "TARGET_TYPE_METHOD",
|
|
2403
|
-
"feature_support.edition_introduced": "EDITION_2024",
|
|
2404
|
-
"edition_defaults.edition": "EDITION_2024",
|
|
2405
|
-
"edition_defaults.value": "STYLE2024"
|
|
2406
|
-
}
|
|
2407
|
-
},
|
|
2408
|
-
"defaultSymbolVisibility": {
|
|
2409
|
-
"type": "VisibilityFeature.DefaultSymbolVisibility",
|
|
2410
|
-
"id": 8,
|
|
2411
|
-
"options": {
|
|
2412
|
-
"retention": "RETENTION_SOURCE",
|
|
2413
|
-
"targets": "TARGET_TYPE_FILE",
|
|
2414
|
-
"feature_support.edition_introduced": "EDITION_2024",
|
|
2415
|
-
"edition_defaults.edition": "EDITION_2024",
|
|
2416
|
-
"edition_defaults.value": "EXPORT_TOP_LEVEL"
|
|
2417
|
-
}
|
|
2418
2297
|
}
|
|
2419
2298
|
},
|
|
2420
2299
|
"extensions": [
|
|
2421
2300
|
[
|
|
2422
2301
|
1000,
|
|
2423
|
-
|
|
2302
|
+
1000
|
|
2303
|
+
],
|
|
2304
|
+
[
|
|
2305
|
+
1001,
|
|
2306
|
+
1001
|
|
2307
|
+
],
|
|
2308
|
+
[
|
|
2309
|
+
1002,
|
|
2310
|
+
1002
|
|
2311
|
+
],
|
|
2312
|
+
[
|
|
2313
|
+
9990,
|
|
2314
|
+
9990
|
|
2424
2315
|
],
|
|
2425
2316
|
[
|
|
2426
2317
|
9995,
|
|
@@ -2465,13 +2356,7 @@
|
|
|
2465
2356
|
"UTF8_VALIDATION_UNKNOWN": 0,
|
|
2466
2357
|
"VERIFY": 2,
|
|
2467
2358
|
"NONE": 3
|
|
2468
|
-
}
|
|
2469
|
-
"reserved": [
|
|
2470
|
-
[
|
|
2471
|
-
1,
|
|
2472
|
-
1
|
|
2473
|
-
]
|
|
2474
|
-
]
|
|
2359
|
+
}
|
|
2475
2360
|
},
|
|
2476
2361
|
"MessageEncoding": {
|
|
2477
2362
|
"values": {
|
|
@@ -2486,33 +2371,6 @@
|
|
|
2486
2371
|
"ALLOW": 1,
|
|
2487
2372
|
"LEGACY_BEST_EFFORT": 2
|
|
2488
2373
|
}
|
|
2489
|
-
},
|
|
2490
|
-
"EnforceNamingStyle": {
|
|
2491
|
-
"values": {
|
|
2492
|
-
"ENFORCE_NAMING_STYLE_UNKNOWN": 0,
|
|
2493
|
-
"STYLE2024": 1,
|
|
2494
|
-
"STYLE_LEGACY": 2
|
|
2495
|
-
}
|
|
2496
|
-
},
|
|
2497
|
-
"VisibilityFeature": {
|
|
2498
|
-
"fields": {},
|
|
2499
|
-
"reserved": [
|
|
2500
|
-
[
|
|
2501
|
-
1,
|
|
2502
|
-
536870911
|
|
2503
|
-
]
|
|
2504
|
-
],
|
|
2505
|
-
"nested": {
|
|
2506
|
-
"DefaultSymbolVisibility": {
|
|
2507
|
-
"values": {
|
|
2508
|
-
"DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0,
|
|
2509
|
-
"EXPORT_ALL": 1,
|
|
2510
|
-
"EXPORT_TOP_LEVEL": 2,
|
|
2511
|
-
"LOCAL_ALL": 3,
|
|
2512
|
-
"STRICT": 4
|
|
2513
|
-
}
|
|
2514
|
-
}
|
|
2515
|
-
}
|
|
2516
2374
|
}
|
|
2517
2375
|
}
|
|
2518
2376
|
},
|
|
@@ -2540,26 +2398,11 @@
|
|
|
2540
2398
|
"type": "Edition",
|
|
2541
2399
|
"id": 3
|
|
2542
2400
|
},
|
|
2543
|
-
"
|
|
2401
|
+
"features": {
|
|
2544
2402
|
"type": "FeatureSet",
|
|
2545
|
-
"id":
|
|
2546
|
-
},
|
|
2547
|
-
"fixedFeatures": {
|
|
2548
|
-
"type": "FeatureSet",
|
|
2549
|
-
"id": 5
|
|
2403
|
+
"id": 2
|
|
2550
2404
|
}
|
|
2551
|
-
}
|
|
2552
|
-
"reserved": [
|
|
2553
|
-
[
|
|
2554
|
-
1,
|
|
2555
|
-
1
|
|
2556
|
-
],
|
|
2557
|
-
[
|
|
2558
|
-
2,
|
|
2559
|
-
2
|
|
2560
|
-
],
|
|
2561
|
-
"features"
|
|
2562
|
-
]
|
|
2405
|
+
}
|
|
2563
2406
|
}
|
|
2564
2407
|
}
|
|
2565
2408
|
},
|
|
@@ -2572,12 +2415,6 @@
|
|
|
2572
2415
|
"id": 1
|
|
2573
2416
|
}
|
|
2574
2417
|
},
|
|
2575
|
-
"extensions": [
|
|
2576
|
-
[
|
|
2577
|
-
536000000,
|
|
2578
|
-
536000000
|
|
2579
|
-
]
|
|
2580
|
-
],
|
|
2581
2418
|
"nested": {
|
|
2582
2419
|
"Location": {
|
|
2583
2420
|
"fields": {
|
|
@@ -2663,14 +2500,6 @@
|
|
|
2663
2500
|
}
|
|
2664
2501
|
}
|
|
2665
2502
|
},
|
|
2666
|
-
"SymbolVisibility": {
|
|
2667
|
-
"edition": "proto2",
|
|
2668
|
-
"values": {
|
|
2669
|
-
"VISIBILITY_UNSET": 0,
|
|
2670
|
-
"VISIBILITY_LOCAL": 1,
|
|
2671
|
-
"VISIBILITY_EXPORT": 2
|
|
2672
|
-
}
|
|
2673
|
-
},
|
|
2674
2503
|
"Duration": {
|
|
2675
2504
|
"fields": {
|
|
2676
2505
|
"seconds": {
|
package/build/src/index.js
CHANGED
package/build/src/v1/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googlemaps/solar",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Solar API client for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -61,10 +61,18 @@
|
|
|
61
61
|
"long": "^5.3.1",
|
|
62
62
|
"mocha": "^11.1.0",
|
|
63
63
|
"pack-n-play": "^3.0.0",
|
|
64
|
-
"sinon": "
|
|
64
|
+
"sinon": "21.0.3",
|
|
65
65
|
"typescript": "^5.8.2"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=18"
|
|
69
|
+
},
|
|
70
|
+
"overrides": {
|
|
71
|
+
"@sinonjs/fake-timers": "15.2.1"
|
|
72
|
+
},
|
|
73
|
+
"pnpm": {
|
|
74
|
+
"overrides": {
|
|
75
|
+
"@sinonjs/fake-timers": "15.2.1"
|
|
76
|
+
}
|
|
69
77
|
}
|
|
70
78
|
}
|
package/LICENSE
DELETED
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Apache License
|
|
3
|
-
Version 2.0, January 2004
|
|
4
|
-
http://www.apache.org/licenses/
|
|
5
|
-
|
|
6
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
-
|
|
8
|
-
1. Definitions.
|
|
9
|
-
|
|
10
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
-
|
|
13
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
-
the copyright owner that is granting the License.
|
|
15
|
-
|
|
16
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
-
other entities that control, are controlled by, or are under common
|
|
18
|
-
control with that entity. For the purposes of this definition,
|
|
19
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
-
direction or management of such entity, whether by contract or
|
|
21
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
-
|
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
-
exercising permissions granted by this License.
|
|
26
|
-
|
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
-
including but not limited to software source code, documentation
|
|
29
|
-
source, and configuration files.
|
|
30
|
-
|
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
|
32
|
-
transformation or translation of a Source form, including but
|
|
33
|
-
not limited to compiled object code, generated documentation,
|
|
34
|
-
and conversions to other media types.
|
|
35
|
-
|
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
-
Object form, made available under the License, as indicated by a
|
|
38
|
-
copyright notice that is included in or attached to the work
|
|
39
|
-
(an example is provided in the Appendix below).
|
|
40
|
-
|
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
-
the Work and Derivative Works thereof.
|
|
48
|
-
|
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
|
50
|
-
the original version of the Work and any modifications or additions
|
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
-
|
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
-
subsequently incorporated within the Work.
|
|
66
|
-
|
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
|
73
|
-
|
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
-
where such license applies only to those patent claims licensable
|
|
80
|
-
by such Contributor that are necessarily infringed by their
|
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
-
institute patent litigation against any entity (including a
|
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
-
or contributory patent infringement, then any patent licenses
|
|
87
|
-
granted to You under this License for that Work shall terminate
|
|
88
|
-
as of the date such litigation is filed.
|
|
89
|
-
|
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
-
modifications, and in Source or Object form, provided that You
|
|
93
|
-
meet the following conditions:
|
|
94
|
-
|
|
95
|
-
(a) You must give any other recipients of the Work or
|
|
96
|
-
Derivative Works a copy of this License; and
|
|
97
|
-
|
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
|
99
|
-
stating that You changed the files; and
|
|
100
|
-
|
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
|
103
|
-
attribution notices from the Source form of the Work,
|
|
104
|
-
excluding those notices that do not pertain to any part of
|
|
105
|
-
the Derivative Works; and
|
|
106
|
-
|
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
|
109
|
-
include a readable copy of the attribution notices contained
|
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
|
112
|
-
of the following places: within a NOTICE text file distributed
|
|
113
|
-
as part of the Derivative Works; within the Source form or
|
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
|
115
|
-
within a display generated by the Derivative Works, if and
|
|
116
|
-
wherever such third-party notices normally appear. The contents
|
|
117
|
-
of the NOTICE file are for informational purposes only and
|
|
118
|
-
do not modify the License. You may add Your own attribution
|
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
-
that such additional attribution notices cannot be construed
|
|
122
|
-
as modifying the License.
|
|
123
|
-
|
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
|
125
|
-
may provide additional or different license terms and conditions
|
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
-
the conditions stated in this License.
|
|
130
|
-
|
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
-
this License, without any additional terms or conditions.
|
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
-
the terms of any separate license agreement you may have executed
|
|
137
|
-
with Licensor regarding such Contributions.
|
|
138
|
-
|
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
-
except as required for reasonable and customary use in describing the
|
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
-
|
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
|
153
|
-
|
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
-
|
|
181
|
-
To apply the Apache License to your work, attach the following
|
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
-
replaced with your own identifying information. (Don't include
|
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
-
comment syntax for the file format. We also recommend that a
|
|
186
|
-
file or class name and description of purpose be included on the
|
|
187
|
-
same "printed page" as the copyright notice for easier
|
|
188
|
-
identification within third-party archives.
|
|
189
|
-
|
|
190
|
-
Copyright [yyyy] [name of copyright owner]
|
|
191
|
-
|
|
192
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
-
you may not use this file except in compliance with the License.
|
|
194
|
-
You may obtain a copy of the License at
|
|
195
|
-
|
|
196
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
-
|
|
198
|
-
Unless required by applicable law or agreed to in writing, software
|
|
199
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
-
See the License for the specific language governing permissions and
|
|
202
|
-
limitations under the License.
|